linux win 雙系統掛載 win 分區
需求:因 linux 分區不夠大,需要 linux 開機自動掛載 win 分區。
環境:Debian 12
mount 命令可以掛載分區,通過 mount man部分中文#The files /etc/fstab, /etc/mtab and /proc/mounts 得知:
- fstab(5) 描述了哪些設備通常安裝在何處、使用哪些選項
- mtab 維護當前已掛載的文件系統的列表
查看 /etc/fstab,有
<file system> <mount point> <type> <options> <dump> <pass>
dump 和 pass 可以通過 man fstab 得到。因此在 /etc/fstab 最后添加一行:
UUID=xxxxxxxxxxxxxxxx /media/user/mountpoint ntfs-3g defaults,uid=1000,gid=1000 0 0

浙公網安備 33010602011771號