分割 Format

  • You do not have permissions to view this page - please try logging in.
內容表格
沒有標頭

版本為 19:16, 28 Jul 2026

到這個版本。

返回到 版本存檔.

查閱目前版本

[admin@asus root]$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 3008      3008         0 100% /
/dev/discs/disc0/part1   3903760   2852908   1050852  73%
/tmp/mnt/disc0_1
[admin@asus root]$ umount /tmp/mnt/disc0_1
[admin@asus root]$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 3008      3008         0 100% /

[admin@asus root]$ fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 8019 MB, 8019099648 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus0/target0/lun0/part1               1         974     7823623+
 83  FAT16

[admin@asus root]$ fdisk /dev/ide/host0/bus0/target0/lun0/disc

Command (m for help): d
Selected partition 1

Command (m for help): p

Disk /dev/ide/host0/bus0/target0/lun0/disc: 8019 MB, 8019099648 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem


Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)

p
Partition number (1-4): 1
First cylinder (1-974, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-974, default 974):
Using default value 974


Command (m for help): p

Disk /dev/ide/host0/bus0/target0/lun0/disc: 8019 MB, 8019099648 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus0/target0/lun0/part1               1         974     7823623+
 83  Linux


Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

[admin@asus root]$ fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 8019 MB, 8019099648 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus0/target0/lun0/part1               1         974     7823623+
 83  Linux

[admin@asus root]$ mke2fs -j /dev/ide/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
979200 inodes, 1955905 blocks
97795 blocks (5.00%) reserved for the super user
First data block=0
60 block groups
32768 blocks per group, 32768 fragments per group
16320 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks):done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[admin@asus root]$reboot

asus login: admin
Password:
[admin@asus root]$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 3008      3008         0 100% /
/dev/discs/disc0/part1   7700668    131228   7178260   2% /tmp/mnt/disc0_1

 

Powered by MindTouch Core