[Sugar-devel] [PATCH] Fix for file list sorting for FAT32 formatted flash drives in Journal.

James Cameron quozl at laptop.org
Thu May 13 01:56:24 EDT 2010


On Thu, May 13, 2010 at 01:16:14AM -0400, Kenny Meyer wrote:
> Hmm, I haven't found any method to manually manipulate the `ctime` of
> a file on Linux systems. Sorry.

Use "stat filename" to display the ctime and other times of the file.

Or "stat --printf=%Z\\n filename" to display ctime alone in UNIX epoch
format, which should be the intervening format that Sugar will work
with.

For both of these the filesystem must be mounted; the USB stick
inserted, and commands typed on Terminal.

I can't find an easy way to change the ctime, but looking at the code
around setup_ready() I'm not even sure that ctime is being worked on
there.

"touch" can be used to change atime and mtime.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list