歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下的分區工具(4)

Linux下的分區工具(4)

日期:2017/2/25 10:35:17   编辑:Linux教程
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e25d9
Device Boot Start End Blocks Id System
/dev/sda1 * 1 382 3068383+ 83 Linux
/dev/sda2 383 509 1020127+ 83 Linux
/dev/sda3 510 636 1020127+ 82 Linux swap / Solaris
/dev/sda4 637 1044 3277260 5 Extended
/dev/sda5 637 1044 3277228+ 83 Linux
Command (m for help): w #把新的分區表寫入並保存,記住一定要保存
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: 設備或資源忙.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@localhost gxlinux]# df -Th
#因為這個時候還沒有掛載,所以在df命令下並不能看到新的分區
Copyright © Linux教程網 All Rights Reserved