* [gentoo-user] Cascading autofs mounts
@ 2009-12-29 1:18 Thorsten Kampe
0 siblings, 0 replies; only message in thread
From: Thorsten Kampe @ 2009-12-29 1:18 UTC (permalink / raw
To: gentoo-user
Hi,
does anyone know (or have an idea about) how to achieve cascading mounts
with autofs 5?! Basically what I would like to do is to (auto)-mount an
iso image which lies on an (auto)-mounted smb share.
/etc/auto.master contains:
# mount_directory map_file options
/mnt/smb /etc/auto/smb --timeout=5 --ghost
/mnt/iso /etc/auto/iso --timeout=5 --ghost
/etc/auto/smb:
tkampe -fstype=cifs,cred=/root/cred ://tkampe/C\$
/etc/auto/iso:
image -fstype=iso9660,ro,loop :/mnt/smb/tkampe/image.iso
The auto-mount of the smb share works fine. But the mount of the iso
works only if the smb share is already mounted (via "cd
/mnt/smb/tkampe" for instance).
What I would like to achieve is that trying to access /mnt/iso/image
(which should be auto-mounted to /mnt/smb/tkampe/image.iso) triggers the
auto-mount of /mnt/smb/tkampe to //tkampe/C$. But it doesn't.
Ideas?
Thorsten
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-29 1:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-29 1:18 [gentoo-user] Cascading autofs mounts Thorsten Kampe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox