The /cdrom directory itself is actually on your hard disk. For all
practical purposes, the contents of the CD become a part of the root
filesystem, and when you type commands and use programs, it doesn't make
any difference what the actual physical location of the files is. You
could have created a directory on your hard disk called /cdrom and put
some files in it, and everything would behave in exactly the same way.
Once you mount a filesystem, there's no need to pay any attention to
physical devices.
However, before you can mount a filesystem or actually create a filesystem
on a disk that doesn't have one yet, it's necessary to refer to the
devices themselves. All devices have names, which are located in the /dev
directory. If you type ls /dev now, you'll see a pretty lengthy list of
every possible device you could have on your Debian system. For a summary
of some devices, see Table 2.1 on page [*]. A more thorough list can be
found on your system in the file /usr/src/linux/Documentation/devices.txt.
To mount a filesystem, we want to tell Linux to associate whatever
filesystem it finds on a particular device with a particular mount point.
Pages:
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170