首页 > 系统服务 > 详细

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

时间:2016-08-04 13:11:32      阅读:375      评论:0      收藏:0      [点我收藏+]

技术分享

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.

技术分享 To 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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!