Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - unable to get the exact date and time of an exported file on PC by fs-cifs file system: (3 Items)
   
unable to get the exact date and time of an exported file on PC by fs-cifs file system  
hi,
we are working on PPC  8260 target using QNX 630 SP1.
we are mounting the fs-cifs file system using the "mount" command and exporting the files created on the target to 
PC(windows XP).
We are able to mount the filesystem properly,
The files are also exported to PC  properly,
the file Content is also fine,
But the date and time of the file created is neighter related to the target's date and time  nor related to the PC's 
date and time.
by default what sould it be.??
is it a known issue in QNX 630,SP1? ?
How to resolve this ??
is there any requirement that the  target's date and time should match with PC's date and time??


Re: unable to get the exact date and time of an exported file on PC by fs-cifs file system  
> hi,
> we are working on PPC  8260 target using QNX 630 SP1.
> we are mounting the fs-cifs file system using the "mount" command and 
> exporting the files created on the target to PC(windows XP).
> We are able to mount the filesystem properly,
> The files are also exported to PC  properly,
> the file Content is also fine,
> But the date and time of the file created is neighter related to the target's 
> date and time  nor related to the PC's date and time.
> by default what sould it be.??
> is it a known issue in QNX 630,SP1? ?
> How to resolve this ??
> is there any requirement that the  target's date and time should match with 
> PC's date and time??
> 
> 

There was some bug , but that looks like fixed:

/root# uname -a
QNX Donnerstag 6.4.1 2009/05/20-17:35:56EDT x86pc x86

/root# date
Thu Sep 10 09:21:26 CEST 2009

/root# touch lala
/root# cp lala /qnx/Jeevan
/root# ls -l lala /qnx/Jeevan/lala
-rwxrwxrwx  1 root      root              0 Sep 10 09:22 /qnx/Jeevan/lala
-rw-rw-r--  1 root      root              0 Sep 10 09:22 lala
/root# mount
/dev/hd0t179 on / type qnx6
(X.X.X.X)X.X.X.X:/qnx on /qnx type CIFS/SMB

Jeevan
Re: unable to get the exact date and time of an exported file on PC by fs-cifs file system  
On Thu, 10 Sep 2009, Jeevan Mathew wrote:

>Date: Thu, 10 Sep 2009 03:21:42 -0400 (EDT)
>From: Jeevan Mathew <community-noreply@qnx.com>
>Reply-To: post37711@community.qnx.com
>To: general-community <post37711@community.qnx.com>
>Subject: Re: unable to get the exact date and time of an exported file on PC by
>     fs-cifs file system
>
>> hi,
>> we are working on PPC  8260 target using QNX 630 SP1.
>> we are mounting the fs-cifs file system using the "mount" command and
>> exporting the files created on the target to PC(windows XP).
>> We are able to mount the filesystem properly,
>> The files are also exported to PC  properly,
>> the file Content is also fine,
>> But the date and time of the file created is neighter related to the target's
>> date and time  nor related to the PC's date and time.
>> by default what sould it be.??
>> is it a known issue in QNX 630,SP1? ?
>> How to resolve this ??
>> is there any requirement that the  target's date and time should match with
>> PC's date and time??

There appears to have been a bug fixed and released around the 630SP2(?) time
frame. The PR sounds like this would typically be off by an hour or so between
the remote machine and new file.

It looks like a networking patch (patch 234) contained the fix that addressed
that issue.

Peter

>
> There was some bug , but that looks like fixed:
>
> /root# uname -a
> QNX Donnerstag 6.4.1 2009/05/20-17:35:56EDT x86pc x86
>
> /root# date
> Thu Sep 10 09:21:26 CEST 2009
>
> /root# touch lala
> /root# cp lala /qnx/Jeevan
> /root# ls -l lala /qnx/Jeevan/lala
> -rwxrwxrwx  1 root      root              0 Sep 10 09:22 /qnx/Jeevan/lala
> -rw-rw-r--  1 root      root              0 Sep 10 09:22 lala
> /root# mount
> /dev/hd0t179 on / type qnx6
> (X.X.X.X)X.X.X.X:/qnx on /qnx type CIFS/SMB
>
> Jeevan