Date: Sat, 23 Aug 2008 15:35:52 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-hackers@freebsd.org Subject: Re: What is difference between /etc/rc called programs and ones called after login prompt shows up Message-ID: <20080823153552.3fc52542@gumby.homeunix.com.> In-Reply-To: <20080823153354.2ed632d4@peedub.jennejohn.org> References: <bef9a7920808230334p4b509e18t1b8a84e9eb7c98b5@mail.gmail.com> <20080823153354.2ed632d4@peedub.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Aug 2008 15:33:54 +0200 Gary Jennejohn <gary.jennejohn@freenet.de> wrote: > On Sat, 23 Aug 2008 06:34:23 -0400 > "Aryeh Friedman" <aryeh.friedman@gmail.com> wrote: > > > What is difference between /etc/rc.d called programs and ones called > > after login prompt shows up? > > > > The reason for asking is sysutils/fusefs-kmod gives an error if any > > mounts are attempted in /etc/rc but if the exactly the same command > > is issued by a user's .login/.xsession/etc. it works without problem > > (assuming proper permissions of course). > > > > a) Can anyone think of a reason why this would happen (the > > maintainer is non-responive) > > > Well, there are ways to force dependencies in the rc.d scripts, but I > don't know the setup well enough to be helpful. I have no idea which > script handles modules installed by ports and when it is invoked. > > You could try moving fuse.ko to /boot/modules and modify loader.conf > to load fuse.ko at boot time. There's no need for that, it's already handled by the rc.d scripts. Fuse-based filesystems should be mounted with the "late" option, so they get mounted after the kernel module is loaded. You might also need a patch so the mount can find the correct mount_* executable.I think it's needed in 7.0, I'm not sure about 7-stable and current.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080823153552.3fc52542>