On Sun, 1 May 2005, Robert Swan wrote:
On 5/1/05, Ian Kent <[EMAIL PROTECTED]> wrote:On Sun, 1 May 2005, Robert Swan wrote:
Is there a way to attach a debugger to the automount process that gets spawned when the kernel attempts an automount?
Nothing that will help in this situation. All the mount/umount is done in userspace by the daemon.
I couldn't figure out how to attach to the user space code either. I.E. I wanted to step through get_best_mount() but wasn't able; still would like to know how to do that.
That's a bit hard.
There are a couple of reasons. First lots of stuff is done in sub-proccesses, second the exe is usually a position independent exe.
I haven't got around to fixing the debug compile options to see if I can remedy that.
But then I do all my debuging with debug prints.
Have you tried the patch?
Ian
_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
