Fixed-How to automount vfat drives at boot?

Using applications, configuring, problems
Post Reply
Message
Author
webworm98
Posts: 77
Joined: Fri 28 Apr 2006, 14:45

Fixed-How to automount vfat drives at boot?

#1 Post by webworm98 »

Fixed-How do I auto mount vfat drives in read and write mode at boot including subdirectories?

Puppy is installed in /dev/hda4

Here is my fstab settings

/dev/hda4 / ext2 defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/hda1 /root/drivec vfat auto,user,exec,rw 0 0
/dev/hda2 /root/drived vfat auto,user,exec,rw 0 0
/dev/hda3 /root/drivee vfat auto,user,exec,rw 0 0

you also need to add this to root/.etc/rc.d/rc.local
mount -t vfat /dev/hda1 /drivec
mount -t vfat /dev/hda2 /drived
mount -t vfat /dev/hda3 /drivee

Now if you use win98 zip file(no need to edit fstab)
you need to add this to root/.etc/rc.d/rc.local
mount -t vfat /dev/hda1 /mnt/home
mount -t vfat /dev/hda2 /root/drived
mount -t vfat /dev/hda3 /root/drivee

Post Reply