|
楼主 |
发表于 2006-8-4 14:02:28
|
显示全部楼层
关于HAL的问题,在其maillist中求教:
hello, my usb disk can be automounted under XWindow when I insert it, and an icon also
appears on the desktop. I think the cooperation of HAL and gnome-volume-manager results in
that.
But when I log out the XWindow and return to the console terminal, my usb disk cann't be
automounted when I insert it. I must manually mount it by "mount /dev/sda1" in order to
access it. However,the /etc/fstab file has been modified by HAL to describe the mount point
and mount options of /dev/sda1, and the mount point (/media/usbdisk) has also been created
by HAL.
I wonder who is responsible to automount /dev/sda1 under console terminal? Under XWindow ,
I have gnome-volume-manager to do the mount action, but what under the console?
Vincent
得到答复如下:
Hi,
This will be resolved when we have the infrastructure to reliably track
what user sessions are available / active. It's a difficult problem to
solve, some notes on page 23 of.
http://people.freedesktop.org/~d ... adec2006-davidz.pdf
With this, g-v-m (or whatever automounter you use) will be able to
enforce policy when no-one is logged in. And that policy can be rich,
e.g. it's not unlikely someone is going to add options
[ ] Share removable media on the network
[ ] Share external media on the network
to g-v-m and then we can share these via e.g. mDNS. This would be nice
for e.g. servers.
The whole question does beg for consideration of how applicable this is
to normal users. Most people just log in in order to get their work
done.
HTH,
David
我还是不太明白,既然在终端模式下插入u盘时,HAL已经修改了fstab文件,并创建了挂载点, 为什么系统不能继续完成简单的 mount /dev/sda1的动作? 这和答复中提到的user session 有什么关系么?
请大虾解惑,谢谢! |
|