Index List

14 November 2007

Rename label partition

December 11th, 2008, 08:30 AM
This guide is for editing FAT16/FAT32, NTFS, ext2/ext3, JFS, ReiserFS, and XFS filesystem partition labels.

Basics

There are 6 programs used to label a partition - the program used depends on the partition's filesystem type:

For FAT16 and FAT32 partitions, use mtools.

For NTFS partitions, use ntfsprogs.

For ext2 or ext3 partitions, use e2label.

For JFS partitions, use jfs_tune.

For ReiserFS (v3) partitions, use reiserfstune.

For XFS partitions, use xfs_admin

By default, external drives automount at /media/disk then /media/disk-1 and so on. This is not very helpful when trying to find the drive you are looking for, especially if you have multiple devices plugged in.

Labeled devices that automount will be mounted in the /media directory using their label as the mount point, /media/