Option to use /dev values instead of UUID values

Tom H tomh0665 at gmail.com
Thu Mar 25 00:08:14 UTC 2010


>        $ sudo blkid
>        [sudo] password for lou:
>        /dev/sda2: UUID="4E0C083C0C082197" LABEL="W2K" TYPE="ntfs"
>        /dev/sda3: UUID="B2DCD2EADCD2A83D" LABEL="XP-Root" TYPE="ntfs"
>        /dev/sda5: UUID="3bdf3983-9d86-4adb-85df-257942a33e5b" TYPE="swap"
>        /dev/sda7: UUID="19299e03-366c-4c76-b8fc-f650bd77f790" SEC_TYPE="ext2" TYPE="ext3"
>        /dev/sda8: UUID="d1e3679d-1a16-4154-95ad-e04edcedb271" TYPE="ext3"
>        /dev/sda9: UUID="300425e2-2fce-4421-a7a9-a956118b2c18" TYPE="ext2"
>        /dev/sda10: UUID="354d6e92-99f3-427f-867e-f02183bf0454" TYPE="ext3" SEC_TYPE="ext2"
>        /dev/sda11: UUID="48a4bc15-b0f9-4a46-a563-114a45477534" TYPE="ext3" SEC_TYPE="ext2"
>        /dev/sdb1: LABEL="WORK" UUID="631F-D2FD" TYPE="vfat"
>        /dev/sdb2: UUID="e704b2dd-3253-4c00-8025-b11eaa25ae33" TYPE="ext3"
>        /dev/sdb3: UUID="9b27509d-5528-4df6-a7b9-b7748cc19c17" TYPE="ext3"
>        /dev/sdb4: UUID="cebf1c58-8ccb-43f6-a6b4-f23e15a39211" TYPE="ext3"
>        /dev/sdg1: UUID="893dc90f-e09d-4aae-857f-28102c692518" TYPE="ext3" SEC_TYPE="ext2"
>        /dev/sdg2: UUID="46c6e755-f867-4653-a9a4-066c9869e5f0" TYPE="swap"

> I've tried
>        tune2fs -U time /dev/sda1
>        and
>        tune2fs -L boot /dev/sda1
> to no effect. The above blkid was run after the tune2fs. It also seems not to matter if /dev/sda1 is
> mounted or not when the tune2fs is run and when the blkid is run.

How about
tune2fs -U clear /dev/sda1
tune2fs -U random /dev/sda1




More information about the ubuntu-users mailing list