Bill Bennett wrote:

I'm trying to understand an aspect of the inner workings of my
operating system (Fedora core 2).

Could anyone explain the columns within fstab, please?

For example, the last two lines are:--

/dev/sda1               /mnt/stick              auto    noauto,owner    0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 
noauto,owner,kudzu,ro 0 0

Sure thing!

The first column (fs_spec) is the device or filesystem that you want to mount. This is usually a block device or a network filesystem.
The second column (fs_file) is where you want to mount the device.
The third column (fs_vfstype) tells mount what the filesystem type on the device is. The fourth column (fs_mntops) is used to specify mount options. Options are separated with commas. The fifth column (fs_freq) is used by the dump command to work out whether it needs to make a backup of the filesystem. The sixth column (fs_passno) is used by fsck to see what order filesystems need to be checked at bootup.

Much of the above was gleaned from man fstab(5), and you'll find a whole lot more detail in there that what's posted above.

HTH,
Lindsay

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to