Hello Guys,
This is my first HOWTO, and I'll make this quick and less painful.
Okay by now you may have noticed that F9 uses weird characters in your /etc/fstab to mount file system. So what are they and how do we manipulate them?
Example /etc/fstab
Code:
UUID=2113dfa3-b0b0-48e5-8764-c842320fa28c / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=8fa27bec-0676-47e0-9597-c09b169f875c swap swap defaults 0 0
UUID=3150b901-2459-4443-a23b-2d1cfb0276af swap swap defaults 0 0
How to find the partition or device associated with the UUID?
A command called findfs will help you find your partition
Code:
# findfs UUID=2113dfa3-b0b0-48e5-8764-c842320fa28c
/dev/sda7
How do you create new UUIDs for a partition?
Use tune2fs
Code:
# tune2fs -U random /dev/sda8
How do we find the UUID of a partition?
Code:
# tune2fs -l /dev/sda7 |grep UUID
Filesystem UUID: 2113dfa3-b0b0-48e5-8764-c842320fa28c
What is the UUID of my reiserfs partition?
To the best of my knowledge UUIDs are only for ext2/ext3/ext4 file systems.
What does man uuid have to say about this?
Quote:
|
The UUID library is used to generate unique identifiers for objects that may be accessible beyond the local system.
|
Hope this helps