Steve Holdoway wrote:

Steve Holdoway wrote:

Michael JasonSmith wrote:

On Tue, 2004-08-31 at 18:13, Nick Rout wrote:


i suspect most distros have not fully implemented it yet.
even early adopters gentoo are still saying to compile devfs into the
kernel, and mount it at boot time :-)


Debian Unstable can run udev (apt-get install udev) with a 2.6 kernel. I
have been running it since I installed 2.6, and it works fine with my
little USB drive. If you run udev and GNOME then I recommend installing
the GNOME Volume Manager (apt-get install gnome-volume-manager), which
is one of the test-beds for the new udev/d-dbus/HAL system that will
(finally) give Linux sane removable device support.




I'll let you know how I get on, as I have a customer to test^H^H^H^Hsupport!

As for the last statement, I'm holding my breath like everyone else (^: but I use no X stuff on production servers whenever possible.

Cheers,


Steve




Following on... didn't need much testing did it! I apt-got the udev package onto our office server, added in a line for my pen drive to /etc/udev/udev/rules that looked like this ( took the serial number from /proc/scsi/usb-storage/0 )

That's /etc/udev/udev.rules, sorry.


BUS="usb", SYSFS{serial}="021D83132E013272", NAME="usb/disgo"

rebooted, plugged the pen drive in while watching /var/log/syslog... it gets allocated /dev/usb/disgo

mount -t vfat /dev/usb/disgo /mnt and all is available.

Brilly!

Steve


Also, unplugging the pen device ( after umounting ) cleaned up nicely, deleting the /dev/usb/disgo entry. I was going to look at automounting as well, but the docs quite firmly state that this project is aimed at managing /dev, and no further. So I took the hint.

Cheers,

Steve



Reply via email to