On Mon, 2012-11-05 at 17:30 +0800, Ian Kent wrote: > On Sun, 2012-11-04 at 12:20 +0100, Thierry B. wrote: > > 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 > > I think you might need a kernel based on upstream 3.1 or later. There were some small changes to coreutils and libacl IIRC, which also resolved this but since the kernel was changed they probably aren't worth the trouble. > > Ian > -- 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