当前位置: 技术问答>linux和unix
linux文件系统显示的矛盾
来源: 互联网 发布时间:2016-03-24
本文导语: 一、在GRUB下查看: GRUB>cat (hd0. #按TAB键补齐 possible partitions are: partiton num 0:filesystem type is ext2fs,partition type 0x83 partiton num 1:filesystem type is ext2fs,partition type 0x83 ...
一、在GRUB下查看:
GRUB>cat (hd0. #按TAB键补齐
possible partitions are:
partiton num 0:filesystem type is ext2fs,partition type 0x83
partiton num 1:filesystem type is ext2fs,partition type 0x83
partiton num 2:filesystem type unknown,partition type 0x82
二、进系统后查看:
[root@localhost root]#cat /etc/fstab #查看fstab文件
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
………………
………………
请问这两个分区到底是ext2还是ext3?这两处为什么会产生不同的结果呢?
GRUB>cat (hd0. #按TAB键补齐
possible partitions are:
partiton num 0:filesystem type is ext2fs,partition type 0x83
partiton num 1:filesystem type is ext2fs,partition type 0x83
partiton num 2:filesystem type unknown,partition type 0x82
二、进系统后查看:
[root@localhost root]#cat /etc/fstab #查看fstab文件
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
………………
………………
请问这两个分区到底是ext2还是ext3?这两处为什么会产生不同的结果呢?
|
应该是ext3的
ext3是ext2的升级 grub把ext3也当成ext2
ext3是ext2的升级 grub把ext3也当成ext2