Reword disk drive docs a bit, to hopefully make it more clear on how to use it. Closes #118.

This commit is contained in:
Florian Nücke
2022-02-14 00:32:35 +01:00
parent 530b83011e
commit baa3ca8976

View File

@@ -1,13 +1,20 @@
# Disk Drive
![Taking it for a spin](block:oc2:disk_drive)
The disk drive provides an option for quick media exchange. [Floppy disks](../item/floppy.md) can be added and removed at runtime, unlike [hard drives](../item/hard_drive.md).
The disk drive provides an option for quick media exchange. [Floppy disks](../item/floppy.md) can be added and removed
at runtime, unlike [hard drives](../item/hard_drive.md).
Note that it is highly advisable to explicitly unmount your floppy before removing it from the drive to avoid data loss.
On a Linux system, disk drives will typically appear as `/dev/vdX` devices, following any installed hard drives. On the default Linux distribution, the following commands may be useful:
- `mke2fs /dev/vdX` to format a floppy disk.
- `mount /dev/vdX <mount directory>` to mount a floppy disk.
- `umount <mount directory>` to unmount a floppy disk.
On a Linux system, disk drives will typically appear as `/dev/vdX` devices, following any installed hard drives. They
are not automatically formatted or mounted, but will only appear as raw block devices. To use them, you'll need to
configure them, first. For example, on the default Linux distribution, the following commands will be useful:
Computers *have to be shut down* before installing or removing this component. Installing it while the computer is running will have no effect, removing it may lead to system errors.
- `mke2fs /dev/vdX` to format a floppy disk. Run this when first installing the disk. *Will erase data on floppy!*
- `mount /dev/vdX <mount directory>` to mount a floppy disk after formatting it. Make sure the directory you want to
mount it to exists and is empty.
- `umount <mount directory>` to unmount a floppy disk. Make sure to run this before removing the floppy from the disk
drive, to avoid data loss.
Computers *have to be shut down* before installing or removing this component. Installing it while the computer is
running will have no effect, removing it may lead to system errors.