Date: Wed, 17 Mar 2010 23:31:58 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-geom@freebsd.org Subject: Re: geom_label and directories under /dev Message-ID: <hnrl8v$d4j$1@dough.gmane.org> In-Reply-To: <20100316000133.GC3574@garage.freebsd.pl> References: <20100315195059.GA1331@a91-153-117-195.elisa-laajakaista.fi> <20100316000133.GC3574@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote: > What you described are bugs in devfs that should be fixed in devfs and > not worked around by limiting GEOM flexibility. Allowing '/' in labels > is very useful. Not only labels, you can do the same with gmirror(8), > gstripe(8), etc. although with glabel(8) it is more important. But it's a name, an identifier. It's like saying "*" can suddenly be a part of a C variable name. Besides, there are special cases to consider - what about names containing successive slashes and possibly C escape sequences? I say - sanitize it completely, leave either 7-bit ASCII or UTF-8 (but in both cases strip slashes and characters < 0x20).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hnrl8v$d4j$1>