Date: Fri, 27 Aug 2010 21:31:01 -0500 (CDT) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, kamikaze@bsdforen.de Subject: Re: change file creation time on msdosfs Message-ID: <201008280231.o7S2V1c5008994@mail.r-bonomi.com>
next in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org Thu Aug 26 14:33:04 2010 > Date: Thu, 26 Aug 2010 21:06:04 +0200 > From: Dominic Fandrey <kamikaze@bsdforen.de> > To: freebsd-questions@freebsd.org > Subject: change file creation time on msdosfs > > I need to change the file creation time of some files on an > msdosfs file system. > > Is there any other way to do this than copying the file and deleting > the original? There are _always_ alternative ways. With suffficient knowledge, oue could, for example, use 'dd' to copy the required two bytes to the appropriate position on the raw device holding the filesystem. This approach is, however, not likely to be at all 'reasonable' for the average user. > The usual suspects like touch and mv do not work. yup. 'creation' timestamp is intended to be more-or-less immutable in the Unix world. And that 'viewpoint' carries over to other kinds of filesysems grafted onto a Unix host. >From inside a 'custom' program, it's fairly readily doable, the system calls to do it, to exist. but, off-hand, I can't think of anything that makes it 'easy' for the average user to do it. > > Regards > > -- > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008280231.o7S2V1c5008994>