summaryrefslogtreecommitdiff
path: root/distrib/mac68k/ramdisk
AgeCommit message (Collapse)Author
2010-03-31put date(1) onto the media, it fitsTheo de Raadt
2010-01-01add arch(1) to the ramdisk, it is tiny and we will soon need itTheo de Raadt
2009-06-04Nuke now superfluous ARCH=ARCH lines in install.md and the sed processing ofKenneth R Westerback
those lines in list2sh.awk. ok deraadt@
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
Both cause partition sizes to be displayed using a human readable format with the units automatically chosen by looking at the smallest partition in the disk label. Remove forceable humanization in 'A' code and use '-h' in install scripts. Prodded & ok deraadt@, verbiage tweaks from jmc@
2009-05-30Even HFS installs need to run disklabel(8)! Revert erroroneousKenneth R Westerback
bypassing of disklabel(8) invocation. Nuke redundant verbiage while here. Prompted by macppc problem noted by maja@.
2009-05-11Remind people that mountpoints must now be entered using the disklabelTheo de Raadt
command; the script does not ask afterwards. Note I am not adjusting the macppc or sgi install.md scripts. I ask their maintainers to clean them before I will maintain them further. Please
2009-05-03We will need bin/sleep on all ramdisks.Theo de Raadt
2009-04-19Use sysctl -n hw.disknames instead of the custom disknames programTheo de Raadt
2009-04-17unify some more piecesTheo de Raadt
2009-04-17For SHA256 hashes to be ready to go onto the install media, we mustTheo de Raadt
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
2009-04-17Put bin/sha256 and build a hash directory onto the media that can fitTheo de Raadt
them
2009-04-12Tweak pattern used to select partition lines for display so theKenneth R Westerback
'# /dev/r...' line is not selected. Noticed by deraadt@
2009-04-12No longer need '-f' or '-p' when displaying layout. A few patternsKenneth R Westerback
missed the '# size offset ...' line at the top of the partition list.
2009-04-10Where appropriate display the auto-allocation layout of the rootKenneth R Westerback
disk and ask if the installee wants to use it, edit it, or create their own custom disklabel. Most one-disk installs will not need to see fdisk or disklabel. i386 and macppc by me, adapted for others by deraadt@. ok deraadt@
2009-02-19Don't create links to non-existant disktab files on the installKenneth R Westerback
media. The Alpha disktab was an empty (comment only) file. ok deraadt@ miod@
2008-12-02commit with rdsetroot now accepting the filesystem as a 2nd argTheo de Raadt
2008-12-02no longer need to compile rdsetroot with DEBUGTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-03-23Bring mac68k into the md_checkfordisklabel()-free world.Kenneth R Westerback
Quick test by martin@ shows it seems to still work.
2008-03-04Redo serial console configuration logic. Smaller, easier toKenneth R Westerback
understand. Add serial console handling for alpha, macppc, zaurus. No functional change for i386/amd64. All archs should now have automatic serial console configuration. ok deraadt@
2008-01-11cleanup: make -> ${MAKE} consistenly.Marc Espie
zap extra subshells. okay miod@
2007-06-17Stop using disklabel -r. The disklabel code does not know all the semanticsTheo de Raadt
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
2007-04-13Update install media generation to the new semantics of the -c flag.Todd C. Miller
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
2007-02-14put the disknames command on all install media (hope i did not miss any) ok krw@Theo de Raadt
2006-03-09vt100->vt220; spotted by nick@Miod Vallat
2006-03-06eject -> mt (except on alpha where size tests are needed)Theo de Raadt
2006-02-28BROKEN_NMAGIC is not necessary anymore when building rdsetroot, found the hardMiod Vallat
way by martin@; ok deraadt@
2005-03-27Use new skeleton kbd(8) '-l' to generalize kbd(8) use. EliminateKenneth R Westerback
fixed list of available maps and machine dependant md_set_term() functions. Any ramdisk with /sbin/kbd present (amd64, cats, i386 at the moment) will now present list of available keyboard encodings. ok deraadt@
2005-01-12remove some differencesTheo de Raadt
2005-01-11put a seperate and real fsck on the mediaTheo de Raadt
2004-12-29nothing uses a SRCDIR of gnu anymore, proposed by mickey, tested by meTheo de Raadt
2004-12-11don't clean bsdmix and bsdofwMartin Reindl
'feel free to remove' miod@
2004-12-10Oops, correctly detect disks shared with Mac OS.Miod Vallat
2004-12-03Kill mac68k *SBC kernels. Instead, build kernels with both sbc scsi flavoursMiod Vallat
compiled in, but one disabled, and use config -e to swap them and build the other kernels; saves valuable compile time. Add ramdisks into the build (at release time). Since we are moving to a bsd.rd installation, it is not necessary to put kernels in .tgz files anymore, so don't bother, and adjust installation script sets information accordingly.
2004-12-03Invoke pdisk, not disklabel, on disks with MacOS partition information.Miod Vallat
ok krw@
2004-12-02pdisk on the ramdiskMiod Vallat
2004-10-02Don't put /bin/test or /bin/[ on install media since they are builtinsKenneth R Westerback
for ksh. ok millert@
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.
2003-10-12Cleanup and shrinkage:Kenneth R Westerback
1) Eliminate 'WARNING: Disk xxx has no label.' message. When installing OpenBSD this is a normal condition not worth commenting on. From some discussion on hackers/icb. 2) Use consistant verbiage and case statement when checking the disklabel. 3) Consistantly suppress output of 'disklabel -W', reducing duplicate messages like '# using MBR partition ...' which are issued again when the 'disklabel -f ...' command is executed. 4) Usual code rectifications - eliminate extra {}'s, multiple echos elimination, etc.
2003-09-21Fix extraneous display of grep output when searching disklabel output forKenneth R Westerback
error information. Previously things like: disklabel: no disk label WARNING: Disk wd0 has no disk label. You will be creating a new one. would be printed. Now the 'disklabel: no disk label' message is correctly sent to /dev/null. Take the opportunity to clean up a bit of code and formatting, making all the md_checkfordisklabel() functions as identical as possible.
2003-02-25Provide the necessary source dirs information for proper ramdisk build.Miod Vallat
2003-02-21toss in dhclient-script; from krwTheo de Raadt
2002-11-07Treat 'bsd' like just another filename in THESETS, no more 'kernel'Kenneth R Westerback
logic. As result, MDSETS gone from everything but mac68k. MDSETS now treated as a list of complete file names to add to THESETS, allowing more MD flexibility, i.e. may or may not be .tgz files. All traces of tar.gz removed. Not used for sets since 2.7 or so. As a result of code simplification from not having to consider tar.gz, the functions get_sets(), make_lastset(), and set_not_done() are eliminated, along with the global SETS. Build THESETS and DEFAULTSETS to contain full file names. Always install sets in the order they appear in THESETS, keeping siteXX last but without needing special logic. More predictable for user if a lot of set additions and removals done before being satisfied, as the sets are now installed in the same order they appear in the selection list. Remove ability to look for non-set .tgz/.tar.gz files. The job of the install scripts is to install the standard sets in a simple and rational way. Not to install general tar balls. The user can do that post-install or simply '!' out to do it during install. On their head be it. If no sets are found in a specified source, list the filenames in THESETS to show what is being looked for.
2002-10-30Change kernel set to shorter names on mac68k; supposed to make krw'sMiod Vallat
next changes easier.
2002-09-24fix english; krw okTheo de Raadt
2002-08-27Move general partitioning advice from machine dependant per diskKenneth R Westerback
routine to install.sh so it is displayed only once. Strongly advise /, /tmp, /var, /usr and /home have their own disk partitions as requested by deraadt@. Rather than rely on users not re-selecting an already initialized disk, just allow them to choose from un-initialized disks. Move get_root invocation into install.sub as both install.sh and upgrade.sh did it first thing. Remove the 'workaround' to a 'vnode aliasing bug' that came in with the initial import of upgrade.sh from NetBSD. ok millert@. Rework verbiage in a few places. Clean up logic around looping through disk units by handling root disk better.
2002-06-09knfTodd T. Fries
2002-05-20Eliminate md_questions(). It was used only to control the setting ofKenneth R Westerback
machdep.allowaperture. Remove the setting of machdep.allowaperture from md_installboot(). Add MDXAPERTURE variable to relevant architectures. Add a new function set_machdep_allowaperture(). It is called *after* install_sets() (which changes when the X Window question is asked), and if MDXAPERTURE is present modifies sysctl.conf. Shrinks overall size for i386, macppc, sparc64 (which used md_questions for machdep.allowaperture) but increases size a bit for other architectures since set_machep_allowaperture is in install.sub.
2002-05-18Eliminate md_get_diskdevs() and md_get_cddevs() byKenneth R Westerback
1) Saving one boot's worth of dmesg in /tmp/dmesg.boot 2) Using sed to scan for devices and pull out names in new get_diskdevs() and get_cddevs() in install.sub 3) Saving any md disk/cd sed patterns in MDDISKDEVS and MDCDDEVS variables.
2002-05-14Eliminate md_native_fstype() and md_native_fsopts(). Both functionsKenneth R Westerback
simply echo'd a single word if present at all. Replace with variables MDFSTYPE and MDFSOPTS if required. Rework logic in install.sub's mount_a_disk() to always include 'ro' as an option to the mount command. This allows even those arch's with MDFSTYPE to usually get by without MDFSOPTS. ok deraadt@