Re: smbfs works!

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Mon, 8 Dec 1997 13:40:37 +0100 (MET)


Steven N. Hirsch wrote:
>
> Maybe I wasn't clear enough in my report. The problem only occurs when a
> subshell is started with a "translated" smb directory as cwd. This not
> only affects the little shell script I posted, but causes the same ugly
> messages using Midnight Commander's file-viewer (which starts a subshell
> for the purpose) after a cd into a directory where a case-mapping has
> occured.

Ah. Off course.

The "getwd" call does the following:

stat . (record inode)
open .. scan, find inode num == recorded inode

So my guess is that the inode numbers for a translated and
non-translated directory are not the same.

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** +31-15-2137555 ** http://www.BitWizard.nl/ **
Florida -- A 39 year old construction worker woke up this morning when a
109-car freight train drove over him. According to the police the man was 
drunk. The man himself claims he slipped while walking the dog. 080897