linux操作系统 fatlabel命令手册

fatlabel

Sets or gets the label of a FAT32 partition.

  • Get the label of a FAT32 partition:

fatlabel {{/dev/sda1}}

  • Set the label of a FAT32 partition:

fatlabel {{/dev/sdc3}} "{{new_label}}"