From owner-freebsd-questions@FreeBSD.ORG Tue Aug 7 04:19:59 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E185416A421 for ; Tue, 7 Aug 2007 04:19:59 +0000 (UTC) (envelope-from philip@Riderway.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 6504213C459 for ; Tue, 7 Aug 2007 04:19:56 +0000 (UTC) (envelope-from philip@Riderway.com) Received: from home.p6m7g8.net (68.55.4.133) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.730.1; Mon, 6 Aug 2007 21:19:56 -0700 Message-ID: <46B7F338.30304@riderway.com> Date: Tue, 7 Aug 2007 00:21:12 -0400 From: "Philip M. Gollucci" Organization: Riderway Inc User-Agent: Thunderbird 2.0.0.4 (X11/20070703) MIME-Version: 1.0 To: Novembre References: <3b47caa90708061959v42c02e3fy8e97137cd2a30504@mail.gmail.com> In-Reply-To: <3b47caa90708061959v42c02e3fy8e97137cd2a30504@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: NTFS-3G not mounting the partition during boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 04:20:00 -0000 Novembre wrote: > rcvar=`set_rcvar` That should be rcvar=${name}_enable Because of this, your script did not run because the rc system didn't detect it correctly. Try setting rc_debug="YES" and/or rc_info="YES" in /etc/rc.conf to see more of whats happening. > command="ntfs-3g /dev/ad0s1 /mnt/windows && ntfs-3g /dev/ad0s1 > /mnt/windows -o locale=en_US.UTF-8" Also $command is special, you should use another variable $command_args (which is also special) for the arguments/options. Of course, you can circument these if you know what you are doing. When in doubt, look at other rc scripts like apache22's or others that might seem like they would do a lot. Finally, in /etc/rc.subr is _very_ -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@riderway.com) 323.219.4708 Senior System Admin - Riderway, Inc. http://riderway.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.