Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2018 22:40:05 -0400
From:      Theron Tarigo <theron.tarigo@gmail.com>
To:        Alfonso Sabato Siciliano <alfix86@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mount system call for nullfs
Message-ID:  <7edc3b8a-5278-dcfb-538e-a9d968dde9fc@gmail.com>
In-Reply-To: <76f78cee-e62a-67fb-3d84-e420c50a4ba1@gmail.com>
References:  <CAPJrGM3NdM1oCGPMMnUut6Qu=EsCcmJz=_Jy8=micdCjni8wpA@mail.gmail.com> <76f78cee-e62a-67fb-3d84-e420c50a4ba1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I notice now this:

On 04/12/18 21:30, Alfonso Sabato Siciliano wrote:

> (the implementation of mount_nullfs(8) uses nmount syscall so it is not
> usefulI;
Why would mount instead of nmount be more useful?

/usr/src/sbin/mount/mount.c notes that

         /* XXX: We need to get away from implementing external mount
          *      programs for every filesystem, and move towards having
          *      each filesystem properly implement the nmount() system 
call.
          */

It might be that mount_nullfs only works at the moment with the 
nmount-based implementation, in which case you would need to work around 
this.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7edc3b8a-5278-dcfb-538e-a9d968dde9fc>