欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

linux filesystem

程序员文章站 2022-07-14 10:12:33
...
[[email protected] ~]$ df
文件系统                     1K-块      已用       可用 已用% 挂载点
/dev/mapper/centos-root   52403200   9483000   42920200   19% /
devtmpfs                  16337272         0   16337272    0% /dev
tmpfs                     16354528    140240   16214288    1% /dev/shm
tmpfs                     16354528     18380   16336148    1% /run
tmpfs                     16354528         0   16354528    0% /sys/fs/cgroup
/dev/mapper/centos-home   59494008   1630876   57863132    3% /home
/dev/sda1                   508588    281796     226792   56% /boot
tmpfs                      3270908        68    3270840    1% /run/user/1000
/dev/sdb1               1922720024 116548080 1708479884    7% /run/media/260254/dde9f86c-29a3-45bf-850a-5d24236399e0
[[email protected] ~]$ sudo mount |grep sdb
/dev/sdb1 on /run/media/260254/dde9f86c-29a3-45bf-850a-5d24236399e0 type ext4 (rw,nosuid,nodev,relatime,seclabel,data=ordered,uhelper=udisks2)
[[email protected] ~]$ vim /etc/fstab
[[email protected] ~]$ lsof /dev/mapper/centos-home
COMMAND     PID   USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
nautilus    545 260254  cwd    DIR  253,2     4096       131 /home/260254
nautilus    545 260254  mem    REG  253,2    32768 201399766 /home/260254/.local/share/gvfs-metadata/trash:-e89df342.log
nautilus    545 260254  mem    REG  253,2    32768 201399715 /home/260254/.local/share/gvfs-metadata/uuid-6025cb7b-61e9-4064-9ad3-b6f7da720092-3c14ab56.log

mount

相关标签: mount df lsof