Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 22:02:14 -0400
From:      "Aryeh Friedman" <aryeh.friedman@gmail.com>
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What is difference between /etc/rc called programs and ones called after login prompt shows up
Message-ID:  <bef9a7920808231902w190dbdffjb1068901e513625d@mail.gmail.com>
In-Reply-To: <20080824003920.34f6bf51@gumby.homeunix.com.>
References:  <bef9a7920808230334p4b509e18t1b8a84e9eb7c98b5@mail.gmail.com> <20080823153354.2ed632d4@peedub.jennejohn.org> <bef9a7920808231338s79c78f14w1b8b65f31ffc6d33@mail.gmail.com> <20080823231349.5941d9f3@gumby.homeunix.com.> <20080824003920.34f6bf51@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 23, 2008 at 7:39 PM, RW <fbsd06@mlists.homeunix.com> wrote:
> On Sat, 23 Aug 2008 23:13:49 +0100
> RW <fbsd06@mlists.homeunix.com> wrote:
>
>> On Sat, 23 Aug 2008 16:38:13 -0400
>> "Aryeh Friedman" <aryeh.friedman@gmail.com> wrote:
>>
>>
>> > c) See a additionally to prove all the above here is my /etc/rc (the
>> > last 2 lines where added just to prove the point):
>> >
>> > #!/bin/sh
>> >
>> > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
>> >
>> > swapon -a
>> > fsck -p
>> > ...
>> > fuse: failed to exec mount program: No such file or directory
>> >
>> > Thus it is clear that the *ONLY* difference between the /etc/rc
>> > calls and the post getty calls is when they are made.
>>
>> There's another difference: your /etc/rc script doesn't export PATH.
>
> That does seem to be the answer.
>
> I was curious as to why it only fails on ntfs, so I had a look
> at the source. It seems that mount and fsck find mount_* and fsck_*
> through a hard-coded path of "/rescue:/sbin:/usr/sbin", but
> mount_ntfs-3g then additionally has to find mount_fusefs through the
> environment path.
>
> Perhaps sysutils/fusefs-libs should be patched to make the whole thing
> more self-consistent.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>

Thanks that did it... but you're incorrect in saying it is only ntfs
it is all fuse based fs's I had a the same error when doing a fuse-ssh
mount to my machine at work



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bef9a7920808231902w190dbdffjb1068901e513625d>