bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] hurd - Allow libstore to open non-mach device


From: Joshua Branson
Subject: Re: [PATCH] hurd - Allow libstore to open non-mach device
Date: Tue, 25 Dec 2018 13:03:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Damien Zammit <address@hidden> writes:

> Hi,
>
> This patch adds ability to libstore to open a device node that is not a
> mach device.
> This is in preparation for rump kernel to provide disk access.

That's pretty cool!  So would the GNU/Hurd use a rump kernel to access
ext3+ filesystems?  

>
> Tested as follows:
>
> address@hidden:~$ sudo settrans /dev/z0 /hurd/devnode hd2
> address@hidden:~$ sudo settrans /dev/hd2 /hurd/storeio /dev/z0
> address@hidden:~$ sudo showtrans /dev/hd2
> /hurd/storeio /dev/z0
> address@hidden:~$ sudo showtrans /dev/z0
> /hurd/devnode hd2
> address@hidden:~$ sudo fdisk /dev/hd2
>
> Welcome to fdisk (util-linux 2.29.2).
> Changes will remain in memory only, until you decide to write them.
> Be careful before using the write command.
>
> Command (m for help): p
> Disk /dev/hd2: 10 MiB, 10485760 bytes, 20480 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x00000000
>
> Command (m for help):
>
> See attached for patch.
>
> Thanks,
> Damien
>
>

-- 
Joshua Branson
Sent from Emacs and Gnus



reply via email to

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