How can the label root be added to the ext4 filesystem on /dev/sda1?

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
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments