From 678efb0b313bae3c4223ec723901cf52496400a2 Mon Sep 17 00:00:00 2001 From: Adriano Inghingolo <68734231+SpikeTheDragon40k@users.noreply.github.com> Date: Sat, 31 Jan 2026 15:25:14 +0100 Subject: [PATCH] dos/{mount, rd}: add page (#20865) * RD: add page Add documentation for the RD command in DOS. * MOUNT: add page Added documentation for mounting drives in DOS. * Update pages/dos/mount.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/dos/mount.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/dos/rd.md Co-authored-by: Ivan Baluta * Update pages/dos/mount.md Co-authored-by: Ivan Baluta * Update pages/dos/rd.md Co-authored-by: Ivan Baluta * Apply suggestions from code review Co-authored-by: Emmanuel Ferdman --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Ivan Baluta Co-authored-by: Emmanuel Ferdman --- pages/dos/mount.md | 32 ++++++++++++++++++++++++++++++++ pages/dos/rd.md | 8 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 pages/dos/mount.md create mode 100644 pages/dos/rd.md diff --git a/pages/dos/mount.md b/pages/dos/mount.md new file mode 100644 index 0000000000..37516d5085 --- /dev/null +++ b/pages/dos/mount.md @@ -0,0 +1,32 @@ +# MOUNT + +> Mount host directories/drives/images as virtual DOS drives. +> More information: . + +- Mount current directory as C: + +`MOUNT C .` + +- Mount specific directory as C: + +`MOUNT C {{C:\path\to\directory}}` + +- Mount with free space limit (MB): + +`MOUNT C {{C:\path\to\directory}} -freesize {{1024}}` + +- Mount floppy drive: + +`MOUNT A {{A:\}} -t floppy` + +- Mount CD-ROM drive: + +`MOUNT D {{D:\}} -t cdrom` + +- Mount CD with extra options: + +`MOUNT D {{D:\}} -t cdrom -usecd {{0}} -ioctl` + +- Unmount drive: + +`MOUNT -u {{C}}` diff --git a/pages/dos/rd.md b/pages/dos/rd.md new file mode 100644 index 0000000000..49c122a8fa --- /dev/null +++ b/pages/dos/rd.md @@ -0,0 +1,8 @@ +# RD + +> Remove a directory. +> More information: . + +- Remove directory: + +`RD {{path\to\directory}}`