> ----- Original Message ----- > From: lf...@cruziero.com > Sent: 03/21/13 10:54 PM > To: BLFS Support List > Subject: Re: [blfs-support] Autofs problem on LFS7.2
> OK. Keep the usbstick formatted as-is, and with the ext2 filesystem. Create a > small file on it at the top-level dir, and call the file, for example, > 'hello-world', and make it contain the text 'yes-im-here' or similar. The file, with text in it, is 'autofs' > > > (Re-)create the working environment/setup per the latter part of the email of > 16:23pm on 9th March, but for /etc/auto.testautomount make it contain only > the > following: > --- > sandisk -fstype=ext2 :/dev/sdb > --- > And just to check, your /etc/auto.master should contain only: > ==== > /testautomount /etc/auto.testautomount > ==== > Then tell automount to read the new maps (you may need to use > '/etc/init.d/autofs reload' or '/etc/rc.d/rc.autofs reload' depending on > where > the 'autofs' script is located; and you may need to use 'restart' instead of > 'reload'): All checked, all okay on sdb Then insert the usbstick, wait the proverbial few seconds (to be on safe side, > wait 5-10 secs) for the usbstick to 'settle' (usb drives can take a few secs > to > become 'visible' to the OS &c), and then do: > > $ \ls -la /testautomount/sandisk > > Does it show you the contents of the usbstick: can you see the file > 'hello-world' listed; if so can you cat() it and see the text 'yes-im-here' ? Sadly no, only shows: total 8 drwxr-xr-x 2 root root 4096 Mar 23 09:38 . drwxr-xr-x 3 root root 4096 Mar 23 09:38 .. Mounting manually shows: total 28 drwxr-xr-x 3 root root 4096 Mar 23 11:19 . drwxr-xr-x 4 root root 4096 Feb 27 16:46 .. -rw-r--r-- 1 root root 3267 Mar 23 11:16 autofs drwx------ 2 root root 16384 Mar 19 20:45 lost+found regards MAC -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page