Loopback devices
Posted: Sat Aug 14, 2004 11:51 pm
Im wanting to use a floppy image in place of using the actual floppy drive since images are much
faster and wont kill my drive when testing my kernel with bochs.
I create the image:
$ dd if=/dev/fd1 of=floppy.img
mount it:
$ mount -t msdos floppy.img /media/floppyimage -o loop
everything goes fine, I can do a `ls /media/floppyimage`
and see the contents of the image. My problem is that I
must be root to delete, move, etc files in the mountpoint.
How can I mount a floppy image so that normal users can
write/read ?
faster and wont kill my drive when testing my kernel with bochs.
I create the image:
$ dd if=/dev/fd1 of=floppy.img
mount it:
$ mount -t msdos floppy.img /media/floppyimage -o loop
everything goes fine, I can do a `ls /media/floppyimage`
and see the contents of the image. My problem is that I
must be root to delete, move, etc files in the mountpoint.
How can I mount a floppy image so that normal users can
write/read ?