[vox-tech] FSTAB Questions
Ken Bloom
vox-tech@lists.lugod.org
Tue, 17 Feb 2004 11:40:19 -0800
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In addition to everyone else's wonderful suggestions, I also always
mount vfat drives with the showexec option, which turns off the exec
bit for files that aren't .exe files, but leaves it on for
directories. You can't do that with umask.
On Tue, Feb 17, 2004 at 09:34:05AM -0800, Robert G. Scofield wrote:
> When I first installed SuSE 9.0 it automatically put my Windows partition=
in=20
> /etc/fstab. That was nice because I want to be able to use Open Office i=
n=20
> Linux to work on Windows files. More importantly, I need to be able to b=
ack=20
> up my Windows files with my Linux CD burning software. I recently had to=
=20
> install a new hard drive. And I just noticed that, after re-installing S=
uSE,=20
> the Windows partition was not being mounted. I've been playing around wi=
th=20
> fstab and with the following configuration I can work on Windows files:
>=20
> /dev/hda5 / ext3 defaults =
1 1
> /dev/hda6 /empty ext3 defaults =
1 2
> /dev/hda10 /home ext3 defaults =
1 2
> /dev/hda11 /opt ext3 defaults =
1 2
> /dev/hda9 /tmp ext3 defaults =
1 2
> /dev/hda8 /var ext3 defaults =
1 2
> /dev/hda1 /mnt/windows vfat umask=3D0 =
0 0
> /dev/hda7 swap swap pri=3D42 =
0 0
> devpts /dev/pts devpts mode=3D0620,gid=3D5 =
0 0
> proc /proc proc defaults =
0 0
> usbdevfs /proc/bus/usb usbdevfs noauto =
0 0
> /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec =
0 0
> /dev/cdrom /media/cdrom auto ro,noauto,user,exec =
0 0
> /dev/fd0 /media/floppy auto noauto,user,sync =
0 0
>=20
> Here are two questions:
>=20
> 1) Does this order look okay? Is /dev/hda1 in the right place? Man fst=
ab=20
> says that order is important.
>=20
> 2) Instead of "umask=3D0" I originally tried "defaults", and then "rw,us=
er." =20
> But with these, Open Office couldn't write to the Windows files. (I've=
=20
> haven't tried backing up yet.) Umask=3D0 is working fine. But here's th=
e=20
> question. I've come across an old Mandrake 9.0 fstab and here's the entr=
y=20
> for the Windows partition:
>=20
> /dev/hda1 /mnt/windows vfat iocharset=3Diso8859-1,codepage=3D850,um=
ask=3D0 0 0
>=20
> Is there some advantage to having this sort of complicated entry? Will I=
=20
> screw something up with my simple umask=3D0? Should I copy the Mandrake =
entry=20
> into my SuSE system?
>=20
> Thank you.
>=20
> Bob
>=20
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
--=20
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about=20
signing the key. ***** My computer can't give you viruses by email. ***
--5vNYLRcllDrimb99
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAMm4jlHapveKyytERAhSwAKCp353IETLjWWQxrixyGoQTZqZmnQCfa0AC
MjPDK1Qy8319gdQ214tRvwA=
=x+Sg
-----END PGP SIGNATURE-----
--5vNYLRcllDrimb99--