Bug 282681 - '/cdrom/' vs '/media/'
Summary: '/cdrom/' vs '/media/'
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-10 22:30 UTC by tzxzan+cqw8r63qtfb5g
Modified: 2024-11-10 22:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tzxzan+cqw8r63qtfb5g 2024-11-10 22:30:02 UTC
https://docs.freebsd.org/en/books/handbook/book/#dirstructure

---

...
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 Disk Organization. Standard mount points include /usr/, /var/, /tmp/, /mnt/, and /cdrom/. 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 rc(8) unless their entry includes noauto. Details can be found in The fstab File.
...
/media/
	

Contains subdirectories to be used as mount points for removable media such as CDs, USB drives, and floppy disks
...
Comment 1 tzxzan+cqw8r63qtfb5g 2024-11-10 22:31:07 UTC
Might be that at some point 'cdrom' changed to 'media' and the handbook was updated only at one place? Version control log should reveal if that was the case.
Comment 2 tzxzan+cqw8r63qtfb5g 2024-11-10 22:35:25 UTC
By the way, there are 2 other places in the handbook where '/cdrom' is mentioned:

- 26.2.3.1. Custom Kernels with FreeBSD 9.X and Later
- 32.3.1. Configuring the Server

Would make sense to update those too?