I want to call the mount() function to perform the same action as running the
following mount command from the command line:
mount -t ufs -o noatime /dev/adXXX /mnt
The man page lists the signature of mount() as
int mount(const char *type, const char *dir, int
On Sun, 2009-11-01 at 14:12 -0600, Peter Steele wrote:
I want to call the mount() function to perform the same action as running the
following mount command from the command line:
mount -t ufs -o noatime /dev/adXXX /mnt
The man page lists the signature of mount() as
See /usr/src/sbin/mount/mount_ufs.c from RELENG_6. Essentially, this
argument should be a ufs_args struct as defined in
/usr/include/ufs/ufs/ufsmount.h.
Okay, got it. Thanks very much!
___
freebsd-questions@freebsd.org mailing list