Getting the device UUID and filesystem

To check the available devices (hard disk, pen drive) you can use the command as follows (as root):

fdisk -l

To verify the active mount points you can run:

df

However, neither one shows the device file sytem information, required in some mounting tasks, such as NFS, autofs. If it was mounted using /etc/fstab, there you can find it. Furthermore, Ubuntu also requires UUID device in partition mounting, which is not provided by the previous tool (fdisk, df). To get these information you can execute the command as follows:

blkid

See ya

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: