[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63527] [PATCH 0/3] Initial attempt at rumpdisk support for the Hurd
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#63527] [PATCH 0/3] Initial attempt at rumpdisk support for the Hurd. |
Date: |
Wed, 24 May 2023 11:30:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Ludovic Courtès writes:
> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> * gnu/build/hurd-boot.scm (make-hurd-device-nodes): Create "servers/bus/pci.
>> (set-hurd-device-translators): Create transators for pci-arbiter, rumpdisk,
>> and /dev/wd0..4s1..4.
>
> [...]
>
>> + ,@(append-map (lambda (n)
>> + (let* ((n (number->string n))
>> + (drive (string-append "dev/wd" n))
>> + (disk (string-append "@/dev/disk:wd" n)))
>> + `((,drive ("/hurd/storeio" ,disk) #o600)
>> + ,@(map (lambda (p)
>> + (let ((p (number->string p)))
>> + `(,(string-append drive "s" p)
>> + ("/hurd/storeio"
>> + "--store-type=typed"
>> + ,(string-append
>> + "part:" p
>> ":device:@/dev/disk:wd0"))
>
> Shouldn’t “/dev/disk:wd0” be “,disk” instead?
Oops, yeah sure! This could have been quite a search bug search one
day...
Changed to
,@(append-map (lambda (n)
(let* ((n (number->string n))
(drive (string-append "dev/wd" n))
(disk (string-append "@/dev/disk:wd" n)))
`((,drive ("/hurd/storeio" ,disk) #o600)
,@(map (lambda (p)
(let ((p (number->string p)))
`(,(string-append drive "s" p)
("/hurd/storeio"
"--store-type=typed"
,(string-append
"part:" p ":device:" disk))
#o660)))
(iota 4 1)))))
(iota 4 0))
Greetings,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
[bug#63527] [PATCH v5 07/11] hurd-boot: Setup pci-arbiter and rumpdisk translators., Janneke Nieuwenhuizen, 2023/05/23
[bug#63527] [PATCH v5 11/11] gnu: gnumach: Support "noide" argument., Janneke Nieuwenhuizen, 2023/05/23
[bug#63527] [PATCH v5 09/11] system: hurd: Boot with pci.arbiter and rumpdisk., Janneke Nieuwenhuizen, 2023/05/23
[bug#63527] [PATCH v5 10/11] bootloader: grub: Use rumpdisk-style root when booting with "noide"., Janneke Nieuwenhuizen, 2023/05/23
[bug#63527] [PATCH 0/3] Initial attempt at rumpdisk support for the Hurd., Ludovic Courtès, 2023/05/24
[bug#63527] [PATCH 0/3] Initial attempt at rumpdisk support for the Hurd., Ludovic Courtès, 2023/05/24