Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2018 01:30:32 +0000
From:      Alfonso Sabato Siciliano <alfix86@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   mount system call for nullfs
Message-ID:  <CAPJrGM3NdM1oCGPMMnUut6Qu=EsCcmJz=_Jy8=micdCjni8wpA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I would use "mount" system call

 int mount(const char *type, const char *dir, int flags, void *data);

to mount a nullfs, the problem is about *data;

Where can I find docs? Example? Code?

(the implementation of mount_nullfs(8) uses nmount syscall so it is not
usefulI;

I put a string "/mount_from_dir" then errno = 45, so I think it should be a
struct)

Thanks
Alfonso



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJrGM3NdM1oCGPMMnUut6Qu=EsCcmJz=_Jy8=micdCjni8wpA>