1.
1.1.
Mount
If it is not with the parameter, it shows the condition that is currently mounted.
1.2.
Df
Hard disk partition status query without parameters
2.
2.1.
Cat/proc/partitions
2.2.
Fdisk-l
2.3.
3.
3.1, Ubuntu related display information:
[email protected]:~# fdisk-ldisk/dev/sda:128.8 GB, 128849018880 bytes255 heads, sectors/track, 15665 cylinders, Total 251658240 sectorsunits = sectors of 1 * all = Bytessector size (logical/physical): bytes/512 bytesi/o siz E (minimum/optimal): bytes/512 bytesdisk identifier:0x00017f96 Device Boot Start End Blocks I D system/dev/sda1 * 2048 249561087 124779520 linux/dev/sda2 249563134 251656191 1046529 5 Extended/dev/sda5 249563136 251656191 1046528, Linux swap/solaris[email protected]:~# Cat/pro C/partitions Major Minor #blocks name 0 1048575 sr0 8 0 125829120 SDA 8 1 124779520 SD A1 8 2 1 sda2 8 5 1046528 sda5[email protected]:~# mount/dev/sda1 on/type ext4 (rw,er Rors=remount-ro) proc On/proc type proc (rw,noexec,nosuid,nodev) Sysfs on/sys type Sysfs (Rw,noexec,nosuid,nodev) 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). host:/On/mnt/hgfs type Vmhgfs (rw,ttl=1) Vmware-vmblock On/run/vmbloc K-fuse type Fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other) Gvfs-fuse-daemon on/home/zzz/. GVFS type Fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=zzz) [email protected]:~# df/File system 1k-block used available Used% mount point/dev/sda1 124602456 18693288 99670192 16%/[email protected]:~#
3.2, android4.4 related information display:
[Email protected]:/dev/block # Dffilesystem Size used free Blksize/dev 917. 4M 128.0K 917.3M 4096/sys/fs/cgroup 917.4M 12.0K 917.4M 4096/mnt/secure 917.4M 0.0K 917.4M 4096/mnt/asec 917.4M 0.0K 917.4M 4096/mnt/obb 917.4M 0.0K 917.4M 4096/ System 827.8M 288.6M 539.2M 4096/cache 551.7M 9.8M 542.0M 4096/data 12.9G 531.0M 12.4G 4096/persist 15.8M 4.2M 11.6M 4096/firmware 64.0M 44.4M 19.5M 16384/mnt/shell/emulated 12.9G 531.0M 12.4G 4096[email protected]:/dev/block # cat/p Roc/partitionsmajor Minor #blocks name 179 0 15388672 mmcblk0 179 1 65536 mmcblk0p1 179 2 MMCBLK0P2 179 3 MMCBLK0P3 179 4 2048 MMCBLK0P4 179 5 1 MMCBLK0P5 6 22528 mMCBLK0P6 179 7 22528 MMCBLK0P7 179 8 780 MMCBLK0P8 179 9 780 MMCBLK0P9 179 1 0 780 MMCBLK0P10 179 mmcblk0p11 179-MMCBLK0P12 179 LK0P13 179 2048 MMCBLK0P14 179 179 MMCBLK0P15 179 MMCBLK0P17 179 MMCBLK0P18 179 16384 mmcblk0p19 179-16384 MMC BLK0P20 179 860160 mmcblk0p21 179 (573440 mmcblk0p22 179) 13798400 mmcblk0p23 179 MMCBLK0P24 179 495 Mmcblk0p25
[Email protected]:/dev/block # mountrootfs/rootfs Ro,relatime 0 0tmpfs/dev Tmpfs rw,seclabel,nosuid,relatime, mode=755 0 0devpts/dev/pts devpts rw,seclabel,relatime,mode=600 0 0proc/proc proc rw,relatime 0 0sysfs/sys Sysfs rw,sec Label,relatime 0 0selinuxfs/sys/fs/selinux selinuxfs rw,relatime 0 0debugfs/sys/kernel/debug debugfs rw,relatime 0 0none /acct cgroup rw,relatime,cpuacct 0 0none/sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0tmpfs/mnt/secur E tmpfs rw,seclabel,relatime,mode=700 0 0tmpfs/mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0tmpfs/mnt/obb t Mpfs rw,seclabel,relatime,mode=755,gid=1000 0 0none/dev/cpuctl cgroup rw,relatime,cpu 0 0/dev/block/platform/msm_ Sdcc.1/by-name/system/system ext4 ro,seclabel,relatime,data=ordered 0 0/dev/block/platform/msm_sdcc.1/by-name/ Cache/cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0/dev/block/platform/msm_sdcc.1/by-name/userdata/ Data Ext4 Rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0/dev/block/platform/msm_sdcc.1/by-name/persist/persist Ext4 Rw,seclabel,nosuid,nodev,relatime, nodelalloc,data=ordered 0 0/dev/block/platform/msm_sdcc.1/by-name/modem/firmware Vfat ro,relatime,uid=1000,gid= 1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0/dev/fuse/mnt /shell/emulated Fuse Rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
[Email Protected]:/dev/block #
Linux_ Common Commands _03_ Disk/Mount _ information view