GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Camera |
$ udevinfo -a -p /block/sdc $ sudo emacs -nw /etc/udev/rules.d/local.rules BUS=="usb", KERNEL=="sd?1", SYSFS{product}=="hp photosmart 320", NAME="%k", SYMLINK="photosmart" $ sudo emacs -nw /etc/fstab /dev/photosmart /media/photosmart auto user,defaults 0 0 $ sudo mkdir /media/photosmart $ wajig restart udev |
A Nikon Coolpix E5200 camera:
$ udevinfo -a -p /block/sdc $ sudo emacs -nw /etc/udev/rules.d/local.rules BUS=="usb", KERNEL=="sd?1", SYSFS{product}=="NIKON DSC E5200", NAME="%k", SYMLINK="nikon" $ sudo emacs -nw /etc/fstab /dev/nikon /media/nikon auto user,defaults 0 0 $ sudo mkdir /media/nikon $ wajig restart udev |