On Sat, Jan 31, 2009 at 07:56:01PM -0600, Andrew Deason wrote: [...] > Label names could be generated to minimize collisions. Something like > ${hostname}-/ instead of /, or maybe something even more specific. [...]
The namespace here is, unfortunately, pretty limited. The manpages for mkreiserfs and mke2fs mention a 16-character limit for filesystem labels, so you'd be out of luck trying to (for example) represent /usr/local in the scheme above without truncating the hostname to 5 characters. You can't fully represent a mount path greater than 16 characters in a filesystem label even unprefixed. Maybe a 14-byte hash of the hostname and path (or even just a 14-byte pseudo-random number, for that matter) represented in 7-bit ASCII characters would achieve the desired goal? That'd look pretty ugly though... -- { IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657); SMTP(fu...@yuggoth.org); IRC(fu...@irc.yuggoth.org#ccl); ICQ(114362511); AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fu...@yuggoth.org); MUD(fu...@katarsis.mudpy.org:6669); WWW(http://fungi.yuggoth.org/); } -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org