From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 17 14:26:47 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A11221065698; Tue, 17 Aug 2010 14:26:47 +0000 (UTC) (envelope-from walter.pelissero@iesy.net) Received: from mail01.ish.de (mailout.ish.de [80.69.98.249]) by mx1.freebsd.org (Postfix) with ESMTP id F2C068FC13; Tue, 17 Aug 2010 14:26:46 +0000 (UTC) Received: from [95.222.206.96] (account walter.pelissero@iesy.net HELO zaphod.home.lan) by mail-fe-01.mail01.ish.de (CommuniGate Pro SMTP 5.2.18) with ESMTPSA id 383035333; Tue, 17 Aug 2010 16:26:44 +0200 Received: from zaphod.home.lan (localhost [127.0.0.1]) by zaphod.home.lan (8.14.4/8.14.4) with ESMTP id o7HELwuK045513; Tue, 17 Aug 2010 16:21:58 +0200 (CEST) (envelope-from wcp@zaphod.home.lan) Received: (from wcp@localhost) by zaphod.home.lan (8.14.4/8.14.4/Submit) id o7HELwsA045512; Tue, 17 Aug 2010 16:21:58 +0200 (CEST) (envelope-from wcp) From: walter@pelissero.de (Walter C. Pelissero) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19562.39686.747733.126631@zaphod.home.lan> Date: Tue, 17 Aug 2010 16:21:58 +0200 To: Oliver Fromme In-Reply-To: <201008171327.o7HDRVvV071524@lurza.secnetix.de> References: <19562.35331.227820.561841@zaphod.home.lan> <201008171327.o7HDRVvV071524@lurza.secnetix.de> X-Mailer: VM 8.1.1 under 23.2.1 (i386-portbld-freebsd8.1) X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de X-MArch-Archive-ID: 129339 X-MArch-Processing-Time: 0.35s Cc: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.ORG Subject: Re: bin/149424: fstab and labels with whitespace X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: walter@pelissero.de List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 14:26:47 -0000 Oliver Fromme writes: > Walter C. Pelissero wrote: > > Oliver Fromme writes: > > > The problem with this patch is that it breaks backwards- > > > compatibility. Some people might already use backslashes > > > > As far as I remember, the patch I proposed allowed a double backslash > > ('\\') to mean a single backslash ('\'). > > Sure, but still everyone who uses backslashes will have to > change his /etc/fstab *in advance*, or otherwise his box > will not boot after the update. It seems to be unlikely there are systems out there relying on a boot-time mounted filesystem whose device path (or label) contains a backslash. Certainly not a great deal of those. Maybe you care to give us some concrete example. Who knows, there could be a BSD distribution, that I failed to notice, with a really bizarre naming convention for the device drivers. > Changing the syntax of /etc/fstab is a very delicate issue. Acute observation, indeed. > Of course, it would be possible to change the syntax in a > backwards-compatible way. But this would require more code > and would potentially introduce more complications. Maybe you should leave alone the generic considerations of circumstance and write some code yourself. In the past 8 years there have been three different proposals and concrete implementations. You could add your own. So we would at least know what you mean with "backwards-compatible way". > > > in /etc/fstab, for whatever reason. This change would > > > make them rather unhappy, I'm afraid. > > > > Being unhappy for having to change a couple of entries in fstab is not > > nearly as bad as not being able to insert an entry altogether. > > As I wrote, there are several workarounds. Then, why do you write it again? -- walter pelissero http://www.pelissero.de