Todd Gruhn: > > in /etc (on wd0) i screwed up rc.conf ; how do I copy an original-version > to the hard disk?
By default, a NetBSD system will backup all /etc files every night at 03:15. (This is done from the "security" script, which is invoked from the "daily" script, which in turn is started from cron(8)). Any changes are by default registered in an RCS history: # ls -l /var/backups/etc/rc.conf* -rw-r--r-- 1 root wheel 869 Aug 6 03:15 /var/backups/etc/rc.conf.current -r--r--r-- 1 root wheel 3511 Aug 6 03:15 /var/backups/etc/rc.conf.current,v The "rc.conf.current" is the most recent version of rc.conf saved (which may already the hosed one). The rc.conf.current,v is the RCS file with the current and all prior versions. See rcsintro(1), rlog(1), co(1). Martin Neitzel