]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
Can now mostly assemble DDF arrays
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 3838b6e5218eb2131df917388ee5f2305b8d4243..7b43ee2e54d16df5b502dcca575d943384ad5cd2 100644 (file)
--- a/util.c
+++ b/util.c
@@ -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;