bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] - libstore: Add prefix @ to device to pass master device


From: Damien Zammit
Subject: [PATCH] - libstore: Add prefix @ to device to pass master device
Date: Sun, 24 Nov 2019 12:33:59 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

For compatibility with rump disk drivers,
we need a way to pass the master device through the `-T typed device:` 
parameter of storeio.
Instead of adding a new field, this patch allows the device field to be of the 
form:

        @/path/to/master:/path/to/device

So for example, with this patch I can call:

        settrans /dev/wd0s2 /hurd/storeio -T typed 
part:2:device:@/dev/rump:/dev/wd0

This allows passing the /dev/rump master device (not the mach kernel one) to 
storeio
and still pass the device /dev/wd0 to open the device within rump.

However without the @ prefix, it still falls back to opening the regular master 
device.
 
Thoughts?

Damien

Attachment: 0001-libstore-alt-master.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]