如何修改硬盘中"Name"参数?

linux-337q:/home/suse # parted -l
Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 99.6MB 98.6MB fat16 boot
2 99.6MB 2147MB 2048MB linux-swap(v1)
3 2147MB 56.0GB 53.9GB ext4
4 56.0GB 500GB 444GB ext4 primary

Model: EAGET (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 17.4kB 5000MB 5000MB btrfs boot_sys
3 5000MB 40.0GB 35.0GB ntfs share
2 40.0GB 500GB 460GB ext4 main_disk

Warning: Unable to open /dev/sr0 read-write (只读文件系统). /dev/sr0 has been opened
read-only.
Error: /dev/sr0: unrecognised disk label
Model: Generic ATA/ATAPI Device (scsi)
Disk /dev/sr0: 1038kB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:

比如如何把上面的 boot_sys 修改为 boot

那就是个 卷标 (label) 啊,格式化分区的时候就可以加上去。比如 mkfs.ext4 -L boot /dev/sdXY 这样子的,其他的文件系统也有类似的选项,可以 --help 查看一下。如果是要在已经分好区,不宜格式化的分区上设置卷标的话,用 gparted 应该可以做到。