From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 1 01:08:54 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 52BBF37B401 for ; Fri, 1 Aug 2003 01:08:54 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 373ED43FCB for ; Fri, 1 Aug 2003 01:08:53 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0ga.dialup.mindspring.com ([209.86.2.10] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19iUy4-0006ss-00; Fri, 01 Aug 2003 01:08:52 -0700 Message-ID: <3F2A1FDA.3934209C@mindspring.com> Date: Fri, 01 Aug 2003 01:07:54 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: chris@behanna.org 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> <20030731221450.A75410@topperwein.pennasoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4f6f2cb598e0eb2b4dcae77e303c9b1c1387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: FreeBSD-Hackers 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 08:08:54 -0000 Chris BeHanna wrote: > What about > > test%201 /mnt/test%201 ufs ro 0 0 > > ? > Ugly, yes, but that's how a lot of tools escape spaces. "%" is almost infinitely more likely in a path than "\"; better to use the "\" than the "%" mechanism. Also, the parser can b LALR single token lookahead, wheras "%" rewuires pushing state (2 token lookahead). -- Terry