aboutsummaryrefslogtreecommitdiffstats
path: root/mdopen.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-21udev: Move udev_block() and udev_unblock() into udev.cMateusz Grzonka1-6/+6
2023-11-21Mdmonitor: Improve udev event handlingMateusz Grzonka1-3/+4
2023-09-01Fix unsafe string functionsKinga Tanska1-2/+2
2023-05-08mdadm: define DEV_NUM_PREFMariusz Tkaczyk1-5/+5
2023-05-08mdadm: define DEV_MD_DIRMariusz Tkaczyk1-3/+3
2023-03-19mdopen: always try create_named_array()NeilBrown1-0/+1
2022-06-14Mdmonitor: Fix segfaultKinga Tanska1-0/+17
2020-01-16Change warning messageKinga Tanska1-1/+2
2018-05-31mdopen: fix gcc 8.1 string overflow errorJes Sorensen1-3/+5
2017-11-01mdadm/mdopen: create new function create_named_array for writing to new_arrayZhilong Liu1-20/+27
2017-09-27mdopen: call "modprobe md_mod" if it might be needed.NeilBrown1-0/+4
2017-08-16Error messages should end with a newline character.NeilBrown1-1/+1
2017-05-03util: md_array_valid(): Introduce md_array_valid() helperJes Sorensen1-2/+1
2017-05-02Create: tell udev md device is not ready when first created.NeilBrown1-19/+33
2017-04-12mdopen: use parameters/new_array to create arrays whenever possible.NeilBrown1-0/+12
2017-04-05mdopen/open_mddev: Use md_get_array_info() to determine valid arrayJes Sorensen1-1/+5
2016-12-05mdopen: open md devices O_RDONLYNeilBrown1-3/+1
2016-10-07Fix some issues found by clangNeilBrown1-1/+1
2016-08-25mdopen: Prevent overrunning the devname buffer when copying devnm into it for...Robert LeBlanc1-1/+1
2016-06-03Change behavior in find_free_devnm when wrapping around.Mike Lovell1-1/+1
2016-06-03Use dev_t for devnm2devid and devid2devnmMike Lovell1-2/+2
2015-02-12Don't break long strings onto multiple lines.NeilBrown1-10/+5
2013-09-03Release mdadm-3.3mdadm-3.3NeilBrown1-1/+1
2013-07-02Move find_free_devnum to mdopen.cNeilBrown1-0/+33
2013-05-15create_mddev: add support for /dev/md_XXX non-numeric names.NeilBrown1-20/+35
2013-02-21Discard devnum in favour of devnmNeilBrown1-13/+15
2013-01-07conditionally remove map_dev from find_free_devnumNeilBrown1-2/+1
2012-10-24Create new md devices consistentlyJustin Maggard1-1/+4
2012-10-04Handles spaces in array names better.NeilBrown1-2/+11
2012-08-13Minor cosmetic fixes in various files.NeilBrown1-14/+10
2012-07-09Remove scattered checks for malloc success.NeilBrown1-1/+1
2012-07-09Introduce pr_err for printing error messages.NeilBrown1-13/+13
2012-05-03Update test for "is udev active".NeilBrown1-1/+1
2011-11-02make_parts(): Fix case of comparing against uninitialized variablesJes Sorensen1-9/+12
2011-10-17Fix unterminated buffer after readlink() callThomas Jarosch1-1/+5
2011-01-31open_mddev: open RDONLY if RDWR doesn't work.NeilBrown1-0/+2
2009-10-22Free some malloced memory that wasn't being freed.NeilBrown1-1/+4
2009-10-19mdopen: only use 'dev' as chosen name if it is a full path.NeilBrown1-2/+1
2009-06-02Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown1-7/+2
2009-05-11create_mddev: don't replace /dev/mdX with /dev/md/XNeilBrown1-1/+4
2009-05-11create_dev - allow array names like mdX and /dev/mdX to appear 'numeric'NeilBrown1-3/+11
2009-03-10mdopen: be more careful when adding digit to names.NeilBrown1-1/+1
2008-11-27some warn_unused_result fixupsDan Williams1-5/+9
2008-11-07mdopen: typo in buffer-length for a sprintf.NeilBrown1-1/+1
2008-11-04mdopen: only let numeric name set minor number if it doesn't cause a conflict.NeilBrown1-1/+4
2008-11-04mdopen: use small sequence number for uniquifying array names.NeilBrown1-9/+23
2008-11-04Quiet unitialized variable warningsDan Williams1-2/+3
2008-11-04mdopen: fix up name parsing.NeilBrown1-9/+24
2008-11-04Incremental: adjust to the new naming scheme.NeilBrown1-80/+0
2008-11-04mdopen: Restore creation of partition devices and symlink.NeilBrown1-33/+36
2008-11-04mdopen: Introduce new rules for creating device name.NeilBrown1-129/+205
2008-11-04Introduce new open_mddev which just does an open.NeilBrown1-8/+23
2008-11-04Rename open_mddev to create_mddevNeilBrown1-2/+2
2008-10-30Merge branch 'master' into devel-3.0NeilBrown1-1/+1
2008-10-30Incremental: allow assembly of foreign array.NeilBrown1-1/+1
2008-09-18Lots of fixes to make incremental assembly of containers work.NeilBrown1-1/+1
2008-07-24Clean up usage of open()Doug Ledford1-2/+2
2008-05-05Make device-special files for partitions when using --incrementalNeil Brown1-3/+7
2008-05-05Unify code into find_free_devnum.Neil Brown1-31/+5
2008-05-05Simplistig locking for --incremental.Bill Nottingham1-1/+14
2008-05-05Create /dev/md if needed and it doesn't exist.Bill Nottingham1-0/+14
2007-12-14Remove spaces/tabs from ends of lines.Neil Brown1-1/+1
2007-10-17Make sure --auto=mdp is honoured properlyNeil Brown1-0/+1
2007-09-27mdopen.c don't shadow major() and minor()maximilian attems1-32/+32
2006-12-21Add new mode: --incrementalNeil Brown1-0/+48
2006-12-14Default to --auto=yesNeil Brown1-7/+7
2006-10-23Check error return on a couple of syscalls.Michael Labuschke1-3/+6
2006-10-16Don't fail md_open if array already active.Luca Berra1-12/+3
2006-08-11Allow symlink creation to be disabled from command line or mdadm.confNeil Brown1-5/+5
2006-08-11Create symlinks from /dev into /dev/mdNeil Brown1-0/+28
2006-06-26More consistent honoring of --configfileNeil Brown1-1/+1
2006-05-26Support auto-assembling of stacked devicesNeil Brown1-1/+1
2006-05-26Never remove device nodes of active devices.Neil Brown1-1/+3
2006-05-26Choose better devnumbers and tidy up some issues with finding names.Neil Brown1-2/+5
2006-05-19Just updaqte copyright dates and email addressNeil Brown1-1/+1
2006-05-16Arrange the 'auto' setting in mdadm.conf can choose default type.Neil Brown1-34/+59
2006-05-15Allow default creation info to to be stored in mdadm.confNeil Brown1-2/+11
2006-03-28Create missing /dev files where needed.Neil Brown1-1/+1
2006-02-06Release some compile fixes.Neil Brown1-5/+10
2006-01-31Sort mdstat entries so that composites are well-ordered.Neil Brown1-1/+1
2005-06-14Replace sprintf calls with snprintfNeil Brown1-2/+3
2005-06-14Add device files created with --auto to list of known device files.Neil Brown1-0/+4
2005-06-14Avoid using lstat, it isn't right.Neil Brown1-1/+1
2005-04-04Fix uninitialised variable compile warning.Neil Brown1-1/+1
2005-04-04Document new --auto behaviourNeil Brown1-0/+4
2005-04-04Change MAJOR() etc to major() etcNeil Brown1-8/+13
2005-04-04When assembling with --auto, honour common device namesNeil Brown1-43/+64
2004-11-01mdadm-1.8.0mdadm-1.8.0Neil Brown1-0/+193