Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] submountd continuously accessing usb floppy -- or how do floppies work???
  • From: Robert Paulsen <robert@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 23 May 2004 15:41:53 -0500
  • Message-id: <200405231541.53928.robert@xxxxxxxxxxxxxxxxx>
On Sunday 23 May 2004 02:05 pm, Marshall Heartley wrote:
> <snip>
>
> > Perhaps this is my fault: I changed fstab to look like this
> > (I added "user"):
> >
> > /dev/sdb /media/floppy1 subfs
> > fs=floppyfss,procuid,nodev,nosuid,sync,user 0 0
>
> You will need to remove the word user here. See the man page for
> submount.

OK, did that. (And rebooted just to be sure.)

>
> > I had to do that or I couldn't use the floppy as a regular user.
> > When I clicked on the drive's icon I got an error message saying
> > only root could mount it.
>
> Hmmmm..... Submount should mount the media as user. I am not using
> anything USB at the moment but it works with other media.

Well I have two floppies -- USB and good old fashioned kind. I get the same
error trying to mount either:

mount /media/floppy
mount: only root can mount /dev/fd0 on /media/floppy

mount /media/floppy1
mount: only root can mount /dev/sdb on /media/floppy1

>
> Submount will try and mount the media if it believes that you are
> requiring the device.

According to the man page for submount ...

Submount is a program that automatically mounts removable
media devices or other filesystems when the mount direcĀ­
tory is accessed, and unmounts them when they are no
longer in use.

That doesn't happen for me. If I try to access /media/floppy
(or /media/floppy1) nothing happens. I just see an empty directory. Same
thing if I open "My Computer" and click on floppy or floppy1.

> It will scan when you bring up konqueror
> because there is a module that allows you to access your media using
> konqueror.
>
> I have found that having another instance of konqueror running while
> using submount has caused me some issues here. I usually tell KDE
> not to preload an instance of konqueror at startup.
>
> > Can anyone explain this to me?
>
> Maybe some of the above will help?

Perhaps if I get a few more clues it will come together!


--
Robert C. Paulsen, Jr.
robert@xxxxxxxxxxxxxxxxx

< Previous Next >