我的磁盘有 3 个分区,一个用于系统,其他用于存储数据。我可以更改其标签,但无法更改该分区的路径。我的分区有一个“工作”标签名称,但我必须/media/dd7e8652-201e-4ea6-bb9b-8469091ecb25
在命令行中输入才能访问。
我如何通过/media/work
命令访问?
谢谢您的指示和回答:-)
答案1
检查您的 fstab,只需编辑您的 fstab..这是我的。
注意:*第二列是挂载路径**我使用 umask=000,因为 Windows<>Linux 上的文件夹权限
如果您对 umask 有疑问,这里有一篇很好的文章:
http://www.omaroid.com/fstab-permission-masks-explained/
# /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/sdb1 during installation
UUID=25677686-3338-406d-bb07-bcf2584cb8d9 / ext4 errors=remount-ro,user_xattr 0 1
# /mount/DATA was on /dev/sdc1 during installation
UUID=79239C344158404E /media/DATA ntfs defaults,umask=000,gid=46 0 0
# /mount/VM was on /dev/sda1 during installation
UUID=00602055602053A6 /media/VM ntfs defaults,umask=000,gid=46 0 0
# swap was on /dev/sdb5 during installation
UUID=dbca6161-c0ad-4646-8d49-6e5243433a76 none swap sw 0 0