linux系统设备的类型,linux常见设备类型及文件系统

20180110200836142008.png

As you can see in  Table   14.3   , all disk device names end with the letter a. That is because it is the first disk that was found in your server. The second SCSI disk, for instance, would have the name /dev/sdb. If many disks are installed in a server, you can have up to /dev/sdz and even beyond. After /dev/sdz, the kernel continues creating devices with names like /dev/sdaa and /dev/sdab.

20180110200836143962.pngTo format a partition with one of the supported file systems, you can use the  mkfs  command, using the option  -t  to specify which specific file system needs to be used. Alternatively, one of the file system specific tools can be used, such as mkfs.ext4 to format an Ext4 file system. mkfs.ext4 /dev/sdb1 

NOTE     If you are using mkfs without any further specification of which file system you want to format, an Ext2 file system will be formatted. This is probably not what you want to use, so do not forget to specify which file system you want to use.

To format a partition with the default XFS file system, the command  mkfs -t xfs  is used.  mkfs -t xfs /dev/vda5

原文:http://www.cnblogs.com/rusking/p/5736144.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值