aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/mdconfig.8
Commit message (Collapse)AuthorAgeFilesLines
* Add 'p' postfix to mdconfig(8).Edward Tomasz Napierala2015-10-101-4/+4
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=289113
* It's 2015, and some people are still trying to use fdisk and thenEdward Tomasz Napierala2015-09-021-2/+1
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=287396
* Whoops, wrong flag.Edward Tomasz Napierala2015-08-061-1/+1
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=286361
* Tweak mdconfig(8) manual page, in particular revise the EXAMPLESEdward Tomasz Napierala2015-08-061-47/+46
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=286360
* use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-2/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* multiple: Remove 3rd clause from BSD license where approved by theEitan Adler2014-03-141-5/+1
| | | | | | | | | | | | regents and renumber. This patch skips files in contrib/ and crypto/ Acked by: imp Discussed with: emaste Notes: svn path=/head/; revision=263142
* Add "null" backend to mdconfig(8). This does exactly what the nameEdward Tomasz Napierala2013-12-041-1/+3
| | | | | | | | | | | suggests, and is somewhat useful for benchmarking. MFC after: 1 month No objections from: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=258909
* bump date forgotten in r257165John-Mark Gurney2013-10-261-1/+1
| | | | Notes: svn path=/head/; revision=257182
* Document that -a will output the device name when -u is not specified..John-Mark Gurney2013-10-261-6/+12
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=257165
* mdoc: remove EOL whitespace.Joel Dahl2013-06-291-1/+1
| | | | Notes: svn path=/head/; revision=252379
* - Add "-f file" support to listing mode (-l). When a -f option isHiroki Sato2013-06-201-1/+15
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=252033
* Add an example showing the use of gnop(8) to skip over header data.Warren Block2012-11-041-1/+13
| | | | | | | | | PR: kern/145999 Reviewed by: mjg MFC after: 1 week Notes: svn path=/head/; revision=242546
* Make it possible to resize md(4) devices.Edward Tomasz Napierala2012-07-071-0/+7
| | | | | | | | Reviewed by: kib Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=238215
* The -S option, to specify the sector size, has been usable on all types ofGavin Atkinson2012-06-271-2/+2
| | | | | | | | | | memory disks since r135340. Update the man page to reflect this. Noticed by: avg MFC after: 3 days Notes: svn path=/head/; revision=237645
* Remove end of line whitespace.Joel Dahl2012-05-121-1/+1
| | | | Notes: svn path=/head/; revision=235355
* mdoc: use Po and Pc macros instead of parens. Also avoid starting a lineJoel Dahl2012-05-121-4/+6
| | | | | | | with Ns. Notes: svn path=/head/; revision=235344
* Fix a couple of style issues. Tweak grammar and markup while here.Benjamin Kaduk2012-04-091-22/+27
| | | | | | | Approved by: hrs (mentor) Notes: svn path=/head/; revision=234047
* Somewhere around the 473rd time I mistyped "mdconfig file" instead ofDag-Erling Smørgrav2011-04-291-0/+11
| | | | | | | | | | "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 Notes: svn path=/head/; revision=221232
* Use "cylinder" instead of "cyl" for consistency.Joel Dahl2010-11-131-1/+1
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=215247
* Add the possibility to specify "-o force" with "mdconfig -du".Edward Tomasz Napierala2009-01-101-0/+1
| | | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=187027
* Add -v (verbose) option to -l command, to show size and backing storeDmitry Morozovsky2008-06-211-1/+5
| | | | | | | | | | of all md devices at one time. Approved by: phk MFC after: 2 weeks Notes: svn path=/head/; revision=179910
* Every newline should start on it's own line. I didn't do that in theRemko Lodder2007-11-281-3/+4
| | | | | | | | | previous commit, so make it happen now. Prodded by: brueffer Notes: svn path=/head/; revision=174020
* Sync with md(4)'s information regarding the swap backend.Remko Lodder2007-11-281-2/+9
| | | | | | | | | PR: docs/115721 Submitted by: Stefan Lambrev <stefan.lambrev@moneybookers.com> MFC After: 3 days Notes: svn path=/head/; revision=174019
* * Expand the example descriptions, fix mdoc-bugs inGiorgos Keramidas2007-11-111-9/+20
| | | | | | | | | "(-a and -t vnode are implied)" and reuse it near the cd9660 example. * Spell 'backing store' as two words. Notes: svn path=/head/; revision=173539
* Instead of hardcoding md10 as the device node in the cd9660 example,Giorgos Keramidas2007-11-091-3/+2
| | | | | | | | | use a trick submitted by Ruslan. MFC after: 1 day Notes: svn path=/head/; revision=173507
* Add an example which shows how mdconfig(8) can be usedGiorgos Keramidas2007-05-181-1/+7
| | | | | | | | | | | to mount an ISO 9660 CD image file. PR: 112691 Submitted by: Warren Block, wblock at wonkity.com MFC after: 3 days Notes: svn path=/head/; revision=169672
* Kris suggested that swap is a better choice as a default than malloc.Nick Hibma2007-02-201-1/+1
| | | | | | | MFC: 1 week Notes: svn path=/head/; revision=166854
* [Found the original diff I made, see previous commit for other part]Nick Hibma2007-02-201-2/+10
| | | | | | | | | | | Assume '-a' and '-t malloc' flags for '-s <size>' (malloc ramdisk) if not specified. Reviewed by: phk (some time ago) MFC: 1 week Notes: svn path=/head/; revision=166853
* Make attach the default for -f. That wayNick Hibma2007-02-201-2/+6
| | | | | | | | | | | | mdconfig -f image works like a charm. Reviewed by: phk (some time ago) MFC: 1 week Notes: svn path=/head/; revision=166852
* Allow to specify device size in bytes.Pawel Jakub Dawidek2005-01-221-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=140627
* Bump .Dd, replace missing letter, and prefer to use a verb thatDima Dorfman2004-11-061-5/+3
| | | | | | | | | | matches the option letter. Submitted by: ru Should know better by now: dd Notes: svn path=/head/; revision=137315
* Update the description of -l to reflect reality. After mdconfig.cDima Dorfman2004-11-061-6/+5
| | | | | | | | 1.25, -l without -u only lists the names, so specifying -u does more than just limit the output to one device. Notes: svn path=/head/; revision=137301
* - Make md(4) 64-bit clean.Pawel Jakub Dawidek2004-09-161-3/+3
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=135340
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131488
* Assorted markup, grammar, and spelling fixes.Ruslan Ermilov2004-05-171-11/+16
| | | | Notes: svn path=/head/; revision=129327
* Fix a long-standing deadlock issue with vnode backed md(4) devices:Poul-Henning Kamp2004-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=126821
* s/bytes/byte/Poul-Henning Kamp2004-02-191-1/+1
| | | | Notes: svn path=/head/; revision=126021
* Note that geometry can also be specified on vnode backed deviecs.Poul-Henning Kamp2004-01-121-1/+1
| | | | Notes: svn path=/head/; revision=124422
* Warn that big malloc disks are a panic(8) implementation.Poul-Henning Kamp2004-01-021-0/+5
| | | | | | | | | | Submitted by: Colin Percival <cperciva@builder.daemonology.net> (Who should really get his own bit one of these days!) PR: 59988 Notes: svn path=/head/; revision=124075
* Add a full example of a file-backed disk creation, I used the Handbook'sMarc Fonvieille2003-10-111-0/+9
| | | | | | | | | | example. PR: docs/51897 Submitted by: Kevin Oberman <oberman@es.net> Notes: svn path=/head/; revision=121003
* s/disklabel/bsdlabel where needed.Marc Fonvieille2003-10-111-1/+1
| | | | Notes: svn path=/head/; revision=120998
* Document the -x and -y options.Poul-Henning Kamp2003-09-211-0/+14
| | | | Notes: svn path=/head/; revision=120319
* Add "-n" argument, which causes mdconfig to simply print the unitRobert Watson2003-06-111-0/+5
| | | | | | | | | 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). Notes: svn path=/head/; revision=116194
* Add .Xr's to mdmfs(8).Doug Barton2003-04-271-0/+1
| | | | | | | Submitted by: Scot W. Hetzel <hetzels@westbend.net> Notes: svn path=/head/; revision=114098
* Add a "-S sectorsize" option to enable Kirk to find a bug :-)Poul-Henning Kamp2003-03-031-0/+3
| | | | Notes: svn path=/head/; revision=111818
* Don't show disklabel in the examples, it is not necessary.Poul-Henning Kamp2002-09-261-3/+2
| | | | Notes: svn path=/head/; revision=104018
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-1/+1
| | | | Notes: svn path=/head/; revision=102231
* Replace extra call to "tunefs" with the equivalent of "newfs -U".Ralf S. Engelschall2002-07-151-2/+1
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=100066
* The .Nm utilityPhilippe Charnier2002-07-061-3/+3
| | | | Notes: svn path=/head/; revision=99501
* mdoc(7) police: removed (now gratuitous) .Xo/.Xc brackets.Ruslan Ermilov2001-08-101-18/+6
| | | | Notes: svn path=/head/; revision=81429