Examples - jaylogue/retro-fuse GitHub Wiki
The following examples show how to use retro-fuse to perform various common tasks. In most cases it is possible to substitute any one of the available filesystem handlers for the one shown in the example command.
Mount an image file containing a v6 filesystem
$ v6fs root.dsk /mnt/tmp
Mount a v7 filesystem occupying a particular offset and size on a host block device
$ v7fs -o fssize=4872,fsoffset=4194304 /dev/sdc /mnt/tmp
Mount a 2.9BSD filesystem, mapping the host’s user id 1000 to uid 33 on the filesystem
$ bsd29fs -o mapuid=1000:33 root.dsk /mnt/tmp
Mount a v6 filesystem as root, allowing other users to access it
$ sudo v6fs -oallow_other root.dsk /mnt/tmp
Initialize and mount a new v6 filesystem having the same size as a DEC RK05 disk
$ v6fs -o initfs,fssize=4872 scratch.dsk /mnt/tmp
NOTE — When using the initfs
option with an image file, the file
must not exist when the command is invoked.
Initialize and mount a new v7 filesystem with a specific number of inode blocks
$ v7fs -o initfs=200,fssize=4872 scratch.dsk /mnt/tmp
Unmount a filesystem that has been mounted by the active (non-root) user
$ fusermount -u /mnt/tmp
Unmount a filesystem that has been mounted by root or another user
$ sudo umount /mnt/tmp