summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2008-01-04Strip off trailing '/32' when address type is IPV4_ADDR as isakmpd doesHans-Joerg Hoexer
not accept the trailing '/32'. Diff from Mitja Muzenic <mitja@muzenic.net>, thanks!
2008-01-03Remove text which is incorrect now that 'get bios geometry'Stuart Henderson
has been removed. ok krw
2008-01-02remove unused functionsCharles Longeau
initially from tobias@, and I removed an unused struct too ok moritz@ tobias@
2008-01-01Oops. Missed a couple of unnecessary 'DL_GETPOFFSET()+DL_GETPSIZE() >Kenneth R Westerback
ending_sector' tests and one superfluous editor_countfree(). Rectify a few comments.
2008-01-01Fix display of overlapping partitions to account for larger size and offsetKenneth R Westerback
fields.
2008-01-01get_size() no longer allows DL_GETPSIZE()+DL_GETPOFFSET >Kenneth R Westerback
ending_sector, so no need to check for this condition after calling get_size().
2008-01-01Shorten and simplify code, eliminate ability to assign arbitrary sizesKenneth R Westerback
to existing FS_BOOT and FS_UNUSED partitions via -E, tighten up error verbiage. Feedback from jsing@. ok millert@.
2007-12-31Reset partition size as well as partition offset before asking forKenneth R Westerback
another, valid, set while adding a partition. Lost in r1.119 when we switched to DL_SETP* defines.
2007-12-30Use get_size() in editor_change() instead of hand-rolling identicalKenneth R Westerback
code. Makes the size prompt/helpstring/looping the same for (a)dd/(m)odify/(c)hange.
2007-12-30Kill some now unneeded checks for 'c' partition manipulation. ChangeKenneth R Westerback
the variable 'c' to 'partno' in editor_delete() so all editor_* functions are even more consistant. No functional change.
2007-12-30Simplify code by avoiding manual manipulations of the free spaceKenneth R Westerback
counter. Call edit_countfree() instead. Feedback from otto@. ok millert@ "Go for it" deraadt@
2007-12-30Since 'c' now always covers the entire disk and is always FS_UNUSED,Kenneth R Westerback
there is no point in allowing the edit mode commands (a)add/(n)ame/(m)odify/(d)elete/(c)hange to pretend to fiddle with it. Some already checked for and avoided 'c', but do it in a consistant manner in all cases. ok millert@ otto@ marco@
2007-12-30do not repeat "usage:" twiceIgor Sobrado
ok jmc@
2007-12-30each usage requires its own lineIgor Sobrado
written with improvements by jmc@ ok jmc@
2007-12-30usage messages should have the form "usage: command [arguments]"Igor Sobrado
ok jmc@
2007-12-30use the same argument name in synopsis and usage; lowercase "usage:"Igor Sobrado
ok jmc@
2007-12-30add missing space between argument names and ellipsisIgor Sobrado
ok jmc@
2007-12-30sort flags in both synopsis and usage, file not commited in last diffIgor Sobrado
ok jmc@
2007-12-30sort flags in both synopsis and usageIgor Sobrado
ok jmc@
2007-12-30Bring editor_add() code into line with the other editor_* functions.Kenneth R Westerback
The only visible change is allowing only one chance to specify a valid partition letter before returning to the main edit prompt. "This looks OK to me" millert@
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
"warning: field width is not type int" "looks good" otto@
2007-12-25Some cosmetic code reorg to make things a bit more textuallyKenneth R Westerback
consistant. No functional change.
2007-12-24Use zero_partitions() to implement the '-E' command 'd *', as itKenneth R Westerback
already is used to implement 'z'. Vocal support for both commands so keep both for now. 'sounds good' deraadt@.
2007-12-23Setting p_fstype to the number of free sectors can't be right. Instead, setKenneth R Westerback
the partition size with DL_SETPSIZE(pp, *freep).
2007-12-16fix ffs2 case: fs_sblockloc's unit is disk sectors, not fragments;Otto Moerbeek
ok millert@
2007-12-16add missing arguments to "-b" and "-s"Igor Sobrado
ok jmc@
2007-12-14Bring in probing for protocols that was missing; ok claudio reykTheo de Raadt
2007-12-13the mib[] array will be modified by sysctl_inet, move the *CTL_STATSReyk Floeter
checks after the call for this function. now it works (again) to skip printing the ip/tcp/udp/icmp stats in sysctl output, use netstat instead.
2007-12-13implement sysctls to report IP, TCP, UDP, and ICMP statistics andReyk Floeter
change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@
2007-12-09remove unused functionsCharles Longeau
initially from tobias@, but I removed some other unused one ok martin@ tobias@
2007-12-09update pedro's email address, at his request;Jason McIntyre
2007-12-09provide mount_ntfs(8) on alpha, it works out of the box for readingMartin Reindl
Windows NT disks ok deraadt@ manpage bits from jmc@
2007-12-05remove unused functionsCharles Longeau
from tobias@ ok mcbride@ tobias@
2007-11-27Add a few missing device entries.Miod Vallat
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-27fix format stringsCharles Longeau
ok mpf@
2007-11-27fix format stringsCharles Longeau
ok mpf@ henning@
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaTheo de Raadt
2007-11-26revised diff that handles the no mfs parts correctlyTed Unangst
2007-11-26fix SEE ALSO; from deraadtJason McIntyre
2007-11-25when running as newfs, there is no argv[1].. backout previousTheo de Raadt
2007-11-25Make modload use /dev/ksyms as a kernel file by default.Mike Belopuhov
Idea from form@, suggestions from miod@. ok miod
2007-11-25tweak previous;Jason McIntyre
2007-11-25Build fdisk(8) on all architectures, since it is minimally useful to viewTheo de Raadt
the MBR... and install the man page in the MI location.
2007-11-25document MBR spoofing, very minimallyTheo de Raadt
2007-11-25Iruata Souza sent a diff that fixes weird occurences when mounting withTed Unangst
a relative path: use realpath to only mount with absolute names. ok deraadt thib
2007-11-22Factor out the virtual host portion of carp into a separate structMarco Pfatschbacher
that is kept in a list per carp interface. This is the huge first step necessary to make carp load balancing nice and easy. One carp interface can now contain up to 32 virtual host instances. This doesn't do anything useful yet, but here is how an ifconfig for multiple entries now looks like: # ifconfig carp2 carpnodes 5:0,6:100 192.168.5.88 carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:5e:00:01:05 carp: carpdev sis0 advbase 1 state MASTER vhid 5 advskew 0 state BACKUP vhid 6 advskew 100 groups: carp inet 192.168.5.88 netmask 0xffffff00 broadcast 192.168.5.255 OK mcbride@
2007-11-21back out previous: henning says it's wrong;Jason McIntyre
2007-11-21note that -q is the default if no other options are specified; ok dlgJason McIntyre
2007-11-19put the SIGINFO blurb in a saner place;Jason McIntyre