Hello All,

I thought about this before I went to sleep last night and tried it out in the 
morning and successfully got exactly the results I expected. So now I more 
fully understand mount and umount as various users.

I did an adduser dale, and then an adduser dale floppy.

Then I did the following.

I logged in as michael.

I typed mount floppy

and got

mount:can't find floppy in /etc/fstab or /etc/mtab

that is exactly what I expected.

so I typed mount /floppy and succeeded.

I did a startx into xwindow and went into gqview and viewed my two existing 
jpg files which I had saved on my floppy.

I went out of xwindow and did a umount floppy and got

umount: floppy is not mounted (according to mtab).

I then did a umount /floppy and umounted successfully.

I then got out of xwindow.

I then su'd as dale and did the above as user dale with exactly the same 
results, except that the dale account does not have any jpg files in his home 
directory, so the only jpg files I could view were on the floppy (the same 
floppy)

So as one of the writers to this mailing list said, I indeed can mount a 
floppy from any directory. But the umount command must supply a complete 
path.

That is why mount floppy failed and mount /floppy succeeded.

That is why umount floppy failed and umount /floppy succeeded.

Indeed I could type mount /flo tab completion and the mount succeeded and 
umount /flo and tab completion and umount succeeded.

So now that I understand adding users, adding users to groups, and mount and 
umount commands, and how to use applications like gqview to filesystems 
mounted as users, I have tremendous satisfaction at learning system 
administration and doing user tasks well enough to completely explain them to 
my friend.

It sure is a lot of fun seeing what I expect to see when I use linux both in 
system administration and in user tasks. And I could not have done it without 
some very minimal but completely sufficient hints from people in this 
emailing list.

Thanks everyone for giving me confidence and fun in linux.

Blessings,

Michael Walters

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

Reply via email to