Re: Why doesn't this /etc/fstab line parse?

From: Larry Rosenman <ler_at_lerctr.org>
Date: Fri, 12 Jul 2024 04:58:16 UTC
On 07/11/2024 11:56 pm, Rick Macklem wrote:
> On Thu, Jul 11, 2024 at 8:32 PM Larry Rosenman <ler@lerctr.org> wrote:
>> 
>> I added this to /etc/fstab:
>> ler-qnap.lerctr.org:/nfsdata /qnap nfs nfsv4,minorversion=1 0 0
> I don't know if it matters, but I always include "rw" in the options.
> For example:
> ler-qnap.lerctr.org:/nfsdata /qnap nfs rw,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.
>> 
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
>> US Mail: 13425 Ranch Road 620 N, Apt 718, Austin, TX 78717-1010
>> 


That fixed it :)
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 13425 Ranch Road 620 N, Apt 718, Austin, TX 78717-1010