Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
7d4b968b |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head up to r188941 (last revision before the USB stack switch)
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
a9ebb311 |
| 10-Jan-2009 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add the possibility to specify "-o force" with "mdconfig -du".
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
c94b8307 |
| 21-Jun-2008 |
Dmitry Morozovsky <marck@FreeBSD.org> |
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 tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
69fcb537 |
| 16-Nov-2007 |
Florent Thoumie <flz@FreeBSD.org> |
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
|
#
7090e3d1 |
| 20-Feb-2007 |
Nick Hibma <n_hibma@FreeBSD.org> |
Kris suggested that swap is a better choice as a default than malloc.
MFC: 1 week
|
#
35ce0ff2 |
| 20-Feb-2007 |
Nick Hibma <n_hibma@FreeBSD.org> |
[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
|
#
1253fe1e |
| 20-Feb-2007 |
Nick Hibma <n_hibma@FreeBSD.org> |
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 tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
c3345c66 |
| 27-Mar-2006 |
Jason Evans <jasone@FreeBSD.org> |
Unbreak the build.
|
#
ea3d97ae |
| 27-Mar-2006 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
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 t
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)
show more ...
|
#
c27a8954 |
| 27-Mar-2006 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
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 functional
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)
show more ...
|
#
4bfd989f |
| 27-Mar-2006 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
Keep proper order of includes. Additionally, sort them. Make functions used in that file static.
Approved by: cognet (mentor)
|
#
a921cb31 |
| 18-Feb-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use kld(3) for loading geom_md.ko.
|
#
7e06d7bc |
| 22-Dec-2005 |
Dima Dorfman <dd@FreeBSD.org> |
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
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
show more ...
|
#
d9414258 |
| 11-Nov-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
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 clas
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
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
c313f09b |
| 30-Aug-2005 |
Christian S.J. Peron <csjp@FreeBSD.org> |
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 cal
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
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
5d19b2f9 |
| 01-Mar-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
We can specify device size in bytes. Document this in usage.
|
#
d111a5c9 |
| 21-Feb-2005 |
Michael Reifenberger <mr@FreeBSD.org> |
Document the terabyte "-s" parameter in the usage string. Split the usage line to not exceed 80 chars.
|
#
8d646af5 |
| 10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
0d79319a |
| 22-Jan-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to specify device size in bytes.
MFC after: 1 week
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
88b5b78d |
| 27-Dec-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
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 change
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
show more ...
|
#
78bb1162 |
| 13-Nov-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync usage() with manpage SYNOPSIS and code.
|
#
61a6eb62 |
| 06-Nov-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
For file backed md(4) devices output their source file via 'mdconfig -l -u <unit>'. Bump version number, as this change breaks ABI/API.
|
#
9a777b93 |
| 06-Nov-2004 |
Dima Dorfman <dd@FreeBSD.org> |
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.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
b830359b |
| 16-Sep-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- 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. -
- 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.
show more ...
|
#
d31ba625 |
| 08-Sep-2004 |
John-Mark Gurney <jmg@FreeBSD.org> |
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
|