Re: Can "/etc/rc.conf" be replaced with a symlink?

From: Clay (crs.freebsd_mailinglist_at_users.nuaptools.com)
Date: 03/01/05

  • Next message: Suresh Naidu: "(Help Me!) Problem in Compiling Nx Src on FreeBSD Machine of version 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)"
    To: <freebsd-questions@freebsd.org>
    Date: Mon, 28 Feb 2005 21:32:18 -0500
    
    

    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.

    Thanks,
    -Clay
    .
    .
    .
    .
    .

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

    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.

    - jt

    _______________________________________________
    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"


  • Next message: Suresh Naidu: "(Help Me!) Problem in Compiling Nx Src on FreeBSD Machine of version 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)"

    Relevant Pages

    • Re: Can "/etc/rc.conf" be replaced with a symlink?
      ... I do believe that the mount point where I am wanting to ... >> Could I maybe place this mount point above the root in fstab? ... > you can dump the root filesystem to a backup disk and/or a ...
      (freebsd-questions)
    • SUMMARY: Backup fails on "permission denied"
      ... the reason backup utilities like "vdump" are able to do ... a "full" backup when run by the root user is that they inherit the root ... script can be set "setuid root" but that doesn't make the script have ...
      (Tru64-UNIX-Managers)
    • Re: External USB hard drive "loosing" connection [Maxtor onetouch]
      ... package crontab running as root.] ... I recently bought a Maxtor onetouch extenal USB drive 500GB for backup ... if it is a bash script. ... If you run the script as root it shouldn't even ...
      (Ubuntu)
    • Re: root privileges from cgi script?
      ... I require for a staff member to be able to initiate a backup script ... > a chain of backup processes. ... > I would welcome any suggestions on how to do two things from a CGI script; ... > I know suex can't be used because ROOT is specifically not allowed. ...
      (comp.unix.shell)
    • Re: Recommended Backup/Restore Tools for Newbie
      ... I'm looking for a solution to backup these systems ... ensure rsync runs as daemon, ... Restart inetd as root ... # This script is called monthly from ...
      (Debian-User)