Re: your own filesystem

2012-09-05 Thread s...@bestmx.ru
hi, all (thanx for the links to the books) i have added few handlers to my_vnops.c file (that originally was null_vnops.c of nullfs) and (with intention to involve my handlers into execution flow) i have extended struct vop_ops (last 4 lines): struct vop_ops my_vnode_vops = {

Re: your own filesystem

2012-09-02 Thread Sascha Wildner
On Sun, 02 Sep 2012 12:48:55 +0200, s...@bestmx.ru s...@bestmx.ru wrote: Hi, all i have tried to create my own nullfs using the original nullfs as a template. and i failed. first of all i rename it (as thorougly as i could) then successfully make it then put myfs.ko to /boot/kernel/ then

Re: your own filesystem

2012-09-02 Thread s...@bestmx.ru
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);

Re: your own filesystem

2012-09-02 Thread Sascha Wildner
On Sun, 02 Sep 2012 13:08:31 +0200, s...@bestmx.ru s...@bestmx.ru wrote: 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);

Re: your own filesystem

2012-09-02 Thread s...@bestmx.ru
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

Re: your own filesystem

2012-09-02 Thread Sascha Wildner
On Sun, 02 Sep 2012 13:45:51 +0200, s...@bestmx.ru s...@bestmx.ru wrote: 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,

Re: your own filesystem

2012-09-02 Thread s...@bestmx.ru
hi again i have some progress here and the next question arises: is there any detailed manual on nullfs and/or stackable filesystems... with function specifications, flowcharts etc... ...or at least proper keywords for google.

Re: your own filesystem

2012-09-02 Thread Raimundo Santos
On 2 September 2012 08:54, Sascha Wildner s...@online.de wrote: On Sun, 02 Sep 2012 13:45:51 +0200, s...@bestmx.ru s...@bestmx.ru wrote: 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

Re: your own filesystem

2012-09-02 Thread Francois Tigeot
On Sun, Sep 02, 2012 at 08:27:44PM +0400, s...@bestmx.ru wrote: is there any detailed manual on nullfs and/or stackable filesystems... with function specifications, flowcharts etc... This paper could be useful: Vnodes: An Architecture for Multiple File System Types in Sun UNIX S.R.

Re: your own filesystem

2012-09-02 Thread Raimundo Santos
On 2 September 2012 13:27, s...@bestmx.ru s...@bestmx.ru wrote: hi again i have some progress here and the next question arises: is there any detailed manual on nullfs and/or stackable filesystems... with function specifications, flowcharts etc... ...or at least proper keywords for google.