| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert sbin/mdconfig/tests from prove format tests to ATF format tests
As a side effect...
1. The tests now checks for the root user before continuing with kyua, which is
more visible than the test being skipped with the TAP protocol
2. The tests work with devices that aren't /dev/md0 by caching the device
attached during the test to a file, and later use the cached information to
detach the device in the cleanup routine
3. The tests no longer require perl to run
PR: 191191
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
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
|
| |
|