Hello,
On Thu, 1 Oct 2026 13:42:58 Joshua Branson wrote:
> +Mikhail Karpov did more work on [moving storeio from trivfs to
>
+netfs](https://lists.gnu.org/archive/html/bug-hurd/2026-08/msg00158.html).
> +Hopefully the Hurd can dynamically display filesystem partitions
> +instead of hardcoding them soon.
I’m not quite sure what you mean. If you want to see the partitions of a
disk, run the following command:
# settrans -c disk /hurd/storeio -T typed file:/root/disk.iso
# ls disk
1 2 3
Where 1, 2, and 3 are the partitions of the disk.iso disk.
You can also view the size of the entire disk as well as the size of each
individual partition:
# stat disk
File: disk
Size: 262144000 Blocks: 8 IO Blocks: 512 directory
...
# stat disk/1
File: disk/1
Size: 9437184 Blocks: 1 IO Blocks: 512 block special file
...
You can mount a partition in two ways:
# settrans -c ext1 /hurd/ext2fs -T typed part:1:file:/root/disk
# settrans -c ext2 /hurd/ext2fs -T typed file:/root/disk/2
As I understand it, we can remove the following item from the
https://www.gnu.org/software/hurd/contributing.html
> Write a partfs translator, to which one gives a disk image, and which
> exposes the partitions of the disk image, using parted, and the
> parted-based storeio (settrans -c foos1 /hurd/storeio -T typed
> part:1:file:/home/samy/tmp/foo). This would be libnetfs-based.
Thanks,
--
Mikhail Karpov