<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[开发板上如何实现u盘自动挂载到某个目录]]></title>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925]]></link>
 <description><![CDATA[Latest 20 replies of 开发板上如何实现u盘自动挂载到某个目录]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 26 Jul 2026 13:27:36 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://121.40.142.80]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[HAL这个开源的东西 去哪里下啊？？我写了一个qt检测U盘插拔的东西，在板子上运行时提示：&quot;?????????QDBusInterface?&quot; &quot;The name org.freedesktop.Hal was not provided by any
 .service files&quot;
Object::connect: No such signal QDBusAbstractInterface::DeviceAdded(QString)
Object::connect:&nbs ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#191196]]></link>
 <author><![CDATA[yanzi1225627]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 13 Aug 2012 08:18:03 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[谢谢，这个确实是语法错误
不过我现在在脚本里只写了一个ls命令，在PC上可以跑，但是开发板上跑不了
我觉得应该是开发板shell有问题。]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9628]]></link>
 <author><![CDATA[kluter]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 07 Sep 2009 10:05:40 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我不知道你的shell出了什么问题，但你至少需要把
if [ $ACTION = &quot;add&quot; ]; then
改成
if [ “$ACTION” = &quot;add&quot; ]; then]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9614]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 07 Sep 2009 03:01:14 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[现在我觉得很奇怪的是，我写了一个简单的脚本：
#!/bin/sh
echo &quot;kluter auto mount&quot;
if [ $ACTION = &quot;add&quot; ]; then
&nbsp;&nbsp;&nbsp;&nbsp;/bin/mount /dev/sda /var/tmp
elif [ $ACTION = &quot;remove&quot; ]; then
&nbsp;&nbsp;&nbsp;&nbsp;/bin/umount -l /var/tmp
fi

我照shell编程里面说的 ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9610]]></link>
 <author><![CDATA[kluter]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Sun, 06 Sep 2009 15:05:56 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[还是挂不上，郁闷～]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9608]]></link>
 <author><![CDATA[kluter]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Sun, 06 Sep 2009 13:09:41 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[嗯，我再找找看]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9566]]></link>
 <author><![CDATA[kluter]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 04 Sep 2009 09:20:18 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[那就找原因啊，为什么脚本没有跑起来]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9565]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 04 Sep 2009 09:18:37 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[感谢楼主回复！

我在/etc/udev/rules.d 下面加了一个10-usb.rules的文件，内容是：
KERNEL==&quot;sda&quot;, SUBSYSTEM==&quot;block&quot; RUN+=&quot;/root/usbmount.sh&quot;

我在root下面加了usbmount.sh 内容是：
#!/bin/bash
LOG=/var/log/usb-hotplug.log
#lap=$(date --rfc-3339=ns)
#echo &quot;$lop: $DEVPA ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9564]]></link>
 <author><![CDATA[kluter]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 04 Sep 2009 09:16:03 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我想这个功能用udev自己应该也可以实现，这是Angstrom里面的做法：

1）在udev的rules里加上下面几行
[code]# Media automounting
SUBSYSTEM==&quot;block&quot;, ACTION==&quot;add&quot;&nbsp;&nbsp;&nbsp;&nbsp;RUN+=&quot;/etc/udev/scripts/mount.sh&quot;
SUBSYSTEM==&quot;block&quot;, ACTION==&quot;remove&quot ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=2925#9562]]></link>
 <author><![CDATA[kasim]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 04 Sep 2009 08:25:33 +0000]]></pubdate>
</item>
</channel></rss>