273188 |
16-Oct-2014 |
hrs |
MFS r272855, 266846:
- Do not override sin6_scope_id in LLA when it is already set to non-zero. This fixes destination list in output of netstat -r. - Plug a memory leak. - Add RTM_VERSION check. - Fix a bug which can make sysctl() fail when -F is specified. - Increase WID_IF_DEFAULT() from 6 to 8 (the default for AF_INET6) because we have interfaces with longer names than 6 chars like epairN{a,b}. - Style fixes.
MFS r272847:
- Add rwlock to struct dadq. A panic could occur when a large number of addresses performed DAD at the same time.
MFS r272850:
- Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009.
- Replace Sun Industry Standards Source License for Sun RPC code with a 3-clause BSD license as specified by Oracle America, Inc. in 2010. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation.
- Replace Sun RPC license with a 3-clause BSD license. This license change was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation.
- Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.
MFS r272852,r272853:
- Add relative specification in expiration time. - Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics. - Use long explicitly for the time difference.
MFS r272854:
- Return 0 if:
1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /pathname" specified, and both of them found, 4. "-l" specified and no -f, 5. "-l" specified, "-f /pathname" specified, and /pathname found.
otherwise return -1.
MFS r272856:
- Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF. This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time.
MFS r272857:
- Cancel DAD for an ifa when the ifp has ND6_IFF_IFDISABLED as early as possible and do not clear IN6_IFF_TENTATIVE. If IFDISABLED was accidentally set after a DAD started, TENTATIVE could be cleared because no NA was received due to IFDISABLED, and as a result it could prevent DAD when manually clearing IFDISABLED after that.
MFS r272858:
- Fix an issue in range specification handling when a "-foo" is specified in ifconfig_IF_aliasN.
MFS r272859:
- Fix EtherIP. TOS field must be initialized when the inner protocol is PF_LINK, and multicast/broadcast flag should always be dropped because the outer protocol uses unicast even when the inner address is not for unicast. It had been broken since r236951 when gif_output() started to use IFQ_HANDOFF().
MFS r272860:
- Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added.
MFS r272861:
- Fix rc.d/gssd script to define the default values in a standard way. - Use a parameter argument in jls(8) instead of doing grep.
MFS r272862, r272870:
- Restructure rc.d scripts for kerberos5 daemons.
MFS r272863:
- Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start().
MFS r272864:
- Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
MFS r272865:
- Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO.
MFS r272866:
- Fix header output when -P is specified and (ncpus - 1) != maxid.
MFS r272867:
- Fix a bug which could break extended attributes in a dump output. This occurred when a file was >892kB long and had a large data (>1kB) in the extended attributes.
MFS r272868, r272869:
- Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware.
MFS r272871:
- Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is received.
MFS r272874:
- Resurrect set_rcvar() as a function to define a rc.conf variable. It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values.
MFS r272960:
- Do not add late flag when file= is specified because it has a bad side-effect. The specified file should exist before the fstab line.
Approved by: re (gjb) |
272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
264996 |
27-Apr-2014 |
jmmv |
MFC various moves of tools/regressions/ tests to the new infrastructure.
- r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make.
This is 'make tinderbox' clean.
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
253833 |
31-Jul-2013 |
delphij |
Resolve fflag with realpath().
MFC after: 2 weeks
|
252523 |
02-Jul-2013 |
delphij |
When listing with -f, skip all memory disks that are not vnode-backed.
Noticed by: kevlo MFC after: 3 days
|
252379 |
29-Jun-2013 |
joel |
mdoc: remove EOL whitespace.
|
252051 |
21-Jun-2013 |
hrs |
- Use length of _PATH_DEV instead of a hardcoded value[*]. - Use MD_NAME for "md".
Pointed out by: trasz [*] MFC after: 1 week
|
252036 |
20-Jun-2013 |
hrs |
eturn -1 when the specified backing store file is not found in the md device list.
MFC after: 1 week
|
252033 |
20-Jun-2013 |
hrs |
- 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
|
243372 |
21-Nov-2012 |
jh |
Disallow attaching preloaded memory disks via ioctl.
- The feature is dangerous because the kernel code didn't check validity of the memory address provided from user space. - It seems that mdconfig(8) never really supported attaching preloaded memory disks. - Preloaded memory disks are automatically attached during md(4) initialization. Thus there shouldn't be much use for the feature.
PR: kern/169683 Discussed on: freebsd-hackers
|
242546 |
04-Nov-2012 |
wblock |
Add an example showing the use of gnop(8) to skip over header data.
PR: kern/145999 Reviewed by: mjg MFC after: 1 week
|
238215 |
07-Jul-2012 |
trasz |
Make it possible to resize md(4) devices.
Reviewed by: kib Sponsored by: FreeBSD Foundation
|
238202 |
07-Jul-2012 |
eadler |
Remove ancient vnconfig symlink
Submitted by: ak Approved by: cperciva MFC after: 1 week
|
237645 |
27-Jun-2012 |
gavin |
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
|
235355 |
12-May-2012 |
joel |
Remove end of line whitespace.
|
235344 |
12-May-2012 |
joel |
mdoc: use Po and Pc macros instead of parens. Also avoid starting a line with Ns.
|
234047 |
09-Apr-2012 |
bjk |
Fix a couple of style issues. Tweak grammar and markup while here.
Approved by: hrs (mentor)
|
232964 |
14-Mar-2012 |
trasz |
Add missing "static".
|
230612 |
27-Jan-2012 |
trasz |
Rewrite option parsing in mdconfig(8). This makes it more user-friendly by removing the ordering requirements and adding more descriptive error messages; it also makes it more readable and maintainable.
Sponsored by: The FreeBSD Foundation
|
230423 |
21-Jan-2012 |
trasz |
Replace the beerware license on mdconfig(8) with standard 2-clause BSD.
Approved by: phk@
|
221232 |
29-Apr-2011 |
des |
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
|
221144 |
27-Apr-2011 |
des |
whitespace nit - sorry for the churn
|
221143 |
27-Apr-2011 |
des |
whitespace nit
|
218677 |
14-Feb-2011 |
brucec |
Add a check to make sure the provider name is "mdN" before printing the unit number.
Suggested by: jh MFC after: 3 days
|
218652 |
13-Feb-2011 |
brucec |
Only print the unit number when invoked with the -n flag.
PR: bin/144300 Submitted by: arundel MFC after: 3 days
|
215247 |
13-Nov-2010 |
joel |
Use "cylinder" instead of "cyl" for consistency.
Reviewed by: phk
|
202784 |
22-Jan-2010 |
jh |
Make mdconfig(8) WARNS=6 clean:
- Constify geom_config_get() name argument. - Add void keyword for usage(). - Initialize mdunit to NULL. - Don't call md_prthumanval() at all if length is NULL.
Approved by: trasz (mentor)
|
202573 |
18-Jan-2010 |
jh |
Print sizes up to INT64_MAX in md_prthumanval().
PR: bin/125365 Approved by: trasz (mentor) MFC after: 2 weeks
|
198236 |
19-Oct-2009 |
ru |
Switch the default WARNS level for sbin/ to 6.
Submitted by: Ulrich Spörlein
|
187027 |
10-Jan-2009 |
trasz |
Add the possibility to specify "-o force" with "mdconfig -du".
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
|
179910 |
21-Jun-2008 |
marck |
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
|
174020 |
28-Nov-2007 |
remko |
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
|
174019 |
28-Nov-2007 |
remko |
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
|
173676 |
16-Nov-2007 |
flz |
Fix exit code when using -l on a non-existent md(4) device.
PR: conf/116177 Submitted by: Remi Guyomarch <rguyom@pobox.com> MFC after: 3 days
|
173539 |
11-Nov-2007 |
keramida |
* 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.
|
173507 |
09-Nov-2007 |
keramida |
Instead of hardcoding md10 as the device node in the cd9660 example, use a trick submitted by Ruslan.
MFC after: 1 day
|
169672 |
18-May-2007 |
keramida |
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
|
166854 |
20-Feb-2007 |
n_hibma |
Kris suggested that swap is a better choice as a default than malloc.
MFC: 1 week
|
166853 |
20-Feb-2007 |
n_hibma |
[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
|
166852 |
20-Feb-2007 |
n_hibma |
Make attach the default for -f. That way
mdconfig -f image
works like a charm.
Reviewed by: phk (some time ago) MFC: 1 week
|
157375 |
01-Apr-2006 |
phk |
Make WITHOUT_DYNAMICROOT=foo work again: remember to reference libbsdxml and libsbuf.
|
157173 |
27-Mar-2006 |
jasone |
Unbreak the build.
|
157166 |
27-Mar-2006 |
wkoszek |
For now, bring back some of the old bits as a fix for specifying md(4) device number at creation time with -u option. Together with XMLizing mdconfig(8), I broke this functionality.
This change is temporary. Complete fix will be commited soon.
Approved by: cognet (mentor)
|
157160 |
26-Mar-2006 |
wkoszek |
Teach md(4) and mdconfig(8) how to understand XML. Right now there won't be a problem with listing large number of md(4) devices. Either 'list' or 'query' mode uses XML.
Additionally, new functionality was introduced. It's possible to pass multiple devices to -u:
# ./mdconfig -l -u md0,md1
Approved by: cognet (mentor)
|
157159 |
26-Mar-2006 |
wkoszek |
Keep proper order of includes. Additionally, sort them. Make functions used in that file static.
Approved by: cognet (mentor)
|
155807 |
18-Feb-2006 |
pjd |
Use kld(3) for loading geom_md.ko.
|
153636 |
22-Dec-2005 |
dd |
Sort the list results by the unit number. The list returned by the kernel is in the order the devices were made, which is not useful to the user. Also, remove the "%d more" test since the kernel does not return the complete count in md_pad[0] (maybe it should?).
Submitted by: Wojciech A. Koszek
|
152309 |
11-Nov-2005 |
pjd |
Rename GEOM class kernel module g_md.ko to geom_md.ko for consistency with the rest.
mdconfig.c: Simplify mdmaybeload() function. mdioctl.h: Removed (now unused) #define. loader.conf: Sort GEOM classes properly.
OK'ed by: phk
|
149638 |
30-Aug-2005 |
csjp |
When using files as backing stores for devices, and the user has requested the device be created read+write, check to see if the backing store is read only through the use of the access(2) system call. If this check fails returning EACCES, EPERM or EROFS then gracefully downgrade the access to read only. Also print a warning message to stderr, informing the user that the access mode they requested is not available.
This behavior used to be handled by md(4) but was changed in revision 1.154
Discussed with: pjd, phk, Dario Freni <saturnero at freesbie dot org> Reviewed by: phk
|
142926 |
01-Mar-2005 |
pjd |
We can specify device size in bytes. Document this in usage.
|
142167 |
21-Feb-2005 |
mr |
Document the terabyte "-s" parameter in the usage string. Split the usage line to not exceed 80 chars.
|
141611 |
10-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
140627 |
22-Jan-2005 |
pjd |
Allow to specify device size in bytes.
MFC after: 1 week
|
139359 |
27-Dec-2004 |
pjd |
Rewrite piece of code which I committed some time ago that allows to show file name for 'mdconfig -l -u <x>' command. This allows to preserve API/ABI compatibility with version 0 (that's why I changed version number back to 0) and will allow to merge this change to RELENG_5.
MFC after: 5 days
|
137669 |
13-Nov-2004 |
ru |
Sync usage() with manpage SYNOPSIS and code.
|
137315 |
06-Nov-2004 |
dd |
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
|
137310 |
06-Nov-2004 |
pjd |
For file backed md(4) devices output their source file via 'mdconfig -l -u <unit>'. Bump version number, as this change breaks ABI/API.
|
137301 |
06-Nov-2004 |
dd |
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.
|
137300 |
06-Nov-2004 |
dd |
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.
|
135340 |
16-Sep-2004 |
pjd |
- 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.
|
134965 |
08-Sep-2004 |
jmg |
add support for documented readonly option... also print out the option that is unknow so that the user knows what (s)he did wrong..
MFC after: 3 days
|
133357 |
09-Aug-2004 |
jmg |
change the name of the md module, to g_md, introduce a define with the name MD_MODNAME, and make mdconfig use this new define...
|
132629 |
25-Jul-2004 |
phk |
Give better diagnostic for problems with backing files.
|
131488 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
129327 |
17-May-2004 |
ru |
Assorted markup, grammar, and spelling fixes.
|
126821 |
10-Mar-2004 |
phk |
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.
|
126021 |
19-Feb-2004 |
phk |
s/bytes/byte/
|
124422 |
12-Jan-2004 |
phk |
Note that geometry can also be specified on vnode backed deviecs.
|
124075 |
02-Jan-2004 |
phk |
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
|
121003 |
11-Oct-2003 |
blackend |
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>
|
120998 |
11-Oct-2003 |
blackend |
s/disklabel/bsdlabel where needed.
|
120319 |
21-Sep-2003 |
phk |
Document the -x and -y options.
|
117430 |
11-Jul-2003 |
kan |
Do not compare unsigned int values with ULONG_MAX. The comparison is always false on 64bit platforms and GCC 3.3.1 issues warning there.
|
116194 |
11-Jun-2003 |
rwatson |
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).
|
114098 |
27-Apr-2003 |
dougb |
Add .Xr's to mdmfs(8).
Submitted by: Scot W. Hetzel <hetzels@westbend.net>
|
113289 |
09-Apr-2003 |
phk |
Add a couple of undocumented test options to MD(4) to aid in regression testting of GEOM.
|
112947 |
01-Apr-2003 |
yar |
Give clearer diagnostics on some cases of invalid combinations of mdconfig(8) command-line arguments.
Make mdconfig(8) accept "-a -f file -o options" equally with "-a -f file" (assuming "-t vnode".)
|
111818 |
03-Mar-2003 |
phk |
Add a "-S sectorsize" option to enable Kirk to find a bug :-)
|
109930 |
27-Jan-2003 |
phk |
Don't use the kern.disks sysctl to find a list of md devices, use the MDIOCLIST ioctl instead.
Spotted by: keramida
|
104773 |
10-Oct-2002 |
keramida |
Make sure strsep() gets a nul-terminated string.
Reviewed by: phk
|
104018 |
26-Sep-2002 |
phk |
Don't show disklabel in the examples, it is not necessary.
|
102231 |
21-Aug-2002 |
trhodes |
s/filesystem/file system/g as discussed on -developers
|
102224 |
21-Aug-2002 |
imp |
Don't use NULL where you really mean 0 to sysctlbyname.
|
100066 |
15-Jul-2002 |
rse |
Replace extra call to "tunefs" with the equivalent of "newfs -U".
Reviewed by: phk
|
99501 |
06-Jul-2002 |
charnier |
The .Nm utility
|
95258 |
22-Apr-2002 |
des |
Usage style sweep: spell "usage" with a small 'u'. Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
92874 |
21-Mar-2002 |
mike |
Revert 1.20: Memory disks may be used for other purposes besides newfs(8), so it isn't helpful to require the minimum size meet newfs(8)'s criteria.
|
92866 |
21-Mar-2002 |
mike |
Provide a proper error message in mdconfig(8) when a filesystem is too small, instead of a less meaningful error in newfs(8).
|
88249 |
20-Dec-2001 |
dd |
Actually make use of the md_version field of 'struct mdio'. In order not to needlessly break compatibility, decrement MDIOVERSION to 0.
Approved by: phk
|
87325 |
04-Dec-2001 |
obrien |
Default to WARNS=2. Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
81429 |
10-Aug-2001 |
ru |
mdoc(7) police: removed (now gratuitous) .Xo/.Xc brackets.
|
81258 |
07-Aug-2001 |
dd |
Move all the prototypes to one place.
|
81257 |
07-Aug-2001 |
dd |
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
|
79863 |
18-Jul-2001 |
dd |
Use MD_NAME and MDCTL_NAME constants where appropriate.
|
79754 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79530 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
78526 |
21-Jun-2001 |
dd |
Constify mdmaybeload(), add a prototype for usage(), and get rid of a sizeof(int) == sizeof(long) assumption; clamp down with WARNS=2.
|
78525 |
21-Jun-2001 |
dd |
Don't assume the length of MD_NAME is 2.
|
78524 |
21-Jun-2001 |
dd |
Fail if -s isn't specified for an MD_MALLOC or MD_SWAP disk; the driver itself obviously won't configure such a disk, but the error returned (EDOM) is more cryptic to the average user than it should be.
Also assert that the argument to -u is in fact a valid unit; don't just accept any string to mean 0.
Approved by: phk
|
74815 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74531 |
20-Mar-2001 |
ru |
Set the default manual section for sbin/ to 8.
|
74151 |
12-Mar-2001 |
ru |
mdoc(7) police: add a missing An call.
|
74052 |
09-Mar-2001 |
sobomax |
In the absence of explicit ``-t type'' option assume that ``-f file'' implies ``-t vnode''.
Approved by: phk
|
74047 |
09-Mar-2001 |
phk |
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.
|
74044 |
09-Mar-2001 |
phk |
1) If mdconfig isn't given an action argument, it assumes detach. 2) Running `mdconfig -l` without any attached devices results in mdconfig printing "md0" to standard output.
Submitted by: dd [1]
[1] no, not "dd(1)" but "Dima Dorfman"
|
73094 |
26-Feb-2001 |
phk |
Remove "autounit" from settable options, it's the default unless you specify -u.
Spotted by: dcs
|
73027 |
25-Feb-2001 |
phk |
Forgot to remove unneeded "intcmp" function.
|
73026 |
25-Feb-2001 |
phk |
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>
|
72981 |
24-Feb-2001 |
phk |
Make md/mdconfig do kld.
Submitted by: dcs
|
71865 |
31-Jan-2001 |
phk |
Strip optional prefixes "/dev/" and "md" from the -u argument.
|
71745 |
28-Jan-2001 |
phk |
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.
|
71743 |
28-Jan-2001 |
phk |
Don't specify fragment size, it autosizes from the sectorsize.
Remember to set mode 1777 on /tmp
Submitted by: mjacob
|
70888 |
10-Jan-2001 |
ru |
Mdoc(7)ify.
|
70573 |
01-Jan-2001 |
phk |
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)
|
70541 |
31-Dec-2000 |
phk |
This is the first snapshot of the new all-singing-and-dancing md(4).
Using the mdconfig(8) program you can now configure memory disks on malloc(9), swap or a file/vnode. preloaded md disks also work as usual.
|
70538 |
31-Dec-2000 |
phk |
Improve cmdline parsing and messages.
Add a rudimentary man-page. (I'm no mdoc wizard, feel free to attack my mistakes and blunders)
|
70448 |
28-Dec-2000 |
phk |
Preliminary scaffolding for the new integrated vn+md device driver.
I decided to work on the md(4) driver and integrate the vn(4) functionality into it mainly based on the name being more suitable. Ideally 'vd' as in "virtual disk" would probably be the most logical but our sound-master pointed out that this would cause uncontrollable fits of giggles in the brits. Another complication would the needed changes to the ramdisk boot/root functionality.
The vn driver will stay around for some time after I complete this merge for transition reasons, and I'll make it whine to people that they should migrate to the md(4) driver for some time before it dies.
The kernel part of the new md(4) driver will be committed after more testing.
|