Labelling an ext2, ext3 or ext4 file system

Icon from the Tango Desktop Project

The easiest method (from experimentation this evening!) is to use the e2label command. For example, to set the label of the first partition on the /dev/sdc drive:

# e2label /dev/sdc1 yournewlabel

At this rate, I'm thinking I should just start another site for just Linux tips. Nah ;D


Imprint

This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).