Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2009, 03:37 AM   #1
LQ Newbie
Registered: Feb 2009
Location: Dalian, China
Posts: 12

Rep: Reputation: 0
Have you ever used cygwin, i've met a problem with the command stat from cygwin

Recently, I have to do some automation tests related to getting file attributes, I run the test scripts on a windows 2003, but the test files reside on a Netapp NFS and CIFS volumes. I used SFU to help me browser the files from the windows side.

Simply put, I tried to use the command "Stat" from cygwin to get the file access time info. but it doesn't work, since every time I run "stat", the access time will be changed to the current time. so it's useless. and I do some investigation use this "stat" command, if I try to get the file access time info of a local file, I mean, I file reside on the windows, it works ok, and I know on the linux side, it won't change the access time when I run "stat", So, Is there anyone who has relevant experience?

Many thanks in advance, and any ideas will be appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with using ld in Cygwin alex1983-0112 Programming 4 09-05-2008 07:23 AM
Cygwin problem: lex: Command not found EasyLife Linux - Distributions 1 07-28-2008 10:19 AM
cygwin Problem scbops Linux - General 2 04-06-2006 03:32 AM
problem with cygwin linuxmandrake General 1 01-15-2005 02:26 PM
a problem about cygwin tony_bupt Linux - Newbie 4 09-05-2004 07:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration