search for: atim

Displaying 20 results from an estimated 389 matches for "atim".

Did you mean: aim
2004 Apr 20
1
improved atime patch
I posted a patch a few days ago that adds copying of atime. At that time, it was just enabled with -t/--times. After some time, we have figured out that that choice might not have been the best. Here's a new version of the patch (relative to CVS) that adds -A/--copy-atime instead. It also includes a test case. Any feedback on this patch and/or th...
2004 Apr 10
0
patches for copying atimes
Hi. Here's a patch for copying the atimes of files when -t/--times is given. I bumped the protocol to 29 since it sends more data over the wire. It obviously does not send the atime if it's sending data to an older rsync version. It passes all the tests (including the added atime.test) for me on a: Linux Debian/3.0 gcc 2.95.4 (de...
2009 Feb 03
2
some kind of timeout problem in pbx_spool.c
...3 17:14:36] WARNING[28468]: pbx_spool.c:466 scan_thread: Ooh, something changed / timeout [Kdevcentos5x64*CLI> -- Playing '/tmp/smvoice.28537_0' (escape_digits=0123456789#) (sample_offset 0) ? [Kdevcentos5x64*CLI> [Feb 3 17:14:37] WARNING[28468]: pbx_spool.c:461 scan_thread: atime: 1233699276, mtime: 1233699268, ctime: 1233699268 last: 1233699268 next: 1233699278 now: 1233699277 [Kdevcentos5x64*CLI> [Feb 3 17:14:38] WARNING[28468]: pbx_spool.c:461 scan_thread: atime: 1233699276, mtime: 1233699268, ctime: 1233699268 last: 1233699268 next: 1233699278 now: 1233699278 [K...
2007 May 08
1
rsync feature needed: preserve atime
Often we need to preserve the information atime conveys, but I have found no way to get rsync to preserve this, nor any hint it is being worked on. It would be great if 'rsync -t' also set atime not just mtime -- or maybe a new option is desired for atime. I don't know if the -X mentioned in "NEWS file from CVS" covers th...
2006 Jan 10
1
bin/91622: /bin/cp does not update atime of the source file
On Wed, 11 Jan 2006, joe wrote: >> Environment: > RELENG_4 20051028 >> Description: > [cp fails to update atime] > > this occurs regardless of whether or not the user has > rwx permissions on the source file. does not apply of > course if the source filesystem is mounted read-only. > they are read-write here. > > since the source file is indeed being read, the atime should be updated....
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
Dear Martin Pool. We regularly use rsync for making backups of our file systems but we have noticed that the atimes are not transferred with the files and are also always updated on the sender's side. Therefore, we have created a modified version of rsync based on rsync-2.6.6 protocol version 29 which transfers the access times with the transferred files and also allows to preserve the access times on the...
2018 Jan 05
0
Different results in setting atime
Hello Gluster Community, I did some experiments with setting the atime in different scenarios. In scenario 2,3 and 4 I have a simple replica 2 volume with worm-file-level on 1. Setting atime on XFS: *[davids at gluster-test1 src]$ touch test[davids at gluster-test1 src]$ sudo touch -a -t 197001010001 test[davids at gluster-test1 src]$ stat test File: ?t...
2008 Mar 06
1
rsync: always modify atime of all destination files
...r isn't stressed enough). Thanks, Justin On Fri, Jul 23, 2004 at 05:09:09PM -0300, Pedro Zorzenon Neto wrote: > Package: rsync > Version: 2.6.2-2 > Severity: wishlist > Tags: patch > > Hi, > > Please apply the following patch to rsync. This patch updates the > atime (last access time) of all destination files to NOW when rsync > runs. > > It is desirable to know if a file has been deleted in then source > and exists in destination. Checking destination computer for atime, > you can know how long this file has been removed from source, and &g...
2016 Oct 26
2
O_NOATIME ?
...of files in a virtual environment, and most of the virtual machines run on SSD cached storage, i`d be curious how that negatively impacts lifetime of the SSD`s when we do rsync run every night for backup my question: does rsync normal file comparison run to determine if anything has changed change atime of any files ? for me it seems, stat/lstat calls of rsync do NOT modify atime, but i`m not sure under which conditions atime is changed. grepping the source for O_NOATIME in rsync3.txt i found : - Propagate atimes and do not modify them. This is very ugly on Unix. It might be better to...
2003 Sep 10
1
Looking for atime reset...
I find rsync an excellent tool when I need to move multi-gigabyte filesystems, because I can do most of the copying during the week - then a quick cleanup sweep in our 4 hour outage window. I do need to somehow get the atime's to copy over, because as it stands now I loose the age information (which we will soon be using for auto-archiving) on things I copy with rsync. Would it be that hard to enhance rsync to copy the atime along with the current mtime info? Does anyone have a speedy script, perl, or C program...
2008 Aug 24
1
mtime, atime, ctime
Hello I am making backup of a Plesk Debian server to /backup using Rsync. My questioin is how can I preserve the ctime, mtime, and atime of original files? Thanks
2017 May 02
2
Purge Trash Fileserver
...t; >> >> What I would like is to see an alternative to find or when it goes >> to >> the bin it is changed (date) to find it to be correct. >> >> Any idea ? > > > This is what I do for clear my trash: > > # echo '/usr/sbin/tmpwatch --dirmtime --atime --force $[24*30] /u/samba/cestino/' > /etc/cron.daily/cestino > # chmod 755 /etc/cron.daily/cestino > > The tricks is '--atime', then if you want still use your command with > find, you can try '-atime' find option. Fortunately, many of us turn mount our filesys...
2020 Mar 16
0
atimes+ctimes patch
schilytools star has the ability to restore ctimes from tarfiles. This is useful when restoring filesystems as root in single user mode, and I thought I'd like rsync to do the same. I started working off the rsync-patches/atimes.diff patch but noticed that this patch is buggy and presently does not work. (It fails to set the atime and it fails to set the mtime too). Even if this is fixed that patch does not provide for setting nanosecond times. The way nanosecond mtimes are presently handled is clunky and I am looking...
2004 Oct 26
1
[Fwd: question for file attributes (atime, ctime)]
It looks like I need to elaborate further to get a feedback. I checked the rsync source code and it is using utime() to restore atime file attribute. It is fine to change ctime for that transferred file in this case. What we are having problem is that when rsync gets kicked off and transfers one file to the destination, this action changes ctime of "all" files in the same directory and sub directories on the de...
2004 Oct 08
2
Ext 2/3 overwriting remnant data & use of data blocks - security
...that causes it): ---- Inode: 209219 Type: regular Mode: 0644 Flags: 0x0 Generation: 3550218717 User: 0 Group: 0 Size: 102400 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 208 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x4165bae1 -- Thu Oct 7 17:53:37 2004 atime: 0x4165bade -- Thu Oct 7 17:53:34 2004 mtime: 0x4165bae1 -- Thu Oct 7 17:53:37 2004 BLOCKS: (0-11):453994-454005, (IND):454006, (12-13):454007-454008, (14-24):455201-455211 TOTAL: 26 Inode: 209219 Type: regular Mode: 0644 Flags: 0x0 Generation: 3550218717 User: 0 Group: 0 S...
2016 Oct 26
0
O_NOATIME ?
...irtual environment, and most of the virtual machines run on SSD cached storage, i`d be curious how that negatively impacts lifetime of the SSD`s when we do rsync run every night for backup > > my question: > does rsync normal file comparison run to determine if anything has changed change atime of any files ? > > for me it seems, stat/lstat calls of rsync do NOT modify atime, but i`m not sure under which conditions atime is changed. Most filesystems on modern linux systems should be mounted with the relatime option. The atime will then only be updated if either the mtime or cti...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
In the past there have been discussions about adding a switch to rsync to preserve the atime on files being copied by rsync. I needed this function for a project I'm working on and decided to invent it. I've attached the diffs. Note that this has the limitations describe in previous emails, namely that preserving atime causes ctime to not be preserved. *** Patch follows *** ***...
2004 Oct 11
4
Detecting unused accounts
I'm looking for a way to figure out which accounts have not been logged in to in over n days. It occurs to me that, perhaps, the way to do this would be to look at the mtime on one of the dovecot-maintained files, like 'dovecot-uidlist'. Is there a particular file that would be modified on (almost) every login, whether it be via POP or IMAP? -Ben -- Ben Beuchler
2017 Apr 25
3
Purge Trash Fileserver
...gt;> >> >> What I would like is to see an alternative to find or when it goes >> to >> the bin it is changed (date) to find it to be correct. >> >> Any idea ? > > This is what I do for clear my trash: > > # echo '/usr/sbin/tmpwatch --dirmtime --atime --force $[24*30] /u/samba/cestino/' > /etc/cron.daily/cestino > # chmod 755 /etc/cron.daily/cestino > > The tricks is '--atime', then if you want still use your command with > find, you can try '-atime' find option. > > Hope this help > > Thanks >
2016 Jun 02
2
[PATCH] Link count attribute extension
...============================================================ RCS file: /cvs/src/usr.bin/ssh/sftp-common.c,v retrieving revision 1.28 diff -u -r1.28 sftp-common.c --- sftp-common.c 20 Jan 2015 23:14:00 -0000 1.28 +++ sftp-common.c 2 Jun 2016 01:32:02 -0000 @@ -56,6 +56,8 @@ a->perm = 0; a->atime = 0; a->mtime = 0; + a->has_nlink = 0; + a->nlink = 0; } /* Convert from struct stat to filexfer attribs */ @@ -74,6 +76,9 @@ a->flags |= SSH2_FILEXFER_ATTR_ACMODTIME; a->atime = st->st_atime; a->mtime = st->st_mtime; + a->flags |= SSH2_FILEXFER_ATTR_EXTENDED...