[root@aminglinux-02 ~]# cat /etc/filesystems
xfs
ext4
ext3
ext2
nodev proc
nodev devpts
iso9660
vfat
hfs
hfsplus
[root@aminglinux-02 ~]# mke2fs -t ext4 -b 2048 /dev/sdb1
mke2fs 1.42.9 (28-Dec-2013)
文件系统标签=
OS type: Linux
块大小=2048 (log=1)
分块大小=2048 (log=1)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 1048576 blocks
52428 blocks (5.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=269484032
64 block groups
16384 blocks per group, 16384 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
16384, 49152, 81920, 114688, 147456, 409600, 442368, 802816
Allocating group tables: 完成
正在写入inode表: 完成
Creating journal (32768 blocks): 完成
Writing superblocks and filesystem accounting information: 完成
[root@aminglinux-02 ~]# blkid /dev/sdb1
/dev/sdb1: UUID="ebd864f9-cd20-4f37-b4cf-b15de0fa39ba" TYPE="ext4"
UUID=b999e57e-83ad-405e-a36c-54ee04a609cc / xfs defaults 0 0
UUID=f0ae16a7-bcc2-4bed-ad16-a61cfae953b4 /boot xfs defaults 0 0
UUID=4cfbed59-094e-43cd-b110-5a410bd0968c swap swap defaults 0 0
原文地址:http://blog.51cto.com/akui2521/2096672