summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove old cxconfig utility and connect new sconfig utility to the build.imp2003-12-034-1104/+1
| | | | | | | | | | The sconfig utility supports more than just cx boards, and those drivers will make their way into FreeBSD shortly (maybe before 5.2). Confirmed that this doesn't break the build. Submitted by: Roman Kurakin <rik@cronyx.ru> Approved by: re@ <scottl>
* + Patch is not my friend, but an evil toadimp2003-12-033-1597/+0
| | | | | | | | | + Patch is not my friend, but an evil toad Remove redunant copy of each of these files that patch appended to them. # Still not connected to the build. Approved by: re@ <scottl>
* New cx driver part 2: Commit the new userland pieces.imp2003-12-033-0/+3197
| | | | | | | | | This is the new cronyx serial control program. # A future commit will remove the old driver/userland pieces and connect things # to the build. Submitted by: Roamn Kurakin <rik@cronyx.ru>
* Reconnect ipfstat, ipnat, and ipftest to the build now that if_xnamebrooks2003-12-021-1/+3
| | | | | | support is enabled. Approved by: re (scottl)
* Include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriatesam2003-12-021-1/+8
| | | | | | | | | | | | code is compiled in to support the O_IPSEC operator. Previously no support was included and ipsec rules were always matching. Note that we do not return an error when an ipsec rule is added and the kernel does not have IPsec support compiled in; this is done intentionally but we may want to revisit this (document this in the man page). PR: 58899 Submitted by: Bjoern A. Zeeb Approved by: re (rwatson)
* I forgot about the code freeze, so back this out.truckman2003-12-011-2/+2
|
* Swap avgfilesize and avgfpdir order to give better column alignment.truckman2003-12-011-2/+2
|
* Update maintainer line. mbr has been maintainer for at least the lastmurray2003-11-301-1/+1
| | | | | | 6 months. Approved by: re (murray)
* Clarify that the encrypted device is called foo.bde and mention thatphk2003-11-271-0/+9
| | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@
* Fix whitespace error in previous commit.wes2003-11-271-1/+1
| | | | Approved by: RE@ (Robert Watson)
* Correct iov_len values passed to nmount(2) syscall. More accuratekan2003-11-241-2/+2
| | | | | | | | parameter checking introduced in vfs_mount.c r1.113 rejects them otherwise. Submitted by: R. Imura <imura at ryu16 dot org> Approved by: re (scottl,rwatson)
* Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not Readywes2003-11-231-1/+1
| | | | | | | for Prime Time there. Submitted by: Xin LI <delphij@frontfree.net> Approved by: RE@ (John, Scott)
* Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options).alfred2003-11-222-259/+26
| | | | | | Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re
* Bring in manpage for idmapd and change domain to @FreeBSD.org.alfred2003-11-222-2/+64
| | | | Approved by: re
* Make init statically linked by default. It's not worth the pain of havinggordon2003-11-191-0/+2
| | | | | | a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb)
* Force a staticly linked /bin and /sbin for ia64. The necessary changesmarcel2003-11-191-1/+1
| | | | | | | | | | | | to gcc have not been made for ia64, which means that executables still have /usr/libexec/ld-elf.so.1 as the dynamic linker. This simply does not work if /usr is a seperate filesystem not mounted when the kernel tries to execute init(8). Note that this is a temporary fix until a new gcc has been imported that does have the required changes. Approved: re@
* Document that the live dump command (`dump -L') creates its snapshotmckusick2003-11-181-1/+12
| | | | | | | in the .snap directory in the root of the filesystem being dumped. Document that if the .snap directory is missing that it must be created manually and that it should be owned by user root and group operator and set to mode 770 before a live dump can be run.
* Add an entry to the BUGS section indicating that Vinum cannot currentlyrwatson2003-11-171-0/+7
| | | | | | be used on devices with a block size other than DEV_BSIZE (512), which specifically includes being unable to run on a swap-backed md device. Swap-backed md devices use a 4k block size.
* Don't attempt to make devices if we're using devfs. Thisrwatson2003-11-171-5/+10
| | | | | | | substantially cleans up the output when running the vinum management tool, and also makes it work better. Long sustained silence from: grog
* Remove the BUGS section introduced in rev 1.11 now that the problemdas2003-11-171-15/+0
| | | | has been addressed.
* Reimplement nologin(8) as a C program. This allows us to staticallydas2003-11-173-40/+29
| | | | | | | link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH. Suggested by: rwatson
* Print the dirpref avgfilesize and avgfpdir parameters.truckman2003-11-171-0/+2
| | | | MFC after: 2 weeks
* Document nologin(8) as being insecure in conjunction with a dynamicdas2003-11-171-0/+15
| | | | root and suggest alternatives.
* If the unmount by file system ID fails, don't warn before retryingiedowse2003-11-161-1/+4
| | | | | | | a non-fsid unmount if the file system ID is all zeros. This is a temporary workaround for warnings that occur in the vfs.usermount=1 case because non-root users get a zeroed filesystem ID. I have a more complete fix in the works, but I won't get it done for 5.2.
* Convert the live dump command (`dump -L') to use mksnap_ffs insteadmckusick2003-11-161-12/+8
| | | | | | | | | | | | | | | of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps. Note that dump no longer tries to create the snapshot in the root of the filesystem, but rather in a .snap directory in the root of the filesystem. The reason is that the operator is usually not permitted to write into the root of the filesystem. The newfs command and background fsck have both been modified to create a .snap directory in the root of the filesystem, but if neither of these have been run, then the .snap directory must be created manually by the superuser before a live dump can be run. The .snap directory should be owned by user root and group operator and set to mode 770.
* Add the -E command line option to force error conditions for testing.wes2003-11-163-2/+18
| | | | Sponsord by: St. Bernard Software
* Catch and report on filesystems that were interrupted during newfs,wes2003-11-161-0/+12
| | | | | sporting the new 'BAD' magic number. Exit with a unique error code (11) so callers who care about this can respond appropriately.
* Write the UFS2 superblock with a 'BAD' magic number at the beginningwes2003-11-161-1/+4
| | | | | | | | of newfs, to signify the newfs operation has not yet completed. Re- write the superblock with the correct magic number once all of the cylinder groups have been created to show the operation has finished. Sponsored by: St. Bernard Software
* - Add GPT header/table recovery commandkensmith2003-11-162-4/+92
| | | | | | - Minor related cleanup in add command Approved by: marcel
* - Provide default values for LABELOFFSET and LABELSECTOR sokensmith2003-11-161-0/+11
| | | | | | it compiles on all architectures. Approved by: marcel
* Change the default for binaries in /bin and /sbin from statically togordon2003-11-161-1/+1
| | | | | | | | | dynamically linked. This has been a long time coming with the move of critical libraries from /usr/lib to /lib. If you don't feel comfortable with dynamically linked binaries in your root partition, now is the time to define NO_DYNAMICROOT in your make.conf. Approved by: re
* University of Michigan's Citi NFSv4 userland client code.alfred2003-11-146-0/+1687
| | | | Submitted by: Jim Rees <rees@umich.edu>
* Make this WARNS=2 clean byjohan2003-11-142-20/+22
| | | | | | - using (intmax_t) and %j instead of %q Tested by: make universe
* Make this WARNS=2 clean byjohan2003-11-143-5/+5
| | | | | | | | | | - using (intmax_t) and %j - giving a non-empty format string to msg() Include <stdint.h> directly instead of depending on <inttypes.h> to do it. Tested by: make universe
* Warn about partitions that would overlap with the master boot record, anddes2003-11-131-0/+5
| | | | | | if the user agrees, move them out one track. MFC after: 7 days
* Make this WARNS=2 clean byjohan2003-11-132-2/+1
| | | | | | | | - constifying copyright PR: 39867 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* Make this WARNS=2 clean byjohan2003-11-133-8/+10
| | | | | | | | | | - #include <timeconv.h> for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866) PR: 39866 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* - Add some information about how init, securelevel, and jailskensmith2003-11-111-1/+17
| | | | | | | | interact with each other. - Minor markup fix (.Dq -> .Va for a variable) Reviewed by: rwatson Approved by: blackend (mentor)
* Add a describtion for the '-d' flagbrueffer2003-11-101-1/+3
| | | | | | | | While I'm here, add a missing comma PR: 41787 Obtained from: OpenBSD MFC after: 5 days
* enable aes-xcbc-mac and aes-ctr, again.ume2003-11-101-3/+3
|
* Alphabetization braino.des2003-11-071-1/+1
| | | | Pointed out by: johan
* Whitespace cleanup.des2003-11-071-9/+9
|
* Add a command-line option to format output for human readability.des2003-11-072-13/+25
| | | | | Currently, the only effect it has is to print some (but not all) numbers using thousands separators.
* - add explanation of what an active file system iskensmith2003-11-051-2/+14
| | | | | | | | - explain the reason for permitting 32 read errors for a dump PR: docs/35602 and docs/35607 Reviewed by: jhb Approved by: blackend (mentor)
* Make sure argv[x] exists before using it.johan2003-11-051-9/+15
| | | | | | | | PR: 56696 Reported by: Igor Truszkowski <igort@intergate.pl> Submitted by: maxim@ Approved by: sos@ MFC after: 2 weeks
* Make this WARNS=6 clean by:johan2003-11-052-4/+14
| | | | | | | | | | | - declaring 'mode2str' as returning a 'const char *' - prototyping all function - rename the argument 'version' to 'ver', not to shadow the now prototyped function 'version'. Also mark it as WARNS?= 6 clean to try to keep it clean. Tested by: make universe (including amd64)
* - do hexdump on send. set length field properlyume2003-11-056-920/+1220
| | | | | | | | | | | | | | | | | - check for encryption/authentication key together with algorithm. - warned if a deprecated encryption algorithm (that includes "simple") is specified. - changed the syntax how to define a policy of a ICMPv6 type and/or a code, like spdadd ::/0 ::/0 icmp6 134,0 -P out none; - random cleanup in parser. - use yyfatal, or return -1 after yyerror. - deal with strdup() failure. - permit scope notation in policy string (-P esp/tunnel/foo%scope-bar%scope/use) - simplify /prefix and [port]. - g/c some unused symbols. Obtained from: KAME
* Add support for multibyte character conversions.scottl2003-11-053-18/+86
| | | | Submitted by: imura@ryu16.org
* Use 'const' in the copyright stamp, this is done in other utilities.trhodes2003-11-041-1/+2
| | | | | | Return linker.h to the includes list. No objection from: wollman (for the copyright)
* In mapdirs(), do not use the `dp' inode pointer after searchdir()iedowse2003-11-041-3/+3
| | | | | | | | | | | | | | has been called, since it points to a shared inode buffer that may be overwritten. The two cases where `dp' was used incorrectly appear to have been overlooked when "nodump" inheritance was first added in revision 1.12. This is reported to correct propagation of the nodump flag on directories that are larger than one block in size. PR: bin/58912 Submitted by: Volker Paepcke <vpaepcke@incore.de> MFC after: 1 week
OpenPOWER on IntegriCloud