Gnome 2.30 中自动挂载的工作流程是什么?
我有一台装有 Fedora 13 的华硕笔记本电脑。我的问题是我连接的任何 USB 存储都不会自动挂载。我有另一台装有 Fedora 13 的计算机,没有出现此问题。
我无法发现我的笔记本电脑和其他可以工作的计算机之间的配置有任何差异。
因此,为了尝试找出问题所在,我开始查找有关其工作原理的文档。我研究过 udev、devkit、hal、dbus、polkit、gnome 等。
我想知道哪些事件、日志、配置文件和监控程序可以用来追踪从我连接 USB 记忆棒到我在 GNOME 中打开并运行窗口期间发生的事件。
到目前为止,我已经追踪到 udev 检测到磁盘并创建 /dev/sdb (以及分区 1 的 /dev/sdb1),并且有关添加设备的事件作为消息在 dbus 上发送。我可以使用 udisks 手动挂载磁盘,但不能使用 gnome-disk-utility (palmiset) 挂载磁盘。
自动挂载磁盘涉及许多不同的应用程序,我想找出它在事件链中的哪个位置失败。
I have a ASUS laptop with Fedora 13. My problem is that any USB storage I connect does not automount. I have other computer with Fedora 13 which does not have the problem.
I have not be able to find any difference in configuration between my laptop and other computers that work.
So to try to trace down the problem I started to looomk for documentation on how it was supposed to work. I have looked at udev, devkit, hal , dbus, polkit, gnome and others.
I want to know which events, logs, config files and monitor programs that I can use to track down the events that takes place from when I attach an USB stick and until i have a window up and running in GNOME.
So far I have traced that udev detects the disk and creates /dev/sdb (and /dev/sdb1 for partition 1) and that event about device added is sent as messages on dbus. I am able to mount the disk manually with udisks but not with gnome-disk-utility (palmiset).
There is many different applications involved to automount a disk, I want to find out where in the chain of events does it fail.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚找到了它无法安装的原因。我有一个早期 udev 版本的剩余文件。文件 60-persistent-storage.rules 存在于 /etc/udev/rules.d 和 /lib/udev/rules.d 中。前者推翻了后者。当删除 /etc/udev/rules.d 中的 USB 驱动器时,USB 驱动器再次正确安装。
I just found the reason it did not mount. I had a leftover file from earlier udev version. File 60-persistent-storage.rules existed in both /etc/udev/rules.d and in /lib/udev/rules.d . The former overruled the last one. When removing the one in /etc/udev/rules.d the USB drives mounted correctly again.