Linux Mandrake 7.1, kernel 2.2.15-4mdk, smbmount 2.0.6 Some larger directories exported by LanServer are missing the more recently written files when mounted in Linux. Win98 and OS/2 PC's can see them all. smbfs options are: rw,username=bruce,guest,uid=bruce,gid=bruce,ip=i.for.get any suggestions? Bruce
On Tue, 19 Sep 2000 mail@fwr.on.ca wrote:> Linux Mandrake 7.1, kernel 2.2.15-4mdk, smbmount 2.0.6 > > Some larger directories exported by LanServer are missing the more recently > written files when mounted in Linux. Win98 and OS/2 PC's can see them all.recently written or recently created? If created; were they created from a different machine? If yes on both questions the reason for your problem is probably that the modification time of directories are not updated when a file is added (silly assumptions) and that makes smbfs believe that the cached direntries it has are still current. That is fixed in 2.2.17 by always refreshing on a new dir access. Is a LanServer an OS/2 thingy? If so, you need 2.2.18pre8 or later for smbfs to even talk to your OS/2 server. If this happens only sometimes (depending on the directoey) and for files that are only modified and not newly created, you may have found a different bug. /Urban
** Reply to message from Urban Widmark <urban@svenskatest.se> on Tue, 19 Sep 2000 19:05:54 +0200 (CEST)>> Linux Mandrake 7.1, kernel 2.2.15-4mdk, smbmount 2.0.6 >> Some larger directories exported by LanServer are missing the more recently >> written files when mounted in Linux. Win98 and OS/2 PC's can see them all. >recently written or recently created?Neither. They were writen and created some time ago by another PC, before Linux+smbfs was installed on the PC with the problem.>If created; were they created from a different machine?Yes. ...>That is fixed in 2.2.17 by always refreshing on a new dir access. Is a >LanServer an OS/2 thingy?Yes.>If so, you need 2.2.18pre8 or later for smbfs to >even talk to your OS/2 server....>If this happens only sometimes (depending on the directoey) and for files >that are only modified and not newly created, you may have found a >different bug.No. It's very consistent. Same directories, same files. I believe the recent Linux Mandrake beta3 update uses the newer kernals, perhaps more recent than the 2.2.18pre8 you mentioned. I'll look there first. Many thanks for the quick reply. Bruce __________________________________________ Bruce LaZerte Grandview Lake in Muskoka Ontario, Canada
** Reply to message from Urban Widmark <urban@svenskatest.se> on Tue, 19 Sep 2000 19:05:54 +0200 (CEST)>If so, you need 2.2.18pre8 or later for smbfs to >even talk to your OS/2 server.Urban, I've looked into this and have been told that the current version of Linux Mandrake (V7.1) includes the standard kernel (2.2.15) plus upwards of 170 patches (?) to make it Mandrake's own 2.2.15-4mdk. Such things as udma66 support, supermount, etc. are included and I use them. And naturally when you apply a standard patch to this non-standard kernel source, there are a bazillion errors. Also if I install the vanilla (2.2.15 or say 2.2.17) kernel source instead and patch that up to 2.2.18-pre8, I'll lose many of the Mandrake "supplements" and ... perhaps ... torpedo the whole installation. Cripes. So what about this: I get a copy of the latest src/fs/smbfs/* source code and just parachute it into the existing Mandrake (2.2.15-4mdk) code base and recompile? Might work? Is the 2.2.18-pre8 source code available somewhere? (not the patch)... Finally, why isn't more of this stuff done with pre-compiled modules? That sure would be easier... Thanks again for your trouble, Bruce