Linux 磁盘分区是指将一个硬盘分割成多个逻辑单元,以便在不同的分区中存储和管理文件。Linux 磁盘分区的代码如下:
Linux 磁盘分区是指将一个硬盘分割成多个逻辑单元,以便在不同的分区中存储和管理文件。
Linux 磁盘分区的代码如下:
# fdisk /dev/sda
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-20971519, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-20971519, default 20971519):
Created a new partition 1 of type 'Linux' and of size 10 GiB.
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(74条)