summaryrefslogtreecommitdiffstats
path: root/sbin/i386
Commit message (Collapse)AuthorAgeFilesLines
* Many places in the code NULL is used in integer context, wherephk1997-09-181-1/+1
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Support all mount flags that are supported in the kernel.bde1997-08-251-1/+4
|
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* Number partitions 1-4, not 0-3.brian1997-06-032-30/+30
| | | | | | Any existing config files (using the -f option) will need to be changed although using the old files will usually result in an error (partition 0 is invalid).
* Don't overflow when calculating the size in MB of a partition.gibbs1997-06-021-3/+12
| | | | No more 241MB 4+ gig partitions for me!
* OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that needimp1997-05-021-0/+1
| | | | | | a BIOS-like partition table. We now detect this correctly and print the right thing. Obtained from: Value obtained from OpenBSD sources.
* Spelling police.danny1997-04-231-2/+2
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-292-3/+3
| | | | posix standard on the topic.
* Updated mount_msdos to use the Lite2 getvfsbyname() interface.bde1997-03-032-12/+14
|
* Revert $FreeBSD$ to $Id$peter1997-02-228-8/+8
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-148-8/+8
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-2/+3
|
* Minor mdoc/style fixes.mpp1996-12-231-1/+3
|
* Convert to mdoc format.mpp1996-12-231-152/+178
|
* Minor formatting/style fixes.mpp1996-12-092-9/+3
| | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
* This update adds the support for != 512 byte sector SCSI devices tosos1996-12-011-5/+24
| | | | | | | | | | | | | | | | the sd & od drivers. There is also slight changes to fdisk & newfs in order to comply with different sectorsizes. Currently sectors of size 512, 1024 & 2048 are supported, the only restriction beeing in fdisk, which hunts for the sectorsize of the device. This is based on patches to od.c and the other system files by John Gumb & Barry Scott, minor changes and the sd.c patches by me. There also exist some patches for the msdos filesys code, but I havn't been able to test those (yet). John Gumb (john@talisker.demon.co.uk) Barry Scott (barry@scottb.demon.co.uk)
* Allow fdisk to be driven from a configuration file, making a 3rd-partyjkh1996-11-062-51/+771
| | | | | | | utility for front-ending its operation more of a possibility. 2.2-RELEASE candiate. Closes PR#1960 Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>
* The dos() function needs a new second argument, containing the sizebde1996-10-131-10/+13
| | | | | | | | | | | | | | | | | | of the partition. Only if the size is 0 should the special handling of 0 as first argument be triggered. [This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.] The init_sector0 function needs to decrease the first argument to the second call to dos() by one to be consistent with the calls to dos() in change_part(). [This bug caused fdisk -i to create bogus partition tables with the ending C/H/S value 1 too high. This usually gives S = 1 instead of S = maximum, so the geometry guessing in the slice code and perhaps in SCSI BIOSes was defeated.] Submitted by: Tor Egge <tegge@itea.ntnu.no>
* add missing comma(s) in .Xr macroswosch1996-09-231-2/+3
|
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-2/+2
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* add nextboot by defaultjulian1996-08-091-2/+2
| | | | its's proven to be quite reliable.
* slight man page additions re: deficienciesjulian1996-08-091-0/+5
|
* Submitted by: archie@whistle.comjulian1996-08-071-7/+6
| | | | slight cleanups
* oops, make the magic number match that used in the bootblock..julian1996-07-091-2/+2
| | | | I guess we should have a single place for this??
* Obtained from: Whistle Communicationsjulian1996-07-093-0/+328
| | | | | | | control program to control the facility of the bootblocks to fetch a default bootstring from a fixed location on the disk. See the manpage for more info.
* Code clean up. Prototypes, parentheses around assignments used inalex1996-06-211-34/+68
| | | | | | if statements, #if 0 some unused code, use off_t in calls to read/ write_disk, fix a printf format, remove unused variables, and #include necessary files.
* One program I missed in removing MOUNT_* constants.wollman1996-05-131-17/+21
|
* Add a small message to the ``CAVEATS'' section saying if you get thegpalmer1996-04-031-1/+9
| | | | | warning about the root directory, then you could corrupt your filesystem if you write to it. Someone, please, feel free to improve this :-)
* Fix even more spelling errors in some more man pages.mpp1996-01-302-4/+4
|
* Move some tables to "const" and remove some unused vars.phk1996-01-071-7/+6
|
* Fix the spelling of 'partition'.jmz1996-01-041-4/+4
|
* This upgrades the driver for Cronyx-Sigma multiplexor boardsjkh1995-10-041-3/+65
| | | | | from version 1.2 to version 1.9. Submitted by: Serge Vakulenko, <vak@cronyx.ru>
* remove the calls to DIOCWLABEL, as it isn't supported any morejulian1995-10-031-0/+4
| | | | | and the error message confuses the user. (just commented out foe now)
* Use default COPTS.dg1995-09-171-2/+1
|
* Update to the slices era. Make /dev/rfoo0 the defaults, notjoerg1995-09-012-15/+81
| | | | | | | | | | | | /dev/rfoo0d. Scan a list of devices instead of insisting on all the world being wd0. Allow for disk names to be specified (e.g. `sd0') instead of full path names only. Sync the man page with the reality.
* Remove -O2 from COPTS, known rogueache1995-08-291-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-303-78/+78
|
* Add NEXTSTEP as claiming partition code 0xA7.gpalmer1995-04-171-0/+1
|
* Recognise Linux filesystems.jkh1995-01-141-2/+3
| | | | Submitted by: remy
* Remove excessive argc checking. It was impossible to set `dtrwait' andbde1995-01-101-1/+2
| | | | and `drainwait' in a single command.
* Fight agaist hanging modems: add new drainwait option.ache1995-01-052-12/+38
| | | | Reviewed by: Bruce
* rc.local -> rc.serialache1994-12-051-3/+3
| | | | cua0? -> cuaa?
* Fix another path that was broken by moving things to sbin/i386.bde1994-12-041-2/+2
|
* Move i386-specific programs into i386 subdirectory.wollman1994-12-022-2/+6
|
* This commit was generated by cvs2svn to compensate for changes in r4910,wollman1994-12-024-0/+1010
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Cronyx/Sigma sync/async serial driver with PPP supportwollman1994-12-024-0/+1010
| | | | from Serge Vakulenko
* NetBSD -> FreeBSDnate1994-11-191-4/+4
| | | | (Poul, bring this into 2.0 please)
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-11-011-2/+2
| | | | | | | | | | | | | | | | most common cd9660 and nfs options like God intended them. (It is now possible to say mount -o ro,soft,bg,intr there:/foo/bar /foo/bar again.) This whole getmntopt() business is an incredible botch; it never should have been anything more than a wrapper around getsubopt(3). Because if the way the current hackaround is implemented, options which take arguments (like the old `rsize' and `wsize') are still unavailable, and must be accessed the new, broken way. (It's unimaginable how Berkeley managed to screw up one of the few things about NFS that Sun actually got right to begin with!)
* Don't write outside of partp[] if the user gives an invalid partitionbde1994-10-251-1/+2
| | | | | number for the partition to be made active. Do nothing instead. This allows clearing all the active flags by specifying an invalid partition.
* Don't change the active partition when the user says not to change it.bde1994-10-191-6/+11
| | | | | | | Convert absolute sector 0 to C/H/S 0/0/0, not 0/0/1. Open in O_RDWR mode for the undocumented -a option, so that -a can be used without -u.
OpenPOWER on IntegriCloud