DragonFly BSD
DragonFly users List (threaded) for 2012-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: your own filesystem


From: "sad@xxxxxxxxx" <sad@xxxxxxxxx>
Date: Sun, 2 Sep 2012 15:45:51 +0400

> >> > it looks like i possibly have missed the module identifier somewhere  
> >> but
> >> > i can not locate...
> >> >
> >> > plese! help.
> >>
> >> How does the VFS_SET() part look in your *_vfsops.c?
> >>
> >> Sascha
> >
> >
> > VFS_SET(null_vfsops, null, VFCF_LOOPBACK);
> > MODULE_VERSION(myfs, 1);
> 
> Rename null_vfsops structure to myfs_vfsops and use:
> 
> VFS_SET(myfs_vfsops, myfs, VFCF_LOOPBACK);


thanx! it works

i have kldload my module.
now i am confused about how to call it's functions?
(excuse me for the stupid question)
how can i call the "mount" (if it has been created?)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]