From owner-svn-src-all@FreeBSD.ORG Fri Jan 4 17:24:09 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0FFD9154; Fri, 4 Jan 2013 17:24:09 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id C87FFE96; Fri, 4 Jan 2013 17:24:08 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from wanderer.tachypleus.net (dhcp107-17-54-205.hil-sfofhhh.sfo.wayport.net [107.17.54.205]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MG400CET3039B00@smtpauth3.wiscmail.wisc.edu>; Fri, 04 Jan 2013 11:24:08 -0600 (CST) X-Spam-PmxInfo: Server=avs-3, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.4.171223, SenderIP=107.17.54.205 X-Spam-Report: AuthenticatedSender=yes, SenderIP=107.17.54.205 X-Wisc-Sender: whitehorn@wisc.edu Message-id: <50E71033.3040702@freebsd.org> Date: Fri, 04 Jan 2013 12:24:03 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 To: John Baldwin Subject: Re: svn commit: r244585 - in head: . sys/geom/label References: <201212221343.qBMDhCHa086834@svn.freebsd.org> <201301041218.07804.john@baldwin.cx> In-reply-to: <201301041218.07804.john@baldwin.cx> Cc: svn-src-head@freebsd.org, Jaakko Heinonen , svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 17:24:09 -0000 On 01/04/13 12:18, John Baldwin wrote: > On Saturday, December 22, 2012 08:43:12 AM Jaakko Heinonen wrote: >> Author: jh >> Date: Sat Dec 22 13:43:12 2012 >> New Revision: 244585 >> URL: http://svnweb.freebsd.org/changeset/base/244585 >> >> Log: >> Mangle label names containing spaces, non-printable characters '%' or >> '"'. Mangling is only done for label names read from file system >> metadata. Encoding resembles URL encoding. For example, the space >> character becomes %20. >> >> Help by: kib >> Discussed with: imp, kib, pjd > Ouch, mangling spaces seems unfortunate. I guess fixing the devctl protocol > is too hard, and/or we can't just encode it at the protocol layer but leave > the actual device names untouched? OS X preserves spaces in volume names and > those can be quite common on ISO images, so mangling them really does seem to > be a shame if we can avoid it. > On a related note, it would be *really* helpful if gpart labels were actually managed by gpart. This kind of thing makes predicting the path of a newly-labeled GPT partition extremely hard and, combined with race conditions and synchronization issues in glabel updating in response to changes in gpart, is why the installer doesn't use labels in fstab. -Nathan