pjd
b58db25ebe
- Add genid field to the metadata which will allow to improve reliability a bit.
...
After this change, when component is disconnected because of an I/O error,
it will not be connected and synchronized automatically, it will be logged
as broken and skipped. Autosynchronization can occur, when component is
disconnected (on orphan event) and connected again - there were no I/O
error, so there is no need to not connected the component, but when there were
writes while it wasn't connected, it will be synchronized.
This fix cases, when component is disconnected because of I/O error and can be
connected again and again.
- Bump version number.
- Add version change history.
- Implement backward compatibility mechanism. After this change when metadata in
old version is detected, it is automatically upgraded to the new (current)
version.
2004-12-22 23:09:32 +00:00
pjd
d608d899c2
'forget' command takes device names, not provider names.
2004-12-22 17:50:44 +00:00
ru
5c04306fea
NOINET6 -> NO_INET6
2004-12-21 10:49:29 +00:00
ru
c1a820195c
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
ru
3b01b84505
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
ru
cec60429bb
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
jkoshy
9f8908c9d1
Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
...
describing the changes in device management since FreeBSD 4.0.
Reviewed by: ru
2004-12-17 14:36:02 +00:00
obrien
76068cb7f7
Back the warnings down from 9 to 6, since that is the highest we have. If
...
we added a WARNS 7 level, it shouldn't be assumed this code will pass it.
2004-12-13 15:42:46 +00:00
phk
46cf604d97
Do not pass random bits as mount arguments.
2004-12-12 11:04:52 +00:00
sam
e2397d3524
always display the deftxkey for an 802.11 device if privacy is enabled
2004-12-12 04:32:44 +00:00
sam
476c9d3a01
add a callback mechanism for code that wants to defer committing changes
...
until all the command line args have been processed
Reviewed by: ambrisko
2004-12-11 02:33:33 +00:00
csjp
f104772590
Update the IPFW man page to reflect reality. mpsafenet=0 is no longer
...
required when using ucred based rules.
Pointed out by: seanc (thanks!)
MFC after: 1 month
2004-12-10 02:38:21 +00:00
pjd
3342c80c8f
- Turn off 'fast' mode by default and increase maximum memory to consume
...
when this mode is used.
- Manual page update.
2004-12-09 12:26:47 +00:00
sam
68cd8761a7
Overhaul to cleanup some of the tangled logic that's grown over the years.
...
o break per-address family support out into separate files
o modularize per-address family and functional operations using
a registration mechanism; this permits configuration according
to which files you include (but beware that order of the files
is important to insure backwards compatibility)
o many cleanups to eliminate incestuous behaviour, global variables,
and poor coding practices (still much more to fix)
The original motivation of this work was to support dynamic addition
of functionality based on the interface so we can eliminate the various
little control programs and so that vendors can distribute ifconfig
plugins that support their in-kernel code. That work is still to be
completed.
o Update 802.11 support for all the new net80211 functionality; some
of these operations (e.g. list *) may be better suited in a different
program
2004-12-08 19:18:07 +00:00
phk
96f1216abd
Make sure we don't pass garbage to the kernel.
...
The filesystem is named "ufs" not "ffs".
2004-12-08 11:54:50 +00:00
hmp
8f9a2ff959
Code for automatic name completion in a tcsh(1) environment.
...
PR: docs/44435
Submitted by: Slaven Rezic slaven dot rezic at berlin dot de
2004-12-05 23:44:52 +00:00
maxim
8cd02762f1
o Do not dump core in -W if dumpdates was not readable and ddatev == NULL.
...
PR: bin/69977
o Remove unused ddates_in.
Obtained from: NetBSD
MFC after: 3 weeks
2004-12-02 13:56:53 +00:00
ru
90ea024464
Revert last change. It doesn't break mount(8) reporting
...
but allows a "nodev" in /etc/fstab, etc.
2004-11-30 19:36:40 +00:00
rik
ed61f3b982
Fix typo.
...
Submitted by: Janusz Muc'ka (Defacto) <gdef at cvd dot pl>
MFC after: 3 days
2004-11-29 15:32:31 +00:00
ru
36647362c7
Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).
...
Asked to commit by: phk
2004-11-29 09:35:01 +00:00
ceri
57bed962f3
Clarify that devd will only parse files whose names end in .conf.
...
Prompted by
PR: docs/73668
Submitted by: Dan Pelleg
MFC After: 3 days
2004-11-28 17:44:22 +00:00
das
130bed6547
Don't include sys/user.h merely for its side-effect of recursively
...
including other headers.
2004-11-27 06:51:39 +00:00
le
c2bd948f68
Implement 'setstate' to allow setting the state of drives and subdisks
...
for debugging and emergency purposes.
2004-11-26 12:31:36 +00:00
le
e257308b07
Implement checkparity/rebuildparity.
2004-11-26 12:01:00 +00:00
delphij
8b37a26c64
Avoid comparing pointer against a numerical value by adding a * in
...
front of it.
Reviewed by: phk
2004-11-25 16:14:27 +00:00
phk
762f6433e7
Add first cut at dethaumagizing UFS mounting.
2004-11-25 13:37:19 +00:00
phk
8499c6beb7
Add a convenience function for building nmount iov arrays.
2004-11-25 13:31:46 +00:00
phk
3b5dc375c1
Fix bug: don't let "synco" match "sync"
2004-11-25 13:24:46 +00:00
brooks
e25eb8fca3
Remove a duplicate line from an apparent merge error in rev 1.63.
2004-11-25 01:09:41 +00:00
ru
af2d98bd34
Sync usage() and SYNOPSIS.
2004-11-13 17:26:54 +00:00
ru
aaa7e9e341
Sync usage() with manpage SYNOPSIS and code.
2004-11-13 17:08:52 +00:00
marcel
5673b9b142
For create and migrate, remove the `.Op Fl f' introduced in the
...
previous two commits and combine them with the existing flags
that were already there.
Pointed out by: ru@
2004-11-13 08:01:48 +00:00
marcel
044a6050c4
Add an -f option (for force) to the migrate command. Normally an MBR
...
with unknown partitions is not migrated. By specifying the -f option
migration will happen and unknown partitions will be lost.
2004-11-13 05:44:02 +00:00
marcel
571405ddd6
Add an -f option (for force) to the create command. The -f option
...
allows the user to force the creation of a GPT even when there's a
MBR on the device. The MBR is simply wiped and any partitions
described by it are lost. Without the -f option one cannot create
a GPT when there's a MBR.
2004-11-13 05:13:33 +00:00
philip
2ed3258058
Reflect the cuaa->cuad namechange in documentation.
...
Might as well do them all while I'm at it :-)
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-13 00:09:19 +00:00
marcel
3dc93f0071
Fix a braino: the partition size in the PMBR is in sectors, not bytes
...
and 'mediasz' is in bytes. As it so happens, we define 'last' as the
sector number of the last sector on the medium which also is the size
of the PMBR partition. Therefore, use 'last' instead of 'mediasz'.
Submitted by: Dan Markarian <markarian at apple dot com>
2004-11-12 04:34:46 +00:00
markm
e7bc4658b0
Help Tinderbox and remove mount_autofs
2004-11-10 22:15:04 +00:00
phk
1fcd5aef88
Add 0xbf as new partition id for Solaris.
...
Submitted by: Lawrence.Lee@sun.com
2004-11-10 07:48:29 +00:00
dd
0d0c457d3a
Bump .Dd, replace missing letter, and prefer to use a verb that
...
matches the option letter.
Submitted by: ru
Should know better by now: dd
2004-11-06 14:03:37 +00:00
ru
4a9db323b1
First there was an -m option.
...
Then Peter killed it and made it the default.
Then Brooks and Poul-Henning added it again.
Then Ruslan fixed the manpage...
2004-11-06 13:38:45 +00:00
pjd
d18ec52c75
For file backed md(4) devices output their source file via
...
'mdconfig -l -u <unit>'.
Bump version number, as this change breaks ABI/API.
2004-11-06 13:07:02 +00:00
dd
f2be7415a1
Remove a useless use of cat, strip overzealous punctuation, and
...
clarify some text.
2004-11-06 11:16:56 +00:00
dd
d4e5189342
Parse file mode with setmode(3) for consistency with other programs
...
that do this kind of thing.
2004-11-06 11:03:59 +00:00
dd
1cf63fa355
Update the description of -l to reflect reality. After mdconfig.c
...
1.25, -l without -u only lists the names, so specifying -u does more
than just limit the output to one device.
2004-11-06 10:21:12 +00:00
dd
f289f714cb
If there aren't any devices to list, output nothing instead of an
...
empty line. This is consistent with other utilities.
While I'm here, remove artifacts of the previous list implementation.
2004-11-06 09:56:27 +00:00
pjd
1ea9917110
Note that sysctls documentation is missing.
2004-11-05 22:38:14 +00:00
ceri
f124567fde
Grammatical and spelling improvements.
...
Reviewed by: pjd
2004-11-04 19:12:43 +00:00
phk
19cb45350a
Ups! Forgot to put "sbin" on the commit line:
...
Remove userland vinum(8) stuff.
2004-11-04 12:46:46 +00:00
bms
b272ba950c
Fix markup: .Dv -> .Va
...
Update document dates.
Prodded by: ru
2004-11-04 08:29:28 +00:00
bms
656137db84
Document the fact that blackhole routes normally need to be bound
...
to lo(4) interfaces to have an effect, and that this is not needed
when using IP fast forwarding.
Sponsored by: eXtensible Open Router Project <URL:http://www.xorp.org/ >
MFC after: 3 weeks
2004-11-04 02:15:03 +00:00