getfsent(3) and spaces in fstab

Murray Taylor murraytaylor at bytecraftsystems.com
Thu Jul 31 16:16:22 PDT 2003


For all the 'good rules' of orthonogolity and consistency etc 
it is a good thing, however I still feel that at the level of
the fstab where you are mounting entire file system trees, 
the simplest naming formats are probably the best. 
A philosophical point only, but it would keep the fstab format
minimalistic and clean.

This point of view could probably be stated in the man page once
the '\ ' form is implemented, as a suggested practice.

another 0.02c

mjt

On Thu, 2003-07-31 at 13:43, Simon Barner wrote:
> Hi,
> 
> > This very discussion came up in -questions a few months ago (or maybe it was
> > late last year).  The conclusion was that unless someone rewrites the
> > /etc/fstab parsing routines in libc to support quoted and/or escaped spaces,
> > we'll never be able to mount filesystems that have spaces in their names.
> 
> I volunteer for that. My intention is to make getfsent(3) recognize '\ '
> for both the filesystem and the mount point. I think this is more
> applicable than using quotes. 'mount' should already handle this
> correctly, but I will do thorough testing, of course.
> 
> Cheers,
>  Simon
> 
> ************************************************************************
> This Email has been scanned for Viruses by MailMarshal.
> ************************************************************************
-- 
Murray Taylor
Special Projects Engineer
---------------------------------
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: murraytaylor at bytecraftsystems.com
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



************************************************************************
This Email has been scanned for Viruses by MailMarshal.
************************************************************************


More information about the freebsd-hackers mailing list