Gnome 2.30 中自动挂载的工作流程是什么?

发布于 2024-09-16 09:55:07 字数 485 浏览 3 评论 0原文

我有一台装有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

以歌曲疗慰 2024-09-23 09:55:07

我刚刚找到了它无法安装的原因。我有一个早期 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文