summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* - Only declare the MBR menu for i386 that is not PC98.jhb2002-11-272-2/+18
| | | | | | | | - 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-272-16/+20
| | | | | | | 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-272-0/+4
| | | | | | MBR). Approved by: re
* - Only define syscons menus and syscons menu items in other menus ifjhb2002-11-272-12/+48
| | | | | | | | | | | | | | | WITH_SYSCONS is defined. - Only define mouse menus and mouse menu items if WITH_MICE is defined. - Use WITH_SLICES instead of explicit lists of architectures to control the layout of menus dependent on if slices are used on this arch or not. - Only include the linux startup option if WITH_LINUX is defined. - Only include the SVR4 startup option on i386. It doesn't work on sparc64, and it is debatable that it even works on i386. - Change the OSF1 startup option to execute configOSF1() instead of just setting the variable so that /compat/osf1 gets created. Tested on: i386, alpha, sparc64 Approved by: re
* If the user choose to Undo everything in the label editor, only run thejhb2002-11-272-0/+4
| | | | | | | | fdisk editor if WITH_SLICES. Before this on arch's that didn't support slices such as alpha and sparc64 you would drop into the fdisk editor after doing an Undo in the label editor. Approved by: re
* - Use WITH_SLICES to conditionalize the fdisk editor during install insteadjhb2002-11-272-12/+28
| | | | | | | | | | | | | | | | of an explicit list of architecture defines. - Tweak the message prior to the label editor in the !WITH_SLICES case to make it slightly less awkward since this is the first dialog we see after starting an install. - Only offer to customize syscons settings if WITH_SYSCONS. - Offer to enable Linux compat if WITH_LINUX. Before we only did this for i386. - On the alpha, offer to enable OSF/1 compat after asking about Linux compat. - Only offer to configure moused(8) if WITH_MICE is defined. Tested on: i386, alpha, sparc64 Approved by: re
* Only include the diskPartitionEditor script command if WITH_SLICES isjhb2002-11-272-0/+4
| | | | | | defined. Approved by: re
* Only try to setup moused(8) before setting up the X server if WITH_MICE isjhb2002-11-272-0/+8
| | | | | | defined. Approved by: re
* - Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1jhb2002-11-274-0/+38
| | | | | | | in addition to setting osf1_enable to YES. - Only define configLinux() #ifdef WITH_LINUX. Approved by: re
* Add some helper macros to make #ifdef's in sysinstall easier to readjhb2002-11-272-0/+28
| | | | | | | | | | | | | | and more maintainable. - WITH_SYSCONS: defined on all arch's that support syscons (currently i386, alpha, and ia64) - WITH_MICE: defined on all arch's that support moused(8) (currently i386, alpha, and ia64) - WITH_SLICES: defined on all arch's that use disk slices (currently i386 and ia64) - WITH_LINUX: defined on all arch's that support Linux binary compat (currently i386 and alpha) Approved by: re
* Only display the APM option in the Startup menu on i386.jhb2002-11-272-0/+4
| | | | Approved by: re
* Use #elif defined(__alpha__) instead of #elif __alpha__.jhb2002-11-272-2/+2
| | | | Approved by: re
* Enable the compat4x distribution on Alpha as well as i386.jhb2002-11-271-0/+2
| | | | Approved by: re
* - Assume __FreeBSD__ is greater than 3.jhb2002-11-272-16/+2
| | | | - Only include compat4x distribution if this is either i386 or alpha.
* Expand X_AS_PKG so that we don't declare distribution bitmasks or menusjhb2002-11-278-17/+84
| | | | | | | for the X distributions if X_AS_PKG is defined. Tested on: i386 Approved by: re
* Don't use fake 'c' or 'a' BSD partitions for CD-ROM devices. This fixesjhb2002-11-272-10/+10
| | | | | | | sysinstall to create /cdrom entries in /etc/fstab that just use the raw CD-ROM device /dev/cd0, etc. Approved by: re
* Removed the vestiges of modems(5).ru2002-11-271-1/+0
| | | | Approved by: re
* mdoc(7) police:ru2002-11-271-6/+12
| | | | | | | Added the -h option to the synopsis, documented the -a option, sorted options descriptions according to style(9). Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-2712-82/+95
| | | | Approved by: re
* mdoc(7) police: kill whitespace at EOL.ru2002-11-275-36/+36
| | | | Approved by: re
* mdoc(7) police:ru2002-11-2716-63/+64
| | | | | | | | | | Removed whitespace at EOL. Removed hard sentence breaks. Removed empty lines. Spell FreeBSD correctly. Sort xrefs. Approved by: re
* configXEnvironment doesn't work in sysinstall now.keramida2002-11-262-2/+12
| | | | | | | Change the manpage to reflect that it's now called configXSetup. Also document configXDesktop. Submitted by: pirat <pirat@access.inet.co.th>
* Add GNOME 2 to the sysinstall desktop configuration menu, removebmah2002-11-264-46/+20
| | | | | | | | | | the two GNOME 1-based alternatives. While here, note that a majority of the items in this menu are not sentences, and remove trailing dots to make the remainder consistent. Reviewed by: marcus Approved by: re (bmah)
* The second try a committing the bluetooth codejulian2002-11-2027-0/+6743
| | | | | | | | | | | | | | | | Has been seen to work on several cards and communicating with several mobile phones to use them as modems etc. We are still talking with 3com to try get them to allow us to include the firmware for their pccard in the driver but the driver is here.. In the mean time it can be downloaded from the 3com website and loaded using the utility bt3cfw(8) (supplied) (instructions in the man page) Not yet linked to the build Submitted by: Maksim Yevmenkin <myevmenk@exodus.net> Approved by: re
* Add several new real categories and virtual categories.knu2002-11-181-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Those marked with an asterisk (*) are virtual categories] - accessibility* : Ports to help disabled users PR: ports/39103 Requested by: trevor - finance : Monetary, financial and related applications PR: ports/39102 Requested by: trevor - haskell* : Software related to the Haskell language PR: ports/41959 Requested by: obraun - hungarian : Hungarian language support PR: ports/37576 Requested by: Janos Mohacsi <janos.mohacsi@bsd.hu> - multimedia : Multimedia software Requested by: many - parallel* : pplications dealing with parallelism in computing PR: ports/39094 Requested by: trevor - portuguese : Portuguese language support PR: ports/35991 Requested by: trevor
* Create a link /boot -> /<efi>/boot, where <efi> is the mountpointmarcel2002-11-182-0/+30
| | | | | | | | of the EFI file system. This makes the EFI partition non-optional. I don't think that the links are actually correct, given that all the mount points are under /mnt when sysinstall is run as init. (ie a non-upgrade). Thus: I think I need to go in once more, but at least this doesn't get lost...
* Enable selecting the type of partition menu on pc98.nyan2002-11-162-34/+34
|
* These two patches makes it easier to compile custom versions ofroberto2002-11-162-2/+6
| | | | | | | | | | | NTP on FreeBSD: The first one allows one to avoid installing the html files. The second one allows one to override the CLOCKDEFS on the make command line. Submitted by: phk
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanpeter2002-11-152-2/+2
| | | | | | | | | | | | time_t. Deal with the possibility that time_t != int32_t. This boils down to this sort of thing: - time(&ut.ut_time); + ut.ut_time = time(NULL); and similar for ctime(3) etc. I've kept it minimal for the stuff that may need to be portable (or 3rd party code), but used Matt's time32 stuff for cases where that isn't as much of a concern. Approved by: re (jhb)
* Fix to build for pc98.nyan2002-11-152-2/+2
|
* Assume that packages passed on stdin are in bzip2 format, not gzip.bmah2002-11-141-1/+2
| | | | | | (sysinstall depends on this feature for package addition.) Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
* Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) thatsobomax2002-11-142-1/+29
| | | | | | | | | | the specified filename of the log to be rotated is in fact shell glob pattern. In this case, all files matching this pattern will be rotated using the same options. Useful in the case when there is no pre-defined name for the logfiles (e.g. xtradius, samba etc). Sponsored by: PortaOne Software Ltd MFC after: 2 weeks
* Add conditional code specific to ia64 to allow newfs(8)-ing FATmarcel2002-11-144-6/+118
| | | | | | | | | | | partitions marked as being of type efi. This change adds code to 1. actually run the newfs command at mount time (install.c), 2. display the newfs state on screen (label.c) 3. allow toggling of the newfs state (label.c) Even though newfs(8)-ing FAT partitions can be of use on i386 machines in general, it has been opted to minimize impact for now.
* mtree(8) wasn't a bootstrap tool since 2000/07/23 (Makefile.inc1,v 1.161).ru2002-11-131-5/+0
|
* Bootstrapping aid for 4.0-RELEASE.ru2002-11-131-0/+6
|
* Also test for type efi everywhere we currently test for type fat.marcel2002-11-1310-12/+22
| | | | | | | With this change there's no a priori difference between EFI and FAT partitions. With this change and the corresponding change to libdisk, we can create EFI partitions, just like regular FAT partitions.
* Use a clean flags variable when creating chunks from scripts instead ofjhb2002-11-122-6/+4
| | | | | | | leaking flags from earlier chunks into later ones. PR: bin/40655 Submitted by: Thomas Zenker <thz@Lennartz-electronic.de>
* Remove a line that set the status to success. We already do that at thejhb2002-11-122-4/+2
| | | | | beginning, so the best this could achieve would be to mask an earlier failure. Break instead of continue for another failure case.
* Try to cleanup the non-interactive disk labeling code a bit. Reworkjhb2002-11-122-98/+78
| | | | | | | | | the loop that runs through the environment variables to be a bit more intuitive. Also, change some 'continue's in failure cases to 'break's instead. If we are going to fail, we should just do it. PR: bin/40654 Submitted by: Thomas Zenker <thz@Lennartz-electronic.de> (partially)
* Do a bit of cleanup. new_part() basically ignored the passed in sizejhb2002-11-122-38/+22
| | | | | | | argument as of revision 1.52 (July 12, 1996, about a month after I graduated from high school) when 'newfs -u' support was axed, so remove it. This also allows us to remove a hack in the create partition case where we created the partition twice since we didn't have the size the first time.
* Doh, fix a bug in previous commit. The default is to newfs for newjhb2002-11-122-2/+2
| | | | partitions, not to !newfs.
* When setting the mountpoint name, remember any previous setting of thejhb2002-11-122-4/+14
| | | | | | | newfs flag for this partition. PR: bin/31837 Reported by: Oliver Breuninger <ob@www.partner.de>
* The FIONREAD sysctl operates on an int *, not a size_t *.tmm2002-11-111-9/+8
| | | | Reviewed by: dd
* A support for creating EFI partitions. This is required on ia64,marcel2002-11-102-0/+6
| | | | but not made conditional upon it.
* Clarify the unique groups scheme by mentioning that the 002 umaskfanf2002-11-081-3/+5
| | | | | | | is instead of the usual 022 umask, and explain that what the scheme still prevents is unwanted changes, not prying eyes. While I'm here, mess with the phrasing and line-breaks a bit.
* Factor out the code that determines whether a message must be skippedthomas2002-11-071-26/+27
| | | | | | | as a consequence of a host or program name specification into a common function, skip_pmessage. Reviewed by: roberto
* Clean up a little. Don't need to include fetch.h any more, and I can'tobrien2002-11-061-7/+0
| | | | find any consumers of HOSTNAME_MAX.
* Break fileGetURL() out into its own file so that pkg_install/lib consumersobrien2002-11-065-117/+149
| | | | pkg_{create,delete} don't need to needlessly link with libfetch.
* Mount devfs with nmount(2) instead of mount(2). This error was maskedjhb2002-11-051-1/+12
| | | | | because errors from mount(2) were explicitly ignored. I didn't fix that bug.
* Test for the existance of kernel ppp support by seeing if the kernel hasbrooks2002-11-051-12/+14
| | | | | | the module compiled in or loaded instead of bogusly checking for ppp0. Also if and only if the caller is actually root and the kernel does not have ppp support, try to load the ppp module before giving up.
OpenPOWER on IntegriCloud