summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed static linkage.ru2010-02-261-2/+3
|
* Fixed dependencies (make checkdpadd).ru2010-02-253-1/+3
|
* Improve output for controllers that doesn't report SATA speed.mav2010-02-222-0/+3
|
* Changing proto_socketpair.c compilation and linking order revealedpjd2010-02-211-1/+4
| | | | | a problem - we should simply ignore proto_server() if address doesn't start with socketpair://, and not abort.
* Document the interaction between /etc/devfs.conf andgavin2010-02-211-2/+7
| | | | | | | | /etc/defaults/devfs.conf PR: docs/117308 Submitted by: Mel <mel.xyzzy rachie.is-a-geek.net> (partially) MFC after: 1 week
* Add TSO support on VLAN in fconfig(8).yongari2010-02-203-8/+10
| | | | Reviewed by: thompsa
* Fix common misspelling of hierarchyuqs2010-02-201-1/+1
| | | | | Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-1844-2/+11091
| | | | | | | | | | | | | | | | | | | | | | HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
* Style nits.pjd2010-02-182-5/+5
|
* The NetBSD Foundation has granted permission for people to removeimp2010-02-161-7/+0
| | | | clause 3 and 4 from their software.
* sysctl(8): make WARNS=3 cleanuqs2010-02-152-12/+18
| | | | | | | Fixes inspired by work done in DragonflyBSD. PR: bin/140016 Approved by: ed (Co-mentor)
* Bump WARNS where possible.uqs2010-02-157-11/+4
| | | | | Checked by: make universe Approved by: ed (co-mentor)
* Rename fields to match better the msdosfs headers. This work is stillkib2010-02-145-106/+106
| | | | | | | | | incomplete as some info doesn't really belong to the structs where it is defined. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* Bug fixes from NetBSDkib2010-02-147-70/+100
| | | | | | | | | | | - fix sign-compare issues. - ANSIfy a couple of functions. - Remove more duplicate #includes. - Memory leak found by Coverity on NetBSD. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* License changes from NetBSD.kib2010-02-148-56/+0
| | | | | | | Move to 2 clause license, approved by Wolfgang Solfrank. Submitted by: Pedro F. Giffuni <giffunip tutopia com> MFC after: 2 weeks
* Rename variables to match msdosfs headers.kib2010-02-142-249/+250
| | | | | | Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* Some cleanups from NetBSD:kib2010-02-142-20/+23
| | | | | | | | | | | | | | - C99 initializers. - Change the default volume label from "NO NAME" to "NO_NAME". - Set OEM String to "BSD4.4 " following the unnamed spacing convention in that other OS that suggests "MSWIN4.1" Also, David Naylor's changes for Clang, mostly changing the signess of constants. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Clang fixes by: David Naylor <naylor.b.david gmail com> Reviewed by: bde (with some disagreement about Clang issues) MFC after: 2 weeks
* When growing a UFS1 filesystem, we need to initialise all inodes in any newgavin2010-02-131-4/+2
| | | | | | | | | | | | | | | | | | | | | cylinder groups that are created. When the filesystem is first created, newfs always initialises the first two blocks of inodes, and then in the UFS1 case will also initialise the remaining inode blocks. The changes in growfs.c 1.23 broke the initialisation of all inodes, seemingly based on this implementation detail in newfs(8). The result was that instead of initialising all inodes, we would actually end up initialising all but the first two blocks of inodes. If the filesystem was grown into empty (all-zeros) space then the resulting filesystem was fine, however when grown onto non-zeroed space the filesystem produced would appear to have massive corruption on the first fsck after growing. A test case for this problem can be found in the PR audit trail. Fix this by once again initialising all inodes in the UFS1 case. PR: bin/115174 Submitted by: Nate Eldredgei nge cs.hmc.edu Reviewed by: mjacob MFC after: 1 month
* Don't try to determine tape block size when the -P option is used.jh2010-02-131-1/+1
| | | | | | This was missed in r203157. PR: bin/121502
* One last pass to get all the unsigned comparisons correct.mckusick2010-02-111-10/+13
|
* Quiet spurious warnings.mckusick2010-02-111-8/+8
|
* Quiet spurious warnings.mckusick2010-02-111-2/+2
|
* Ensure that newfs will never create a filesystem with more than 2^32mckusick2010-02-103-47/+67
| | | | | | | | | | | | | | | | inodes by cutting back on the number of inodes per cylinder group if necessary to stay under the limit. For a default (16K block) file system, this limit begins to take effect for file systems above 32Tb. This fix is in addition to -r203763 which corrected a problem in the kernel that treated large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb. Reported by: Scott Burns, John Kilburg, Bruce Evans Followup by: Jeff Roberson PR: 133980 MFC after: 2 weeks
* - Remove reference to nfs4. mount_nfs4(8) was removed in r192578.jh2010-02-101-2/+2
| | | | - Add newnfs.
* Add -i to usage()gavin2010-02-091-1/+1
| | | | | Noticed by: ru MFC after: 5 days
* Add the -i option to the synopsis.gavin2010-02-061-2/+2
| | | | | Submitted by: dhw MFC after: 1 week (with r203310)
* Correct two typos.delphij2010-02-061-2/+2
| | | | | Reported by: Brandon Falk <falkman gamozo org> MFC after: 1 week
* Add the long missing "destroy" option.mjacob2010-02-041-0/+4
| | | | MFC after: 2 weeks
* Introduce '[ipaddr]:path' notation.ume2010-02-042-9/+26
| | | | | | | | | | | Since the existing implementation searches ':' backward, a path which includes ':' could not be mounted. You can now mount such path by enclosing an IP address by '[]'. Though we should change to search ':' forward, it will break 'ipv6addr:path' which is currently working. So, it still searches ':' backward, at least for now. MFC after: 2 weeks
* Shortening a passphrase caused wrong authentication key to be used.ru2010-02-041-0/+1
| | | | | | Fix this in a FreeBSD and OpenBSD compatible way. MFC after: 3 days
* static'ify function prototypes and convert K&R to ANSI.delphij2010-02-031-24/+23
| | | | MFC after: 1 month
* pukeText is an internal function so define it as static rather thandelphij2010-02-032-2/+3
| | | | | | exporting it. MFC after: 1 month
* Plug two memory leaks in error case.delphij2010-02-032-2/+5
| | | | MFC after: 1 month
* - Give ATA/SATA SIMs info about ATAPI packet size, supported by device.mav2010-02-021-2/+14
| | | | | - Make ATA XPT to reject longer SCSI CDBs then supported by device, or any SCSI CDBs, if device doesn't support ATAPI.
* Implement the "-i" option to sysctl(8), to ignore failures whilegavin2010-01-312-4/+15
| | | | | | | | | | | retrieving individual OIDs. This allows the same list of OIDs to be passed to sysctl(8) across different systems where particular OIDs may not exist, and still get as much information as possible from them. PR: bin/123644 Submitted by: dhw Approved by: ed (mentor) MFC after: 2 weeks
* Allow mknod(8) to be only invoked with a pathname as an argument.ed2010-01-312-32/+40
| | | | | | | | | In 99% of the cases people just want to recreate device nodes they removed from /dev. There is no reason to pass the additional "c 0 0" anymore. Also slightly improve the manpage. Remove references to non-existent device names and platforms.
* - Handle short reads when the -P option is used. Short reads must bejh2010-01-291-8/+3
| | | | | | | | | | handled when reading from pipes. - Remove dead code related to the -P option from getvol(). pipein and pipecmdin are never set at the same time. PR: bin/121502 Approved by: trasz (mentor) MFC after: 2 weeks
* - Cast time_t, int64_t and some int32_t values to intmax_t and use "%jd"jh2010-01-295-25/+29
| | | | | | | | | | | | | in format strings. - Use (void) instead of (void *) when discarding strcat(3) return value. - Format string fixes to match variable types. - Change canon() len parameter and getcmd() size parameter type from int to size_t. - Style Makefile and increase WARNS to 2. PR: bin/140061 Submitted by: uqs Approved by: trasz (mentor)
* Remove stale inclusion of <ulog.h>.ed2010-01-271-1/+0
| | | | This tool doesn't require libulog anymore.
* Revised revision 199201 (add interface description capability as inspireddelphij2010-01-272-2/+70
| | | | | | | | by OpenBSD), based on comments from many, including rwatson, jhb, brooks and others. Sponsored by: iXsystems, Inc. MFC after: 1 month
* Make mdconfig(8) WARNS=6 clean:jh2010-01-222-8/+6
| | | | | | | | | - Constify geom_config_get() name argument. - Add void keyword for usage(). - Initialize mdunit to NULL. - Don't call md_prthumanval() at all if length is NULL. Approved by: trasz (mentor)
* Document the negnametimeo option for mount_nfs as implementedrmacklem2010-01-211-0/+4
| | | | | | by r202767. This is a content change. MFC after: 2 weeks
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-212-18/+7
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* - Add -v argument to `camcontrol identify` command. It makes camcontrolmav2010-01-202-16/+34
| | | | | print full identify data block. - Improve identify result view and add TRIM support.
* Also output stripeoffset for consumer even if stripesize is zero, whiledelphij2010-01-181-1/+1
| | | | | | stripeoffset is non-zero. Pointed out by: mav
* Print sizes up to INT64_MAX in md_prthumanval().jh2010-01-181-5/+6
| | | | | | PR: bin/125365 Approved by: trasz (mentor) MFC after: 2 weeks
* Raise WARNS for various tools where possible.ed2010-01-179-9/+4
| | | | Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>
* Mute some (hidden) warnings about old-style function definitions.ed2010-01-171-2/+2
| | | | Submitted by: Marius NĂ¼nnerich <marius nuenneri ch>
* Small fixes.brueffer2010-01-171-3/+4
|
* Stripe offset may be usable even without stripe size known,delphij2010-01-171-1/+1
| | | | | | so give the output when either is non-zero. Suggested by: mav
OpenPOWER on IntegriCloud