The solution (well, mine, heh) is:-
Automount in /etc/fstab, e.g. /dev/hda5 /mnt/dosd vfat auto,user,rw 0 0
(the 'user' means anyone can mount it & the rw means it's read-write access)
Then, put in /etc/profile the line:-
umount /mnt/dosd
mount /mnt/dosd
That will dismount the drive from whoever mounted it & remount it under the
user who is currently logged in. The thing is, I've found that if ROOT
mounts it then HUGO cannot write to it, even if it has readwrite access. The
above is a workaround until I'm more educated & can do something more
elegant.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 31 May 1998 09:56
> To: Hugo Rabson
> Subject: RE: auto-mounting DOS partitions
>
>
> hello ..
>
> mine looks like that:
>
> /dev/hda5 /mnt/dosd vfat auto,ro 0 0
>
> Is it because you forgot to specify the device? :=) Anyway, mine
> does mount at
> boot-time, though it's read-only. Think I used to have rw access.
> There's of
> course the possibility that vfat does not allow for rw .. how
> about mounting
> the partition as msdos? eg mount -t msdos /dev/hda5 /mnt/dosd ..
>
> Hope that helps ..
>
> later, hoeteck
>
> On 31-May-98 Hugo Rabson wrote:
> > Hi,
> >
> > I can't seem to automount my DOS partition with user readwrite access.
> > Maybe I've put the wrong lines in fstab and mtab?
> >
> > ...something like (in fstab)
> >
> > /mnt/Edward vfat user,rw 0,0
> >
> > Because I can't automount with rw access to all, I have put the
> following
> > lines in /etc/profile :-
> >
> > umount /mnt/Edward
> > mount /mnt/Edward
> >
> > It solves the problem (although of course get an error -
> 'Edward not mounted
> > in fstab' or something - the first time I log in).
> >
> > There *must* be a more elegant solution, if only redirecting
> error messages
> > to /dev/null (my father's idea)
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.