Usage: ntfslabel [options] device [label]
-n, --no-action Do not write to disk
-f, --force Use less caution
--new-serial Set a new serial number
--new-half-serial Set a partial new serial number
-q, --quiet Less output
-v, --verbose More output
-V, --version Display version information
-h, --help Display this help
使用一下命令修改NTFS分区的名称:
1
sudo ntfslabel /dev/sdb3 DATA
建议先把要修改的分区的挂载点先取消挂载,否则会看到这样的警告:
1
2
3
4
5
Access is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
You can use force option to avoid this check, but this is not recommended
and may lead to data corruption.