Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
consider a command like:
mkfs.ext4 /dev/disk/by-id/ata-VBOX_HARDDISK_OST0PORT100000000000-part1
This yields a UDEV event with:
ID_FS_TYPE=ext4
Creating a ldiskfs also sets
ID_FS_TYPE=ext4
Possible to set that to something other than ext4, I.E. lustre or ldiskfs?
I agree with James in that the format of ldiskfs is as close as possible to ext4, so the ID_FS_TYPE cannot be used to distinguish them. Some options include using the ID_FS_LABEL to check for $fsname[:-]TGTxxxx, where TGT is MDT or OST or MGS/MGT.