From: Tigran Aivazian <[EMAIL PROTECTED]>

    +    rootfs=        [KNL] Use filesystem type specified (e.g. rootfs=ext2) for 
root.

(i) I prefer "rootfstype". Indeed, "rootfs" is ambiguous.
It gives some property of the root filesystem, but which?
     
    +static char rootfs[128] __initdata = "ext2";

(ii) It is a bad idea to arbitrarily select "ext2".
Moreover, we want to recognize the case where a boot option was given,
see below.
     
    +    fs_type = get_fs_type(rootfs);
    +    if (fs_type) {
    +          sb = read_super(ROOT_DEV,bdev,fs_type,root_mountflags,NULL,1);
    +        if (sb)
    +            goto mount_it;
    +    }

(iii) I probably give the rootfstype explicitly because bad things
(like disk corruption) happen when the kernel misrecognizes some
filesystem, and perhaps starts updating access times or so.
Thus, if the boot option rootfstype is given, I prefer a boot failure
over a kernel attempt to try all filesystems it knows about, just like
mount(8) only will start guessing when no explicit type was given.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to