Loopback Device: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m Device names changed. |
m Missed a few.. |
||
Line 342: | Line 342: | ||
Configuring the vnd0 device: |
Configuring the vnd0 device: |
||
vnconfig |
vnconfig vnd0 /path/to/floppy.img |
||
Listing configured devices: |
Listing configured devices: |
||
Line 355: | Line 355: | ||
Creating a FAT12 file system and then mounting the device: |
Creating a FAT12 file system and then mounting the device: |
||
newfs_msdos -F 12 -f 1440 /dev/rvnd0c |
newfs_msdos -F 12 -f 1440 /dev/rvnd0c |
||
mount -t msdos /dev/ |
mount -t msdos /dev/vnd0i /mnt/floppy |
||
Removing the device mount and |
Removing the device mount and uninstalling the vnd0 device: |
||
umount /mnt/floppy |
umount /mnt/floppy |
||
vnconfig -u vnd0 |
vnconfig -u vnd0 |