summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* The symbol for Hertz is Hz.dwmalone2002-11-043-3/+3
|
* Update ntpd to 4.1.1b. There are two new drivers and the usual bunch ofroberto2002-11-043-476/+508
| | | | | | | | fixes. See contrib/ntp/ChangeLog for details. MFC after: 1 month Prodded by: jhay Tested on: sparc64 (panther), alpha (beast) and i386.
* Move the modules in the mfsroot to /modules instead of /stand/modules sojhb2002-11-041-1/+1
| | | | | | | that they aren't copied over into /stand of new installations. Submitted by: matusita Tested on: i386
* Update the list of FTP mirrors to reflect the current situation.roam2002-11-042-46/+246
| | | | | Reviewed by: -doc, -hubs Approved by: silence on -doc, -hubs
* - Added the MenuIPLType menu for selecting pc98 boot IPL.nyan2002-11-036-36/+226
| | | | | | | - Disabled 'Syscons, Font', 'Syscons, Screenmap' and 'Syscons, Ttys' menus on pc98. - Fixed the MenuMouseType and MenuMousePort menus for pc98. - Fixed some comments for pc98.
* The hw.physmem sysctl has an unsigned long value now, fix the retrievaltmm2002-11-022-2/+2
| | | | to match that.
* Build sysinstall on sparc64.jake2002-11-011-5/+1
|
* debugMsg() should end with "\n".kuriyama2002-11-0112-17/+17
|
* With the recent libdisk changes, alpha doesn't need (as much) special magic.phk2002-10-302-70/+0
|
* Use "deprecated" instead of "depreciated" where appropriate.sheldonh2002-10-301-1/+1
|
* Update ntpd to 4.1.1a. This contains many bug fixes made on the STABLEroberto2002-10-295-17/+55
| | | | | | | | | | branch and a few new drivers. See contrib/ntp/ChangeLog for details. Hide kernel header sys/lock.h from ntp [1] PR: bin/33914 Submitted by: thomas, bde[1] MFC after: 1 month
* Whitespace cleanupdes2002-10-291-5/+5
|
* Sparc64 will not need the same hacks as alpha did. Hopefully alpha wontphk2002-10-292-8/+8
| | | | need them either.
* Fix the wizardmodes 'write' command to not explode: Don't referencephk2002-10-282-8/+4
| | | | the name in the disk tree we just deleted when we reopen.
* Take care of the case for the default speed (no -s option) also.njl2002-10-271-3/+2
|
* Add used #include <limits.h>.wollman2002-10-273-3/+6
|
* Do not include <sys/syslimits.h> directly; it is not intended for generalwollman2002-10-272-2/+3
| | | | consumption.
* Move speed units conversion to right before it is used. This catches thenjl2002-10-271-1/+2
| | | | case when the -s option is not used.
* Allow users to read the Early Adopter's Guide in sysinstall.bmah2002-10-272-14/+18
|
* Un-remove sysinstall for ia64.peter2002-10-271-1/+2
|
* Convert speed into KB/s. This was missed by the previous commit to this file.njl2002-10-261-1/+1
| | | | MFC after: 3 weeks
* Explicitly list architectures supporting sysinstallphk2002-10-251-1/+4
|
* MFS: Update sysinstall text for the number and size or ports in the portsbmah2002-10-251-2/+2
| | | | | | collection. src/release/sysinstall/dist.c 1.175.2.29 -> 1.175.2.30
* Goodbye and good riddance!phk2002-10-251-80/+0
|
* Confirmed kill: "Bogon #1" is dead, killed by DEVFS.phk2002-10-252-76/+0
|
* Comment out more MAKEDEV bogosity ("BOGON #1" as Jordan put it :-)phk2002-10-252-4/+4
|
OpenPOWER on IntegriCloud