- 论坛徽章:
- 1
|
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 15G 3.7G 80% /
none 64K 0 64K 0% /sys/fs/cgroup
udev 2.0G 64K 2.0G 1% /dev
tmpfs 408M 4.6M 403M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
none 100M 0 100M 0% /run/user
mount
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
fdisk -l
The number of cylinders for this disk is set to 51200.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sda: 64 heads, 32 sectors, 51200 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sda1 1 1 20480 20971519+ ee Unknown
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sda4 20480 20481 51200 31457280 83 Linux native
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
├─sda1 8:1 0 7M 0 part
├─sda2 8:2 0 19.1G 0 part /
└─sda3 8:3 0 896M 0 part [SWAP]
我现在不清楚的是,创建扩展分区/主分区之后,怎样才能使用,是用文件格式化还是要继续分成逻辑分区?LS的有说扩展分区需要继续划分逻辑分区,我不清楚改怎样划分,能告知方法吗?
回复 6# chenyx
|
|