CATEGORY: UDEV TITLE: Introduction T: UDEV seems to replace DEVFS. Actualy, DEVFS is not really supported anymore. TITLE: Requirements T: Kernel 2.6 with udev support. TITLE: Installation T: Just call C: apt-get install udev gnome-volume-manager TITLE: Configuration T: Add sysfs in fstab C: none /sys sysfs defaults 0 0 T: and mount it C: mount /sys TITLE: Device configuration T: Each device seems to be identified by a model and vendor. Here how to find out these values. T: Plug in your USB device and get the device name: C: tail -n 20 /var/log/message T: You should find sda or sdb or something like this. T: In the next steps, replace sda with what you have found before. T: Call C: udevinfo -q path -n /dev/sda C: udevinfo -a -p /sys/block/sda | grep BUS C: udevinfo -a -p /sys/block/sda | grep model C: udevinfo -a -p /sys/block/sda | grep vendor T: You should find something like: C: BUS="scsi" C: SYSFS{model}="..." C: SYSFS{vendor}="Apacer " T: Add and entry in /etc/udev/udev.rules: C: BUS="scsi", SYSFS{vendor}="Apacer ", NAME="apacer%n", SYMLINK="%k" T: Create directory for script to be called (replace apacer with your vendor name) C: mkdir /etc/dev.d/apacer-1 T: and copy the following script in /etc/dev.d/apacer-1/mount C: #!/bin/sh C: if [ "$ACTION" == "add" ] C: then C: USER=`ps -elf | grep x-session-manager | cut -d " " -f 3 | head -n 1` C: su -c "mount /media/palmint-1" $USER C: fi T: Create mountpoint: C: mkdir /media/apacer-1 T: add following line in your /etc/fstab: C: /dev/apacer-1 /media/apacer-1 auto user,noauto,noatime,sync,defaults TILE :More T: Hal-volume-manager can show a lot informations about your hardware, but I couldn't find a package providing it. CATEGORY: DEVFS ------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------- TITLE: What it was? T: DEVFS is the old implementation of the dynamic device allocation. It has been replaced by UDEV.