[patch] Re: getfsent(3) and spaces in fstab

Terry Lambert tlambert2 at mindspring.com
Sat Aug 2 01:28:22 PDT 2003


Simon Barner wrote:
> The attached patch will allow blanks and tabs for file systems and
> path names, as long as the are protected by a '\'.
> 
> For the old fstab style, blanks and tabs are not allowed as delimiters
> (as it was in the old implementation).

You need to add '\\' to the delimited list, so that it is not
skipped.

You need to add '\\' to the list of characters that can be escaped,
or you've just traded the inability to specify '\t' or ' ' for an
inability to speciy '\\'.

-- Terry


More information about the freebsd-hackers mailing list