[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Release Candidate 2 of Debian Installer

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(fungi@yuggoth.org); IRC(fungi@irc.yuggoth.org#ccl); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER(fungi@yuggoth.org);
MUD(fungi@katarsis.mudpy.org:6669); WWW(http://fungi.yuggoth.org/); }

Reply to: