usb 自动挂载

View: New views
5 Messages — Rating Filter:   Alert me  

usb 自动挂载

by 苏-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

我想问 usb 自动挂载是基于什么的,用哪个软件包?
__________________________________________________
�Ͽ�ע���Ż��������������?
http://cn.mail.yahoo.com


--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: usb 自动挂载

by enzo fang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

大概是udev和hal

2009/10/15 苏 <sxpspace@...>
我想问 usb 自动挂载是基于什么的,用哪个软件包?
__________________________________________________
�Ͽ�ע���Ż����������������ä?
http://cn.mail.yahoo.com


--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...




--
Best Regards

Re: usb 自动挂载

by stesenchina :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

pmount?

enzo fang wrote:

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


--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: usb 自动挂载

by 苏-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

我现在知道了,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@... <mailto:sxpspace@...>>
>>
>>     我想问 usb 自动挂载是基于什么的,用哪个软件包?
>>     __________________________________________________
>>     �Ͽ�ע���Ż����������������ä?
>>     http://cn.mail.yahoo.com
>>
>>
>>     --
>>     To UNSUBSCRIBE, email to
>>     debian-chinese-gb-REQUEST@...
>>     <mailto:debian-chinese-gb-REQUEST@...>
>>     with a subject of "unsubscribe". Trouble? Contact
>>     listmaster@... <mailto:listmaster@...>
>>
>>
>>
>>
>> --
>> Best Regards
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
__________________________________________________
�Ͽ�ע���Ż��������������?
http://cn.mail.yahoo.com


--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: usb 自动挂载

by Axqd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/16 苏 <sxpspace@...>:
> 我现在知道了,udev + pmount ,我设置好了规则,但不起作用。
桌面环境pmount,不需要桌面环境usbmount
http://packages.debian.org/zh-cn/lenny/usbmount
http://packages.debian.org/zh-cn/lenny/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”
>
> 有没有人懂,给说下。
你要挂载的分区是NTFS格式的么?那样貌似需要root privilege
--
Regards.
-Tian