标签:mtab ntp usr inode poi lib lin sdn log
第一种方法:df命令
# df -hT Filesystem Type Size Used Avail Use% Mounted on devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 3.9G 4.0K 3.9G 1% /dev/shm tmpfs tmpfs 3.9G 1.2M 3.9G 1% /run tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 ext4 9.8G 3.8G 5.6G 41% /
第二种方法:使用mount命令
# mount -l sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,size=4008592k,nr_inodes=1002148,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) smackfs on /sys/fs/smackfs type smackfs (rw,nosuid,nodev,noexec)
第三种方法:查看文件/etc/mtab。
# cat /etc/mtab sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 devtmpfs /dev devtmpfs rw,nosuid,size=4008592k,nr_inodes=1002148,mode=755 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 smackfs /sys/fs/smackfs smackfs rw,nosuid,nodev,noexec 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 /dev/sda1 / ext4 rw,noatime,data=ordered 0 0
第四种方法:使用lsblk命令查看
# lsblk -P NAME="sda" MAJ:MIN="8:0" RM="0" SIZE="232.9G" RO="0" TYPE="disk" MOUNTPOINT="" NAME="sda1" MAJ:MIN="8:1" RM="0" SIZE="10G" RO="0" TYPE="part" MOUNTPOINT="/" NAME="sda2" MAJ:MIN="8:2" RM="0" SIZE="10G" RO="0" TYPE="part" MOUNTPOINT="/data" NAME="sda3" MAJ:MIN="8:3" RM="0" SIZE="212.9G" RO="0" TYPE="part" MOUNTPOINT="/home"
标签:mtab ntp usr inode poi lib lin sdn log
原文地址:https://www.cnblogs.com/carriezhangyan/p/9633216.html