Re: Useless smbfs !

Fuzzy Fox (fox@dallas.net)
Wed, 26 Aug 1998 01:14:31 -0500


<Hakan.Lennestal@cdt.luth.se> wrote:
>
> Hi !

Hello. :)

> I've been trying to get smbfs to work in various 2.1.11* version
> without any positive results. Currently I'm banging my head against
> 2.1.117.

I will agree that SMBFS is quite useless, but for different reasons than
you give. I'm using 2.1.116, by the way, but my experiences go back to
2.0 and beyond.

> [root@tuttifrutti src]# smbmount \\\\loo\\c passwd -c "mount /loo/c"
> Added interface ip=130.240.142.33 bcast=130.240.142.39 nmask=255.255.255.248
> Server time is Tue Aug 25 23:02:28 1998
> Timezone is UTC+2.0
> security=share
>
> [root@tuttifrutti hakan]# ls -l /loo/c
> ls: /loo/c/COMMAND.COM: Too many open files in system
> ls: /loo/c/SETUPLOG.TXT: Too many open files in system

That's odd. I don't get that at all. In fact, it mostly appears to be
working for me:

% smbmount //windy/c
Added interface ip=192.0.2.1 bcast=192.0.2.255 nmask=255.255.255.0
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or directory
Server time is Wed Aug 26 00:58:20 1998
Timezone is UTC-5.0
security=share
smb: \> mount /windy

% ls /windy
AUTOEXEC.BAT* DETLOG.TXT* LOGITECH/ SA SYSTEM.1ST*
BOOTLOG.PRV* DLCDROM/ MSDOS.---* SCANDISK.LOG* TMP/
BOOTLOG.TXT* DOWNLOAD/ MSDOS.BAK SETUPLOG.OLD UTIL/
CD Roms/ ERROR.LOG* MSDOS.SYS* SETUPLOG.TXT* WIN98/
CDROM/ FOX/ My Documents SOUND/ WINDOWS/
COMMAND.COM* GRAPHICS NETLOG.TXT* SUHDLOG.---* WINLFN.INI*
CONFIG.SYS* Games/ Program Files/ SUHDLOG.BAK* ZIP/
DETLOG.OLD* IO.SYS* RECYCLED/ SUHDLOG.DAT* dxerror.ini

I dont see much difference in what we're doing, so I'm not sure what to
say.

Anyway, MY reason for proclaiming SMBFS to be silly, is this: Try it
yourself!

% cd WINDOWS # or any large directory

% for i in 1 2 3 4 5 6 7 8 9 10; do; echo * | wc -w; done
337
275
272
177
1
274
17
92
271
84

Now, does this make ANY sense at all? I say it does not. And yes, I do
have CONFIG_SMB_WIN95 turned on. The system "Windy" above is a Win98
box.

Does anyone have a system where this does NOT happen? I would be
surprised to find anyone who can get a stable, repeatable directory
listing which actually contains ALL files in a large directory.

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html