Re: SMB oddness (patch attached)

Steven N. Hirsch (shirsch@ibm.net)
Sat, 22 Nov 1997 21:35:11 -0500 (EST)


On Sat, 22 Nov 1997, Bill Hawes wrote:

> Steven N. Hirsch wrote:
>
> > The only problem I'm having is a long-standing one. I'd really like it if
> > the Unix mtime stamp became the visible file timestamp (is it create in
> > MS-DOS?) when copying to smb shares. Once upon a time it did work this
> > way, and I really don't like "losing" file modify stamps when moving
> > across filesystems.
>
> Smbfs is using the mtime value when talking to WfW or MS-DOS systems.
> These systems only support a single time, so we use mtime. (AFAIK, smbfs
> has always done it this way.) Under what conditions are you not getting
> the mtime value as the DOS-side timestamp?

Perhaps I'm confused. Isn't mtime what the 'ls -al' (aliased to 'dir' on
my system) shows? If so, WfW _never_ gets this timestamp. It used to
work that way, but not for some time.

On the server side it always ends up with the time the copy is created.

This is against WfW. See my (lengthy) posting of a few moments ago and
check out the fun and merriment when run against NT Workstation on my
Alpha UDB!

Steve