Skip to main content
9 events
when toggle format what by license comment
Nov 24, 2023 at 8:41 comment added rahulaga-msft thinking bit more; mount /dev/cdrom /media/cdrom is this like telling OS that files under mount point /media/cdrom is associated with FileSystem driver interfaced via device file /dev/cdrom ?
Nov 24, 2023 at 6:04 comment added rahulaga-msft So far I understand /dev/sdb1 device file provides you with interface to read/write to disks, is this correct ? meaning corresponding device driver would have implemented Open/Read/Write system calls. But when you try accessing file via mount point, then this being normal file should interface with appropriate FileSystem driver for Read/Write system calls. Somehow the role of /dev/sdb1 during I/O operation is not clicking to me given I/O operation would be performed on file available through mount point path ?
Nov 24, 2023 at 6:04 comment added rahulaga-msft Thanks lot @Gilles'SO-stopbeingevil' !! Am learning lot better from your answers rather following heavy text.
Jun 25, 2023 at 6:20 comment added Gilles 'SO- stop being evil' @MehdiCharife Mainly because being able to mount a device at a specific location is part of the requirements. This feature is used for all filesystems, not just for removable devices. For example, if you have /home on a separate device, that really has to appear as /home, not as /dev/sdb1. And there's also the root filesystem, which gets mounted in a special way, but there has to be a way to associate / with a filesystem. Also, many filesystems don't have associated device files, but need a mount point anyway.
S Jun 25, 2023 at 6:15 history suggested Mehdi Charife CC BY-SA 4.0
Incorporated the answerer explanation from the comments.
Jun 24, 2023 at 21:22 comment added Mehdi Charife @Gilles'SO-stopbeingevil' Why not associate /dev/cdrom directly with the filesystem? Why do you need a new directory for that?
Jun 24, 2023 at 21:20 review Suggested edits
S Jun 25, 2023 at 6:15
Oct 16, 2010 at 20:19 vote accept Renjith G
Oct 16, 2010 at 20:09 history answered Gilles 'SO- stop being evil' CC BY-SA 2.5