How To Get Ubuntu Server To Use NTFS Volume Labels In Fstab June 3, 2009
Posted by ModelR in Everything LINUX.Tags: Fstab, Linux, NTFS, Ubuntu
trackback
check this link here for good reference: http://ubuntuforums.org/showthread.php?t=283131
Some useful commands:
To list the drives by volume label
ls /dev/disk/by-label -lah
To list the drives by id
ls /dev/disk/by-id -lah
To list the drives by UUID
ls /dev/disk/by-uuid -lah
—————
Install ntfsprogs
$ sudo apt-get install ntfsprogs
This program will allow you to view and rename the NTFS volume labels
To show the label
ntfslabel <device>
To change set or change a label
ntfslabel <device> <label>
You can now mount devices by their volume label using the command:
mount LABEL=<label>
You can also use the LABEL command in fstab, ex.:
LABEL=<label> ntfs(or ntfs-3g) defaults 0 0
Advertisement

Comments»
No comments yet — be the first.