summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-228-19/+19
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Add mount_udf and mount_smbfs to crossrefs.dwmalone2002-04-211-0/+2
| | | | | PR: 37200 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
* Add FBSDID. Start errx(3) messages with lowercase. Remove a ')' with no '('.charnier2002-04-211-14/+15
| | | | | | In usage(), use fprintf(3) instead of errx(3), to make the printed string really start with `usage: ...'. Reviewed by: marcel
* Use `The .Nm utility'charnier2002-04-201-4/+5
|
* Add character translation table between Unix and NetWare accordingbp2002-04-201-9/+9
| | | | | | | to Sweden standards. Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se> MFC after: 1 week
* Use `The .Nm utility'charnier2002-04-192-8/+10
|
* Push the .info file contents out when we're done so people canphk2002-04-191-0/+1
| | | | read the description while the megs shift from one place to another.
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-192-1/+61
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* De-__P, use ansi function definitionsimp2002-04-184-268/+117
|
* Fix the fdisk(8) manual page.trhodes2002-04-182-112/+115
| | | | | | | | | s/partition/slice/ in fdisk.8 fix a bug in fdisk(8) where it did not honer -t when using -I PR: 36563 and 35688 Submitted by: bde Reviewed by: bde
* Replaced exists() tests with two equivalent defined().ru2002-04-182-2/+2
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* dump(8)'s manual page is confusing in its use of records, blocks,trhodes2002-04-171-13/+26
| | | | | | | | | | | blocksizes, etc does not give the default of -b only mentiones rdump in the NAME section uses both filesystem and file system in similar contexts PR: 34248 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* Expand the reserved space section. Explain how the amount of reservedkeramida2002-04-161-4/+12
| | | | | | space can affect performance. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
* Change reference URLs.kuriyama2002-04-161-2/+2
| | | | | | Submitted by: Olivier Tharan <olivier.tharan@idealx.com> PR: docs/37094 MFC after: 1 week
* disklabel(8) manual page:trhodes2002-04-152-54/+50
| | | | | | | | | | | | | --change "-s newboot" to "-s newboot2" in an example --Fixed spelling --Fixed some confusion between slice/parition/primary partition and other things. PR: 35947 and 35951 Noticed by: Gary W. Swearingen <swear@blarg.net> Reviewed by: keramida Thanks to: grog MFC after: 2 days
* Sync with UDF p4 tree: Properly initialize part of the mntopts.asmodai2002-04-152-2/+2
| | | | Move to WARNS=1.
* Take the "tickadj" element out of struct clockinfo. Our adjtime(2)phk2002-04-151-2/+2
| | | | | implementation is being changed and the very concept of tickadj will no longer be meaningful.
* Actually add the UDF files!scottl2002-04-143-0/+225
|
* Add a filesystem driver for the Universal Disk Format. For more info,scottl2002-04-141-0/+1
| | | | | | | see http://people.freebsd.org/~scottl/udf MFC after: when asmodai gets the backport done Prodded by: phk asmodai des
* Do not use perl where sed is more than adequate.obrien2002-04-131-1/+4
|
* High-level changes (user visible):marcel2002-04-131-56/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | o Implement -c (clear) to clear previously kept headers (note that dumps not cleared will remain until -c is used), o Implement -f (force) to allow re-saving a previously saved dump, o Implement -k (keep) and make clearing the dump header the default, o Implement -v (verbose) and make most output conditional upon it, o Emit minimal output for the non-verbose case with the assumption that savecore is run mostly from within /etc/rc, o Update usage message to reflect what is and what's not, o mark -d as obsolete. Low-level changes: o Rename devname to device, for devname mirrors a global declaration and GCC 3.x warns about it, o Open the dump device R/W for clear and !keep to work, o Reorder the locals of DoFile according to style(9), o Remove newlines from strings passed to warn* and err*, o Use stat(2) to check if a dump has been saved before, o Truncate existing core and info files to support force, o First check for the magic and the version before we complain about parity errors. This prevents emitting parity error messages when there's no dump, o Keep track of the number of headers found and the number of headers saved to support the minimal output, o Close files we opened in DoFile. Not critical, but cleaner.
* I don't know what the MAINTAINER means in src/ part of FreeBSD.ru2002-04-121-2/+0
| | | | | | | | | I'll still be overseeing the changes that go into natd(8) and will maintain it the way I see it, non-preventing for the rest of developers. I will re-ask for the MAINTAINER bit if the ${MAINTAINER} gets defined.
* restore(8) manual page does not explain rrestore.trhodes2002-04-121-0/+4
| | | | | PR: 34234 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Removed the cruft that became cruft after rev. 1.4.ru2002-04-121-5/+1
| | | | Fixed CLEANFILES.
* Update dumpon manual page to explain single/multi-user usabilitytrhodes2002-04-091-6/+4
| | | | | PR: 36465 No Objections from: ru
* GC kget(1), userconfig is long dead.phk2002-04-094-199/+0
|
* Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speakingphk2002-04-091-4/+4
| | | | | | is a "set" not a "get" operation. Sponsored by: DARPA & NAI Labs.
* Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.phk2002-04-082-2/+2
| | | | Sponsored by: DARPA & NAI Labs
* Don't set WARNS to 2, we're default compatible now.phk2002-04-082-2/+0
| | | | Noticed by: bde
* Add the possibility to use a no_rip_out configuration option in orderasmodai2002-04-072-0/+5
| | | | | | | to stop routed from sending out RIP updates. PR: 29090 Submitted by: Matthew Braithwaite <mab@red-bean.com>
* bbsize and sbsize cannot ever be trusted from the disklabel, inphk2002-04-073-53/+4
| | | | | | | | | particular as there may not be one. Remove #if 0'ed code which might mislead people to think otherwise. unifdef -ULOSTDIR, fsck can make lost+found on the fly. Sponsored by: DARPA & NAI Labs
* Add code to try the nmount(2) syscall when mount(2) failed withmux2002-04-071-1/+22
| | | | | | | EOPNOTSUPP. This will make things less painful when I will commit the conversion of devfs, fdescfs and pseudofs to nmount. Reviewed by: phk
* Get us to WARNS=2 with a bit of constification and some printf fiddling.phk2002-04-074-52/+38
| | | | | | | Pick up the c-partitions magicness from sys/disklabel.h instead of defining our own magicness for it, remove trivial comment. Sponsored by: DARPA and NAI Labs.
* Nuke a totally pointless optional debug optionphk2002-04-072-30/+0
| | | | Sponsored by: DARPA and NAI Labs.
* When checking the alternate superblock, we used to copy any fieldsmckusick2002-04-071-61/+25
| | | | | | | | | | | | | | that might have changed, then did a byte-by-byte comparison with the alternate. If any unused fields got used, they had to be added to the exception list. Such changes caused too many false alarms. So, I have changed the comparison algorithm to compare a selected set of fields that are not expected to change. This new algorithm causes far fewer false hits and still does a good job of detecting problems when they have really occurred. In particular, this change should ease the transition to kernels supporting UFS2 which make some significant changes to the superblock. Sponsored by: DARPA, NAI Labs
* Sync with the new endianness in ata.hsos2002-04-051-7/+19
|
* Be able to print ATA133 mode.sos2002-04-051-1/+1
|
* Remove remaining traces of d_boot[01]phk2002-04-044-42/+2
|
* Fixed some style bugs in axings. Whitespace before __P was not axed whenbde2002-04-041-6/+6
| | | | | __P was axed. The ordering of several things was bogotified by axing ifdefs.
* Fixed some English errors in previous commit.bde2002-04-041-14/+15
| | | | | Fixed some style bugs in the removal of __P(()). Whitespace before "__P((" was not removed.
* Add more DWIM/autoadjustment and less evil style(9) banned exit(2) codes.phk2002-04-031-15/+17
| | | | | | Add some missing statics. Sponsored by: DARPA & NAI Labs.
* Unifdef -DCOMPATphk2002-04-031-22/+0
|
* Kill only usage of the undocumnted and unuse d_boot[01] fields ofphk2002-04-032-56/+0
| | | | | | struct disklabel. Sponsored by: DARPA & NAI Labs.
* Make the kernel dump header endianness invariant by always dumpingmarcel2002-04-031-11/+15
| | | | | | | | | in dump byte order (=network byte order). Swap blocksize and dumptime to avoid extraneous padding on 64-bit architectures. Use CTASSERT instead of runtime checks to make sure the header is 512 bytes large. Various style(9) fixes. Reviewed by: phk, bde, mike
* Add get-status to the ATA RAID subsystem.sos2002-04-022-11/+61
|
* Move savecore back to the MI list so that it compiles for othermarcel2002-04-021-6/+2
| | | | archs than alpha and i386.
* WARNS fixes.maxim2002-04-021-3/+3
| | | | | | | Submitted by: kris Reviewed by: bde Approved by: ru MFC after: 2 weeks
* style(9) cleanup.maxim2002-04-021-57/+53
| | | | | | | Submitted by: kris (an early version of this patch) Reviewed by: bde Approved by: ru MFC after: 2 weeks
* Add long long casts so that this compiles on archs with 64-bit longs.jhb2002-04-011-4/+4
| | | | Pointy-hat to: phk
* Duh, savecore is called savecore.phk2002-04-011-1/+1
|
OpenPOWER on IntegriCloud