From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 17 13:27:48 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 BB4981065673; Tue, 17 Aug 2010 13:27:48 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1F91E8FC1C; Tue, 17 Aug 2010 13:27:47 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7HDRVCs071526; Tue, 17 Aug 2010 15:27:47 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7HDRVvV071524; Tue, 17 Aug 2010 15:27:31 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <201008171327.o7HDRVvV071524@lurza.secnetix.de> To: walter@pelissero.de Date: Tue, 17 Aug 2010 15:27:31 +0200 (CEST) In-Reply-To: <19562.35331.227820.561841@zaphod.home.lan> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Tue, 17 Aug 2010 15:27:47 +0200 (CEST) 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 13:27:48 -0000 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. Changing the syntax of /etc/fstab is a very delicate issue. 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. > > 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. > > One way to circumvent the problem would be to use glabel(8) > > Yes, or mlabel(1). Although reformatting (and, thus, relabelling) is > common on devices such as digital camera; it saves time compared to > deleting everything. Well ... I always format my camera's memory card under FreeBSD after I have downloaded all images from it (which requires connecting to the FreeBSD machine anyway). I cannot format the card with the camera anyway because that wouldn't work with my CHDK firmware. :) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing.