How to rename /dev/sda-sdn (partition) in linux

1. Umount the partition with this command "# umount /part"

2. Rename the partition after making sure it's not mounted with this command "# mountpoint /part &>/dev/null || mv /part /best_name_ever"

3. Edit /etc/fstab to replace /part with /best_name_ever

4. Remount the partition with this command "mount /best_name_ever"

Posting Komentar

Lebih baru Lebih lama