![fstab 配置双启动系统](https://linux22.com/image/1188479/fstab%20%E9%85%8D%E7%BD%AE%E5%8F%8C%E5%90%AF%E5%8A%A8%E7%B3%BB%E7%BB%9F.png)
我尝试在双启动计算机上的 Ubuntu 中的 Windows(11)操作系统中挂载公共文件夹。
我已经做了什么:
在媒体文件夹中创建了一个文件夹(作为挂载点)(sudo mkdir /media/文件夹名称)
在 fstab 中添加了以下行:/media/username/Windows 分区的 UUID/Users/Public/ /media/文件夹的名称/
none bind 0 0
结果:成功了 - 但只有一次。我做错了什么?
Here's the output of cat /etc/fstab:
> werner@Inspiron-5301:~$ cat /etc/fstab
> # /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>
> # / was on /dev/nvme0n1p5 during installation UUID=6e7997c0-ea56-4c6d-8957-43f64b94ba0b / ext4
> errors=remount-ro 0 1
> # /boot/efi was on /dev/nvme0n1p1 during installation UUID=166A-5416 /boot/efi vfat umask=0077 0 1 /swapfile
> none swap sw 0 0
> # Ordner "Öffentlich" aus Windows einbinden
> /media/werner/58A26F94A26F7602/Users/Public/ /media/Öffentlich none bind 0 0