getfsent(3) and spaces in fstab

Peter Edwards peter.edwards at openet-telecom.com
Tue Aug 5 03:35:34 PDT 2003


On Tue, 2003-08-05 at 11:05, Simon Barner wrote:
> Hi,
> 
> > Check PR 37569: This bugged the hell out of me also, so I created a
> > patch to allow enclosing the device name in quotes. The PR was logged
> > over a year ago: I can't remember the details, but the source has been
> > sitting silently in my tree and working since then. Whatever way the
> > problem is resolved, can someone close the PR?
> 
> I can't believe it... I have searched the PR database, Google, etc. for
> existing solutions to this problem, but I did not find yours. I also
> considered using quotes, but since you need escape-sequences to encode
> quotes in your solution, too, the approach using '\ ', '\<TAB>', '\\' is
> simpler and cleaner IMHO.
> 
> Simon

I find the "quotes" approach produces more readable (and manageable)
fstabs, but I don't care about that sufficiently to argue further :-).
Anything that addresses the problem and can close the PR will suit me!




More information about the freebsd-hackers mailing list