View previous topic :: View next topic |
Author |
Message |
urcindalo l33t
Joined: 08 Feb 2005 Posts: 623 Location: Almeria, Spain
|
Posted: Thu Nov 17, 2005 10:39 am Post subject: |
|
|
Thanks for your explanation. This is what I get when running mount: Code: | # mount
/dev/hda9 on / type reiserfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/hda7 on /home/myname type reiserfs (rw,noatime)
none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
...
# |
My /dev is exactly the same as youres. Is there something odd in the rest of the output? I don't think so, but...
I finally decided to re-enable the entry in fstab dealing with /dev/sda, and right now I'm again manually mounting the flash disk by double-clicking a pre-existing icon on my desktop.
I haven't given up yet, though. My aim is to get it working the same as in Mac OS X, where you plug any kind of storage device and an icon appears automagically on the desktop. I can't think that is not possible under Gentoo. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Thu Nov 17, 2005 2:17 pm Post subject: |
|
|
that all looks fine. udev is doing its job correctly.
whatever problem you are getting is not udevs fault.
personally i use HAL + gnome-volume-manager + pmount which automounts external storage devices when i plug them in, without a fstab entry. an icon appears on my desktop when this happens. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
urcindalo l33t
Joined: 08 Feb 2005 Posts: 623 Location: Almeria, Spain
|
Posted: Thu Nov 17, 2005 4:44 pm Post subject: |
|
|
dsd wrote: | personally i use HAL + gnome-volume-manager + pmount which automounts external storage devices when i plug them in, without a fstab entry. an icon appears on my desktop when this happens. |
Thanks again. I'll look for info on the subject. Does it also work in KDE? I don't want to use GNOME.
By the way, and I don't want to abuse your generosity here, would you be so kind as to provide me with the link to a howto o tutorial about that? If you're aware of any worth following, of course. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Thu Nov 17, 2005 4:50 pm Post subject: |
|
|
i think kde supports hal but i dont know for sure
with gnome you just set USE="hal" then run "emerge --newuse world" and it "just works" _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1629 Location: U.S.A.
|
Posted: Sat Nov 19, 2005 6:55 am Post subject: |
|
|
Well, let's see how I did. Updated the Udev Primer to try to contain new more up-to-date information without removing the
older stuff. Think did a decent job.
1) Added a few more links.
2) Updated from 2.6.13 and greater kernels that don't include devfs.
3) Some general cleanup.
4) How udev uses tmpfs, but will use ramfs if tmpfs not avail.
Maybe sometime in future can remove lot of info about packages no longer in portage, but will keep for now.
Also can kind of see the history of how we have progressed.
I think I heard that genkernel users don't have to add the option '--udev' anymore, but since don't use genkern and haven't had anyone tell me. Didn't touch that info. _________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sun Nov 20, 2005 3:43 am Post subject: |
|
|
dsd wrote: | that all looks fine. udev is doing its job correctly.
whatever problem you are getting is not udevs fault.
personally i use HAL + gnome-volume-manager + pmount which automounts external storage devices when i plug them in, without a fstab entry. an icon appears on my desktop when this happens. |
I have the same setup but when I plug in an usb memory drive it will not automount. There is no icon on the desktop but there is one in the Computer-File Browser window, this icon gives the following error message when I click on it
Code: |
Unable to mount the selected volume
mount: mount point /media/LEXAR_MEDIA1 does not exist
|
so I tried pmount
Code: |
$ pmount /dev/sda1
mount: mount point /media/LEXAR_MEDIA1 does not exist
|
It looks like /media is not being told to make /LEXAR_MEDIA1. I could add it manually but this should be automatic. |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1895 Location: Switzerland (Romandie)
|
Posted: Wed Mar 26, 2008 1:03 pm Post subject: |
|
|
I have a problem with one of my 2 USB drives. I want them to be mounted at boot time and that is working fine. But when I plug another USB device like my mp3 player, the device for the second USB drive is changed. The result is that this drive get unmounted.
I try to write some rules to assign some permanent devices to those 2 drives by using symlink. That is working fine, but the problem remain the same: when I plug the mp3, the symlink is changed to the new device and the USB drive get unmounted.
A full description is here.
Is it some way to use persistent device node for this drive without to use the devices tarball? If not, is it a way to get udev to not unmount the mounted drives? _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|