Re: getfsent(3) and spaces in fstab

From: Matthew Emmerton (matt_at_compar.com)
Date: 07/31/03

  • Next message: Brian Reichert: "cell phone syncing under freebsd?"
    To: "Murray Taylor" <murraytaylor@bytecraftsystems.com>, <kientzle@acm.org>
    Date: Wed, 30 Jul 2003 20:25:48 -0400
    
    

    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"
    >
    _______________________________________________
    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"
    

  • Next message: Brian Reichert: "cell phone syncing under freebsd?"

    Relevant Pages

    • RE: Using RJ45 crimp tool
      ... Can you clarify on the X-Over Wiring Order? ... would be silly to deviate from the standard). ... > 1 White-orange ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Re: Sizes and notation
      ... The FOSF has been using the IEEE 1541-2002standard for quite some ... Do You Yahoo!? ... Mail has the best spam protection around ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: OT MySQL and PostgreSQL
      ... PostgresSQL reminded me of a question that I want to ask of RDBMS ... There doesn't seem to be a standard which everyone follows. ... etch goes stable. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: macromedia new windows version problem
      ... It is NOT a closed standard. ... Any lack of prosecution by Adobe does not mean it is an open ... The fact that a standard, or document format, is published does not ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: getfsent(3) and spaces in fstab
      ... does either of the 'standard' methods of including spaces actually work ... I speak of quoting and backslashing the space ... > This Email has been scanned for Viruses by MailMarshal. ... Bytecraft Systems & Entertainment ...
      (freebsd-hackers)