You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
479 B

5 years ago
# e2label
7 years ago
6 years ago
## 说明
7 years ago
5 years ago
**e2label命令** 用来修改ext2/ext3/ext4文件系统的卷标
7 years ago
5 years ago
## 选项
7 years ago
5 years ago
```markdown
e2label device [ new-label ]
7 years ago
5 years ago
若new-label可选参数未指定则只是查看对应设备的卷标指定的卷标最多可以包含16个字符 如果new-label的长度超过16个字符
5 years ago
则e2label将截断它并打印一个警告信息
7 years ago
```
5 years ago
## 实例
7 years ago
5 years ago
```bash
e2lable /dev/sdb1 # 查看分区的卷标
e2lable /dev/sdb1 network # 设置分区的卷标
7 years ago
```