[Wylug-help] usb pendrives

Roger Greenwood rg at nthong.freeserve.co.uk
Tue Jan 25 07:13:56 GMT 2005


On Monday 24 January 2005 14:23, Jim Jackson wrote:
> On Fri, 21 Jan 2005, Lee Evans wrote:
> > Hi roger,
> >
> > couple of simple questions - is it USB Mass storage? and are you using
> > Udev?
> >
> > i have the following in my /etc/fstab
> >
> > /dev/usb/memstick1   /mnt/usb    vfat    noauto,users   0 0
>
> I'd add the noatime option after noauto too, and use the user, not users,
> option.
>
> The user option allows users to be able to mount and unmount
> the device and have read/write access.
>
> You cannot unmount a device when some process is accessing it. So close
> all programs/gui's that were access the keydisk - or do something in the
> logout stuff to shut everything down.

But how do you find out what is accessing the device? Even when logged out and
back in again (not reboot), some of the device names stay mounted. So they
must be "system" programs rather than user programs?

SuSE 9.2 has a utility called usbview which I am going to try. Does not appear
to be in 9.1

SuSE think it is sussed because there have been no updates to the
hotplug/submount systems since October 2004. But it isn't.

>
> I don't use automounting, and have installed xvmount suitably configured,
> such that it's fairly easy to mount and unmount
> floppies/cdrom/usb-masstorage stuff by my S.O.
>
> I only have one USB device, so find the naming very predictable. I'm sure
> I could hack something into the hotplug stuff and use softlinks in /dev
> to hot-wire a solution - but as people say it's an area that has needed
> looking at from a regular user's usability viewpoint.
>
> > where /dev/usb/memstick1 is created by udev according to
> > my /etc/udev/rules.d/10-local.rules as follows:
> >
> > BUS="usb", SYSFS{idProduct}="07a0", SYSFS{idVendor}="05e3" KERNEL="sd*"
> > NAME="usb/memstick%n
> >
> > i got the above information from udevinfo - see the following link for
> > more info
> >
> > http://www.reactivated.net/udevrules.php#
> >
> > if youre not using udev, it should simply be a scsi drive - so replace
> > my memstick stuff with /dev/sdX or whatever - which is easily
> > identifiable if you do 'cat /proc/scsi/scsi'
> >
> > i dont have automounting - but then i have no desire to, so i cant
> > really help on that front - sorry :)
> >
> > hope that helps
> >
> > lee
> >
> > On Fri, 2005-01-21 at 20:19 +0000, Roger Greenwood wrote:
> > > Am I the only one struggling with this :-
> > >
> > > Using SuSE 9.1 and 9.2 (on 2 different machines) I have the same
> > > problem, usb pendrive (flashdisk) will not auto mount. Can be mounted
> > > by root only, cannot change permissions, ordinary users cannot have
> > > write access.
> > >
> > > SuSE help is not helping. Good pointers anyone?
> > >
> > > I thought this would be so easy by now . . . .
> > >
> > > Roger Greenwood.
> > >
> > >
> > > --
> > > Call on God, but row away from the rocks.
> > > 		-- Indian proverb
> > >
> > > _______________________________________________
> > > Wylug-help mailing list
> > > Wylug-help at wylug.org.uk
> > > http://list.wylug.org.uk/mailman/listinfo/wylug-help
> >
> > _______________________________________________
> > Wylug-help mailing list
> > Wylug-help at wylug.org.uk
> > http://list.wylug.org.uk/mailman/listinfo/wylug-help
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> http://list.wylug.org.uk/mailman/listinfo/wylug-help

--
Age, n.:
	That period of life in which we compound for the vices that we
still cherish by reviling those that we no longer have the enterprise
to commit.
		-- Ambrose Bierce




More information about the Wylug-help mailing list