← 返回命令列表

Linux command

exfatlabel 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show volume label

exfatlabel [/dev/sda1]

Set volume label

exfatlabel [/dev/sda1] "[NEW_LABEL]"

Show volume serial number

exfatlabel -i [/dev/sda1]

Set volume serial number

exfatlabel -i [/dev/sda1] [0x12345678]

说明

exfatlabel displays or sets the volume label or volume serial of an exFAT filesystem. If no label argument is given, displays the current label. Labels can be up to 15 characters (fewer if characters beyond Unicode BMP are used, since labels are stored internally as UTF-16). An empty label (`''`) removes the volume name.

参数

-i, --volume-serial
Switch to volume serial mode to get or set the volume serial number.
-V
Print version number and exit.

FAQ

What is the exfatlabel command used for?

exfatlabel displays or sets the volume label or volume serial of an exFAT filesystem. If no label argument is given, displays the current label. Labels can be up to 15 characters (fewer if characters beyond Unicode BMP are used, since labels are stored internally as UTF-16). An empty label (`''`) removes the volume name.

How do I run a basic exfatlabel example?

Run `exfatlabel [/dev/sda1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i, --volume-serial do in exfatlabel?

Switch to volume serial mode to get or set the volume serial number.