From owner-cvs-src@FreeBSD.ORG Tue Aug 16 08:17:03 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF2D416A420; Tue, 16 Aug 2005 08:17:03 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098C343D48; Tue, 16 Aug 2005 08:17:02 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4B36152C70; Tue, 16 Aug 2005 10:17:01 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 010F152C3F; Tue, 16 Aug 2005 10:16:54 +0200 (CEST) Date: Tue, 16 Aug 2005 10:16:44 +0200 From: Pawel Jakub Dawidek To: Brian Fundakowski Feldman Message-ID: <20050816081644.GA3944@garage.freebsd.pl> References: <200508120005.j7C05ARc090857@repoman.freebsd.org> <20050815053757.GB2660@green.homeunix.org> <20050815070033.GA8368@garage.freebsd.pl> <20050815125814.GC2660@green.homeunix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20050815125814.GC2660@green.homeunix.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng devel (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/geom/label g_label.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2005 08:17:04 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 15, 2005 at 08:58:14AM -0400, Brian Fundakowski Feldman wrote: +> > +> Why would we want to prevent the usage of a specific directory stru= cture +> > +> to represent GEOM's namespace, if that's what the administrator wan= ts? +> >=20 +> > If the label name is 'foo/bar' it doesn't seems right to create 'foo' +> > directory and provider 'bar' inside. The label could be also '../rando= m' +> > or something like this and I want to save administrator/user nasty sur= prises +> > when he inserts some random CD. +>=20 +> I like the idea of rejecting the latter, but what is the harm of the fir= st +> case? If I call something "foo/bar", I'll be surprised to find out that +> it's located at /dev/foo_bar... my preference would be for the name to be +> rejected completely instead of remapped, if a '/' is to not be allowed, +> but that's my own. # cd /dev/foo # rm/anything bar There was no label 'bar', right. Anyway. Instead of rejecting labels with '/' I can print a warning on the console that a bit different label will be used. What do you say? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDAaDsForvXbEpPzQRAtomAJ9VFt74lm8rMXFdMk8ftSblcCHDMQCeNknC LKu5EYejqJZmm9BQDjxX9lg= =RY8L -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--