summaryrefslogtreecommitdiffstats
path: root/mdassemble.c
Commit message (Collapse)AuthorAgeFilesLines
* mdopen: Introduce new rules for creating device name.NeilBrown2008-11-041-1/+2
| | | | MORE CONTENT HERE
* Delay creation of array devices for assemble/build/createNeilBrown2008-11-041-12/+13
| | | | | | | | | | | | | We will shortly be feeding more information into the process of creating array devices, so delay the creation. Still open them early if the device already exists. This involves making sure the autof flag is in the right place so that it can be found at creation time. Also, Assemble, Build, and Create now always close 'mdfd'. Signed-off-by: NeilBrown <neilb@suse.de>
* Rename open_mddev to create_mddevNeilBrown2008-11-041-2/+2
| | | | | | | This reflect that fact that more often than not it is creating things in /dev, and allows for a new open_mddev which does just that. Signed-off-by: NeilBrown <neilb@suse.de>
* Clean up usage of open()Doug Ledford2008-07-241-1/+1
| | | | | | | | Fix on call that passed an invalid mode to open Don't pass a third arg unless we also pass O_CREAT Use symbolic args for 2nd and 3rd args Signed-off-by: Doug Ledford <dledford@redhat.com>
* Mdassemble improvementsLuca Berra2006-10-161-6/+7
| | | | | | | | | From: Luca Berra <bluca@comedia.it> - Fix a bug where mdassemble didn't close a filedescriptor and so couldn't assembele stacked arrays. - Allow mdassemble, when run a second time, to mark all arrays as writable. This is useful if they are started read-only as is best at boot-time.
* More consistent honoring of --configfileNeil Brown2006-06-261-3/+2
| | | | | Never use /etc/mdadm.conf if --config file is given (previously some code used one, some used the other).
* add CFLAGS to mdassemble build and fix a couple of non-returning functionsNeil Brown2006-05-291-2/+3
| | | | | | | | pass CFLAGS to mdassemble build, enabling -Wall -Werror showed some issues also fixed by the patch. From: Luca Berra <bluca@vodka.it> Signed-off-by: Neil Brown <neilb@suse.de>
* Make sure everything compiles...Neil Brown2006-05-261-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Just updaqte copyright dates and email addressNeil Brown2006-05-191-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Create missing /dev files where needed.Neil Brown2006-03-281-1/+1
| | | | | | | Whenever we need a device file to open, if one cannot be found in /dev, create a temporary one. Signed-off-by: Neil Brown <neilb@suse.de>
* Release 1.8.1 after some man page updates and other fixes.mdadm-1.11.1Neil Brown2005-06-071-1/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* mdadm-1.8.0mdadm-1.8.0Neil Brown2004-11-011-2/+8
|
* mdadm-1.5.0mdadm-1.5.0Neil Brown2004-01-221-0/+97