Contents
Almost every filesystem type can have a label. All your partitions that have one are listed in the /dev/disk/by-label directory. This directory is created and destroyed dynamically, depending on whether you have partitions with labels attached.
How do I get a disk label in Linux?
Below you can find listing of all such commands.
- e2label or tune2fs. The commands e2label or tune2fs used for changing label of ext2, ext3 and ext4 type partitions. …
- ntfslabel. The ntfslabel command used for changing label of NTFS partitions. …
- reiserfstune. …
- mkswap. …
- exfatlabel. …
- Changing Label of a partition in GUI – DISKS.
6 янв. 2016 г.
What is label in Linux?
Labeling partitions or volumes is a file system feature. There two main tools which can do the job of naming or renaming partition labels. Namely they are tune2fs and e2label . Both tools are part of e2fsprogs and are used to solely on ext2/ext3/ext4 file systems.