linux挂载


1.获得一个与本机系统本机版本一致的系统镜像
2.挂载镜像
mkdir /rhel7.2


mount /xxx/xxx.iso  /rhel7.2
挂载是临时的重启就没了,需要写脚本开机自动挂载

3.永久挂载镜像
vim /etc/rc.d/rc.local
加入这条mount /xxx/xxx.iso  /rhel7.2

chmod 755 /etc/rc.d/rc.local

ll /etc/rc.d/rc.local 查看权限

macos

sudo mount_ntfs -o rw,nobrowse /dev/disk2s1  /Users/xxx/Desktop/yingpan