getfsent(3) and spaces in fstab
Garance A Drosihn
drosih at rpi.edu
Thu Jul 31 19:45:24 PDT 2003
At 10:16 PM -0400 7/31/03, Chris BeHanna wrote:
> > Sorry, I should have written that I have performed tests:
>>
>> Here is what I did:
>>
>> test\ 1 /mnt/test\ 1 ufs ro 0 0
>> 'test 2' '/mnt/test 2' ufs ro 0 0
> > "test 3" "/mnt/test 3" ufs ro 0 0
> >
> [...etc...]
>
>What about
>
> test%201 /mnt/test%201 ufs ro 0 0
>
>?
>Ugly, yes, but that's how a lot of tools escape spaces.
There may be people who already mount directories with %'s
in them. If you wanted to be fancy, there could be some
kind of trigger that says "after this point, recognize
URL-style escaping rules".
--
Garance Alistair Drosehn = gad at gilead.netel.rpi.edu
Senior Systems Programmer or gad at freebsd.org
Rensselaer Polytechnic Institute or drosih at rpi.edu
More information about the freebsd-hackers
mailing list