NetBSD/distrib/utils/sysinst
jonathan 77221dcc6a * Add code to run `test(1)' on target-root pathnames.
* Change find_disks: after mouting target root, check for
  /etc/fstab in target, and abort upgrade if not found.

* Change upgrade to check if the target root has /etc.old
  before renaming the target /etc -> /etc.old.  If found, abort.
  (may indicates a failed upgrade.)

*  Add save_etc(). saves target /etc as /etc.old, then copies back
   config files we might want during upgrade, in case target is current root.

* Fix logic that fscks and mounts disks. Use subroutines to
  fsck with a warning message and ok() on continue.  Same for doing mounts.

* Fix bug in extract_dist(). Do NOT do target prefixing on the dist_dir,
  since we didn't do target prefixing when mounting it.
  (At least, NFS does't.)

* Add function to  sanity-check target root.
   Call after upgrade/install  is done.

* Change MSG_realdir to print the strerror() of any errors.
  Change target_chdir() to check if chdir() returns -1 and return errno.

* Make sure /dev exists before cd'ing there and running MAKEDEV.

* Use target_fopen() and fprintf() to write network state to disk,
  to avoid inadvertent shell escapes.

* Fix silly typo in append_to_target_file. (maybe add shell quotes?)
1997-11-05 07:28:20 +00:00
..
arch Add missing space in file name list. 1997-11-02 22:19:39 +00:00
defs.h * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
disks.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
factor.c * Clean up target.c to use a single consistent path-prefixing subroutine. 1997-11-03 02:38:41 +00:00
fdisk.c Tweeks to make install nicer. 1997-10-17 21:10:39 +00:00
geom.c
install.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
main.c - extract_dist now uses dist_list to know which to extract 1997-11-04 01:39:03 +00:00
Makefile use CPPFLAGS instead of CFLAGS, fix dependancies, add RCSID 1997-10-22 02:17:11 +00:00
Makefile.inc use CPPFLAGS instead of CFLAGS, fix dependancies, add RCSID 1997-10-22 02:17:11 +00:00
mbr.c Tweeks to make install nicer. 1997-10-17 21:10:39 +00:00
menus.mi.eng - extract_dist now uses dist_list to know which to extract 1997-11-04 01:39:03 +00:00
msg.mi.eng * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
net.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
run.c * Clean up target.c to use a single consistent path-prefixing subroutine. 1997-11-03 02:38:41 +00:00
target.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
txtwalk.c
txtwalk.h
upgrade.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00
util.c * Add code to run `test(1)' on target-root pathnames. 1997-11-05 07:28:20 +00:00