Last Updated on December 9, 2021 by Admin
How can the label root
be added to the ext4 filesystem on /dev/sda1?
-
relabel /dev/sda1 root
-
tune2fs –L root /dev/sda1
-
echo ‘root’ > /proc/fs/sda1/label
-
labelfs --device /dev/sda1 root