Path passed to ffs_mount() is garbage?

Dave Hayes dave at
Wed Mar 21 20:42:37 PDT 2007

So I take my first foray into the dragonfly kernel and do this to
ffs_mount() in /usr/src/sys/vfs/ufs/ffs_vfsops.c: I merely add a

 kprintf("ffs_mount to %s\n",((path == NULL) ? "(NULL)" : path));

as the very first line of code (past the declarations of course).
When I test this by starting up my vkernel, if path is non-null, it
points to garbage data. 

I'm probably being naive here, what am I missing?
Dave Hayes - Consultant - Altadena CA, USA - dave at 
>>> The opinions expressed above are entirely my own <<<

It's easier to fight for one's principles than to live up to them.

More information about the Kernel mailing list