'apropos uuid' doesn't find blkid [rant]
Amedee Van Gasse
amedee-ubuntu at amedee.be
Sat Jul 31 15:59:16 UTC 2010
I just formatted one of my partitions to a different filesystem.
As we all know, formatting changes the UUID so I also have to change
/etc/fstab accordingly. I forgot what the command was to list UUIDs and
I was already in bash, so I thought, let's use the power of the man pages.
I typed 'apropos uuid' and I got this output:
amedee at fangorn:~$ apropos uuid
Data::UUID (3pm) - OSSP uuid Backward Compatibility Perl Binding
dbus-uuidgen (1) - Utility to generate UUIDs
findfs (8) - Find a filesystem by label or UUID
OSSP::uuid (3pm) - OSSP uuid Perl Binding
UUID (3pm) - Perl extension for using UUID interfaces as
defined in e2fsprogs.
uuidd (8) - UUID generation daemon
uuidgen (1) - command-line utility to create a new UUID value
Sorry peeps, but that doesn't help me.
I had to turn on that memory hog also known as Firefox and used this
The first result was from the Ubuntu Forums and it gave me exactly the
answer that I wanted to know: blkid.
amedee at fangorn:~$ blkid
/dev/sda1: UUID="cbca999c-ac35-400b-981e-f6521bdce034" TYPE="ext2"
/dev/sda2: UUID="af28U3-nqkc-r7yc-ImXS-Xrgc-jvuk-cBQWiP" TYPE="LVM2_member"
/dev/sdg1: SEC_TYPE="msdos" LABEL="EXT2FSD" UUID="E891-8431" TYPE="vfat"
/dev/sdg2: LABEL="external" UUID="d195e97b-7f5d-41f6-9f55-7761ec569f8a"
/dev/sdh1: UUID="B804-0E83" TYPE="vfat"
/dev/sda3: UUID="00352C6E44CEFA42" TYPE="ntfs"
So *why* [expletive omitted] doesn't `apropos uuid` find the [adjective
deleted] blkid command??? It really is a command that is relevant! Just
amedee at fangorn:~$ man blkid | grep uuid
blkid -L label | -U uuid
Look up one device that uses the uuid. For more details
see the -L option.
It looks like apropos only searches in the synopsis of commands, and *of
course* the string "uuid" isn't in the synopsis of blkid:
amedee at fangorn:~$ whatis blkid
blkid (8) - command-line utility to locate/print block device
Sorry, I just had to vent this. Steam pressure has decreased below
Amedee Van Gasse
More information about the ubuntu-users