Pawel Jakub Dawidek wrote: > On Tue, Aug 27, 2002 at 08:10:14PM -0700, Terry Lambert wrote: > +> The easiest way to do this is to take nullfs and modify it so > +> that it caches the name of the file for the vnode that is > +> returned as a value pointed to by the per layer vnode data > +> area, e.g. modify struct null_node to add a null_name pointer: > [...] > > Yes, but I don't want to patch kernel at all. > Everythings should be in one kld module and should works for all file > systems (ufs/ffs, fat32, procfs, etc.). File system shouldn't be > important.
You would make your own stacking module named "pawelfs", derived from "nullfs". That module would be the only module you would need. You would stack it on any FS that you wanted to be able to the the ioctl() "PAWELS_MAGIC_GET_NAME" on. No kernel modifications required. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message