From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 05:22:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9A9416A52B for ; Wed, 2 Mar 2005 05:22:29 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D6A343D2F for ; Wed, 2 Mar 2005 05:22:29 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j225MRqS012327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Mar 2005 21:22:28 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j225MRUC012325; Tue, 1 Mar 2005 21:22:27 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Tue, 1 Mar 2005 21:22:26 -0800 From: "Loren M. Lang" To: Clay Message-ID: <20050302052226.GD30896@alzatex.com> References: <006801c51d4b$c95e99a0$be00a8c0@crskayak> <200502280132.42605.krinklyfig@spymac.com> <20050228123758.GC1062@orion.daedalusnetworks.priv> <00af01c51d94$c430b960$be00a8c0@crskayak> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00af01c51d94$c430b960$be00a8c0@crskayak> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: FreeBSD Mailing List Subject: Re: Can "/etc/rc.conf" be replaced with a symlink? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 05:22:31 -0000 On Mon, Feb 28, 2005 at 07:55:18AM -0500, Clay wrote: > I realized what the problem mostly likely was after submitting the question. > I do believe that the mount point where I am wanting to have rc.conf located > is not yet available when the file is read. Is there a way to have this FS > mounted prior to rc.conf being read? Could I maybe place this mount point > above the root in fstab? I will give it try when I have time later today. No. The process FreeBSD uses to boot is as follows: 1. Load kernel from disk or other media 2. Kernel initializes various hardware and subsystems. 3. Kernel mounts root file system. 4. Kernel invoked init 5. Init runs /etc/rc and waits for it to complete 6. /etc/rc reads /etc/rc.conf 7. /etc/rc runs various scripts in /etc/rc.d in a specified order 8. Various scripts run including /etc/rc.d/mountcritlocal 9. Init loads gettys specified in /etc/ttys and goes into it's main loop The order in fstab doesn't matter, the kernel only knows enough to mount the root fs, and the scripts in /etc/rc.d mount all the other filesystems, but by then, rc.conf has already been read or attempted to be read. You could hack /etc/rc to mount another fs, but I would strongly recommend against it. > > Thanks, > -Clay > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2