On Thu, May 28, 2009 at 04:25:11PM -0400, Theodore Tso wrote: > > Hi, > > I think this bug was user-error; do you agree? You haven't replied in > over a month, so if I don't get response soon
Hi, I didn't receive your last mail. Actually I think I found the problem. > > That will blow up instantly with: > > > > tmp: Not enough space to build proposed filesystem while setting up > > superblock I don't get this error message; it seems that when mke2fs asks for confirmation, it assumes I refused. This is definitely a locale-related problem (in Catalan, "yes/no" is "sí/no"): $ dd if=/dev/zero of=tmp bs=32k count=1 && /sbin/mke2fs -j tmp 1+0 registres llegits 1+0 registres escrits 32768 octets (33 kB) copiats, 0,000112197 s, 292 MB/s mke2fs 1.41.3 (12-Oct-2008) tmp is not a block special device. Proceed anyway? (y,n) y $ dd if=/dev/zero of=tmp bs=32k count=1 && /sbin/mke2fs -j tmp 1+0 registres llegits 1+0 registres escrits 32768 octets (33 kB) copiats, 0,000104263 s, 314 MB/s mke2fs 1.41.3 (12-Oct-2008) tmp is not a block special device. Proceed anyway? (y,n) s tmp: Not enough space to build proposed filesystem while setting up superblock Notice how 's' makes it proceed, but 'y' doesn't. The message, however, asked for a 'y' or a 'n'! I think a good solution would be to always accept y/n no matter which locale you're on. Other programs seem to use this approach. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

