[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re: Dual Booting Red Hat Linux 9



On Fri, Jun 06, 2003 at 03:28:45PM +0000, Jibey Jacob wrote:
> Thanks.
> 
> How do I make the entry for the partition in th /etc/fstab file? What is 
> the exact format for those entries? I do not have access to the man pages 
> yet. Is this information available on the Web?
> 
> Thank you,
> 
> Jibey Jacob

The fields (followed by examples) are

- device                   /dev/hda1
- mount point              /boot
- fstype                   ext2
- mount options            default
- fs freq (dump)           1
- fs passno (fsck order)   2

Here's part of my fstab:

/dev/hda7               /                       ext3    defaults        1 1
/dev/hda2               /boot                   ext3    defaults        1 2
/dev/hda9               /home                   ext3    defaults        1 2
/dev/cdrom              /mnt/cdrom              iso9660 noauto,user,ro  0 0
/dev/hda10              /opt                    ext3    defaults        1 2
/dev/hda11              /u                      ext3    defaults        1 2
/dev/hda8               /usr/local              ext3    defaults        1 2
/dev/hda5               swap                    swap    defaults        0 0

Note that swap is done differently since it is not mounted.  Also note
that the root partition is always fsck-ed first (1 in last field), but
most of the others are checked later (2), and CD and swap are never
checked or dumped (0 0).

Note also that I don't use LABELs.  You can if you want.  Such an
entry would look like

LABEL=/rh73             /                       ext2    defaults        1 1

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.cumbytel.com/~bobcatos/
You can always tell luck from ability by its duration.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]