Re: Why doesn't this /etc/fstab line parse?
- In reply to: Larry Rosenman : "Why doesn't this /etc/fstab line parse?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jul 2024 12:09:54 UTC
> Larry Rosenman <ler@lerctr.org> hat am 12.07.2024 05:31 CEST geschrieben: > > > I added this to /etc/fstab: > ler-qnap.lerctr.org:/nfsdata /qnap nfs nfsv4,minorversion=1 0 0 > > and I get: > ❯ sudo mount /qnap > fstab: /etc/fstab:5: Inappropriate file type or format > fstab: /etc/fstab:5: Inappropriate file type or format > mount: /qnap: unknown special file or file system > > ler in 🌐 playbox in ~ > ❯ > > BUT: > ler in 🌐 playbox in /qnap > ❯ sudo mount -t nfs -o nfsv4,minorversion=1 ler-qnap.lerctr.org:/nfsdata > /qnap > > ler in 🌐 playbox in /qnap > ❯ > > works why? > > 14.1-RELEASE amd64. You fixed it already but what I usually do in such situation is to mount manually and then run "mount -p" which gives you the correct fstab syntax for currently mounted filesystems.