[Linux] set dev label(设置分区卷标)

1. for ext2/ext3/ext4

e2label device [newlabel]

2. for dos(vfat, fat16, fat32, etc.)

dosfslabel device [label]

3. for swap

swaplabel -L [label] dev

4. for ntfs

ntfslabel [options] device [label]
posted @ 2013-05-23 15:00  scue  阅读(2828)  评论(0编辑  收藏  举报