Hi Robert,

On Friday, 12.06.2015 at 10:37, Robert Gifford wrote:
> Calling mount from my application however, results in errno 22, or an
> invalid argument according to errno.h for NetBSD. Making a unikernel with
> the mount_ext2fs application and adding the device and directory in that
> program results in the same error.
> 
> An invalid argument error leads me to believe that I'm simply passing in
> incorrect argument, but I can't spot anything that is off:
> 
> mount(MOUNT_EXT2FS, "/mnt", 0, &args, size)

Are you sure that you've linked in ext2fs support? i.e. are you linking
your application with -lrumpfs_ext2fs?

The default unikernel configurations do not include ext2fs either, you'll
want to add it to app-tools/rumpbake.conf.

Martin

Reply via email to