Re: mount fat

Tony Nugent <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Organization Linux Works
Message-ID <[email protected]>
On Fri May 16 2003 at 13:30, "Suprotip Ghosh" wrote:

> Newbie Q...
> 
> How do I mount my Windows partitions on Red Hat 7.2?

A relatively trivial task...

> mount -l, -t; ln /dev/hda1/ etc. ain't givin' any results...

That is _not_ the way it is done.  Try it like this:

	mkdir /mnt/dos
	mount -t vfat /dev/hda1 /mnt/dos
	ls -l /mnt/dos

> the startup log says while loading other filesystems, "no
> mountpoints defined".

What's the contents of your /etc/fstab file?

> 'funny thing': Mandrake generally mounts fat automatically...!?

*linux* can mount fat partitions automatically - if it is configured
correctly.  There would be nothing special about what Mandrake (or
any other linux distro) does.

> thanx all u gurus out there...in advance...

Put something like this into fstab...

/dev/hda1 /mnt/dos vfat defaults 0 0

Now all you have to do is "mount /mnt/dos" and it is done.

I actually use this:

/dev/hda1 /mnt/dos vfat	noauto,uid=0,gid=0,fmask=644,dmask=755	0 0

(Change the uid and gid to suit if you need user access.  The fmask
and dmask make the filesystem permissions a bit more "sensible" than
the defaults).

This can also be done "magically" with automount (autofs), but that
would be a bit too advanced to explain here.

Cheers
Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.