summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Be a little clearer about the relationship between these two.nik2000-11-122-2/+12
| | | | | PR: docs/20067 Submitted by: Takayuki Hagihara
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-1015-190/+206
|
* Remove the block/char device distinction. badsect only worked on bdevs,adrian2000-11-091-7/+1
| | | | | | | and then mapped /dev/foo into /dev/rfoo to get to the character device. This isn't needed anymore. Reviewed by: ps
* Update usage().obrien2000-11-081-1/+1
| | | | Submitted by: nectar
* Build with -DUSE_INET6 so that we can actually use the IPv6 support innectar2000-10-314-4/+4
| | | | | | IPFilter 3.4.x. Approved by: darrenr, guido
* Add support for virgin disklabelsjkh2000-10-314-68/+298
| | | | Submitted by: dillon
* IPFW does not discard *any* IP fragments with OFF=1, only TCP ones.ru2000-10-301-3/+6
|
* .Xr to mount_ext2fs, mount_hpfs, mount_linprocfs, mount_nwfs, andnik2000-10-291-0/+5
| | | | | | | mount_std. PR: docs/20369 Submitted by: bmah
* Remove obsolete /dev/drum referencesjedgar2000-10-291-1/+0
| | | | Reviewed by: alex, asmodai, billf
* Cast block number to off_t to avoid possible overflow bugs.jwd2000-10-241-1/+1
| | | | Pointed out by: Bruce Evans <bde@zeta.org.au>
* The write combining code in revision 1.30 needs a few additionaljwd2000-10-241-12/+25
| | | | | | | | | | touch ups. The cache needs to be flushed against block reads, and a final flush at process termination to force the backup superblocks to disk. I believe this will allow 'make release' to complete. Submitted by: Tor.Egge@fast.no
* Give correct results for SYSCTL_LONG arrays when sizeof(int) != sizeof(long)gallatin2000-10-231-2/+2
| | | | This fixes unaligned access on alpha for, eg, sysctl kern.ipc.mbtypes.
* Work much harder at obtaining a correct device node. If what devname(3)des2000-10-171-31/+89
| | | | | | | | | | | | returns doesn't exist, or doesn't match the desired device, fall back to scanning /dev for a matching node, and as a last resort, if that fails, try to create the node ourselves as /dev/dump. Add comments to several variables and functions. Clean up syslog(3) usage; use %m instead of strerror(3). Other minor cleanup.
* Implement simple write combining for newfs - this is particularly usefulpeter2000-10-171-0/+37
| | | | | | for large scsi disks with WCE = 0. This yields around a 7 times speedup on elapsed newfs time on test disks here. 64k clusters seems to be the sweet spot for scsi disks using our present drivers.
* Pre-IFS commit. Commit IFS-aware fsck and mount utilities.adrian2000-10-1410-302/+37
| | | | | | | | | | | | | | | | | | | mount_ifs: repocopy of sbin/mount, with most of the intelligence ripped out and "ufs" replaced with "ifs" in the right places. It will only mount a single filesystem, rather than the -t <type> magic that our real mount does. fsck_ifs: repocopy of sbin/fsck_ffs, but the directory structure stuff (pass2 and some refcount checks) has been #ifdef'ed out. src/sbin/Makefile: Build these two utilities There is probably cruft code left in both which can be removed at a later date, especially in mount_ifs, but I trust that people will not try mount_ifs -a .. Note: there are no man pages installed for these two commands as I haven't actually written them yet.
* Allow for IP_FW_ADD to be used in getsockopt(2) incarnation asru2000-10-121-3/+3
| | | | | | | well, in which case return the rule number back into userland. PR: bin/18351 Reviewed by: archie, luigi
* Reset globals for every new command read from preprocessed file.ru2000-10-111-12/+14
|
* Only interpret the last command line argument as a file toru2000-10-112-5/+7
| | | | | | be preprocessed if it is specified as an absolute pathname. PR: bin/16179
* We want the FreeBSD ID as the RCS ID, not the NetBSD one.obrien2000-10-101-4/+3
|
* Fixed breakage of CFLAGS and misplacement of $FreeBSD$ in previous commit.bde2000-10-101-2/+1
|
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-103-1/+6
| | | | <time.h>).
* .. fsck wrappers aftercommit #1: I don't know how these files got lost,adrian2000-10-092-0/+467
| | | | but they did. Oops.
* Reviewed by: rwatson, bpadrian2000-10-0927-8134/+1010
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
* Reviewed by: rwatson, bpadrian2000-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetbSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
* .. forgot a ; at the end of the $FreeBSD$ string. How did I actually forgetadrian2000-10-092-2/+2
| | | | | | this? :-) It builds again.
* Some missed magic in the fsck wrapper commit which is required by otheradrian2000-10-096-1264/+1384
| | | | | | | | | | | | | utilities which use bits of fsck_ffs - namely quotacheck and fsdb. In depth, utilities.c contains blockcheck() which is needed by both, but also a slew of routines which require bits of the FFS code to be compiled in. This breaks the fs-specific and non-fs-specific code up into two files (well, blockcheck() is the only routine in utilities.c, that'll change later) which makes building fsck_ffs, quotacheck and fsdb work yet again. (You won't find commits to fsdb and quotacheck here before I haven't committed the post-fsck-wrappers version of them yet.)
* Reviewed by: rwatson, bpadrian2000-10-0917-359/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD-current source tree The beginnings of the fsck wrappers stuff from NetBSD. This particular commit brings a newly repo-copied sbin/fsck_ffs/ (from sbin/fsck/) into fsck wrappers mode. A quick overview (the code reflects this): * Documentation changed to reflect fsck_ffs instead of fsck * Simply acts on a single filesystem, doesn't try to do any multiple filesystem magic - this is done by the fsck wrappers now And then specific to fsck_ffs: * link to /sbin/fsck_4.2bsd and /sbin/fsck_ufs. This is because right now the filesystem is of type ufs not ffs, and that during autodetection the labeltype rather than the VFS type is used - this is because when doing an autodetection of filesystem type in the fsck wrapper program, it does not have any link between label type (4.2bsd, vinum, etc) and VFS string. Note that this shouldn't break a build since the required buildworld Makefile magic and import of the fsck wrapper code into src/sbin/fsck/ will happen in a seperate commit.
* Don't overflow our fd_set. This is not a full sync with KAME because therekris2000-10-081-9/+11
| | | | | | are a whole lot of other changes which may not be suitable for us. Obtained from: KAME
* Format string fix.kris2000-10-063-3/+3
|
* Convert this Makefile to the usual style.ru2000-10-061-3/+3
|
* Document the latest firewall knobs.ru2000-10-062-32/+91
|
* Respect the protocol when looking the port up by service name.ru2000-10-041-15/+22
| | | | PR: 21742
* Do not force argument to ``ipid'' modifier be in hex, andru2000-10-031-9/+11
| | | | accept value of zero as valid for IP Identification field.
* Fixed the printing of TCP flags.ru2000-10-031-1/+1
|
* Add new fields for more granularity:billf2000-10-021-6/+169
| | | | | | | IP: version, tos, ttl, len, id TCP: seq#, ack#, window size Reviewed by: silence on freebsd-{net,ipfw}
* - Documented the host/bits syntax for destination argument.ru2000-09-291-3/+13
| | | | - Documented that netmask could be specified with third argument.
* Interpret the address argument as network-type address for `destination'ru2000-09-291-13/+12
| | | | | | argument only. Before that, the `route add default gateway' first tried the `gateway' as network address and passed its name to getnetbyname(3), which in the BIND resolution case does the T_PTR lookup on that name.
* Fixed the case where argument of 0.0.0.0/8 would match the default route.ru2000-09-291-4/+4
|
* Document that net.inet.ip.fw.one_pass only affects dummynet(4).ru2000-09-291-3/+5
| | | | Noticed by: Peter Jeremy<peter.jeremy@alcatel.com.au>
* Remove superfluous code:des2000-09-281-78/+29
| | | | | | | | | | | 1) use devname() instead of searching /dev for the dump device 2) use fopen() instead of open() so we don't need to differentiate between compressing and not compressing when writing the core file or the kernel (zopen() returns a FILE *, so we just use fwrite() in both cases) There should be no functional changes.
* Add 'setupstate' to RAID-10 example.grog2000-09-231-2/+7
| | | | Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>
* Adjust 'camcontrol negotiate -v' so it prints out the initiator ID from theken2000-09-171-0/+2
| | | | Path Inquiry CCB.
* Turn dkcksum() into an __inline function.phk2000-09-167-120/+5
| | | | Change its type to u_int_16_t.
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
* Fix sign extension.mjacob2000-09-121-1/+1
| | | | | PR: 21232 Obtained from: Christian Weisgerber <naddy@mips.inka.de>
* Clarify the handling of the securelevel.sheldonh2000-09-121-8/+13
| | | | PR: 20974
* Fix comment to match previous commit, as per bde.des2000-09-071-1/+1
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Don't warn about unknown mount types, since they most likely simply meandes2000-09-061-3/+1
| | | | | that the right module hasn't been loaded yet (and mount(8) will do so when necessary).
* /modules -> /boot/kernelache2000-09-061-2/+2
|
OpenPOWER on IntegriCloud