summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove redundant whitespace.remko2007-12-081-1/+1
| | | | Noticed by: brueffer
* .Ed is not needed here, remove it.remko2007-12-081-1/+0
| | | | Noticed by: brueffer
* Add information about the maximum file size for msdosfs.remko2007-12-081-1/+4
| | | | | | | | PR: docs/112935 Submitted by: Julian Stacey <jhs at berklix dot org> Actually this was inspired by the ticket submitted by Julian. MFC After: 3 days
* Attempt to describe the ''auto'' type a bit better in the defaultremko2007-12-081-2/+3
| | | | | | | | | section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith <smithi at nimnet dot asn dot au> Minor modifications by me.
* Teach dhclient(8) about net80211 link (association) status.jkim2007-12-051-1/+4
| | | | | Reviewed by: brooks MFC after: 3 days
* Expand the EXAMPLES section for atacontrol.8remko2007-11-281-1/+105
| | | | | | PR: docs/117310 Submitted by: Ted Mittelstaedt <tedm at ipinc dot net> with minor modifications by me.
* Remove mentionings of kern.dumpdev which is no longer available.remko2007-11-281-10/+1
| | | | | | PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable)
* Every newline should start on it's own line. I didn't do that in theremko2007-11-281-3/+4
| | | | | | previous commit, so make it happen now. Prodded by: brueffer
* Sync with md(4)'s information regarding the swap backend.remko2007-11-281-2/+9
| | | | | | PR: docs/115721 Submitted by: Stefan Lambrev <stefan.lambrev@moneybookers.com> MFC After: 3 days
* - Pay attention to the fact that ioctl(2) is only known toyar2007-11-281-4/+5
| | | | | | | | | return -1 on error while any other return value from it can indicate success. (See RETURN VALUE in our ioctl(2) manpage and the POSIX spec.) - Avoid assumptions about the state of the data buffer after ioctl(2) failure.
* MFp4:yar2007-11-283-22/+59
| | | | | | | | | | | | | | | | | | | | | | Add a new option to newfs(8), -r, to specify reserved space at the end of the device. It can be useful, e.g., when the device is to become a member of a gmirror array later w/o losing the file system on it. Document the new option in the manpage. While I'm here, improve error handling for -s option, which is syntactically similar to -r; and document the fact that -s0 selects the default fs size explicitly, which can be useful, e.g., in a menu-based wrapper around newfs(8) requiring some value be entered for the fs size. Also fix a small typo in the help line for -s (missing space). Idea and initial implementation by: marck Discussed on: -fs Critical review by: bde Tested with: cmp(1)
* Properly sort 'sync' in the list of options passed to -o.jhb2007-11-271-4/+4
| | | | MFC after: 3 days
* Polish this manual page a bit:danger2007-11-261-73/+110
| | | | | | | | | | - refer to the dummynet(4) man page only once, later use rather the .Nm macro. - use .Va macro when refering to the sysctl variables - grammar and markup fixes Reviewed by: keramida, trhodes, ru (roughly) MFC-after: 1 week
* Minor language cleanup.brueffer2007-11-241-3/+3
| | | | MFC after: 3 days
* Addition style(9) change.obrien2007-11-201-3/+3
|
* style(9)obrien2007-11-201-95/+96
|
* Add -o option to match ping(8)dd2007-11-202-5/+12
| | | | | Reviewed by: dwmalone, maxim MFC after: 2 weeks
* Use an intermediate pointer to avoid strict alias check warningsjb2007-11-201-2/+3
| | | | | on gcc 4.2. This is required for tinderbox which doesn't have -f-no-strict-aliasing in it's custom CFLAGS.
* Reduce the WARNS level across the board due to a warning that occursjb2007-11-191-1/+3
| | | | on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK.
* o Fix Dd format.maxim2007-11-181-1/+1
| | | | Pointed out by: ru
* This makefile builds contrib code, so I won't try to fix all thejb2007-11-181-0/+2
| | | | casts from pointer to int here.
* Fix signed/unsigned comparison compiler warning.jb2007-11-181-2/+2
|
* Use a cast that doesn't create a compiler warning.jb2007-11-181-2/+2
|
* - New sysctl variable: net.inet.ip.dummynet.io_fastoleg2007-11-171-1/+19
| | | | | | | | | | | | | | If it is set to zero value (default) dummynet module will try to emulate real link as close as possible (bandwidth & latency): packet will not leave pipe faster than it should be on real link with given bandwidth. (This is original behaviour of dummynet which was altered in previous commit) If it is set to non-zero value only bandwidth is enforced: packet's latency can be lower comparing to real link with given bandwidth. - Document recently introduced dummynet(4) sysctl variables. Requested by: luigi, julian MFC after: 3 month
* o Mask maximum file permissions we get from mount_ntfs -mmaxim2007-11-171-1/+4
| | | | | | | | | with ACCESSPERMS. Document in mount_ntfs(8) only the nine low-order bits of mask are used (taken from mount_msdosfs(8)). PR: kern/114856 Submitted by: Ighighi MFC after: 1 month
* Fix exit code when using -l on a non-existent md(4) device.flz2007-11-161-3/+9
| | | | | | PR: conf/116177 Submitted by: Remi Guyomarch <rguyom@pobox.com> MFC after: 3 days
* Briefly document what the -c option of the "label" command does.ru2007-11-151-1/+3
| | | | MFC after: 3 days
* Revise the markup and apply some wordsmithing.ru2007-11-151-24/+27
| | | | | Reviewed by: pjd MFC after: 3 days
* * Expand the example descriptions, fix mdoc-bugs inkeramida2007-11-111-9/+20
| | | | | | "(-a and -t vnode are implied)" and reuse it near the cd9660 example. * Spell 'backing store' as two words.
* Instead of hardcoding md10 as the device node in the cd9660 example,keramida2007-11-091-3/+2
| | | | | | use a trick submitted by Ruslan. MFC after: 1 day
* Cleanup of userland __P usekevlo2007-11-079-84/+88
|
* Don't mask the address in inet_makenetandmask() according to what classmtm2007-11-041-1/+0
| | | | | | it appears to be in: there is also CIDR. Noticed by: tegge
* Add an option to limit the number of source MACs that can be behind a bridgethompsa2007-11-042-6/+33
| | | | | | | | interface. Once the limit is reached packets with unknown source addresses are dropped until an existing host cache entry expires or is removed. Useful to use with the STICKY cache option. Sponsored by: miniSuperHappyDevHouse NZ
* Allow building of a special rescue version of geom thatmarcel2007-11-043-4/+44
| | | | has a subset of the classes compiled-in.
* sync with vap code base; updates for 11n support and somesam2007-11-021-495/+1125
| | | | | | | general code cleanups Reviewed by: thompsa, avatar MFC after: 1 week
* minor wireless-related correctionssam2007-11-021-10/+18
| | | | MFC after: 1 week
* Don't look for GPT primary and secondary tables on a disk unless we havejhb2007-11-011-4/+10
| | | | | | | | | a valid PMBR. Without this fix, if label a disk with a GPT, then relabel it with an MBR the GPT tables are still present. If you then try to create a GPT with 'gpt create', gpt(8) will fail to open the device because the partitions in the stale GPT overlap with the slices in the MBR. MFC after: 1 week
* Fix 'gpt boot' to work on disk devices and not just plain files. Writes tojhb2007-11-011-5/+10
| | | | | | disk devices have to consist of a block of sectors. Thus, when writing gptboot to the boot partition, round the size of the gptboot file up to a sector boundary, pre-zero it, and write out the full buffer to disk.
* Document -t.obrien2007-11-011-0/+4
|
* Fix an error in bit shifting logic for network addresses. The routemtm2007-10-291-20/+24
| | | | | | | | | | | | | | | command would add incorrect routing entries if network numbers weren't fully "spelled" out according to their class. For example: # route add 128.0/16 (works) # route add 128/16 (doesn't work) # route add 193.0.0/24 (works) # route add 193/24 (doesn't work) Also, rework the way a netmask is deduced from network number if it [netmask] is not specified. Submitted by: Nuno Antunes <nuno.antunes@gmail.com> (mostly) MFC after: 1 week
* o Fix indentation. No functional changes.maxim2007-10-271-10/+10
|
* First cut at support for booting a GPT labeled disk via the BIOS bootstrapjhb2007-10-247-36/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on i386 and amd64 machines. The overall process is that /boot/pmbr lives in the PMBR (similar to /boot/mbr for MBR disks) and is responsible for locating and loading /boot/gptboot. /boot/gptboot is similar to /boot/boot except that it groks GPT rather than MBR + bsdlabel. Unlike /boot/boot, /boot/gptboot lives in its own dedicated GPT partition with a new "FreeBSD boot" type. This partition does not have a fixed size in that /boot/pmbr will load the entire partition into the lower 640k. However, it is limited in that it can only be 545k. That's still a lot better than the current 7.5k limit for boot2 on MBR. gptboot mostly acts just like boot2 in that it reads /boot.config and loads up /boot/loader. Some more details: - Include uuid_equal() and uuid_is_nil() in libstand. - Add a new 'boot' command to gpt(8) which makes a GPT disk bootable using /boot/pmbr and /boot/gptboot. Note that the disk must have some free space for the boot partition. - This required exposing the backend of the 'add' function as a gpt_add_part() function to the rest of gpt(8). 'boot' uses this to create a boot partition if needed. - Don't cripple cgbase() in the UFS boot code for /boot/gptboot so that it can handle a filesystem > 1.5 TB. - /boot/gptboot has a simple loader (gptldr) that doesn't do any I/O unlike boot1 since /boot/pmbr loads all of gptboot up front. The C portion of gptboot (gptboot.c) has been repocopied from boot2.c. The primary changes are to parse the GPT to find a root filesystem and to use 64-bit disk addresses. Currently gptboot assumes that the first UFS partition on the disk is the / filesystem, but this algorithm will likely be improved in the future. - Teach the biosdisk driver in /boot/loader to understand GPT tables. GPT partitions are identified as 'disk0pX:' (e.g. disk0p2:) which is similar to the /dev names the kernel uses (e.g. /dev/ad0p2). - Add a new "freebsd-boot" alias to g_part() for the new boot UUID. MFC after: 1 month Discussed with: marcel (some things might still change, but am committing what I have so far)
* Add the full module path name to the kld_file_stat structurejb2007-10-221-2/+2
| | | | | | | | | | | | | | for kldstat(2). This allows libdtrace to determine the exact file from which a kernel module was loaded without having to guess. The kldstat(2) API is versioned with the size of the kld_file_stat structure, so this change creates version 2. Add the pathname to the verbose output of kldstat(8) too. MFC: 3 days
* Fix a last-minute, but more importantly, an untested change thatmarcel2007-10-211-1/+1
| | | | | made the previous commit non-functional: the usage string was put in the wrong field...
* Add the show command to print the partition information ala gpt(8).marcel2007-10-212-6/+205
| | | | | Update the manpage accordingly. While here, mention the MBR scheme and add a bugs section. With this commit gpt(8) can be obsoleted.
* Change IPTOS_CE to IPTOS_ECN_CE.rpaulo2007-10-191-2/+2
| | | | Approved by: njl (mentor)
* Comply with the removal of IPTOS_CE and IPTOS_ECT.rpaulo2007-10-191-2/+2
| | | | | | Discussed on freebsd-net with no objections. Approved by: njl (mentor), rwatson
* Remove stale reference to mount_std.rodrigc2007-10-191-1/+0
|
* Backout sensors framework.netchild2007-10-152-141/+0
| | | | | Requested by: phk Discussed on: cvs-all
* Added whiteout behavior option. ``-o whiteout=always'' is default modedaichi2007-10-141-0/+4
| | | | | | | | | | | (it is established practice) and ``-o whiteout=whenneeded'' is less disk-space using mode especially for resource restricted environments like embedded environments. (Contributed by Ed Schouten. Thanks) Submitted by: Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week
OpenPOWER on IntegriCloud