geom_label and directories under /dev

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Mar 15 23:52:03 UTC 2010


On Mon, Mar 15, 2010 at 06:12:39PM -0500, CyberLeo Kitsana wrote:
> On 03/15/2010 03:43 PM, Ivan Voras wrote:
> > Jaakko Heinonen wrote:
> >> So it's probably a dead end to try to suggest disallowing of '/'?
> >> Unfortunately it's not easy to fix all problems with directories. For
> >> starters devfs doesn't support removal of directories at all.
> > 
> > I have no idea why "/" would be allowed - it isn't in regular filenames
> > so why would this be special? I wote to remove slashes.
> 
> Please be very careful with such a change. I rely on this behaviour
> pretty heavily, to keep things hierarchically arranged. Such a change
> would break pretty much every box I run.

No worries. I agree it is useful.

File system labels are not file names and I'm happy that our devfs
support transparent directory creation, because thanks to this we can
use directory names in labels for free.

There sure are devfs bugs that  have to be fixed and not avoided by
limiting flexibility in GEOM providers names selection.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
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: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20100315/e515d78c/attachment.pgp


More information about the freebsd-geom mailing list