/[base]/head/sbin/mdconfig/mdconfig.8
ViewVC logotype

Log of /head/sbin/mdconfig/mdconfig.8

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 367420 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 6 15:55:13 2020 UTC (3 years, 7 months ago) by 0mp
File length: 9339 byte(s)
Diff to previous 367419
Use Cm macros instead of Ar when referring to a specific memory disk type

MFC after:	3 days


Revision 367419 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 6 15:38:51 2020 UTC (3 years, 7 months ago) by 0mp
File length: 9339 byte(s)
Diff to previous 342297
Fix a typo and remove Xr's to vn(4) and vnconfig(4)

"mandoc -Tlint" complained about the Xr to vnconfig, which was removed in
r238202.  I am not sure but maybe it's time to do the same to vn(4).

MFC after:	2 weeks


Revision 342297 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 21 08:15:31 2018 UTC (5 years, 6 months ago) by bde
File length: 9329 byte(s)
Diff to previous 322969
Use VOP_ADVISE() with POSIX_FADV_DONTNEED instead of IO_DIRECT to
implement not double-caching for reads from vnode-backed md devices.
Use VOP_ADVISE() similarly instead of !IO_DIRECT unsimilarly for writes.
Add a "cache" option to mdconfig to allow changing the default of not
caching.

This depends on a recent commit to fix VOP_ADVISE().  A previous version
had optimizations for sequential i/o's (merge the i/o's and only uncache
for discontiguous i/o's and for full blocks), but optimizations and
knowledge of block boundaries belong in VOP_ADVISE().  Read-ahead should
also be handled better, by supporting it in md and discarding it in
VOP_ADVISE().

POSIX_FADV_DONTNEED is ignored by zfs, but so is IO_DIRECT.

POSIX_FADV_DONTNEED works better than IO_DIRECT if it is not ignored,
since it only discards from the buffer cache immediately, while
IO_DIRECT also discards from the page cache immediately.

IO_DIRECT was not used for writes since it was claimed to be too slow,
but most of the slowness for writes is from doing them synchronously by
default.  Non-synchronous writes still deadlock in many cases.

IO_DIRECT only has a special implementation for ffs reads with DIRECTIO
configured.  Otherwise, if it is not ignored than it uses the buffer and
page caches normally except for discarding everything after each i/o,
and then it has much the same overheads as POSIX_FADV_DONTNEED.  The
overheads for reading with ffs and DIRECTIO were similar in tests of md.

Reviewed by:	kib


Revision 322969 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 28 15:54:07 2017 UTC (6 years, 10 months ago) by sobomax
File length: 8480 byte(s)
Diff to previous 319358
Add ability to label md(4) devices.

This feature comes from the fact that we rely memory-backed md(4)
in our build process heavily. However, if the build goes haywire
the allocated resources (i.e. swap and memory-backed md(4)'s) need
to be purged. It is extremely useful to have ability to attach
arbitrary labels to each of the virtual disks so that they can
be identified and GC'ed if neecessary.

MFC after:	4 weeks
Differential Revision:	https://reviews.freebsd.org/D10457


Revision 319358 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 31 21:18:11 2017 UTC (7 years, 1 month ago) by stevek
File length: 8302 byte(s)
Diff to previous 289113
Add MD_VERIFY option to enable O_VERIFY in open for vnode type.
Add -o [no]verify option to mdconfig (and document in man page.)
Implement GEOM attribute MNT::verified to ask md if the backing vnode is
  verified.
Check for MNT::verified in cd9660 mount to flag the mount as MNT_VERIFIED if
  the underlying device has been verified.

Reviewed by:	rwatson
Approved by:	sjg (mentor)
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D2902


Revision 289113 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 10 09:37:31 2015 UTC (8 years, 8 months ago) by trasz
File length: 7982 byte(s)
Diff to previous 287396
Add 'p' postfix to mdconfig(8).

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


Revision 287396 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 2 14:08:43 2015 UTC (8 years, 10 months ago) by trasz
File length: 7966 byte(s)
Diff to previous 286361
It's 2015, and some people are still trying to use fdisk and then
go asking what debug flags to set for GEOM to make it work.  Advice
them to use gpart(8) instead.

Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.

Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3315


Revision 286361 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 6 07:49:34 2015 UTC (8 years, 10 months ago) by trasz
File length: 7983 byte(s)
Diff to previous 286360
Whoops, wrong flag.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation


Revision 286360 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 6 07:47:13 2015 UTC (8 years, 10 months ago) by trasz
File length: 7983 byte(s)
Diff to previous 267667
Tweak mdconfig(8) manual page, in particular revise the EXAMPLES
section.  This removes stuff that doesn't really belong there,
and simplifies examples for the basic operations.

Reviewed by:	wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3198


Revision 267667 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 20 09:40:43 2014 UTC (10 years ago) by bapt
File length: 7942 byte(s)
Diff to previous 263142
use .Mt to mark up email addresses consistently (part1)

PR:		191174
Submitted by:	Franco Fichtner  <franco@lastsummer.de>


Revision 263142 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 14 03:07:51 2014 UTC (10 years, 3 months ago) by eadler
File length: 7940 byte(s)
Diff to previous 258909
multiple: Remove 3rd clause from BSD license where approved by the
regents and renumber.

This patch skips files in contrib/ and crypto/

Acked by:	imp
Discussed with:	emaste


Revision 258909 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 4 07:38:23 2013 UTC (10 years, 7 months ago) by trasz
File length: 8181 byte(s)
Diff to previous 257182
Add "null" backend to mdconfig(8).  This does exactly what the name
suggests, and is somewhat useful for benchmarking.

MFC after:	1 month
No objections from:	kib
Sponsored by:	The FreeBSD Foundation


Revision 257182 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 26 18:23:43 2013 UTC (10 years, 8 months ago) by jmg
File length: 8111 byte(s)
Diff to previous 257165
bump date forgotten in r257165


Revision 257165 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 26 15:05:27 2013 UTC (10 years, 8 months ago) by jmg
File length: 8108 byte(s)
Diff to previous 252379
Document that -a will output the device name when -u is not specified..
when -u is specified it is not...

update the docs to say that you can use full device names w/ -u, and
update the examples...

Submitted by:	#vbsdcon
MFC after:	3 days


Revision 252379 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 29 16:05:44 2013 UTC (11 years ago) by joel
File length: 7892 byte(s)
Diff to previous 252033
mdoc: remove EOL whitespace.


Revision 252033 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 20 14:30:16 2013 UTC (11 years ago) by hrs
File length: 7893 byte(s)
Diff to previous 242546
- Add "-f file" support to listing mode (-l).  When a -f option is
  specified, only md(4) devices which have the specified file as backing
  store are displayed.
- Use MD_NAME instead of "md".
- Use _PATH_DEV instead of "/dev/".

MFC after:	1 week


Revision 242546 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 4 03:19:07 2012 UTC (11 years, 8 months ago) by wblock
File length: 7672 byte(s)
Diff to previous 238215
Add an example showing the use of gnop(8) to skip over header data.

PR:		kern/145999
Reviewed by:	mjg
MFC after:	1 week


Revision 238215 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 7 20:32:21 2012 UTC (11 years, 11 months ago) by trasz
File length: 7329 byte(s)
Diff to previous 237645
Make it possible to resize md(4) devices.

Reviewed by:	kib
Sponsored by:	FreeBSD Foundation


Revision 237645 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 27 12:19:28 2012 UTC (12 years ago) by gavin
File length: 7227 byte(s)
Diff to previous 235355
The -S option, to specify the sector size, has been usable on all types of
memory disks since r135340.  Update the man page to reflect this.

Noticed by:	avg
MFC after:	3 days


Revision 235355 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 19:59:37 2012 UTC (12 years, 1 month ago) by joel
File length: 7223 byte(s)
Diff to previous 235344
Remove end of line whitespace.


Revision 235344 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 17:14:55 2012 UTC (12 years, 1 month ago) by joel
File length: 7224 byte(s)
Diff to previous 234047
mdoc: use Po and Pc macros instead of parens. Also avoid starting a line
with Ns.


Revision 234047 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 9 01:20:50 2012 UTC (12 years, 2 months ago) by bjk
File length: 7220 byte(s)
Diff to previous 221232
Fix a couple of style issues. Tweak grammar and markup while here.

Approved by:	hrs (mentor)


Revision 221232 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 29 22:40:11 2011 UTC (13 years, 2 months ago) by des
File length: 7198 byte(s)
Diff to previous 215247
Somewhere around the 473rd time I mistyped "mdconfig file" instead of
"mdconfig -f file", I decided that it would be easier to make mdconfig
DWIM than to teach my fingers to type the correct command line.

MFC after:	3 weeks


Revision 215247 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 13 15:28:44 2010 UTC (13 years, 7 months ago) by joel
File length: 7060 byte(s)
Diff to previous 187027
Use "cylinder" instead of "cyl" for consistency.

Reviewed by:	phk


Revision 187027 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 10 17:17:18 2009 UTC (15 years, 5 months ago) by trasz
File length: 7055 byte(s)
Diff to previous 179910
Add the possibility to specify "-o force" with "mdconfig -du".

Reviewed by:	scottl
Approved by:	rwatson (mentor)
Sponsored by:	FreeBSD Foundation


Revision 179910 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 21 15:04:42 2008 UTC (16 years ago) by marck
File length: 7022 byte(s)
Diff to previous 174020
Add -v (verbose) option to -l command, to show size and backing store
of all md devices at one time.

Approved by:	phk
MFC after:	2 weeks


Revision 174020 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 28 12:29:59 2007 UTC (16 years, 7 months ago) by remko
File length: 6972 byte(s)
Diff to previous 174019
Every newline should start on it's own line. I didn't do that in the
previous commit, so make it happen now.

Prodded by:	brueffer


Revision 174019 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 28 12:11:36 2007 UTC (16 years, 7 months ago) by remko
File length: 6971 byte(s)
Diff to previous 173540
Sync with md(4)'s information regarding the swap backend.

PR:		docs/115721
Submitted by:	Stefan Lambrev <stefan.lambrev@moneybookers.com>
MFC After:	3 days


Revision 173540 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 08:14:22 2007 UTC (16 years, 7 months ago) by keramida
File length: 6755 byte(s)
Diff to previous 173539
Forced commit to note that the previous change was...

Reviewed by:	ceri


Revision 173539 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 11 08:12:21 2007 UTC (16 years, 7 months ago) by keramida
File length: 6755 byte(s)
Diff to previous 173507
* Expand the example descriptions, fix mdoc-bugs in
  "(-a and -t vnode are implied)"
  and reuse it near the cd9660 example.
* Spell 'backing store' as two words.


Revision 173507 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 9 18:02:51 2007 UTC (16 years, 7 months ago) by keramida
File length: 6555 byte(s)
Diff to previous 169672
Instead of hardcoding md10 as the device node in the cd9660 example,
use a trick submitted by Ruslan.

MFC after:	1 day


Revision 169672 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 18 13:57:17 2007 UTC (17 years, 1 month ago) by keramida
File length: 6557 byte(s)
Diff to previous 166854
Add an example which shows how mdconfig(8) can be used
to mount an ISO 9660 CD image file.

PR:		112691
Submitted by:	Warren Block, wblock at wonkity.com
MFC after:	3 days


Revision 166854 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 20 22:04:23 2007 UTC (17 years, 4 months ago) by n_hibma
File length: 6419 byte(s)
Diff to previous 166853
Kris suggested that swap is a better choice as a default than malloc.

MFC:	1 week


Revision 166853 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 20 21:29:30 2007 UTC (17 years, 4 months ago) by n_hibma
File length: 6421 byte(s)
Diff to previous 166852
[Found the original diff I made, see previous commit for other part]
Assume '-a' and '-t malloc' flags for '-s <size>' (malloc ramdisk) if not
specified.

Reviewed by:	phk (some time ago)
MFC:		1 week


Revision 166852 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 20 21:04:12 2007 UTC (17 years, 4 months ago) by n_hibma
File length: 6294 byte(s)
Diff to previous 140627
Make attach the default for -f. That way

	mdconfig -f image

works like a charm.

Reviewed by:	phk (some time ago)
MFC:		1 week


Revision 140627 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 22 20:02:01 2005 UTC (19 years, 5 months ago) by pjd
File length: 6264 byte(s)
Diff to previous 137315
Allow to specify device size in bytes.

MFC after:	1 week


Revision 137315 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 6 14:03:37 2004 UTC (19 years, 8 months ago) by dd
File length: 6254 byte(s)
Diff to previous 137301
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


Revision 137301 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 6 10:21:12 2004 UTC (19 years, 8 months ago) by dd
File length: 6265 byte(s)
Diff to previous 135340
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.


Revision 135340 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 16 21:32:13 2004 UTC (19 years, 9 months ago) by pjd
File length: 6325 byte(s)
Diff to previous 131488
- Make md(4) 64-bit clean.
  After this change it should be possible to use very big md(4) devices.
- Clean up and simplify the code a bit.
- Use humanize_number(3) to print size of md(4) devices.
- Add 't' suffix which stands for terabyte.
- Make '-S' to really work with all types of devices.
- Other minor changes.


Revision 131488 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 2 21:45:06 2004 UTC (20 years ago) by ru
File length: 6311 byte(s)
Diff to previous 129327
Mechanically kill hard sentence breaks.


Revision 129327 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 17 08:35:43 2004 UTC (20 years, 1 month ago) by ru
File length: 6312 byte(s)
Diff to previous 126821
Assorted markup, grammar, and spelling fixes.


Revision 126821 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 10 20:41:09 2004 UTC (20 years, 3 months ago) by phk
File length: 6285 byte(s)
Diff to previous 126021
Fix a long-standing deadlock issue with vnode backed md(4) devices:

On vnode backed md(4) devices over a certain, currently undetermined
size relative to the buffer cache our "lemming-syncer" can provoke
a buffer starvation which puts the md thread to sleep on wdrain.

This generally tends to grind the entire system to a stop because the
event that is supposed to wake up the thread will not happen until a fair
bit of the piled up I/O requests in the system finish, and since a lot
of those are on a md(4) vnode backed device which is currently waiting
on wdrain until a fair amount of the piled up ... you get the picture.

The cure is to issue all VOP_WRITES on the vnode backing the device
with IO_SYNC.

In addition to more closely emulating a real disk device with a
non-lying write-cache, this makes the writes exempt from rate-limited
(there to avoid starving the buffer cache) and consequently prevents
the deadlock.

Unfortunately performance takes a hit.

Add "async" option to give people who know what they are doing the
old behaviour.


Revision 126021 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 19 19:53:07 2004 UTC (20 years, 4 months ago) by phk
File length: 6140 byte(s)
Diff to previous 124422
s/bytes/byte/


Revision 124422 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 12 10:54:09 2004 UTC (20 years, 5 months ago) by phk
File length: 6141 byte(s)
Diff to previous 124075
Note that geometry can also be specified on vnode backed deviecs.


Revision 124075 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 2 14:28:06 2004 UTC (20 years, 6 months ago) by phk
File length: 6132 byte(s)
Diff to previous 121003
Warn that big malloc disks are a panic(8) implementation.

Submitted by:	Colin Percival <cperciva@builder.daemonology.net>
(Who should really get his own bit one of these days!)

PR:	59988


Revision 121003 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 09:59:25 2003 UTC (20 years, 8 months ago) by blackend
File length: 5996 byte(s)
Diff to previous 120998
Add a full example of a file-backed disk creation, I used the Handbook's
example.

PR:		docs/51897
Submitted by:	Kevin Oberman <oberman@es.net>


Revision 120998 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 11 08:24:07 2003 UTC (20 years, 8 months ago) by blackend
File length: 5778 byte(s)
Diff to previous 120319
s/disklabel/bsdlabel where needed.


Revision 120319 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 21 19:05:35 2003 UTC (20 years, 9 months ago) by phk
File length: 5779 byte(s)
Diff to previous 116194
Document the -x and -y options.


Revision 116194 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 11 06:38:24 2003 UTC (21 years ago) by rwatson
File length: 5460 byte(s)
Diff to previous 114098
Add "-n" argument, which causes mdconfig to simply print the unit
number X, rather than mdX, making it easier to script tests that
use md devices but don't want to make assumptions about any existing
md use (such as in diskless environments).


Revision 114098 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 27 01:46:56 2003 UTC (21 years, 2 months ago) by dougb
File length: 5352 byte(s)
Diff to previous 111818
Add .Xr's to mdmfs(8).

Submitted by:	Scot W. Hetzel <hetzels@westbend.net>


Revision 111818 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 3 13:05:00 2003 UTC (21 years, 4 months ago) by phk
File length: 5338 byte(s)
Diff to previous 104018
Add a "-S sectorsize" option to enable Kirk to find a bug :-)


Revision 104018 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 26 21:29:10 2002 UTC (21 years, 9 months ago) by phk
File length: 5248 byte(s)
Diff to previous 102231
Don't show disklabel in the examples, it is not necessary.


Revision 102231 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 21 18:11:48 2002 UTC (21 years, 10 months ago) by trhodes
File length: 5276 byte(s)
Diff to previous 100066
s/filesystem/file system/g as discussed on -developers


Revision 100066 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 15 11:30:21 2002 UTC (21 years, 11 months ago) by rse
File length: 5275 byte(s)
Diff to previous 99501
Replace extra call to "tunefs" with the equivalent of "newfs -U".

Reviewed by:	phk


Revision 99501 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 6 19:34:18 2002 UTC (22 years ago) by charnier
File length: 5300 byte(s)
Diff to previous 81429
The .Nm utility


Revision 81429 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 10 10:41:30 2001 UTC (22 years, 10 months ago) by ru
File length: 5292 byte(s)
Diff to previous 81257
mdoc(7) police: removed (now gratuitous) .Xo/.Xc brackets.


Revision 81257 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 7 19:23:16 2001 UTC (22 years, 11 months ago) by dd
File length: 5340 byte(s)
Diff to previous 79754
Introduce a force option, MD_FORCE, that instructs the driver to
bypass some extra anti-foot-shooting measures.  Currently, its only
effect is to allow detaching a device while it's still open (e.g.,
mounted).  This is useful for testing how the system reacts to a disk
suddenly going away, which can happen with some removeable media.

At this point, the force option is only checked on detach, so it
would've been possible to allow the option to be passed with the
MDIOCDETACH operation.  This was not done to allow the possibility of
having the force flag influence other tests in the future, which may
not necessarily deal with detaching the device.

Reviewed by:	sobomax
Approved by:	phk


Revision 79754 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 15 07:53:42 2001 UTC (22 years, 11 months ago) by dd
File length: 5188 byte(s)
Diff to previous 79530
Remove whitespace at EOL.


Revision 79530 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 10 11:04:34 2001 UTC (22 years, 11 months ago) by ru
File length: 5193 byte(s)
Diff to previous 74151
mdoc(7) police: removed HISTORY info from the .Os call.


Revision 74151 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 12 09:18:12 2001 UTC (23 years, 3 months ago) by ru
File length: 5201 byte(s)
Diff to previous 74047
mdoc(7) police: add a missing An call.


Revision 74047 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 9 20:09:28 2001 UTC (23 years, 3 months ago) by phk
File length: 5197 byte(s)
Diff to previous 73094
Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)
entirely as previously advertised.

md(4) adopted all assets of vn(4) some time back and has proper devfs
support and cloning abilities to boot.


Revision 73094 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 26 15:31:47 2001 UTC (23 years, 4 months ago) by phk
File length: 4999 byte(s)
Diff to previous 73026
Remove "autounit" from settable options, it's the default unless you
specify -u.

Spotted by:	dcs


Revision 73026 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 25 13:12:57 2001 UTC (23 years, 4 months ago) by phk
File length: 5118 byte(s)
Diff to previous 71745
Make "md" and "mdctl" macroized parameters.

Implement "-l" option to mdconfig which can list one or all md devices.

Submitted by:   Dima Dorfman <dima@unixfreak.org>


Revision 71745 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 28 20:17:46 2001 UTC (23 years, 5 months ago) by phk
File length: 4914 byte(s)
Diff to previous 71743
Duh, the version of mdconfig.c I committed came from the wrong machine.

Commit the right version, but without the -b option which is too evil
for the present.

Remove -b and preload from the manpage as well.


Revision 71743 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 28 20:03:02 2001 UTC (23 years, 5 months ago) by phk
File length: 5603 byte(s)
Diff to previous 70888
Don't specify fragment size, it autosizes from the sectorsize.

Remember to set mode 1777 on /tmp

Submitted by:	mjacob


Revision 70888 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 10 14:53:46 2001 UTC (23 years, 5 months ago) by ru
File length: 5595 byte(s)
Diff to previous 70573
Mdoc(7)ify.


Revision 70573 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 1 23:08:26 2001 UTC (23 years, 6 months ago) by phk
File length: 5446 byte(s)
Diff to previous 70538
Add padding space and a version number to the md_ioctl structre for future
extension.

Add ability to create a preload disk giving an address and a length
(suggested by imp)

Fix bug relating to very small md(4) devices.

Update md.c copyright to reflect the status of code copied from vn.c.
(noticed by dillon)


Revision 70538 - (view) (download) (annotate) - [select for diffs]
Added Sun Dec 31 11:20:49 2000 UTC (23 years, 6 months ago) by phk
File length: 4779 byte(s)
Improve cmdline parsing and messages.

Add a rudimentary man-page.  (I'm no mdoc wizard, feel free to attack my
mistakes and blunders)


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27