Files
linux-wiki/content/deepin折腾笔记/第五章/5.11.md
2021-10-21 14:57:58 +08:00

12 lines
701 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 5.11 修改磁盘卷标
打开分区编辑器(GParted)软件,可以在磁盘格式化时设置所有支持格式的卷标。
如果不需要格式化,则可以先从“计算机”页面卸载目标分区,然后分区右键“重命名”,或者通过“分区 - Label File System”完成卷标设定。
对于不支持GParted格式化的分区例如exfat可以通过命令行来设定
sudo exfatlabel /dev/sdc1
USB各种磁盘格式的卷标对应的修改命令如下
`# mlabel or fatlabel for fat32`
`# ntfslabel for ntfs`
`# exfatlabel for exFAT`
`# e2label for ext2/ext3/ext4`
`# btrfs for BTRFS`