diff options
author | Neil Brown <neilb@suse.de> | 2008-05-15 16:48:19 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-15 16:48:19 +1000 |
commit | 598f0d58ac3544e25f90f2d34337e15764f4d877 (patch) | |
tree | 9cfe332da8c0deee87065a14014a2904ee991902 /util.c | |
parent | a19c88b83db3cc25affb75fe2d5531c964379d96 (diff) | |
download | mdadm-598f0d58ac3544e25f90f2d34337e15764f4d877.tar.gz mdadm-598f0d58ac3544e25f90f2d34337e15764f4d877.tar.xz mdadm-598f0d58ac3544e25f90f2d34337e15764f4d877.zip |
Can now mostly assemble DDF arrays
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -390,6 +390,9 @@ int is_standard(char *dev, int *nump) /* tests if dev is a "standard" md dev name. * i.e if the last component is "/dNN" or "/mdNN", * where NN is a string of digits + * Returns 1 if a partitionable standard, + * -1 if non-partitonable, + * 0 if not a standard name. */ char *d = strrchr(dev, '/'); int type=0; |