jump to navigation

How To Get Ubuntu Server To Use NTFS Volume Labels In Fstab June 3, 2009

Posted by ModelR in Everything LINUX.
Tags: , , ,
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

Advertisements

Comments»

No comments yet — be the first.

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: