- 论坛徽章:
- 0
|
ntfs分区格式化ext3后显示分区系统hpfs/ntfs 我用的是centOS5
mkfs.ext3 /dev/hda2
fdisk -l
/dev/hda2 1375 2649 10241437+ 7 HPFS/NTFS
而tune2fs -l /dev/hda2 显示为带日志功能的linux分区 也就是ext3
[root@CentOS squid]# tune2fs -l /dev/hda2
tune2fs 1.39 (29-May-2006)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 08204884-b1b2-4409-9d0c-a504aec0cb2c
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
多谢2 3 楼 但我执行后出现这样的错误 umount 分区后 fdisk t 也一样不知道是哪里错了No partition is defined yet!
fdisk /dev/hda2
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 38680.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): t
No partition is defined yet!
[ 本帖最后由 yikai2651 于 2007-10-23 23:46 编辑 ] |
|