summaryrefslogtreecommitdiff
path: root/distrib/sparc64
AgeCommit message (Collapse)Author
2002-03-03Cleanup/Improve trap handling.Kenneth R Westerback
a) Add /var/run to the filesystem created when the installation media boots. This allows the creation and use of the dhclient.pid file. Synchronize all mtree.conf files in architectures using miniroot. b) Rework the traps used in upgrade.sh and install.sh so that HUP, INT, QUIT, TERM and EXIT all invoke a cleanup function that kills an active dhclient, unmounts all filesystems and fsck's -p all devices in /etc/fstab, or just /mnt if /etc/fstab is not present. c) Make sure the actions of the cleanup function are visible, thus eliminating the long delay with no feedback at the end of the upgrade/install script, after the congratulatory message. d) Reduce manual parsing of fstab files by using umount -a to unmount all mounted filesystems. e) Since the new cleanup function tries to unmount all filesystems, use the presence of /etc/fstab, rather than a difference between `df /` and `df /mnt`, to determine if an install is being restarted in a state where disk initialization can be skipped. f) Change munge_fs, check_fs, mount_fs, remount_fs so that they all 'know' about /etc/fstab rather than passing the same parameter in all the time. g) Use input redirection on munge_fs to read correct file, rather than passing a file name as a parameter. h) Indent code for various smaller functions. i) Eliminate some subshell usage to simplify code further. j) Display pretty messages during fsck -p to clearly indicate success or failure of fsck, rather than just dumping fsck output. k) Always run mount_fs in install.sh, even if disk initialization is being skipped, because the trap should have unmounted all filesystems when the last run terminated. ok weingart@ millert@
2002-02-14mg? ridiculous. for now, anywaysTheo de Raadt
2002-02-14version mishandlingTheo de Raadt
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
2001-12-23Remove extra blank line displayed before the paragraph 'As withKenneth R Westerback
anything ...' during install and/or upgrade on some archs. On sparc, sparc64, sun3 and vax fix a typo ('echo Welcome' -> 'Welcome') in here-document displayed in md_welcome_banner().
2001-12-17Use actual files for short versions of /etc/protocols andKenneth R Westerback
/etc/services used during installations. This way it is not necessary to run the install script before using commands requiring these files. Requested by deraadt@.
2001-12-13Remove /etc/protocols and /etc/services from install mediaKenneth R Westerback
that use the miniroot install scripts. During an install, donetconfig() in miniroot/install.sub now creates a minimal /etc/protocols and /etc/services. During an upgrade, enable_network() now copies the existing protocols and services files into /etc. Saves approximately 13K on floppy/cd images.
2001-12-05remove garbage; miod okTheo de Raadt
2001-11-07skip ramdiskB for nowTheo de Raadt
2001-10-13add more missing linksTheo de Raadt
2001-10-12Oops, forgot rcsidJason Wright
2001-10-12cdfs becomes minirootJason Wright
2001-10-12a little program for appending a ufs filesystem to the end of an ISOJason Wright
that knows how to modify the Sun already present disklabel to point at it. Based partly on mksunbootcd from netbsd and some trial and error (anyone need some coasters... I've got lots).
2001-10-12missing linksTheo de Raadt
2001-10-12repair (actually populate the ramdisk with devices and such)Jason Wright
2001-10-12Reduce block count to sync with disktabJason Wright
2001-10-12pretty and rename bsd.rd to bsd in the built fsJason Wright
2001-10-12Recurse into 'cdfs'Jason Wright
2001-10-12Stuff for building a small ufs filesystem suitable for stuffing on the end ↵Jason Wright
of a CD.
2001-10-10does this work? I do not know yetTheo de Raadt
2001-10-08sparc -> sparc64Miod Vallat
2001-10-02more gnu/usr.bin before usr.binTheo de Raadt
2001-10-02because usr.bin/grep now exists, crunch goes wrong, and we need to put ↵Theo de Raadt
gnu/usr.bin before usr.bin, until our grep replaces gnu grep
2001-09-21More tweaks... this is mostly functional now.Jason Wright
2001-09-21a little closer to realityJason Wright
2001-09-208k block sizeJason Wright
2001-09-20Get this closer to working (mostly borrowed from macppc).Jason Wright
Still dies with: warning: /dev/console error 20 panic: init died (signal 6, exit 0)
2001-09-19no cd{REV}.fs here yetJason Wright
2001-09-18use elfrdsetrootJason Wright
2001-09-18initial cut at building ramdisk... will no doubt need tweakingJason Wright