Damien Zammit <[email protected]> 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: > > demo@debian:~$ sudo settrans /dev/z0 /hurd/devnode hd2 > demo@debian:~$ sudo settrans /dev/hd2 /hurd/storeio /dev/z0 > demo@debian:~$ sudo showtrans /dev/hd2 > /hurd/storeio /dev/z0 > demo@debian:~$ sudo showtrans /dev/z0 > /hurd/devnode hd2 > demo@debian:~$ 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
