Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 20:25:48 -0400
From:      "Matthew Emmerton" <matt@compar.com>
To:        "Murray Taylor" <murraytaylor@bytecraftsystems.com>, <kientzle@acm.org>
Cc:        Murray Taylor <taylorm@bytecraft.au.com>
Subject:   Re: getfsent(3) and spaces in fstab
Message-ID:  <002201c356fa$4a66a700$1200a8c0@gsicomp.on.ca>
References:  <20030730224505.GD531@zi025.glhnet.mhn.de> <1059607242.64020.5.camel@mjtdev1.dand06.au.bytecraft.au.com> <3F285560.2090607@acm.org> <1059608748.64020.10.camel@mjtdev1.dand06.au.bytecraft.au.com>

next in thread | previous in thread | raw e-mail | index | archive | help
No, none of these methods will work.

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.

--
Matt Emmerton

> Just a thort, not having tried it ..
>
> does either of the 'standard' methods of including spaces actually work
> in fstab ??
>
> I speak of quoting (either single or double) and backslashing the space
>
> "/mnt/space/silly long dirname/filename also with spaces"
>
> or
>
> /mnt/space/silly\ long\ dirname/filename\ also\ with\ spaces
>
>
> mjt
>
> On Wed, 2003-07-30 at 23:31, Tim Kientzle wrote:
> > >>Do file system names and mount points with whitespaces violate the
> > >>specification of fstab? If so, the least thing I'd suggest is the
document
> > >>this restriction.
> > >>
> > >>Or should one extend 'getfsent' such that is able to cope with those
> > >>whitespaces? I am not sure whether this would have any further
> > >>implications so I am asking here.
> >
> > Formal standards tend to avoid "system administration"
> > issues such as this.  I doubt you would be violating any
> > published standard.
> >
> > I say go for it.  If something else breaks because
> > of this change, let's fix that, too.  I like the fact
> > that FreeBSD works pretty well with other systems; lets
> > keep pushing that.
> >
> > Tim Kientzle
> >
> >
> > ************************************************************************
> > 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@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.
> ************************************************************************
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c356fa$4a66a700$1200a8c0>