我刚刚检测到我的 windows (ntfs) 分区始终处于挂载状态,但在 fstab 中没有任何记录。ubuntu
为何会这样做?这是否太模糊了?为什么不将记录放入 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=24ec45af-0daf-4c51-ae97-c6eb09c9b3bc / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=5C0E-7502 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
blkid
Windows 记录的输出
/dev/nvme0n1p3: LABEL="Windows" BLOCK_SIZE="512" UUID="82A210E9A210E387" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f89ba644-4f63-497a-9af1-4e01daa9958f"