$ settrans --create --active ramdisk0 /hurd/storeio -T copy zero:32M
$ mkfs.ext2 -F -b 4096 ramdisk0
$ settrans --active --orphan ramdisk0 /hurd/ext2fs ramdisk0
$ df -h ramdisk0/
Filesystem            Size  Used Avail Use% Mounted on
-                      32M  1.1M   30M   4% /media/data/home/tschwinge/ramdisk0

This uses settrans and ?storeio to create a ramdisk of 32 MiB by routing a thusly sized zero store through the copy store, connecting that to the ramdisk0 node, create a ext2 filesystem on it, and replace the translator running on the ramdisk0 node with a instance of the ext2fs translator running on the same node (?translator stacking).

A (better) alternative would be using the tmpfs translator, but that one is broken at the moment.