- 论坛徽章:
- 0
|
linux的文件分区类型查询
这样啊,这样吧:
[root@LRDN ~]# parted /dev/hdb
GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
使用 /dev/hdb
(parted) print
/dev/hdb 的磁盘几何结构:0.000-38166.679 兆字节
磁盘标签类型:msdos
Minor 起始点 终止点 类型 文件系统 标志
1 0.031 20002.807 主分区 ext3 启动
2 20002.808 20504.838 主分区 ext3
3 20504.839 22505.119 主分区 linux-swap
4 22505.120 38162.219 扩展分区
5 22505.150 24505.400 逻辑分区 ext3
6 24505.431 38162.219 逻辑分区 ext3
(parted) quit
信息: 如果必要,不要忘记更新 /etc/fstab。
[root@LRDN ~]#echo 不知道这样行不行,大家研究研究。 |
|