Loopback Device: Difference between revisions

m
Added how to mount FAT12 floppy disks
[unchecked revision][unchecked revision]
(Nuke FreeBSD 4.x instructions and hope the 5.x instructions still apply)
m (Added how to mount FAT12 floppy disks)
Line 69:
 
mount -t msdos /dev/loop0 /mnt/myfloppy
 
=== Floppy Disk Images With FAT12 ===
 
The steps mentioned below will be useful for Broken Thorn Entertainment OS tutorial
 
Create an empty image.
dd if=/dev/zero of=floppy.img bs=512 count=2880
 
Set it up for mounting.
 
losetup /dev/loop0 floppy.img
 
Format it to FAT12.
 
mkdosfs -F 12 /dev/loop0
 
Mount!
mount /dev/loop0 /mnt -t msdos -o "fat=12"
 
Unmount
 
umount /mnt
 
Destroy loopback device
 
losetup -d /dev/loop0
 
=== Hard Disk Images ===
Anonymous user