smbfs date woes

smbfs date woes

Post by Anders Ostli » Thu, 03 Aug 1995 04:00:00


I'm using the SMBFS file system driver to backup our two Linux/Bind servers
to a NT 3.5 fileserver. I have loaded the driver as a "loadable module" and
it works very well (ksmbfs ver 0.2).

The only problem is the timestamps on the files; last weekend, I did a manual
backup of both systems, and here are the results

virgo:/usr/src/ksmbfs-0.2# uname -a    
Linux virgo 1.2.8 #18 Wed Jul 5 08:45:09 GMT+0100 1995 i486

virgo:/usr/src/ksmbfs-0.2# dir /gandalf/*.gz
-rwxr-xr-x   1 root  root  195632635 Dec 21  1961 /gandalf/cygnus.tar.gz*
-rwxr-xr-x   1 root  root  148056566 Jan 24  1962 /gandalf/virgo.tar.gz*

According to this, these files are well over 30 years old :-). A quick view
from the NT side shows

Dec 28 2098 for cygnus.tar.gz
Mar 02 2098 for virgo.tar.gz

So, the Linux system sees very old files, while the NT machine obviously
is very ahead of its time ;-).

This isn't a big problem, but it would be nice if the dates were correct.
Anybody know if a fix ? Please mail me the answer, or post it here.

Best regards



  | Phone  : +46-42-25 73 08  GSM : 070-5 25 73 08   Fax : +46-42-25 73 70  |
  | S-mail : Box 228                                                        |
  |          260 35 Odakra, Sweden                                          |
  | _  _  _                                                                 |
  |  \  \  \             IKEA Northern Europe AB                            |
  | _/ _/ _/             #include <disclaimer.h>                            |


1. CD-RW mounting woes in Mandrake 7.0 woe oh woe oh woe!

I hate to ask the often answered, but I have a TDK VeloCD CD-RW in my PII
233 machine installed as a master on the secondary IDE. I'm running
Mandrake-linux 7.0, and of course I get the bad link problem. I have run the
fix suggested on Mandrake's Web-page, but I can't figure a way to make the
fix either permenant or automatic. The fix (in case you haven't seen it is
to run "cdrecord -scanbus" to check for the presence of a working CD-RW,
then to type "cd /dev && rm cdrom && ln -s scd0 cdrom" in a terminal) This
fix works but there's got to be a better way...any thoughts.

2. Token Ring stop working random

3. smbfs & Win95 file dates

4. Kernel panic : vfs unable to mount root fs on 08 : 05

5. Strange Dates in linux when mounting NT share with smbfs

6. unix com

7. smbfs and NT dates not sync'd

8. Sendmail problem with LinuxPPC 2000 Q4

9. XF86 Config set-up woes & woes & woes

10. I wish to `date +format` for a _given_ date...

11. caculate a date (how to find the date 7 days ago?)

12. Calculating yesterday's date using GNU 'date' (was Re: Require a script)

13. Using date in awk cannot reflect the actual date...