Roy Stogner wrote:
> 
> On Wed, 10 Nov 1999, Scott D. Webster wrote:
> 
> > Anders Melchiorsen wrote:
> > >
> > > I have to find a medium-sized project (that is, half time work for a
> > > couple of months) to do in University. I want to do something that I
> > > can benefit from personally, and so I thought about an automounter for
> > > Windows shares. (I live in a dorm with lots of Windows machines
> > > sharing things through SMB).
> >
> >       Have a look at Gnomba (http://gnomba.darkcorner.net/).  It's a sort of
> > GUI version of what you're talking about.
> 
> There have been hacks to do SMB browsing under Linux for a while
> (TkSMB was the first I saw), but they are just that: hacks, not the
> Right Way(TM) to do things.  We shouldn't need a special GUI program
> to see information that can best be used (and is used on Windows) as a
> directory tree.  How do you do a "find -name ..." into a GUI?

Yes, this is true.  The problem is that if you do it the obvious way, an
"ls -l" in the /smb directory will mount every single Windows machine on
your network.  The problem is that "ls -l", as well as most GUI
browsers, don't merely readdir(), they also stat().  The stat() is a
reference on the root directory in the hierarchy, and therefore requires
the directory to be mounted.

I have been trying to figure out reasonable ways to spoof the stat() for
autofs v5, but that's still ways away.

In the meantime I need to get enough spare time to make an autofs v4
based on Jeremy's patches.  I'm sorry it's taken me so long.

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."

Reply via email to