From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 16:16:22 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 114BD37B404 for ; Thu, 31 Jul 2003 16:16:22 -0700 (PDT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941EB43F75 for ; Thu, 31 Jul 2003 16:16:20 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id h6VNG1cC020415; Fri, 1 Aug 2003 09:16:02 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Fri, 01 Aug 2003 09:18:49 +1000 Received: from [10.0.17.42] (mjtdev1.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id A4C893F0F; Fri, 1 Aug 2003 09:15:59 +1000 (EST) From: Murray Taylor To: Simon Barner In-Reply-To: <20030731134343.GB1323@zi025.glhnet.mhn.de> 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> <002201c356fa$4a66a700$1200a8c0@gsicomp.on.ca> <20030731134343.GB1323@zi025.glhnet.mhn.de> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1059693358.64020.31.camel@mjtdev1.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 31 Jul 2003 23:15:59 +0000 Content-Transfer-Encoding: 7bit cc: Heiner cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org cc: Matthew Emmerton 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 23:16:22 -0000 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@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. ************************************************************************