Re: tracing the mount syscall
Re: tracing the mount syscall
- Subject: Re: tracing the mount syscall
- From: Bijoy Thomas <email@hidden>
- Date: Mon, 2 May 2005 20:50:49 -0400
Finally figured out what the problem was ... it seems the xxxfs_mount
call was getting path variable that had nothing in it. This was causing
copyinstr to fail resulting in the kernel panic .. and .. yeah .. the
mount syscall just calls xxxfs_mount. I don't know why the path
variable was empty. When i made the mount syscall, i had provided a
path.
Regards,
Bijoy Thomas.
On May 1, 2005, at 6:43 PM, Bijoy Thomas wrote:
Hi,
I'm trying to write a new filesystem kext for the kernel. I just
want to fill in the necessary vfsops to get the mount to succeed.
After going through the mount source in vfs_syscalls.c, it seems that
only the xxxfs_mount function is called. I wrote a dummy xxxfs_mount
function to return 0, but my kernel panics when i run mount. I guess
there is more to mount than just xxxfs_mount. I'm guessing that
xxxfs_root and xxxfs_vget are called somewhere. Can anyone provide any
info on what functions are called and when during a mount?
Thanks in advance,
Bijoy Thomas.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden