drwxr-xr-x2rootroot39731206-1923:23CentOS
-rw-rCrC7rootroot21206-1506:32EULA
-rw-rCrC7rootroot1800906-1506:32GPL
drwxr-xr-x4rootroot204806-1923:22images
drwxr-xr-x2rootroot204806-1923:05isolinux(以下省略)
[root@xx~]#fdisk/dev/loop1
DevicecontainsneitheravalidDOSpartitiontable,norSun,SGIorOSFdisklabel
BuildinganewDOSdisklabel.Changeswillremaininmemoryonly,
untilyoudecidetowritethem.Afterthat,ofcourse,theprevious
contentwon’tberecoverable.
Warning:invalidflag0×0000ofpartitiontable4willbecorrectedbyw(rite)
Command(mforhelp):
[root@xx~]#mkfs-text2/dev/loop1
mke2fs1.39(29-May-2006)
Filesystemlabel=
OStype:Linux
Blocksize=1024(log=0)
Fragmentsize=1024(log=0)
2512inodes,10000blocks
500blocks(5.00%)reservedforthesuperuser
Firstdatablock=1
Maximumfilesystemblocks=10485760
2blockgroups
8192blockspergroup,8192fragmentspergroup
1256inodespergroup
Superblockbackupsstoredonblocks:
8193
Writinginodetables:done
Writingsuperblocksandfilesystemaccountinginformation:done
Thisfilesystemwillbeautomaticallycheckedevery33mountsor
180days,whichevercomesfirst.Usetune2fs-cor-itooverride.
[root@xx~]#filehd.img
hd.img:Linuxrev1.0ext2filesystemdata
欢迎光临 仓酷云 (http://ckuyun.com/) | Powered by Discuz! X3.2 |