> You have the kernel image which is located > at /boot (?) By convention, the partition which contains the kernel image is mounted on /boot. The kernel image itself is just an ordinary file in that partition.
> But why is it that /dev/cdrom is mounted by default on > /mnt/cdrom? Why not reduce confusion and mount it on > /dev/cdrom itself? /dev/cdrom and /mnt/cdrom provide different interfaces to similar, but not identical, information. The device file, which will usually be /dev/cdrom, is intended for low-level access to the CD itself, with very little translation (e.g. read 10 sectors starting from sector 5000), whereas /mnt/cdrom provides a nice view of the files on the CD. While it would be possible, in principle, to mount the CD drve on /dev/cdrom and call the device file something else, any program which doesn't treat CD as filesystems (like, say, a player for music CDs) would probably stop working. > Also, what are the other partitions > that are mounted by default and their default > locations? Have a look in /etc/fstab and ``man fstab''. Various filesystems are mounted by convention automatically. These are virtual, and so don't need a backing partition (the kernel makes the files up when needed). The only one you really need is /proc, type proc, which contains various kernel parameters and information on running processes. If you don't have this, ps, top, uptime, and plenty of other programs stop working. A filesystem of type shm is also usually mounted on later kernels. For various arcane reasons, it doesn't actually matter where this one gets mounted, but /var/shm is common. A few programs assume that such a filesystem is mounted somewhere, but very few (the only one which I can immediately think of is cdrecord). Depending on the distribution, you may also need to mount devfs on /dev. This provides a slightly nicer way of translating between user-accessible device names (e.g. /dev/cdrom) and the kernel's internal representations, but isn't really necessary. If you have it, leave it alone, and if you don't, don't bother setting it up. Some programs perform better if a tmpfs filesystem is mounted on /tmp. Files created on a tmpfs filesystem are only ever stored in memory, rather than on disk, so should be far faster. On the other hand, they get zapped if you reboot. Unlike the previous three, tmpfs can be ignored and, in theory, nothing will actually break, just run a little slower. Steven Smith, [EMAIL PROTECTED]
msg02196/pgp00000.pgp
Description: PGP signature