Labeling an exFAT Partition File System

I just formatted an external drive with exFAT file system with the intention to share this drive between Windows/Linux/macOS. When the drive is mounted on my Fedora desktop, it shows as: /dev/sde1 on /run/media/kenno/E17F-B2B1 type exfat ()(rw,nosuid,nodev,relati...) I want to give it a name, so it’ll be mounted as: /run/media/kenno/DRIVE_NAME. On Linux system, we can use a tool called exfatlabel to get or set the exFAT file system. I already created a partition and format it (mkfs....

April 10, 2021 · 1 min · 203 words · kenno

Create Disk Partition With GNU Parted

My favourite tool to create disk partitions on Linux is c[fg]disk. cfdisk used to create MBR based partition, and cgdisk is for GPT one. Today, I want to learn to use another tool called GNU Parted. After plugging an external disk, we can use udiskctl command to identify the disk device. # udisksctl status MODEL REVISION SERIAL DEVICE -------------------------------------------------------------------------- Samsung SSD 850 EVO 250GB EMT01B6Q S21MNXAG919308T sda ST2000DM001-1ER164 HP51 Z4Z46TMA sdb ST2000DM001-1ER164 HP51 Z4Z46W3E sdc Samsung SSD 850 EVO 250GB EMT01B6Q S21MNXAG919312Y sdd Samsung SSD 840 EVO 250G 0309 533144424E4541443837343335324120 sde The last Samsung SSD 840 (/dev/sde) is the one that I’m going to work with....

May 20, 2020 · 2 min · 419 words · kenno

Labeling an XFS Partition

Let’s say I have a partition as /dev/sdc1 formatted using XFS file system, and I want to give a label to it as externo. Here is one way to do it: # xfs_admin -L externo /dev/sdc1 writing all SBs new label = "externo" To read the label: # xfs_admin -l /dev/sdc1 label = "externo" Reference: HowTo Rename a XFS-Filesystem (label it)

September 29, 2016 · 1 min · 61 words · kenno