mount system call for nullfs

Theron Tarigo theron.tarigo at gmail.com
Fri Apr 13 02:40:07 UTC 2018


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.


More information about the freebsd-hackers mailing list