[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't read Win95 (vfat) partitions



>	Looks good so far, So now I go for the mount:
>
>mount -t vfat /dev/hda1 /Win95 -o user,rw

Okay, I didn't know for sure about this, so
I decided to investigate.  First off, the permissions
of the directory that you are mounting over
don't matter diddly-squat.  It is a mount-point,
and you are mounting _over_ it.  (note the
"over" part)

At first, it seemed that -o user,rw was the thing
to do.  But I checked the mount man page
anyway.  Under FAT partition specific mounting
options, I found 'umask=value' which sets the default
umask, defaulting to the default umask of the running
process.  Your default umask is likely 022.  Mine is.
Try the following:

mount -t vfat /dev/hda1 /Win95 -o user,rw,umask=000

...and tell us what you get.
(BTW - options 'uid=' and 'gid=' will set the owner
and group for the entire Win95 filesystem.)

Hope this helps.

        - Kevin Colby
          kevin marcal com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]