Bug#335947: reiserfs creation in partition #1 of SCSI1 (0,0,0) (sda) failed
On Mon, Mar 17, 2008 at 7:47 PM, Frans Pop <elendil@planet.nl> wrote:
> Either the space or the "/" could be the problem. I suspect the space as we
> don't quote the parameter.
> Maybe we need to either quote the label or add some input checks.
>
> Could you check if any of these commands produce the same (or other) errors:
> - mkfs.reiserfs -l Debian GNU/Linux -f -q /dev/sdaX
This was the problem. A manual execution of the above command on VT2 gave:
mkfs.reiserfs 3.6.19
[..]
mkfs.reiserfs: strtol is unable to make an integer of /dev/hda2
> - mkfs.reiserfs -l "Debian GNU/Linux" -f -q /dev/sdaX
> - mkfs.reiserfs -l Debian_GNU/Linux -f -q /dev/sdaX
> - mkfs.reiserfs -l Debian -f -q /dev/sdaX
> - mkfs.reiserfs -l GNU/Linux -f -q /dev/sdaX
None of these gave that error. I've run this test with the 386 beta1
installer for lenny.
The solution seams to be simple, just to double quote the LABEL.
Please close this bug after you commit the change.
Thanks
Reply to: