Re: Inode question

sankarshana rao
2004-07-21T22:57:55Z

Guys,
Thx for the inputs...I got it with path_lookup....

Can I pass the inode pointer back to the user space???
I have a scenario in which I have to create multiple
folders on the harddisk. The number of folders can be
in hundreds. Instead of parsing the path name
everytime I need to create a folder (that's what
sys_mkdir does??? ), I was thinking if I have the
inode* of the parent folder, I can avoid this parsing
and directly create a subfolder under the parent
folder...

Pls advice if this approach makes sense or not and if
it is doable or not??

any input in this regard will be very helpful..

--- "Richard B. Johnson" <root@chaos.analogic.com>
wrote:
> On Wed, 21 Jul 2004, sankarshana rao wrote:
>
> > Thx for the reply...
> > When I try to call lookup() from my kernel module,
> it
> > gives undefined symbol error during INSMOD..
> > any clues???
> >
>
> It's probably not an exported symbol.
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.4.26 on an i686 machine
> (5570.56 BogoMips).
> Note 96.31% of all statistics are
> fiction.
>
>
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around