1 |
On Wed, 13 Jul 2005 18:39:38 -0400 Colin <signofzeta@×××××.com> wrote: |
2 |
> aabb wrote: |
3 |
> >Here's a strange one... |
4 |
> > |
5 |
> >I use 2 partitions for Windows 98, hda1 and hda5. I set both up as |
6 |
> >type "c" (fat32 LBA) during my gentoo installation, using fdisk. The |
7 |
> >entries in /etc/fstab are almost identical: |
8 |
> > |
9 |
> >/dev/hda1 /mnt/win_c vfat umask=0,noexec 0 0 |
10 |
> >/dev/hda5 /mnt/win_d vfat umask=0,noexec 0 0 |
11 |
|
12 |
What's the output of "fdisk -l /dev/hda"? |
13 |
BTW, I use "noauto,noexec,user,fmask=0133" as options in fstab for vfat |
14 |
partitions. |
15 |
|
16 |
> Any of the mask entries correspond to octal permission; therefore, |
17 |
> they need to be three-digit numbers. I recommend 022 (rwxr-xr-x), |
18 |
> but I assume you want 000 (rwxrwxrwx). Don't forget to set uid and |
19 |
> gid or else only root will have access to the files! |
20 |
|
21 |
I set file mask to fmask=0133 on vfat partitions, because files on |
22 |
windows partitions don't need the executable bit. It only annoys me when |
23 |
Midnight Commander tries to execute them after I press ENTER. |
24 |
|
25 |
Cheers, |
26 |
Renat |
27 |
|
28 |
-- |
29 |
Probleme kann man niemals mit derselben Denkweise lösen, |
30 |
durch die sie entstanden sind. |
31 |
(Einstein) |