git: 92dfc0643a - main - Replace vestiges of nonexistent /cdrom to /media
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Aug 2025 10:55:00 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/doc/commit/?id=92dfc0643a55ccd9e5221967de9c125382c3c86b
commit 92dfc0643a55ccd9e5221967de9c125382c3c86b
Author: Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2025-08-27 10:53:26 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2025-08-27 10:53:26 +0000
Replace vestiges of nonexistent /cdrom to /media
PR: 282681
Event: Oslo Hackathon 2025
---
documentation/content/en/books/handbook/basics/_index.adoc | 2 +-
documentation/content/en/books/handbook/cutting-edge/_index.adoc | 4 ++--
documentation/content/en/books/handbook/network-servers/_index.adoc | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/documentation/content/en/books/handbook/basics/_index.adoc b/documentation/content/en/books/handbook/basics/_index.adoc
index 0abb750dab..df093f4e5e 100644
--- a/documentation/content/en/books/handbook/basics/_index.adoc
+++ b/documentation/content/en/books/handbook/basics/_index.adoc
@@ -1076,7 +1076,7 @@ The root directory also contains mount points for other file systems that are mo
A mount point is a directory where additional file systems can be grafted onto a parent file system (usually the root file system).
This is further described in crossref:basics[disk-organization, Disk Organization].
-Standard mount points include `/usr/`, `/var/`, `/tmp/`, `/mnt/`, and `/cdrom/`.
+Standard mount points include `/usr/`, `/var/`, `/tmp/`, `/mnt/`, and `/media/`.
These directories are usually referenced to entries in `/etc/fstab`.
This file is a table of various file systems and mount points and is read by the system.
Most of the file systems in `/etc/fstab` are mounted automatically at boot time from the script man:rc[8] unless their entry includes `noauto`.
diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index e1390faa52..59e38e2bc9 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -415,8 +415,8 @@ If physical access to the system is available, a copy of the `GENERIC` kernel ca
[source,shell]
....
-# mount /cdrom
-# cd /cdrom/usr/freebsd-dist
+# mount /media
+# cd /media/usr/freebsd-dist
# tar -C/ -xvf kernel.txz boot/kernel/kernel
....
diff --git a/documentation/content/en/books/handbook/network-servers/_index.adoc b/documentation/content/en/books/handbook/network-servers/_index.adoc
index dba07a8e2c..37109cb947 100644
--- a/documentation/content/en/books/handbook/network-servers/_index.adoc
+++ b/documentation/content/en/books/handbook/network-servers/_index.adoc
@@ -319,11 +319,11 @@ The examples can be modified to match the file systems and client names on the r
There are many options that can be used in this file, but only a few will be mentioned here.
See man:exports[5] for the full list of options.
-This example shows how to export [.filename]#/cdrom# to three hosts named _alpha_, _bravo_, and _charlie_:
+This example shows how to export [.filename]#/media# to three hosts named _alpha_, _bravo_, and _charlie_:
[.programlisting]
....
-/cdrom -ro alpha bravo charlie
+/media -ro alpha bravo charlie
....
The `-ro` flag makes the file system read-only, preventing clients from making any changes to the exported file system.