Re: Mounting a file as a filesystem
Sebastian Kuzminsky <email@example.com> writes:
] So my question is this: how do i fsck the filesystem in a file?
Guy Maor <firstname.lastname@example.org> wrote:
] Use losetup(8) to associate the loop device with a file first, then
] fsck, and then mount.
] losetup /dev/loop0 /the/loopback/file
] fsck -t ext2 /dev/loop0
] mount -t ext2 /dev/loop0 /mnt
Oh yeah, that makes perfect sense. Thanks!
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com