cvs commit: src/sys/geom/label g_label.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Aug 15 07:00:57 GMT 2005


On Mon, Aug 15, 2005 at 01:37:57AM -0400, Brian Fundakowski Feldman wrote:
+> On Fri, Aug 12, 2005 at 12:05:09AM +0000, Pawel Jakub Dawidek wrote:
+> > pjd         2005-08-12 00:05:09 UTC
+> > 
+> >   FreeBSD src repository
+> > 
+> >   Modified files:
+> >     sys/geom/label       g_label.c 
+> >   Log:
+> >   Avoid creating directories in devfs by changing all '/' in labels to '_'.
+> >   
+> >   Idea from:      Stanislav Sedov <stas at 310.ru>
+> >   MFC after:      3 days
+> 
+> Why would we want to prevent the usage of a specific directory structure
+> to represent GEOM's namespace, if that's what the administrator wants?

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 '../random'
or something like this and I want to save administrator/user nasty surprises
when he inserts some random CD.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050815/1f7d2e1a/attachment.bin


More information about the cvs-src mailing list