| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
| |
Noticed by: kevlo
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
- Use MD_NAME for "md".
Pointed out by: trasz [*]
MFC after: 1 week
|
|
|
|
|
|
| |
device list.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
PR: kern/145999
Reviewed by: mjg
MFC after: 1 week
|
|
|
|
|
| |
Reviewed by: kib
Sponsored by: FreeBSD Foundation
|
|
|
|
|
|
| |
Submitted by: ak
Approved by: cperciva
MFC after: 1 week
|
|
|
|
|
|
|
| |
memory disks since r135340. Update the man page to reflect this.
Noticed by: avg
MFC after: 3 days
|
| |
|
|
|
|
| |
with Ns.
|
|
|
|
| |
Approved by: hrs (mentor)
|
| |
|
|
|
|
|
|
|
| |
by removing the ordering requirements and adding more descriptive error
messages; it also makes it more readable and maintainable.
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Approved by: phk@
|
|
|
|
|
|
|
| |
"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
|
| |
|
| |
|
|
|
|
|
|
|
| |
unit number.
Suggested by: jh
MFC after: 3 days
|
|
|
|
|
|
| |
PR: bin/144300
Submitted by: arundel
MFC after: 3 days
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
| |
PR: bin/125365
Approved by: trasz (mentor)
MFC after: 2 weeks
|
|
|
|
| |
Submitted by: Ulrich Spörlein
|
|
|
|
|
|
| |
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
|
|
|
|
|
|
|
| |
of all md devices at one time.
Approved by: phk
MFC after: 2 weeks
|
|
|
|
|
|
| |
previous commit, so make it happen now.
Prodded by: brueffer
|
|
|
|
|
|
| |
PR: docs/115721
Submitted by: Stefan Lambrev <stefan.lambrev@moneybookers.com>
MFC After: 3 days
|
|
|
|
|
|
| |
PR: conf/116177
Submitted by: Remi Guyomarch <rguyom@pobox.com>
MFC after: 3 days
|
|
|
|
|
|
| |
"(-a and -t vnode are implied)"
and reuse it near the cd9660 example.
* Spell 'backing store' as two words.
|
|
|
|
|
|
| |
use a trick submitted by Ruslan.
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
to mount an ISO 9660 CD image file.
PR: 112691
Submitted by: Warren Block, wblock at wonkity.com
MFC after: 3 days
|
|
|
|
| |
MFC: 1 week
|
|
|
|
|
|
|
|
| |
Assume '-a' and '-t malloc' flags for '-s <size>' (malloc ramdisk) if not
specified.
Reviewed by: phk (some time ago)
MFC: 1 week
|
|
|
|
|
|
|
|
|
| |
mdconfig -f image
works like a charm.
Reviewed by: phk (some time ago)
MFC: 1 week
|
|
|
|
| |
libbsdxml and libsbuf.
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
in that file static.
Approved by: cognet (mentor)
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
with the rest.
mdconfig.c: Simplify mdmaybeload() function.
mdioctl.h: Removed (now unused) #define.
loader.conf: Sort GEOM classes properly.
OK'ed by: phk
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Split the usage line to not exceed 80 chars.
|
| |
|
|
|
|
| |
MFC after: 1 week
|