[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hotplug, udev and usbkey question



Rick Macdonald wrote:
John L Fjellstad wrote:

Rick Macdonald <rickm@timshel.ca> writes:

Does udev (or any other part of this USB issue) need tmpfs? I saw this
mentioned in one place but most don't mentioned it. I'm running 2.6.9.



It doesn't have to, but it's a nice thing to have.  Basically, using
tmpfs, you don't have to clean up /dev whenever you shutdown the system,
since it's just a tmpfs


I had to ask because when I installed udev it complained about tmpfs not being available. I didn't think much of it and didn't catch the exact words. I uninstalled udev and re-installed it, thinking I'd get the error message again, but it didn't complain the second time.

I'm now rebuiling the kernel on another machine with tmpfs, then I'll install all the packages there to see what happens.

Well, on the laptop, with the same packages installed but with the kernel rebuilt with tmpfs, I plugged in a card reader with a camera memory stick in it and BINGO, gphoto popped up and asked if I wanted to import the pictures!

Running mount shows:

rickm@rickmvnote:~$ mount
/dev/hda3 on / type auto (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdd1 on /media/usbdisk type vfat (rw,noexec,nosuid,nodev,sync,noatime,quiet,uid=1000,gid=1000,umask=077)

...RickM...



Reply to: