Re: Analyzed/Solved: Booting 2.6.30-rc2-git7 very slow

From: Al Viro
Date: Wed Apr 29 2009 - 13:43:50 EST


On Wed, Apr 29, 2009 at 01:35:59PM -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Wed, 29 Apr 2009 10:24:20 PDT, Martin Knoblauch said:
>
> > One definitely comes from /etc/fstab, but I am not aware of any other script
> mounting sysfs in my userspace.
>
> You said it was a RedHat box?
>
> Look in /etc/rc.sysinit:
>
> mount -n -t sysfs /sys /sys >/dev/null 2>&1
>
> (Near line 28 for RHEL 4, line 23 for RHEL5, and line 21 for Fedora Rawhide)
>
> Probably your culprit.

Again, the interesting question is WTF had mount(2) not failed with -EBUSY

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/