Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 22:38:38 -0500
From:      "Clay" <crs.freebsd_mailinglist@users.nuaptools.com>
To:        "FreeBSD Mailing List" <freebsd-questions@freebsd.org>
Subject:   Re: Can "/etc/rc.conf" be replaced with a symlink?
Message-ID:  <018201c51e10$294d9ef0$be00a8c0@crskayak>
References:  <006801c51d4b$c95e99a0$be00a8c0@crskayak> <200502281803.56890.krinklyfig@spymac.com> <016601c51e06$eaf3a400$be00a8c0@crskayak> <200502281934.27158.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
All,

I changed fstab so that my data partition would supposely mount before root, 
moved/symlink'd rc.conf, and rebooted.  This did not allow rc.conf to be 
found, so doing this did not make it work.  I will leave rc.conf in /etc for 
now and maybe work on a solution at a later time.

Thanks for the responses!
-Clay
.
.
.
.
.

----- Original Message ----- 
From: Joshua Tinnin
To: freebsd-questions@freebsd.org ; Clay
Sent: Monday, February 28, 2005 10:34 PM
Subject: Re: Can "/etc/rc.conf" be replaced with a symlink?


On Monday 28 February 2005 06:32 pm, "Clay"
<crs.freebsd_mailinglist@users.nuaptools.com> wrote:
> ----- Original Message -----
> From: Joshua Tinnin
> Sent: Monday, February 28, 2005 9:03 PM
> On Monday 28 February 2005 04:55 am, "Clay"
> <crs.freebsd_mailinglist@users.nuaptools.com> 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.
>
> Perhaps there is a better solution that will eliminate the need to
> deal with this issue. You might consider writing a script that will
> backup the files you want, which you write once and use forever, or
> you can dump the root filesystem (for one) to a backup disk and/or a
> compressed file. This can be done on a regular basis with a cron job.
> I'm not sure what your specific needs are, but there are easier ways
> to do backups.
-

> I could and may eventually write a script.
>
> I am putting together a media server for hosting my CD's as MP3's.  I
> am wanting to move as many of system and app config files I change
> through this process to a location on my "data" partition so that I
> won't have to redo them in the event that I rebuild the root
> partition.

OK, well I'm not terribly familiar with working around the normal boot
process, other than working with various bootloaders. I am not sure,
but it could be a bit tricky. Maybe someone else would know ... ?

- jt 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018201c51e10$294d9ef0$be00a8c0>