From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 30 17:27:25 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D0D737B401 for ; Wed, 30 Jul 2003 17:27:25 -0700 (PDT) Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9097143F93 for ; Wed, 30 Jul 2003 17:27:24 -0700 (PDT) (envelope-from matt@compar.com) Received: from hermes ([65.95.177.176]) by tomts8-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030731002722.FOTN4447.tomts8-srv.bellnexxia.net@hermes>; Wed, 30 Jul 2003 20:27:22 -0400 Message-ID: <002201c356fa$4a66a700$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Murray Taylor" , 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> Date: Wed, 30 Jul 2003 20:25:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-hackers@freebsd.org cc: Heiner cc: Murray Taylor Subject: Re: getfsent(3) and spaces in fstab X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 00:27:25 -0000 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" >