Helpful Information
 
 
Category: Operating Systems
Fat32 under Linux

OK, I know I must be getting on everybodies nerv by now! Sorry for that!

Now I installed Mandrake 8.0 @ home and made myself a FAT 32 partition, so that I can move data between Linux and Windows.

Now, how do mount this drive in Linux, so that I can use it?

best regards
Sheriff

mount -t vfat /dev/hda5 /mnt/win

Note, /mnt/win directory must exist, no symlink, prior to mounting.

What's the -t flag do?

Taken from mount --help

mount -t type dev dir : ordinary mount command

best regards
Sheriff

Thanks freebsd!
Now I hust have a little bit of a problem...
I found a tool called linuxconf. I tried to mount hdb5 in there, cos only root had permissions to do something in this directory.
Well, no such luck!
I tried to chmod it, and chmod tells me it did it, but at the end nobody has any rights on it.
So, what can I do to get this thing to work for my standard user?

You might want to try chown too, to allow other users access to it. Do "ls -l" to see the full details of the files/directories/links, including ownership and permissions. Chown it to be owned by users, not superusers... do "man chown" to work out exactly what you want to do.

You don't need to be root to mount it. But the user do need to have write permission on the mount source and target.

I suggest you not to mess with chmod and chown that way. Practically, you should mount it on boot (/etc/fstab) and create a new group and chown it to that group. For whoever users that need access, invite them to that new group.

Thank you guys!
You really have been a lot of help!
Once you know where to look for stuff it's going pretty neat.
I guess it'll take a lot of getting used to.....
best regards
Sheriff

I'm actually having a little problem myself accessing a mounted fat drive from apache

I have tried mounting it to the html folder and mounting it to my /mnt folder with apache accessing it via a system link.

When the drive is mounted directly to html it does show up in the listing in the browser (http://localhost). The system links don't show up in the listing.

When I attempt to access the directory Apache serves an error - permission denied.

Seeing as it is a fat drive chmod-ding won't be much use.(..?)
All groups have permission to read, anyhow.

FC4.

Your help is appreciated.










privacy (GDPR)