--
To UNSUBSCRIBE, email to debian-chine...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
enzo fang wrote:
> 大概是udev和hal
>
> 2009/10/15 苏 <sxps...@yahoo.com.cn <mailto:sxps...@yahoo.com.cn>>
>
> 我想问 usb 自动挂载是基于什么的,用哪个软件包?
> __________________________________________________
> �Ͽ�ע���Ż����������������ä?
> http://cn.mail.yahoo.com
>
>
> --
> To UNSUBSCRIBE, email to
> debian-chine...@lists.debian.org
> <mailto:debian-chine...@lists.debian.org>
> with a subject of "unsubscribe". Trouble? Contact
> listm...@lists.debian.org <mailto:listm...@lists.debian.org>
>
>
>
>
> --
> Best Regards
$cat /etc/udev/rules.d/10-mountusb.rules
ACTION=="add", SUBSYSTEM=="block", KERNEL==”sd[b-z][1-9]″,
ATTRS{removable}=="1", RUN+=”/usr/bin/pmount %k”
ACTION=="remove",SUBSYSTEM=="block", KERNEL==”sd[b-z][1-9]″,
ATTRS{removable}=="1", RUN+=”/usr/bin/pumount %k”
有没有人懂,给说下。