summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
Commit message (Collapse)AuthorAgeFilesLines
* GRRR. Do not force Dangerously Dedicated mode on amd64 when you selectpeter2003-06-041-1/+1
| | | | | | | 'use entire disk'. Neither for ia64 while I'm here - it needs a MBR if its going to use fdisk+disklabel. The ia64 case is mostly academic though because you'd be creating two partitions (dos + freebsd) rather than a single freebsd-only partition.
* Teach sysinstall to recognize if acpi was turned off from the bootloader,scottl2003-05-313-0/+51
| | | | | | and then ask the user if this should be made permanent. Approved by: re
* Add __amd64__ ifdefs to enable the bootblock handling code, slices, etc.peter2003-05-245-9/+9
| | | | | Approved by: re (murray) Obtained from: obrien
* The "krb5" distribution was merged with "crypto", record the death.ru2003-05-222-5/+3
| | | | | Reviewed by: jhb Approved by: re (jhb)
* Reword the infamouse mouse dialog to ask if you have a PS/2, serial, orjhb2003-05-131-1/+1
| | | | | | | | bus mouse instead of if you have a non-USB mouse. Requested by: many Prodded by: dougb Approved by: re (scottl)
* Teach sysinstall about the ServeRAID disk device.scottl2003-05-111-0/+1
|
* Add the dragon screen saver.murray2003-05-051-0/+2
| | | | | PR: bin/51571 MFC After: 1 week
* Don't use UFS2 by default during the install process on PC98, as therwatson2003-04-212-11/+18
| | | | | | | | | | | PC98 boot blocks don't support UFS2. We keep newfs(8) defaulting to UFS2. Warn users that FreeBSD can only boot from a root file system smaller than 1.5TB; hopefully this will get fixed by the patches currently floating around on -CURRENT. Reviewed by: nyan
* Add device driver support for the ASIX Electronics AX88172 USB 2.0wpaul2003-04-201-0/+1
| | | | | | | | | | | ethernet controller. The driver has been tested with the LinkSys USB200M adapter. I know for a fact that there are other devices out there with this chip but don't have all the USB vendor/device IDs. Note: I'm not sure if this will force the driver to end up in the install kernel image or not. Special magic needs to be done to exclude it to keep the boot floppies from bloating again, someone please advise.
* Throw the switch--change to UFS2 as our default file system format forrwatson2003-04-204-19/+37
| | | | | | | | | | | | | | | | | | | | FreeBSD 5.1-RELEASE and later: - newfs(8) will now create UFS2 file systems unless UFS1 is specifically requested (-O1). To do this, I just twiddled the Oflag default. - sysinstall(8) will now select UFS2 as the default layout for new file systems unless specifically requested (use '1' and '2' to change the file system layout in the disk labeler). To do this, I inverted the ufs2 flag into a ufs1 flag, since ufs2 is now the default and ufs1 is the edge case. There's a slight semantic change in the key behavior: '2' no longer toggles, it changes the selection to UFS2. This is very similar to a patch David O'Brien sent me at one point, and that I couldn't find. Approved by: re (telecon) Reviewed by: mckusick, phk, bmah
* style.Makefile(5)obrien2003-04-041-1/+1
|
* Remove ftp2.it.FreeBSD.org from the list of mirrors.roam2003-03-141-2/+0
| | | | | Submitted by: Alex Dupre <sysadmin@alexdupre.com> Approved by: silence on -arch
* Remove a function prototype for `crc' and an associated comment whichrobert2003-03-091-3/+0
| | | | were useless for at least seven years and eight months.
* KerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'mmarkm2003-03-082-8/+2
| | | | | not 100% sure that I've done this in the right way. If folks want to revisit this, please be my guest.
* Use correct interface name (it's different on -current).sobomax2003-03-051-1/+1
| | | | | Submitted by: Brooks Davis <brooks@one-eyed-alien.net> MFC after: 20 days
* Remove local hack that somehow slipped into the previous commit.sobomax2003-03-051-1/+1
| | | | MFC after: 20 days
* Add missed description for the `ds' (disc(4)) pseudo-interface.sobomax2003-03-051-1/+2
| | | | | Sponsored by: Porta Software Ltd MFC after: 20 days
* Add a new variable `noInet6', which if set disables IPv6 configurationsobomax2003-02-271-0/+1
| | | | | | dialog for network interfaces. MFC after: 20 days
* - Increase the maximum device name length.jwd2003-02-271-1/+1
| | | | | | | | - Actually check that the entered device name does not exceed the maximum device name length. PR: misc/18466 MFC after: 2 weeks
* s/to try and retry/to retry/ceri2003-02-191-1/+1
| | | | | | | PR: misc/48226 Submitted by: Gary W. Swearingen <swear@attbi.com> MFC After: 2 days Approved by: murray (mentor)
* Relocate a call to enable inetd so that it is set regardless ofrwatson2003-02-061-2/+1
| | | | | | | whether the user chooses to edit inetd.conf. PR: 39311 Reported by: Martin Faxer <gmh003532@brfmasthugget.se>
* Fixup capitalization in some of the Startup menu entries.jhb2003-02-031-6/+6
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Teach sysinstall about the em(4) device.trhodes2003-01-271-0/+1
| | | | | | | | PR: 46439 Submitted by: Dan Lukes <dan@obluda.cz> Approved by: re (murray) Tested? yes MFC: 1 day
* Correct typo.murray2003-01-261-1/+1
| | | | Submitted by: Andreas Kohn <andreas.kohn@gmx.net> (via -STABLE)
* Change the nominal swap calculation from 1/2 physical memory to 1/8dillon2003-01-251-1/+1
| | | | | | | | | | | | | | physical memory. The default is still 2x physical memory. The nominal calculation is used to back-off swap auto-allocation ('A'uto command) when the disk is not large enough to accomodate all filesystem auto-defaults. This gives other partitions (like /usr) more priority over swap on smaller disks. This should help solve reported auto-sizing failures on machines with small hard drives and huge amounts of memory. For example, a machine with 2G of disk and 4G of memory will fail to auto-size without this fix. MFC after: 3 days
* - Rename installFixupBin to installFixupBase to finish up the 'bin' tojhb2003-01-174-41/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'base' dist rename. - Rework struct dist to allow for different types of dists. There are currently three types of dists: DT_TARBALL, the traditonal gzipped and split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in the tree that has its own array of dists as its contents. For example, the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table that contains 'sbase', 'ssys', etc. - Add helper macros for defining array entries for the different types of dists to try and make the statically defined dist table in dist.c more readable. - Split the logic to deal with a DT_TARBALL dist out of distExtract() and into its own distExtractTarball() function. distExtract() now calls other functions to extract each dist. - Tweak the percentage complete calculation in distExtractTarball() to do the multiply prior to the divide so it doesn't have to use floating point. - Axe the installPackage() function along with the special handling for the perl and XFree86 dists in distExtractAll() since distExtract() handles package dists directly now. - Add back in subdists for the X packages based on the split up packages that XFree86-4 uses that as closely map to the X dists we used with X 3.3.x. - Lots of things like distSetX() and the X dist masks are no longer #ifndef X_AS_PKG since we use them in both cases now. - Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only call it in that case anyways, and it's not suitable for the X_AS_PKG case. - Add in X dist menus for the X_AS_PKG case. Approved by: re
* Add 'vlan' as a network device.jhb2003-01-171-0/+1
| | | | Tested by: dcs
* Add a function driverFloppyCheck() that asks the user if they would like tojhb2003-01-152-0/+7
| | | | | | | | | load drivers from the driver floppy if the "driver_floppy" variable is set in the kernel environment and call this function after probing devices but before displaying the main menu. X-MFC after: as soon as I finish committing to current Approved by: re@ (blanket)
* If you don't create a /usr filesystem, / will need 200MB.kuriyama2003-01-131-1/+1
|
* Teach sysinstall about rpcbind, rpc.lockd, and rpc.statd. As an addedscottl2003-01-073-6/+38
| | | | | bonus, rpcbind will be enabled automatically if rpc.lockd, rpc.statd, amd, NFS Server, or NIS is enabled.
* save_realloc() should use reallocf() to close memory leaks.obrien2003-01-061-2/+2
| | | | item_add() should use safe_realloc() as it does no error checking itself.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Since our default boot block now supports UFS1 and UFS2 even onrwatson2002-12-281-7/+2
| | | | | | | | i386, remove the seatbelt preventing users from setting the UFS2 flag on the root file system on i386. This seatbelt did not exist on other platforms. MFC candidate.
* Add a new ftp mirror in Ireland which offers a service over IPv6.dwmalone2002-12-231-0/+4
| | | | | MFC after: 1 week Reviewed by: ume
* Correct path to /usr/sbin/sysinstall for HEAD since that's where it lives now.jkh2002-12-201-3/+3
|
* Update ROOT_MIN_SIZE for i386 to 118MB (and other ROOT_*_SIZE).kuriyama2002-12-152-5/+5
|
* When things get bigger than 99GB our fields run over.phk2002-12-111-5/+20
| | | | | | Use GB from 100GB and upwards. Approved by: re
* Unhook LOMAC sysinstall twiddle for the time being: mac_lomac requiresrwatson2002-12-091-0/+2
| | | | | | | the MAC Framework to be compiled into the kernel, and that's not well-expressed in sysinstall. Approved by: re (bmah)
* - Use some macros to define common text between the dialog boxes to set thejhb2002-12-051-38/+25
| | | | | | | | | | | | type of new slices and to change the type of existing slices. This also has the advantage of moving a few #ifdef PC98's up to where the macros are defined instead of in the middle of the code. - Change the behavior of the 'T' option in the slice editor so that the default value in the dialog box is the current type of the existing slice rather than defaulting to changing the slice to a FreeBSD slice as this is more intuitive. Approved by: re
* Fixed a partition type for pc98 when create or change slices in the fdisknyan2002-12-041-0/+8
| | | | | | editor. Approved by: re (jhb)
* Reformulate how sysinstall handles file system options in the labelrwatson2002-12-034-69/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | editor, in order to support specifying UFS2 as a newfs option. (1) Support three different newfs types: NEWFS_UFS, NEWFS_MSDOS, and NEWFS_CUSTOM. Don't mix up the arguments to them: you can't use soft updates on an msdos file system. (2) Distinguish adding new arguments to the newfs command line from replacing it. Permit the addition of new arguments by the user for NEWFS_UFS. If we entirely replace the command line provided by sysinstall, call it NEWFS_CUSTOM. 'N' will now add additional arguments; 'Z' will opt to replace the newfs command line entirely, but will prompt the user with their current command line as a starting point. (3) Construct the newfs command line dynamically based on the options provided by the user at label-time. Right now, this means selecting UFS1 vs. UFS2, and the soft updates flag. Drop in some variables to support ACLs and MAC Multilabel in the future also, but don't expose them now. This provides sysinstall with the ability to do more "in band" editing of the newfs command line, so we can provide more support for the user, but doesn't sacrifice the ability to entirely specify the newfs command line of the user is willing to give up on the cushiness factor. It also makes it easier for us to specify defaults in the future, and define conditional behavior based on user configuration selections. For now, we default to UFS1, and permit UFS2 to be used as the root only on non-i386 systems. While I was there, I dropped the default fragment and block sizes, since newfs has much more sensible defaults now. Reviewed by: jhb, marcel Approved by: re ia64 bits from: marcel
* Oops, forgot this cosmetic tweak to the perl menu item in my previousjhb2002-12-031-1/+1
| | | | | | commit. Approved by: re (this is what they actually reviewed)
* - Convert the installation of the X package to using installPackage()jhb2002-12-031-0/+2
| | | | | | | | | | | rather than installX11package(). - Add a perl psuedo-dist that installs the perl package. The perl distribution is selected by default when a User distribution set is selected. It is not selected when a Minimal distribution set is selected. The perl distribution may be toggled manually in the custom menu just as other distributions. Approved by: re
* Rename installX11package() to installPackage() and tweak it so that itjhb2002-12-032-6/+4
| | | | | | can be used to install any arbitrary package. Approved by: re
* Fix a bug in the fdisk editor that partially masked the chunk deletionjhb2002-12-031-2/+2
| | | | | | | | bug fixed yesterday. New slices created in the fdisk editor and slices whose sub-type is changed are of type 'mbr' if their sub-type is not a magic type, not type 'unknown'. Approved by: re
* ia64 specific.marcel2002-12-023-3/+53
| | | | | | | | | | | | | | o Mount the EFI file system as msdosfs and not ufs as it's a FAT file system. Introduce Mount_msdos() for this to go side-by-side with Mount(). o Also, since mounting is performed as a command (which means it's queued, sorted, lost, found and executed), we cannot create a directory on the file system by calling mkdir. We must make sure the mkdir happens after the mount. Introduce Mkdir_command() to allow mkdir operations to be queued, sorted, lost, found and executed as well. Approved by: re (jhb, rwatson)
* ia64: make link /boot->efi/boot relative.marcel2002-11-301-1/+6
| | | | Approved by: re (murray)
* - Only declare the MBR menu for i386 that is not PC98.jhb2002-11-271-1/+9
| | | | | | | | - Only declare mouse menus if WITH_MICE. - Only declare syscons menus if WITH_SYSCONS. - Only declare fdisk editor functions if WITH_SLICES. Approved by: re
* Only include the fdisk editor and associated code if WITH_SLICES isjhb2002-11-271-8/+10
| | | | | | | defined. Tested on: i386, alpha, sparc64 Approved by: re
* Only define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 usejhb2002-11-271-0/+2
| | | | | | MBR). Approved by: re
OpenPOWER on IntegriCloud