linux exercise 10

来源:互联网 发布:mac 启动ipython 编辑:程序博客网 时间:2024/04/28 12:30

1.分区


Command (m for help): m            帮助
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition        删除分区
   g   create a new empty GPTpartition table
   G   create an IRIX partition table
   l   list known partition types    列出系统可用的分区类型
   m   print this menu
   n   add a new partition        新建分区
   o   create a new empty DOS partition table
   p   print the partition table    显示分区
   q   quit without saving changes    出
   s   create a new empty Sun diskble
   t   change a partition's system id    修改分区功能id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit    保存更改到分区表中


Command (m for help): wq        ##保存推出

[root@localhost mnt]# partprobe     ##同步分区表

 mkfs.xfs  /dev/vdb5            ##格式化
mount /dev/vdb5     /mnt            ##挂载

Delete  Partition


0 0
原创粉丝点击