The*_*ing 3 mount automount mountpoint
当我安装 Ubuntu 12.04 时,我不知道如何正确设置分区逻辑驱动器的安装点。所以,我只是随机设置。现在,当我打开主文件夹时,在左窗格中看不到任何逻辑驱动器。我试图改变他们的安装点,但不能。
我的 fstab 文件 /etc 文件夹的内容是:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=691fa0bd-350f-4378-b5c7-82d277dd83c2 / ext4 errors=remount-ro 0 1
# /srv was on /dev/sda8 during installation
UUID=753d012e-ac3c-42fd-b388-d83115e88d26 /srv ext4 defaults 0 2
# /tmp was on /dev/sda5 during installation
UUID=34d8c35a-7900-4acd-988d-880792849673 /tmp ext4 defaults 0 2
# /usr was on /dev/sda6 during installation
UUID=4f7f4287-5feb-4b2b-86bb-93fe74905149 /usr ext4 defaults 0 2
# /var was on /dev/sda7 during installation
UUID=e2933e36-7906-48ac-b2ac-93500537cd4a /var ext4 defaults 0 2
Run Code Online (Sandbox Code Playgroud)
我的分区安装在以下位置:
/dev/sda5 is mounted at /tmp;
/dev/sda6 is mounted at /usr;
/dev/sda7 is mounted at /var;
/dev/sda8 is mounted at /srv.
如果我尝试更改 fstab 文件的内容,它会说只有 root 可以更改内容。
如何更改分区的安装点,使其显示在主文件夹中?