pc98_disks_in_linux
Notes relating to using PC9801/9821 (and possibly other retro PC system) disks in Linux
File Explorer
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
umount
View Details ▼
umount
Unlink a filesystem from its mount point, making it no longer accessible.
A filesystem cannot be unmounted when it is busy.
umount {{path/to/device_file}}
Unmount a filesystem, by passing the path to the source it is mounted from:
sudo umount {{path/to/device_file}}
Unmount a filesystem, by passing the path to the source it is mounted from:
umount {{path/to/mounted_directory}}
Unmount a filesystem, by passing the path to the target where it is mounted:
mount
View Details ▼
mount
Mount host directories/drives/images as virtual DOS drives.
MOUNT C .
Mount current directory as C:
MOUNT C {{C:\path\to\directory}}
Mount specific directory as C:
MOUNT C {{C:\path\to\directory}} -freesize {{1024}}
Mount with free space limit (MB):
losetup
View Details ▼
losetup
Set up and control loop devices.
losetup {{[-a|--all]}}
List loop devices with detailed info:
sudo losetup {{/dev/loop}} /{{path/to/file}}
Attach a file to a given loop device:
sudo losetup --show {{[-P|--partscan]}} {{[-f|--find]}} /{{path/to/file}}
Attach a file to a new free loop device and scan the device for partitions:
lsblk
View Details ▼
lsblk
List information about devices.
lsblk
List all storage devices in a tree-like format:
lsblk {{[-a|--all]}}
Also list empty devices:
lsblk {{[-b|--bytes]}}
Print the SIZE column in bytes rather than in a human-readable format:
udisksctl
View Details ▼
udisksctl
Interact with `udisksd` to query and manipulate storage devices.
See also: `mount`.
udisksctl status
Show high-level information about disk drives and block devices:
udisksctl info {{[-b|--block-device]}} {{/dev/sdX}}
Show detailed information about a device:
udisksctl info {{[-b|--block-device]}} {{/dev/sdXN}}
Show detailed information about a device partition:
