Skip to contentSkip to conversation

Map a single file??

DISCUSSION Stef Bon 3 participants 3 messages May 3, 2009 – May 7, 2009 Kernel automounter

lore
Share & tools
lore

Stef Bon

author
#0 lore raw

Hello,

I would like to know is it possible for the automounter to map a single file?
In KDE, the filemanagers Dolphin and Konqueror look for the file .directory in every
directory. In some cases I want to present a special .directory file. The automounter is presenting a
tree which consist of networks, workgroups, servers and shares. For the network for example, the windows network folder icon would be something like an windows icon. This can be set in the .directory file. Futher I want these directories presented as icons, not in list.

So, can the automounter map single files, besides directories mapped to networkmountpoints?

Stef Bon

maintainer
#1 lore raw
Quoted 13 lines · Stef Bon

Hello,

I would like to know is it possible for the automounter to map a single file?
In KDE, the filemanagers Dolphin and Konqueror look for the file .directory in every
directory. In some cases I want to present a special .directory file. The automounter is presenting a
tree which consist of networks, workgroups, servers and shares. For the network for example, the windows network folder icon would be something like an windows icon. This can be set in the .directory file. Futher I want these directories presented as icons, not in list.

Quoted 2 lines

So, can the automounter map single files, besides directories mapped to networkmountpoints?

That's not functionality that belongs in the autofs.

This amounts to being able to "mount a single file" and AFAIK Linux doesn't have this functionality at all and OSs that do have this only for files that have specific support for particular files, such as /etc/mnttab in Solaris.

Ian

#2 lore raw
Quoted 17 lines · Ian Kent
Quoted 13 lines · Stef Bon

Hello,

I would like to know is it possible for the automounter to map a single file?
In KDE, the filemanagers Dolphin and Konqueror look for the file .directory in every
directory. In some cases I want to present a special .directory file. The automounter is presenting a
tree which consist of networks, workgroups, servers and shares. For the network for example, the windows network folder icon would be something like an windows icon. This can be set in the .directory file. Futher I want these directories presented as icons, not in list.

Quoted 2 lines

So, can the automounter map single files, besides directories mapped to networkmountpoints?

Quoted 6 lines

That's not functionality that belongs in the autofs.

This amounts to being able to "mount a single file" and AFAIK Linux doesn't have this functionality at all and OSs that do have this only for files that have specific support for particular files, such as /etc/mnttab in Solaris.

Actually, you *can* bind mount a single file. However, the automount daemon does not support this construct as we mkdir the path and mount on top of that.

Cheers,
Jeff