summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-25 20:48:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-25 20:48:05 +0000
commitfed48946fd4f41fbf033de3653a26df1a22bba49 (patch)
tree7aaa5d2d64526932ca02c98b3a2bf8ea80895ee8 /mdk-stage1
parent16e29d6b9a28e5ed25c6f5f65fb891074870286f (diff)
downloaddrakx-backup-do-not-use-fed48946fd4f41fbf033de3653a26df1a22bba49.tar
drakx-backup-do-not-use-fed48946fd4f41fbf033de3653a26df1a22bba49.tar.gz
drakx-backup-do-not-use-fed48946fd4f41fbf033de3653a26df1a22bba49.tar.bz2
drakx-backup-do-not-use-fed48946fd4f41fbf033de3653a26df1a22bba49.tar.xz
drakx-backup-do-not-use-fed48946fd4f41fbf033de3653a26df1a22bba49.zip
handle device hdi, hdj... hdt creation
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/mount.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index fd86a13b7..2511fde99 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -73,6 +73,30 @@ int ensure_dev_exists(char *dev)
major = 34, minor = 0;
else if (name[2] == 'h')
major = 34, minor = 64;
+ else if (name[2] == 'i')
+ major = 56, minor = 0;
+ else if (name[2] == 'j')
+ major = 56, minor = 64;
+ else if (name[2] == 'k')
+ major = 57, minor = 0;
+ else if (name[2] == 'l')
+ major = 57, minor = 64;
+ else if (name[2] == 'm')
+ major = 88, minor = 0;
+ else if (name[2] == 'n')
+ major = 88, minor = 64;
+ else if (name[2] == 'o')
+ major = 89, minor = 0;
+ else if (name[2] == 'p')
+ major = 89, minor = 64;
+ else if (name[2] == 'q')
+ major = 90, minor = 0;
+ else if (name[2] == 'r')
+ major = 90, minor = 64;
+ else if (name[2] == 's')
+ major = 91, minor = 0;
+ else if (name[2] == 't')
+ major = 91, minor = 64;
else
return -1;