Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I was wondering if anyone knows how to auto mount a hard drive I am sharing with Windows, its FAT32. Currently I have to do the following everytime I log in.
mount -t vfat /dev/hdb5 /mnt/data
and I want it to automatically mount it on startup. Any advice would be appreciated.
Side note:
Another Winmodem Success story. I got my Intel 536ep v92 winmodem to work in Red Hat without flaw!

To mount your windows partition at startup add an entry to your /etc/fstab file. Edit this with user root.
The following will give read/write access to root and read-only access to everyone else:
/dev/hdb5 /mnt/data vfat defaults 0 0The following will give read/write access to everyone:
/dev/hdb5 /mnt/data vfat defaults,umask=0 0 0If you ever need NTFS (read-only) support (Windows NT, 2000, or XP) then go to this site to add it:
http://linux-ntfs.sourceforge.net/info/redhat.htmlExamples for Windows C drive with NTFS filesystem:
The following will give read-only access to root and no access to everyone else:
/dev/hda1 /mnt/winc ntfs defaults 0 0The following will give read-only access to everyone:
/dev/hda1 /mnt/winc ntfs defaults,umask=222 0 0IMPORTANT, always leave a blank line at the end of the /etc/fstab file or you will get an error message when you boot up.

![]() |
a script to check smb-sha...
|
small linux download
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |