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

Re: usb 自动挂载



我现在知道了,udev + pmount ,我设置好了规则,但不起作用。


$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”

有没有人懂,给说下。


On 五, 16 10月 09, stesenchina wrote:
> pmount?
>
> enzo fang wrote:
>> 大概是udev和hal
>>
>> 2009/10/15 苏 <sxpspace@yahoo.com.cn <mailto:sxpspace@yahoo.com.cn>>
>>
>>     我想问 usb 自动挂载是基于什么的,用哪个软件包?
>>     __________________________________________________
>>     �Ͽ�ע���Ż����������������ä?
>>     http://cn.mail.yahoo.com
>>
>>
>>     --
>>     To UNSUBSCRIBE, email to
>>     debian-chinese-gb-REQUEST@lists.debian.org
>>     <mailto:debian-chinese-gb-REQUEST@lists.debian.org>
>>     with a subject of "unsubscribe". Trouble? Contact
>>     listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
>>
>>
>>
>>
>> -- 
>> Best Regards
>
>
> -- 
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
__________________________________________________
�Ͽ���������������http://cn.mail.yahoo.com


Reply to: