mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
5c88ac539b
commit
ced0106a44
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ (define* (make-disk-device-nodes base major #:optional (minor 0))
|
|||
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)))))
|
||||
|
|
Loading…
Reference in a new issue