How to Change Linux Partition Label Names on EXT4 EXT3 EXT2

The most popular options are to use commands e2label or tune2fs used for changing label of

ext4, ext3 or ext2 type partitions:

# e2label /dev/sdf1 EXTLABEL

and/or

# tune2fs –L EXTLABEL /dev/sdf1

For other file filesystem, some less used in the linux environment:

NTFS
ntfslabel /dev/sdf1 NTFSLABEL

SWAP
mkswap -L SWAPLABEL /dev/sdf1

exFAT
exfatlabel /dev/sdf1 EXFATLABEL

reiserFS
reiserfstune –l FSLABEL /dev/sdf1

Tags: , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *