On Sun, 21 Mar 1999, ^Mr^ wrote:

 # how can i get my hda1 to be auto-mounted on /mnt everytime i load linux

You probably don't want to use /mnt as a permanent mount-point. Its
usually reserved for temporary stuff.

You might want to consider naming the mount point something intuitive like
"/dos"....

# mkdir /dos
# vi /etc/fstab
<add the next line>
/dev/hda1   /dos                   vfat    defaults        1 2

save and type "mount -a".


 # ..
 # and i've checked in fstab to look for any line on my hda1 .. there isn't
 # 
 # can anyone tell me the line there should be in fstab ; these are my
 # configurations ..
 # 
 # /dev/hda1 - vfat ( win95 )
 # /dev/hda5 - linux
 # i want all users to be allowed to mount & umount ...

Normal users can only mount/umount partitions that have the "user" options
(placed after default ala:

/dev/hda1 /dos vfat defaults,user 1 2

You normally don't want this.)

 # i want it to be read & write

No problem. It defaults to that.

 # i want it to automount on start ..

Defaults to that, too. FYI: To make it NOT be mounted at boot, add the
option of "noauto"...

/dev/hda1 /dos vfat defaults,user,noauto 1 2

But you probably just want to use my first example and have it mounted at
boot and stay mounted. 

 # 
 # that should be an easy question for u guys
 # 


G'day!
--                                             n i c h o l a s  j  l e o n
elegance through simplicity*http://mrnick.binary9.net*[EMAIL PROTECTED]
good fortune through truth*roaming:[EMAIL PROTECTED]*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others

Reply via email to