Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Richard Lynch
On Mon, January 21, 2008 7:23 pm, shiplu wrote: > I configured autofs in my fedora so that when I plug any usb stick in > /dev/sda1 it automatically mounts in /mnt/auto/usb0 > > There is two lines where the problem arise. > > $util->run_command("ls -1 /mnt/auto/usb0 | wc -l");// it shows 13 >

Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Shiplu
On Jan 22, 2008 3:26 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-01-22 at 09:20 +0100, Zoltán Németh wrote: > > 2008. 01. 22, kedd keltezéssel 03.15-kor Robert Cummings ezt írta: > > > On Tue, 2008-01-22 at 09:10 +0100, Zoltán Németh wrote: > > > > 2008. 01. 21, hétfő keltezéss

Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Robert Cummings
On Tue, 2008-01-22 at 09:20 +0100, Zoltán Németh wrote: > 2008. 01. 22, kedd keltezéssel 03.15-kor Robert Cummings ezt írta: > > On Tue, 2008-01-22 at 09:10 +0100, Zoltán Németh wrote: > > > 2008. 01. 21, hétfő keltezéssel 20.23-kor shiplu ezt írta: > > > > I configured autofs in my fedora so that

Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Robert Cummings
On Tue, 2008-01-22 at 09:10 +0100, Zoltán Németh wrote: > 2008. 01. 21, hétfő keltezéssel 20.23-kor shiplu ezt írta: > > I configured autofs in my fedora so that when I plug any usb stick in > > /dev/sda1 it automatically mounts in /mnt/auto/usb0 > > > > There is two lines where the problem arise

Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Zoltán Németh
2008. 01. 22, kedd keltezéssel 03.15-kor Robert Cummings ezt írta: > On Tue, 2008-01-22 at 09:10 +0100, Zoltán Németh wrote: > > 2008. 01. 21, hétfő keltezéssel 20.23-kor shiplu ezt írta: > > > I configured autofs in my fedora so that when I plug any usb stick in > > > /dev/sda1 it automatically mo

Re: [PHP] scandir() in automount/autofs

2008-01-22 Thread Zoltán Németh
2008. 01. 21, hétfő keltezéssel 20.23-kor shiplu ezt írta: > I configured autofs in my fedora so that when I plug any usb stick in > /dev/sda1 it automatically mounts in /mnt/auto/usb0 > > There is two lines where the problem arise. > > $util->run_command("ls -1 /mnt/auto/usb0 | wc -l");// it