Am 17.11.2011 19:01, schrieb C Anthony Risinger:
On Thu, Nov 17, 2011 at 3:24 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Am 17.11.2011 07:20, schrieb C Anthony Risinger:
+ if ! mount ${opts} "$root" "$1"; then + if [ ! -b "$root" ]; then + err "Unable to determine major/minor number of root device '$root'." + fi
This error message no longer makes sense. Replace it by something understandable.
sure, how about (as a msg instead of err):
"Is root device a /dev/<blockdev>? Unable to determine it's major/minor number."
... or...
"Root device does not exist -- not a block device, or unable to locate/determine it's major/minor number."
... something like that?
The whole major/minor comment confuses people. Simply state that the root device does not exist and/or could not be created.