From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 5 03:06:02 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 7946437B401 for ; Tue, 5 Aug 2003 03:06:02 -0700 (PDT) Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A979D43F85 for ; Tue, 5 Aug 2003 03:06:01 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 5A06738B69; Tue, 5 Aug 2003 12:05:59 +0200 (CEST) Date: Tue, 5 Aug 2003 12:05:58 +0200 From: Simon Barner To: Peter Edwards Message-ID: <20030805100558.GA15128@zi025.glhnet.mhn.de> References: <20030730224505.GD531@zi025.glhnet.mhn.de> <1060076564.57234.11.camel@rocklobster.openet-telecom.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <1060076564.57234.11.camel@rocklobster.openet-telecom.lan> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-hackers@freebsd.org 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: Tue, 05 Aug 2003 10:06:02 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > Check PR 37569: This bugged the hell out of me also, so I created a > patch to allow enclosing the device name in quotes. The PR was logged > over a year ago: I can't remember the details, but the source has been > sitting silently in my tree and working since then. Whatever way the > problem is resolved, can someone close the PR? I can't believe it... I have searched the PR database, Google, etc. for existing solutions to this problem, but I did not find yours. I also considered using quotes, but since you need escape-sequences to encode quotes in your solution, too, the approach using '\ ', '\', '\\' is simpler and cleaner IMHO. Simon --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/L4GGCkn+/eutqCoRAqEoAKC3mxMpnpqgHhqc3BWJitB7/rIwEwCdE2++ yfAP0lzw8yKavT1qGGu6Lp4= =p6QQ -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--