I have a filesystem in a file (data.4fs). I would like to run (need to run!) fsck on it but cannot work out how.
I can mount the file manually by creating a directory as a mount mount and then mounting it to there. But when mounted, I can’t run fsck. When unmounted, if I type
fsck data.4fs
I get the standard usage message.
How can I pass the filesystem to fsck in a way it understands?