Re: mounting vfat partition on boot up

From: disco (jpdiscover_at_hotmail.com)
Date: 11/19/03


Date: 19 Nov 2003 13:38:41 -0800

Can somone point me to a link or howto going in the opposite direction
and between two separate machines?

I have a RH8 box running on a network and I would like to make the
root directory available in such a way that that it can be be
mounted/mapped as a drive in Windows 2000. I need to know the steps
to set up the linux side and the correct syntax to the map the drive
on the Windows side. Is this where I would use SAMBA?

Thanks,
Disco

Sybren Stüvel <sybrenUSE@YOURimagination.thirdtower.com> wrote in message news:<pan.2003.11.19.00.21.35.912526@YOURimagination.thirdtower.com>...
> On Tue, 18 Nov 2003 16:03:20 -0800, Ashley wrote:
> > Just one question though, when i mount as a normal user, the permissions
> > dont allow me to write to it, just read. I need to mount it with these
> > permissions active.
>
> Just put in the right uid, gid and umask options
>
> > Can i do on boot?
>
> Yes - make sure it doesn't contain any typos (try it before rebooting) and
> it'll be mounted automagically unless you use the "noauto" option.
>
> > The line:
> >
> > /dev/hda6 /mnt/vfat vfat
> > users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
> >
> > does not work
>
> No wonder, it has /dev/hda6 instead of /dev/hda8 in there.
>
> > Now when i try it linux wont even boot.
>
> That is probably because you're trying to mount your root filesystem as
> vfat.
>
> > Is there a way i can get it to set all
> > permissions for a user on boot?
>
> Yes
>
> > Other than this way?
>
> Yes - that is to do it the way it should, which is what you want to do
> here but don't because of typos.
>
> Sybren
>
> PS: This is a supersede of my previous post with almost the same content.
> If you see this post double, your news server doesn't support supersedes.
> Go complain to the owner of the server.