Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Got udev working, now what?!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 28, 29, 30  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 555
Location: Almeria, Spain

PostPosted: Thu Nov 17, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Nov 17, 2005 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 555
Location: Almeria, Spain

PostPosted: Thu Nov 17, 2005 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Nov 17, 2005 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Sat Nov 19, 2005 6:55 am    Post subject: Reply with quote

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.
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Nov 20, 2005 3:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1508
Location: Switzerland (Romandie)

PostPosted: Wed Mar 26, 2008 1:03 pm    Post subject: Reply with quote

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?
_________________
[[[ To any NSA and FBI agents reading that text: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 28, 29, 30
Page 30 of 30

 
Jump to:  
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