public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Mounting USB memory stick problem
@  Chris Norman
   ` Michael Whapples
   ` Doug Sutherland
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Norman @  UTC (permalink / raw)
  To: speakup

Hi people,
My subject line isn't really accurate, there is no problem in doing it,
it just doesn't happen when I want it to.

There was a time (under gnome, ubuntu 6.10), when I could put a memory
stick in the bus and it would just mount, now I have to mount it as
root, and any attempts to do it from my normal user under the GUI
complains.

Any ideas?

Cheers,
-- 

Chris Norman.
<!-- cnorman@rnibncw.ac.uk -->



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
   Mounting USB memory stick problem Chris Norman
@  ` Michael Whapples
     ` Chris Norman
   ` Doug Sutherland
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Whapples @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Check that all the auto mount options for gnome are set correctly. You can 
find these in the system, preferences menu under the item Removable drives 
and media.

If that fails, then set up your fstab file, and then you should be able to 
mount it with just the command (or similar) "mount /media/usbdisk", as the 
normal user.

From
Michael Whapples
----- Original Message ----- 
From: "Chris Norman" <cnorman@rnibncw.ac.uk>
To: <speakup@braille.uwo.ca>
Sent: Friday, February 23, 2007 3:53 PM
Subject: Mounting USB memory stick problem


> Hi people,
> My subject line isn't really accurate, there is no problem in doing it,
> it just doesn't happen when I want it to.
>
> There was a time (under gnome, ubuntu 6.10), when I could put a memory
> stick in the bus and it would just mount, now I have to mount it as
> root, and any attempts to do it from my normal user under the GUI
> complains.
>
> Any ideas?
>
> Cheers,
> -- 
>
> Chris Norman.
> <!-- cnorman@rnibncw.ac.uk -->
>
>
>
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
   Mounting USB memory stick problem Chris Norman
   ` Michael Whapples
@  ` Doug Sutherland
     ` Steve Holmes
     ` Chris Norman
  1 sibling, 2 replies; 7+ messages in thread
From: Doug Sutherland @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

The /etc/fstab defines the mounts, whether they auto mount
or not (auto, noauto), and who can access who can access
(owner, users). Here is an example:

/dev/sda  /mnt/flash  vfat  noauto,users,rw  0  0

Note the keyword users. The other alternative is owner,
which would be root. Also note the keyword noauto, that
means don't automatically mount, you could use auto.

Chris Norman wrote:
nemory stick in the bus and it would just mount,
now I have to mount it as root


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
   ` Doug Sutherland
@    ` Steve Holmes
       ` Doug Sutherland
     ` Chris Norman
  1 sibling, 1 reply; 7+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Question to clarify:

if the mount option is set to auto, the system would attempt to mount at
boot time whether or not the device is plugged in; right?  The other
question is is there a way to have the mount take place automatically
when you plug the device in later?  I'm thinking one would have to
modify the USB hotplug stuff to invoke the mount command.

On Fri, Feb 23, 2007 at 06:46:38PM -0500, Doug Sutherland wrote:
> The /etc/fstab defines the mounts, whether they auto mount
> or not (auto, noauto), and who can access who can access
> (owner, users). Here is an example:
> 
> /dev/sda  /mnt/flash  vfat  noauto,users,rw  0  0
> 
> Note the keyword users. The other alternative is owner,
> which would be root. Also note the keyword noauto, that
> means don't automatically mount, you could use auto.
> 
> Chris Norman wrote:
> nemory stick in the bus and it would just mount,
> now I have to mount it as root
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
     ` Steve Holmes
@      ` Doug Sutherland
  0 siblings, 0 replies; 7+ messages in thread
From: Doug Sutherland @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Sorry, yes I didn't have that right. At boot time, the system
attempts a mount before the usb hotplug has executed, and
the mount fails. For a quick way of getting the usb disk to
mount on boot I tried simply adding mount /mnt/flash at the
end of the script that starts hotplug, and that works. On my
system that is rc.hotplug, but it would be different on other
distros that use system v init scripts.

You are correct, in order to have the usb disk mount when
plugged in, hotplug will have to be configured to do so. I
have not had a need to look into this kind of config so far,
but there are examples in /usr/doc

Steve Holmes wrote:
I'm thinking one would have to modify the USB hotplug stuff


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
   ` Michael Whapples
@    ` Chris Norman
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Norman @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

All the removable media options are set up right, what sort of thing
should I have in /etc/fstab? Currently, I have:
/dev/sda1 /media/usbdisk auto defaults 0 0

Cheers,

On Fri, 2007-02-23 at 17:19 +0000, Michael Whapples wrote:
> Check that all the auto mount options for gnome are set correctly. You can 
> find these in the system, preferences menu under the item Removable drives 
> and media.
> 
> If that fails, then set up your fstab file, and then you should be able to 
> mount it with just the command (or similar) "mount /media/usbdisk", as the 
> normal user.
> 
> From
> Michael Whapples
> ----- Original Message ----- 
> From: "Chris Norman" <cnorman@rnibncw.ac.uk>
> To: <speakup@braille.uwo.ca>
> Sent: Friday, February 23, 2007 3:53 PM
> Subject: Mounting USB memory stick problem
> 
> 
> > Hi people,
> > My subject line isn't really accurate, there is no problem in doing it,
> > it just doesn't happen when I want it to.
> >
> > There was a time (under gnome, ubuntu 6.10), when I could put a memory
> > stick in the bus and it would just mount, now I have to mount it as
> > root, and any attempts to do it from my normal user under the GUI
> > complains.
> >
> > Any ideas?
> >
> > Cheers,
> > -- 
> >
> > Chris Norman.
> > <!-- cnorman@rnibncw.ac.uk -->
> >
> >
> >
> > 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mounting USB memory stick problem
   ` Doug Sutherland
     ` Steve Holmes
@    ` Chris Norman
  1 sibling, 0 replies; 7+ messages in thread
From: Chris Norman @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Great stuff, cheers.

On Fri, 2007-02-23 at 18:46 -0500, Doug Sutherland wrote:
> The /etc/fstab defines the mounts, whether they auto mount
> or not (auto, noauto), and who can access who can access
> (owner, users). Here is an example:
> 
> /dev/sda  /mnt/flash  vfat  noauto,users,rw  0  0
> 
> Note the keyword users. The other alternative is owner,
> which would be root. Also note the keyword noauto, that
> means don't automatically mount, you could use auto.
> 
> Chris Norman wrote:
> nemory stick in the bus and it would just mount,
> now I have to mount it as root
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Mounting USB memory stick problem Chris Norman
 ` Michael Whapples
   ` Chris Norman
 ` Doug Sutherland
   ` Steve Holmes
     ` Doug Sutherland
   ` Chris Norman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).