How can the label root be added to the ext4 filesystem on /dev/sda1?
How can the label root be added to the ext4 filesystem on /dev/sda1?
The correct way to add the label root to the ext4 filesystem on /dev/sda1 is by using the tune2fs command with the -L option to specify the desired label. The correct command for this is tune2fs -L root /dev/sda1.
Nowadays we use e2label /dev/sda1 root, but our ancestors had to use B. tune2fs -L root /dev/sda1 . wtf ""?? Idunno
B - but need some correction. "tune2fs ""L root /dev/sda1"
tune2fs -L root /dev/sda1
e2label /dev/sda1 root or tune2fs –L root /dev/sda1
tune2fs -L root /dev/sda1 (I checked the man page)
B - 100%