--- On Wed, 10/22/08, Aioanei Rares <[EMAIL PROTECTED]> wrote: > From: Aioanei Rares <[EMAIL PROTECTED]> > Subject: Re: USB ownership > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED], debian-user@lists.debian.org > Date: Wednesday, October 22, 2008, 8:33 AM > On Tue, Oct 21, 2008 at 9:22 PM, Emanoil Kotsev > <[EMAIL PROTECTED]> wrote: > > > > > --- On Tue, 10/21/08, Paul Cartwright > <[EMAIL PROTECTED]> wrote: > > > > > From: Paul Cartwright <[EMAIL PROTECTED]> > > > Subject: Re: USB ownership > > > To: [EMAIL PROTECTED] > > > Cc: debian-user@lists.debian.org > > > Date: Tuesday, October 21, 2008, 12:48 PM > > > Emanoil Kotsev wrote: > > > > Paul Cartwright wrote: > > > > > > > >> Andrei Popescu wrote: > > > >>> On Mon,20.Oct.08, 17:06:25, Emanoil > Kotsev > > > wrote: > > > >>> > > > >>>> I suggested to use device by > uuid > > > >>>> > > > >>>> > > > > /dev/disk/by-uuid/3fca395b-d75d-44ab-98be-9ec05b2e45fd > > > >>>> /media/usb_2G_part3 auto > > > users,noauto,atime,rw,nodev,noexec,nosuid 0 0 > > > >>> > > > >>> You can shorten this a bit: > > > >>> > > > >>> UUID=3fca.... > > > >>> > > > >>> It's not much, but given that > the UUID is > > > already very long... > > > >>> > > > >> here is my /etc/fstab entry ( that > works) > > > >> UUID=686C-7E81 /media/usb_DAWGS vfat > > > >> > users,atime,rw,nodev,noexec,nosuid,noauto 0 0 > > > >> > > > >> ( that was all one line) > > > >> > > > >> in the /media folder is a file called > .hal-mtab > > > >> I was trying to add an entry in there > for this, so > > > my wife could unmount > > > >> it, but I was not successful. The fstab > entry > > > still mounts it: > > > >> > > > >> drwxr-xr-x 2 root root 4096 2008-08-16 > 15:14 > > > usb_DAWGS > > > >> > > > >> > > > > > > > > For me the UUID= entry did not work > > > > > > > > The /dev/disk/by-uuid work > > > > > > > > Paul, the .hal entries are system entries > they do not > > > have to be set in > > > > fstab > > > > > > > I tried adding that /dev/disk/by-uuid entry to > .hal-mtab , > > > but no change. > > > I think the REAL way to do it would be with a > > > /etc/udev/rules.d entry, > > > but after looking at man udev and the > 50.udev-rules file, > > > it is way over > > > my head. I give up. I'll just have to tell > her to > > > switch to my user to > > > add entries, since I seem to own everything > inserted. > > > > > > > > > > I don't think you have to mess up with the .hal > entries > > > > the correct place would be /etc/fstab > > > > you need the /dev/disk .... entry in the fstab file > > > > I've tried it as I said it didn't work with > UUID but with this entry in the > > /etc/fstab file all was fine > > > > regards > > > > > > > > regards > > > > > > > > > > > > -- > > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? > Contact > > [EMAIL PROTECTED] > > > > > I've read something about a year ago that adding an > entry in fstab for usb > sticks isn't > such a good idea...can't remember the link though.YMMV.
might be for now I don't have better solution for the question how users option can be passed to mount. I think someone should fix the udev/hal rules, but that's not me if you have a solution please, you are welcome regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]