On May 5, 2004 03:23 am, Michael Walters wrote:
> Hello All,
>
> I wanted to mount msdos filesystems on floppies as a user because I want to
> give a friend of mine an account on my computer and enable him to mount and
> umount file systems on his floppy when it is inserted in my floppy drive.

If youre talking ssh...

Really this has little/nothing to do with fstab, but rather who has permission 
to execute the mount and unmount commands. Unfortunately if you give him/her 
that permission they will be able to mount or unmount any of your drives.
------
or, if you mean you want him/her to be able to mount your drive to a directory 
on another machine you need to look into nfs [network filesystem].

>
> At the present time I can only mount file systems on a floppy in my drive
> as root, and want to be able to do it as a user.
>
> So I did a man fstab and learned how to look at my fstab file.
>
> I did a cd to /etc and then did a cat fstab to find out what was in my
> /etc/ fstab file.
>
> I noticed that the line containing fd0 was as follows:
>
> /dev/fd0      /floppy vfat,auto       defaults,user,noauto 0 0 where the last two 0's
> were under <dump> and <pass>.
>
> I then did a vi fstab and i and got the following warning in red:
>
> "w10: Warning: changing a read only file".
>
> Not wanting to break something  or to cause havoc to my system I did an
> esc :q! and then sent you this message.
>
> Is it safe for me to edit the fstab file, and if so, how should I modify it
> so that I can mount msdos type files on a floppy inserted into my floppy
> drive?
>

it is safe to modify it if you know how. Man fstab and man mount should tell 
you what you need to know.

> I want to give a friend of mine an account on my computer and give him the
> capability to mount and umount msdos file systems on his floppy when he
> inserts it in my floppy drive.
>

The fact that the auto option is set in your fstab for fd0 means the floppy 
will [read should] be auto-mounted when your friend tries to access it.

hopefully that helps a little...

Nick

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to