首页 > 其他分享 >mount

mount

时间:2023-02-16 12:55:13浏览次数:27  
标签:relatime rw proc mount dev nosuid

 

remount /

if (: > /.testrw) > /dev/null >&1; then
  rm -f /.testrw
else
  mount -o remount,rw / || echo 'Failed mount / rw'
fi

 

mount pseudo fs

  1. /proc
    mount -n -t proc -o rw,nosuid,nodev,noexec,relatime proc /proc

     

  2. /sys
    mount -n -t sysfs -o rw,nosuid,nodev,noexec,relatime sysfs /sys

     

  3. /dev
    mount -n -t devtmpfs -o rw,nosuid,size=4096k,nr_inodes=1048576,mode=755,inodes64 devtmpfs /dev

     

标签:relatime,rw,proc,mount,dev,nosuid
From: https://www.cnblogs.com/dissipate/p/17126263.html

相关文章