From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 02:02:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F38D106567E for ; Sun, 24 Aug 2008 02:02:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9538FC27 for ; Sun, 24 Aug 2008 02:02:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so523423yxb.13 for ; Sat, 23 Aug 2008 19:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ARLaY4aU1vcVsXEQLuumgP8I8N7gvQ9fXVGMPN6xZYo=; b=uZimwWt7h6XMnnPIKYpG7ObEkSiD1sRHkXlfIUcE+gn7kigJlY0N2DasjnaYt78GvX Rha/HtLt+eQp0uaFuuN8/V1/HsPXlsmnMX5in36onDG3P5/ytNCztFPYNORP4DGPqEDC H6LJrlr7m2R47cFc1neJY9zMv3+kDBe+sYOE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=V8AAmal6yMGd09ZLHI+JvwEzAfjc+yWf606ztrhHbsLDMR7Nij4L7vLN7ood9bptPu 0sv+ja+xhDO4cjwUOBZI15lSEchCdljYZj5HFW63AzF+8UX7Xnv2kUIyA03uM7Xeu0ON mSoQmGTm0CnMOuqGxjofMvJxKTTUK670wTVEA= Received: by 10.150.140.6 with SMTP id n6mr4598619ybd.31.1219543339123; Sat, 23 Aug 2008 19:02:19 -0700 (PDT) Received: by 10.150.144.6 with HTTP; Sat, 23 Aug 2008 19:02:14 -0700 (PDT) Message-ID: Date: Sat, 23 Aug 2008 22:02:14 -0400 From: "Aryeh Friedman" To: RW In-Reply-To: <20080824003920.34f6bf51@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080823153354.2ed632d4@peedub.jennejohn.org> <20080823231349.5941d9f3@gumby.homeunix.com.> <20080824003920.34f6bf51@gumby.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 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 02:02:20 -0000 On Sat, Aug 23, 2008 at 7:39 PM, RW wrote: > On Sat, 23 Aug 2008 23:13:49 +0100 > RW wrote: > >> On Sat, 23 Aug 2008 16:38:13 -0400 >> "Aryeh Friedman" 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