Browsing the top mount folder mounts ALL entries in auto.misc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have this line in auto.master :

/- /etc/auto.misc --timeout=30

and in auto.misc :

/media/autofs/winlinux	-fstype=auto		:/dev/sdb1
/media/autofs/BACKUP	-fstype=auto		:/dev/sdc1
/media/autofs/NAS -fstype=cifs,user=xxxxxxxx,password=xxxxxxxxxx,iocharset=utf8,workgroup=workgroup ://192.168.1.253/volume_1-1


Each time I browse /media/autofs, ALL entries in auto.misc are mounted, whereas I only want to enter in /media/autofs/NAS. To avoid this, I had to add to set a specific to level folder for each entry :


/media/autofs.winlinux/winlinux	-fstype=auto		:/dev/sdb1
/media/autofs.BACKUP/BACKUP	-fstype=auto		:/dev/sdc1
/media/autofs.NAS/NAS -fstype=cifs,user=xxxxxxxx,password=xxxxxxxxxx,iocharset=utf8,workgroup=workgroup ://192.168.1.253/volume_1-1

It works, but I wonder if there is a mean to keep the same top level directory without mounting all entries automatically.

autofs 5.0.6-0ubuntu2
linux-image-3.0.0-26-generic 3.0.0-26.42

Thierry B.

 * Anglais - détecté
 * Anglais
 * Français

 * Anglais
 * Français

 <javascript:void(0);>

--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux