summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-13 13:34:31 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-13 13:34:31 +0100
commitced0106a44ebb5f96bfda8d4d4bc05bbb18c263d (patch)
treee5eef94ca15ff638929c23a086aaf6d511ac4b9c /gnu
parent5c88ac539b39db0671baef78714e199139d6da3b (diff)
linux-boot: Make more disk partition block devices.
Reported by nebuli on #guix. * gnu/build/linux-boot.scm (make-disk-device-nodes): Make 16 block devices for disk partitions.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/build/linux-boot.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index a58232c815..001c52fa3d 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -93,7 +93,7 @@ Return the value associated with OPTION, or #f on failure."
with the given MAJOR number, starting with MINOR."
(mknod base 'block-special #o644 (device-number major minor))
(let loop ((i 1))
- (when (< i 6)
+ (when (< i 16)
(mknod (string-append base (number->string i))
'block-special #o644 (device-number major (+ minor i)))
(loop (+ i 1)))))