This is an attempt to clear up an ambiguity related to ext2/ext3 file- systems. If "mount" is trying to guess a filesystem type, and SEC_TYPE says that it's "ext3", "mount" uses "ext3". Otherwise, "mount" falls back to the previous TYPE-based approach. --- util-linux-2.12q.orig/mount/mount_guess_fstype.c +++ util-linux-2.12q/mount/mount_guess_fstype.c @@ -51,7 +51,16 @@ char * do_guess_fstype(const char *device) { - return blkid_get_tag_value(blkid, "TYPE", device); + char *cp; + + cp = blkid_get_tag_value (blkid, "SEC_TYPE" , device); + + if ((cp != NULL) && !strcmp (cp, "ext3")) + { + return (cp); + } + + return (blkid_get_tag_value (blkid, "TYPE", device)); } static int