Commit Graph

4979 Commits

Author SHA1 Message Date
pooka e9233abdae Convert to the new mount world order with parseargs. 2008-09-04 12:07:58 +00:00
dholland a28347f962 Document -v. PR 39441 from Stathis Kamperis. Bump date. 2008-08-31 23:40:19 +00:00
dholland 3f944a915e Remove trailing whitespace. Noted in PR 39440 by Stathis Kamperis. 2008-08-31 23:37:45 +00:00
dholland 947d35bd35 Don't dump core if given no arguments. Fixes PR 39440 from Stathis Kamperis
(but with a different patch).
2008-08-31 23:35:04 +00:00
gdt 4a8ce74d3f Add an explanation of why one would want to use -x/-X, after
discussion with bouyer@.
2008-08-30 15:07:40 +00:00
dogcow fefef6828c Make it compile. (HI BOUYER!) 2008-08-30 14:07:32 +00:00
bouyer a8ac39af81 Add fss(4) snapshot support to fsck_ffs(8) (via -x or -X options, like
dump(8)). This allows fsck_ffs -n to work on a snapshot of a R/W mounted
filesystem, and avoid errors related to filesystem activity.
2008-08-30 10:46:16 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
wiz 133e2f4217 Drop trailing whitespace. 2008-08-28 21:24:30 +00:00
tsutsui 00c798e9e3 Fix some spelling. 2008-08-28 16:29:24 +00:00
oster 6fe654d47f Bump date (before wizd). 2008-08-26 21:08:08 +00:00
oster a252344f99 Add description of some of the things 'raidctl -u' doesn't do. 2008-08-26 21:06:55 +00:00
dholland 992b45040f Add two missing SMART attributes; PR 37967 from Henry Bent. Also add a
third I found while digging around, and fix one whose name was typoed.
2008-08-25 00:45:56 +00:00
dholland 79cfdc5aec Clarify message that says the map isn't shown when -a is given.
Resolves PR 32436 from Igor Sobrado based on a suggestion by
Dieter Roelants, except I expanded the message further.
2008-08-25 00:14:46 +00:00
oster 7cb3f2efd3 We have the notion of an 'absent' disk, so use that in another example. 2008-08-19 17:38:46 +00:00
martti 8f3ae7f144 s/If/It/ 2008-08-13 10:00:10 +00:00
simonb 89943600ac We don't need to dump WAPBL log files - don't dump files with SF_LOG
flag set, and document this.
2008-08-12 13:28:35 +00:00
christos b6f6f7a746 teach this about wedges. 2008-08-11 10:56:54 +00:00
simonb cb6ddf15e6 Remove adding -g to CFLAGS and LDFLAGS. Ancient debug bogon? 2008-08-10 08:06:23 +00:00
wiz 36539584db Fix Dd argument and remove superfluous empty line. 2008-08-08 22:48:24 +00:00
reinoud 40cac362ad Update the mount_udf(8) manpage to include the write support. 2008-08-08 18:22:01 +00:00
pooka 99fed7264c Refactor mount utilities to provide a mount_fs_parseargs() routine.
Use this routine both in mount_fs and rump_fs to provide equivalent
command line parameters and therefore usage interchangeability.
While doing this, combine some common mountgoop to mountprog.h
2008-08-05 20:57:45 +00:00
wiz b2ac773421 Add missing word and bump date for previous. 2008-08-04 07:53:07 +00:00
simonb cf67ff2e05 Mention "-o log". 2008-08-04 07:49:57 +00:00
lukem b4336abb57 Revert previous accidental commit of debug statements 2008-08-03 07:50:54 +00:00
lukem f26df72744 Avoid freeing memory in do_file() since it's called recursively 2008-08-03 07:49:46 +00:00
dyoung 83dfe33e66 is@ pointed out that I set the phase and range of a sockaddr_at
without subsequently doing anything with it, so commit_address()
works with an address with phase == 0.  phase == 0 is not allowed,
hence

random84# ifconfig nfe0 atalk 3.14
ifconfig: SIOCAIFADDR: Invalid argument

Solution: copy the new sockaddr_at to a temporary input environment,
and pass that environment to commit_address().  I may as well copy
the new sockaddr_at to the output environment, while I am at it.
2008-08-01 22:44:17 +00:00
dyoung 10b425b514 Extract common code. Create subroutine paddr_prefix_size(). 2008-08-01 22:29:13 +00:00
dyoung 4668b21b50 Always initialize the union of sockaddrs. I used to initialize it
only in the AF_UNSPEC/AF_INET/AF_INET6 cases.  Maybe this will fix
the AF_APPLETALK problem that is@ reports:

random84# ifconfig nfe0 atalk 3.14
ifconfig: SIOCAIFADDR: Invalid argument
2008-08-01 18:05:56 +00:00
simonb 8e5470fdb2 Handle 't' suffix for terabytes for number arguments. 2008-08-01 15:32:29 +00:00
simonb fbdf47e4b0 Just use printf(...) instead of fprintf(stdout, ...). 2008-07-31 15:55:41 +00:00
simonb 8afa0436e9 Pretty-print the journal log size with humanize_number(3). 2008-07-31 15:50:29 +00:00
simonb 36d65f1138 Merge the simonb-wapbl branch. From the original branch commit:
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.
2008-07-31 05:38:04 +00:00
pooka 8188a28971 Split option parsing into its own routine so that it can be used
by other consumers as well.
2008-07-29 16:05:05 +00:00
pooka 97f4be43e9 Install mount argument structure header just like every other file system. 2008-07-28 12:42:12 +00:00
joerg d249112fae Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
reinoud 6797eb00e2 Add UDF 2.50 metadata partition creation to newfs_udf(8). It allows a
percentage to the volume space to be pre-allocated for metadata on format.
Implementations that can't extent the metadata partitions can thus use the
discs too.

Note that the kernel UDF code can't write to UDF 2.50 metadata partitions
yet; this is a work-in-progress.

Also note that the default formatting version choice is still version 2.01
i.e. without the metadata partition.
2008-07-26 20:20:56 +00:00
christos 1a43d7316a PR/39525: Joachim Schueth, Frederik Sausmikat:
cgd inadvertently encrypts blkno eight times to generate IV

Add "encblkno1" IV type to encrypt only once, rename old "encblkno" to
"encblkno8" for clarity, and make "encblkno" an alias for "encblkno8"
for backward compatibility.
2008-07-24 19:07:36 +00:00
matthias f0f728186b Do not crash when boot->FSNext contains garbage (i.e. -1). 2008-07-24 14:23:16 +00:00
dholland 25360444b2 Adjust this to not need -Wno-pointer-sign. 2008-07-24 06:13:21 +00:00
dholland e3b90707f6 bzero the passphrase before freeing it, to discourage chill attacks. 2008-07-24 05:35:59 +00:00
dholland 2c1061aba6 Adjust this to not need -Wno-pointer-sign. 2008-07-24 05:32:45 +00:00
dholland 8bc7b72389 Fix this to not need -Wno-pointer-sign. Make it pass -Wsign-compare too,
while I'm at it.
2008-07-24 05:21:12 +00:00
lukem f0bccc0f62 Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 13:24:38 +00:00
gmcgarry 8d54263568 Add HAVE_PCC tests for -Wno-pointer-sign. 2008-07-21 11:38:44 +00:00
lukem 6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
drochner 1914237fbe include <stdlib.h> explicitely, for exit(), getprogname() etc.
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
dyoung 723da104d6 Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
dyoung 95a02c3401 Make usage() static. 2008-07-15 21:19:24 +00:00
dyoung 3e89e7b09b Only describe flags -L and -m in the usage if they are available.
That helps me get rid of some conditional compilation (INET6) in
ifconfig.

Let each protocol/feature-module print its own usage, so that the
ifconfig usage reflects the modules that are actually compiled-in.

Write usage information for carp(4) options.
2008-07-15 20:56:13 +00:00