QuestionQ43Verified/Filesystem and DevicesCopy linkReport a problemAsk AstroTutorSave questionHow can the root label be assigned to the ext4 filesystem on /dev/sda1?Arelabel /dev/sda1 rootBtune2fs ""L root /dev/sda1Cecho "˜root' > /proc/fs/sda1/labelDlabelfs --device /dev/sda1 rootShow AnswerAnswerExplanationThe tune2fs -L option sets an ext2/ext3/ext4 filesystem’s volume label. Applying it to /dev/sda1 with root assigns that label to the filesystem.Show comments4Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion