Sam wrote:
>
> Hi,
> I was looking through the files in /etc and realised that /etc/fstab and
> /etc/mtab have very similar contents. Could anybody enlighten me on what're
> the differences between these files, e.g. in terms of function? Thanks.
fstab lists predefined filesystems which can be mounted on your system,
mstab basically contains the same information but only for filesystems
that are currently mounted on your system. If a filesystem is listed in
fstab, you can execute mount with only the mount point (or is it only
the device, or can it be either), and the filesystem will be mounted
with the parameters specified in fstab. The boot process also uses
fstab for the same purpose (AFAIK).
Hope this helps,
Randy Kramer