From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 19:45:23 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 E8FE737B401 for ; Thu, 31 Jul 2003 19:45:23 -0700 (PDT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2744343F93 for ; Thu, 31 Jul 2003 19:45:23 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.9/8.12.9) with ESMTP id h712jKCx001026; Thu, 31 Jul 2003 22:45:20 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030731221450.A75410@topperwein.pennasoft.com> References: <20030730224505.GD531@zi025.glhnet.mhn.de> <1059607242.64020.5.camel@mjtdev1.dand06.au.bytecraft.au.com> <1059608748.64020.10.camel@mjtdev1.dand06.au.bytecraft.au.com> <20030731000842.GE531@zi025.glhnet.mhn.de> <20030731221450.A75410@topperwein.pennasoft.com> Date: Thu, 31 Jul 2003 22:45:18 -0400 To: chris@behanna.org, FreeBSD-Hackers From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) 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: Fri, 01 Aug 2003 02:45:24 -0000 At 10:16 PM -0400 7/31/03, Chris BeHanna wrote: > > Sorry, I should have written that I have performed tests: >> >> Here is what I did: >> >> test\ 1 /mnt/test\ 1 ufs ro 0 0 >> 'test 2' '/mnt/test 2' ufs ro 0 0 > > "test 3" "/mnt/test 3" ufs ro 0 0 > > > [...etc...] > >What about > > test%201 /mnt/test%201 ufs ro 0 0 > >? >Ugly, yes, but that's how a lot of tools escape spaces. There may be people who already mount directories with %'s in them. If you wanted to be fancy, there could be some kind of trigger that says "after this point, recognize URL-style escaping rules". -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu