summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* With minidumps, the dumping partition could be smaller than physicalps2006-04-271-1/+8
| | | | | | memory, so checking the size of the partition is not necessary. Tested by: kris
* o Do recrack(arguments) for commands which actually take NAME asmaxim2006-04-213-10/+12
| | | | | | | | | | | arguments so we do not coredump at "help foo", "back bar" and such. o Be consistent and print argc - 1 as a command arguments number in all cases. PR: bin/37096 Submitted by: Joshua Goodall MFC after: 1 month
* Add a missing .Pp call.brueffer2006-04-191-0/+1
| | | | MFC after: 3 days
* o Describe what actually boot(8) -m mutes.maxim2006-04-181-1/+2
| | | | | | PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks
* Fix markup and some typos.ru2006-04-141-5/+14
|
* o Yacc's lineno variable holds a total number of parsed lines.maxim2006-04-141-0/+1
| | | | | | | | Reset it to 1 for each devd config file so if the parser finds a syntax error devd(8) will report a correct line number. Submitted by: Niki Denev MFC after: 2 weeks
* Make CCD be able to read and write Linux software raids.cracauer2006-04-132-0/+26
| | | | | | | | | | Supported for raid-0 with <n> disks, raid-1 with 2 disks. Manpages have examples, warnings etc. Test scripts on http://www.cons.org/cracauer/ccdconfig-linux/ Reviewed by: alfred
* Add missing library dependencies.ru2006-04-132-1/+2
|
* libc_r is no longer provided, and on alpha and sparc64, libthrru2006-04-121-1/+1
| | | | | is (sym)linked to libpthread. Account for this change and check for MK_LIBTHR instead of MK_LIBC_R where appropriate.
* Dump keeps a bitmap of the state of various inodes, which is sizeddwmalone2006-04-111-8/+20
| | | | | | | | | | to match the number of inodes on the disk. If we find a directory entry with a crazy inode number in it, don't look beyond the end of the bitmap to find that inode's state. Instead skip that directory entry and print a warning. Reviewed by: iedowse MFC after: 3 weeks
* Document the rest of the 802.11 capability flags.scottl2006-04-081-0/+18
|
* Allocate memory for NUL-termination as well.pjd2006-04-071-1/+1
| | | | MFC after: 2 days
* Add a new feature to ping(8) - possibility to specify maximumglebius2006-04-052-8/+35
| | | | | | | | | | wait time for a packet. This allows to: - Count number of packets received before and after specified time. - Shorten time of execution of 'ping -c 1' scripts. Submitted by: Lytochkin Boris <lytboris gmail.com>
* Make WITHOUT_DYNAMICROOT=foo work again: remember to referencephk2006-04-011-2/+2
| | | | libbsdxml and libsbuf.
* Amazing.. two screwups in one commit.julian2006-03-311-1/+2
| | | | | I'm piling on thise pointy hats on top of each other. At least they nest..
* I can't believe that no-one noticed that I broke ipfw table deljulian2006-03-311-1/+2
| | | | | for over a month! put {} around if clause with multiple statements
* Unbreak the build.jasone2006-03-271-6/+1
|
* For now, bring back some of the old bits as a fix for specifying md(4)wkoszek2006-03-271-0/+7
| | | | | | | | | device number at creation time with -u option. Together with XMLizing mdconfig(8), I broke this functionality. This change is temporary. Complete fix will be commited soon. Approved by: cognet (mentor)
* Teach md(4) and mdconfig(8) how to understand XML. Right now there won't bewkoszek2006-03-262-65/+158
| | | | | | | | | | | | a problem with listing large number of md(4) devices. Either 'list' or 'query' mode uses XML. Additionally, new functionality was introduced. It's possible to pass multiple devices to -u: # ./mdconfig -l -u md0,md1 Approved by: cognet (mentor)
* Keep proper order of includes. Additionally, sort them. Make functions usedwkoszek2006-03-261-23/+20
| | | | | | in that file static. Approved by: cognet (mentor)
* Implement the 'resetconfig' command.le2006-03-232-4/+45
| | | | | PR: kern/94835 Submitted by: Ulf Lilleengen <lulf@stud.ntnu.no>
* Unbreak WITHOUT_LIBPHREAD/WITHOUT_LIBC_R option support, dependingru2006-03-211-1/+6
| | | | on platform.
* Minor style(9) and KNF elimination as I prepare to fix a bug.imp2006-03-201-14/+8
|
* Extend coverage of the MK_IPX build option to the following:ru2006-03-201-1/+3
| | | | | | | | | | | | | | | | | | | | | - <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option New MK_NCP build option controls: - <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP. [1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-174-8/+16
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Add new modes.sos2006-03-151-0/+4
|
* There is no IFF_POLLING flag anymore.glebius2006-03-121-1/+1
|
* Flush stdout after printing name of created device, so it can be properlypjd2006-03-121-1/+3
| | | | | | | | read when 'ggatec create' is used in backticks or its output is piped to another command. Submitted by: Paul Schenkeveld MFC after: 3 days
* Revert to setting vlan and vlandev parametes synchronously, as soonyar2006-03-091-0/+9
| | | | | | | | | | | | | | | as both have been read from the command line. Still use the callback, but this time only to verify that both vlan and vlandev have been found on the command line. This should allow for control over the relative order of processing parameters, which is needed to satisfy some caveats of the if_vlan driver. E.g., MTU cannot be changed on a vlan interface until it's attached to its parent. PR: bin/94028 Reviewed by: ru MFC after: 3 days
* Explain why the first partition should start at offset 16.pjd2006-03-081-0/+2
| | | | Requested by: hrs
* Add some notes how to properly dump kernel onto gmirror provider.pjd2006-03-081-1/+42
| | | | | Reviewed and corrected by: brueffer MFC after: 3 days
* Revert `proto ip' back to the previous behavior. The kernel side ofume2006-03-052-5/+3
| | | | | | ipfw2 doesn't allow zero as protocol number. MFC after: 3 days
* Fix evil examples - first partition should start at offset 16.pjd2006-03-041-5/+5
| | | | MFC after: 3 days
* Print "clear" and "dump" only once.wkoszek2006-03-031-2/+2
| | | | | | Reviewed by: pjd Approved by: cognet (mentor) MFC after: 3 days
* When there are no mount options, an implicit "rw" should be printed inkeramida2006-03-031-1/+6
| | | | | | the output of ``mount -p''. Approved by: rodrigc
* use standard mode instead of 500 for /sbin/init.luigi2006-02-281-1/+0
| | | | | | | | | | | | | | | As discussed on -current, there is no sensitive info in /sbin/init to prevent reading it from non-privileged users, nor any reason to remove the 'x' bit as the first thing the program does is check the uid and exit if it is not run by root. Instead (and this is why i make the change), mode 500 prevents operation when exporting the partition without -maproot=0 to diskless clients. All previuos releases are affected by the same problem, so a merge to RELENG_6 at least would be appropriate (after proper re@ approval of course).
* Bump a date in .Dd field. Last change brought some new functionality.wkoszek2006-02-271-1/+1
| | | | | | Spotted by: brueffer Approved by: cognet (mentor) MFC after: 1 week
* Extend kldunload(8) functionality and fix minor problems:wkoszek2006-02-273-40/+50
| | | | | | | | | | | | | | | | o multiple modules can be unloaded at once (specified either by id or be module name) o exit with EX_USAGE after usage() is called. o remove unused variables, since we keep command line flags as bitmask, in 'opt'. o 'kldload -n ...' does nothing. Add comment to this options. Additionally: o Update manual page to conform new functionality. o Increace WARNS to 6. Because we can. Approved by: cognet (mentor) MFC after: 1 week
* Big style(9) fix. This commit brings no functional change.wkoszek2006-02-271-53/+56
| | | | | Approved by: cognet (mentor) MFC after: 1 week
* explain what list chan displayssam2006-02-271-4/+23
| | | | MFC after: 1 week
* Avoid moving onto a new line while testing if there is a syslog prioritydwmalone2006-02-271-1/+2
| | | | | | | | | in the buffer. This isn't exactly the patch that Stephen submitted, but is based on one of his suggestions. PR: 93841 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> MFC after: 2 weeks
* It has not been possible to specify a dumpdev in loader.conf since 2002,kris2006-02-271-10/+0
| | | | so don't raise false hopes here.
* o Bump date (thanks ru)imp2006-02-261-18/+11
| | | | | | | | | o Also, fdisk_pc98 appears to support -i, so add it to the man page. o Ditto -v o Change the name from PC partition table maintenance program to NEC PC-98x1 partition table maintenance program, since it is possible to have a DOS MBR formatted disk on FreeBSD/pc98 now (although we don't install any tools for this).
* Fixes and new features:imp2006-02-262-12/+62
| | | | | | | | | | | | | | | | | | o Merge the -I switch from i386 verison to initialize the partition table to use the maximum amount possible for a single FreeBSD table. o Improve warning when the geom method fails (which I think it always will until geom_pc98 is updated to respond to this ctl message) o when writing out the boot sector, we have to write out a minimum of 1024 bytes or the sector size. This is different than the i386 case where we need to write out a minimum of 512 bytes (which is also the minimum sector size). We already handle this difference on reading, but didn't in writing, so attempting to write a new partition table would fail. o Add MID to the -s output, since pc98 users are likely interested in both of these parameters. # I can now initialize disks on my pc98 machine either by -I or by # manually entering the parameters. I don't know if fdisk -B works or not, # since I'm not willing to risk my only working boot disk to test it..
* If we specify: mount -u (update), without specifying anrodrigc2006-02-251-11/+7
| | | | | | | | | | | | additional -r (read-only) flag or or -w (read-write) flag, then assume we want, mount -u -w. When doing a mount update, this will implicitly pass a "noro" mount option down to the VFS layer. vfs_mergeopts() in vfs_mount.c will then remove the "ro" mount option if it exists in the mount options for a mounted file system. This means that "mount -u" works the same as "mount -u -w" and will convert a read-only mount to read-write.
* Update text to reflect that:rodrigc2006-02-251-9/+31
| | | | | | | | - mount(8) now calls the nmount(2) system call directly, not mount(2) - specifying a filesystem type with -t will not automatically invoke an external /sbin/mount_XXXX program....this only happens for certain file system types. For all other file system types, nmount(2) is called directly.
* Revert a minor glitch of revision 1.69keramida2006-02-241-2/+2
| | | | | Submitted by: Andriy Tkachuk <andrit@ukr.net> X-MFC after: RE approval
* cleanup line break formattingsam2006-02-231-95/+95
| | | | MFC after: 1 week
* Use kld(3) for loading geom_md.ko.pjd2006-02-181-20/+3
|
* Add new -E option, which allows to specify location of the mdconfig(8)sobomax2006-02-162-8/+20
| | | | | | utility instead of using default _PATH_MDCONFIG (/sbin/mdconfig). MFC after: 1 week
OpenPOWER on IntegriCloud