> I a remote linux directory mounted on a Solaris 10 box via NFS. I also
> have the same directory mounted on another linux box.
>  
> I notice that when I do an ls in the nfs mounted directory on linux it
> returns the date and time
>  
> -rw-rw-r-- 1 john john 22 Feb 8 12:13 g
> 
> On Solaris it returns the date and year, not the time
> 
> -rw-r--r-- 1 john john 22 Feb 8 2007 g
> 
> Doing an ls -l on a non NFS directory on Solaris always returns date and
> time, so what is the issue with nfs mounted directories on Solaris?

Solaris 'ls' has two time displays.  One is date and time, the other is
date and year.

If the timestamp to be displayed is between 'now' and 'six months before
now', then the date/time display is used.  If the time is outside that
window, then the date/year display is used.

So my guess is the clocks are not synchronized on your machines, and
from the Solaris point of view, the timestamp of the file is a few
minutes (or farther) in the future.  Since that is outside the window,
the year is displayed.

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to