Date: Fri, 12 Jul 2024 14:09:54 +0200 (CEST) From: lars.engels@0x20.net To: Larry Rosenman <ler@lerctr.org>, Freebsd fs <freebsd-fs@freebsd.org> Subject: Re: Why doesn't this /etc/fstab line parse? Message-ID: <1133195990.1876.1720786194028@office.mailbox.org> In-Reply-To: <0e81a353a658574d283d976c604a7c61@lerctr.org>
index | next in thread | previous in thread | raw e-mail
> 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1133195990.1876.1720786194028>
