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

Auto mounting Westerni Digital external Hard disk.



I have squeeze in two machines a PC and a net book.
I have the following 80-usb-wd.rules file in /etc/usb/rules.d/ folder.
ACTION=="add", SUBSYSTEMS=="usb",
ATTRS{serial}=="57442D575845304139395337303334", SYMLINK+="wd%n"
ACTION=="add", SUBSYSTEMS=="usb",
ATTRS{serial}=="57442D575845304139395337303334", RUN+="/bin/mkdir
/media/wd"
ACTION=="add", SUBSYSTEMS=="usb",
ATTRS{serial}=="57442D575845304139395337303334", RUN+="/bin/mount -t
auto -o rw,uid=1000,umask=022,posix,shortname=winnt /dev/wd1
/media/wd", OPTIONS="last_rule"
ACTION=="remove", SUBSYSTEMS=="usb",
ATTRS{serial}=="57442D575845304139395337303334", RUN+="/bin/umount
/media/wd"
ACTION=="remove", SUBSYSTEMS=="usb",
ATTRS{serial}=="57442D575845304139395337303334", RUN+="/bin/rmdir
/media/wd", OPTIONS="last_rule"
Previously it used to work in both machines. Now it is not working in
PC, though files exists in both machines.

Any solutions to find out reasons why it is not working PC?
-- 
L V Gandhi


Reply to: