On Wed, 7 Jan 2004, Mike Fedyk wrote: > On Wed, Jan 07, 2004 at 04:04:41PM -0500, Mike Waychison wrote: > > H. Peter Anvin wrote: > > > > >>Also when /home or other important fs are mounted via autofs there is > > >>not much practical difference between a hung kernel and a hung > > >>daemon. You have to reboot the system anyways. > > > > > > > > >a) Guess which one is easier to debug? > > > > When they may both equally hang your machine, neither. > > Let's see. > > If it's in userspace, then setup your debug area in an area your system > doesn't depend on, and wham, the hang won't affect the entire system anymore. > > Also, if you have /home automounted then it only affects the users on /home, > and root's $home should be /home... > From a user point of view I have to agree with you. Keeping it out of the kernel makes perfect sense to me. Easier to test your setup - errors will not hang the box. In the case the implementation is buggy a daemon can easily be restarted nightly without disrupting other things running on the box (a nightly reboot is not as friendly). From a developer point of view, I also agree. Debugging kernel code is in general a much harder thing to do than debugging a userspace daemon. I'd also guess that more people will be inclined to contribute development time to a userspace program than a kernel based implementation - just the fact that it's in-kernel will be percieved as having a much higher barrier-to-entry and I suspect that fact alone might discourage potential contributers. - Jesper Juhl - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: [autofs] [RFC] Towards a Modern AutofsAndi Kleen
- Re: [autofs] [RFC] Towards a Modern AutofsH. Peter Anvin
- Re: [autofs] [RFC] Towards a Modern AutofsMike Waychison
- Re: [autofs] [RFC] Towards a Modern AutofsMike Fedyk
- Prev by Date: Re: [update] Vesafb problem since 2.5.51
- Next by Date: Re: XFS over 7.7TB LVM partition through NFS
- Previous by thread: Re: [autofs] [RFC] Towards a Modern Autofs
- Next by thread: Re: [autofs] [RFC] Towards a Modern Autofs
- Indexes:[Main][Thread]