Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 11/02/1997 23:50:01
jonathan
Sun Nov 2 15:43:14 PST 1997
Update of /a/cvsroot/src/distrib/utils/sysinst
In directory netbsd1:/var/slash-tmp/cvs-serv15647
Modified Files:
defs.h net.c target.c upgrade.c
Log Message:
Add more target_wrapper functions, to do
* renames of files from one pathname within the target to another
(e.g., mv_within_target_or_die("/etc", "/etc.old");
* check to see if a partition name like "sd0a" is the current root
* Duplicate a file from the current root into the target root
(for copying /netbsd from RAMdisk into the target).
A no-op if the root is the install target).
Start using these where appropriate.
Change net.c to avoid losing any information when updating network
config files: where possible, do appends to files that might have more
info than we got from the user (e.g., /etc/hosts.)
Where possible, add comment saying file was created/modified by sysinst.