search for: atimes

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

Did you mean: times
2004 Apr 20
1
improved atime patch
...= RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.79 diff -u -w -r1.79 generator.c --- generator.c 15 Apr 2004 16:55:23 -0000 1.79 +++ generator.c 20 Apr 2004 21:06:18 -0000 @@ -50,6 +50,7 @@ extern int only_existing; extern int orig_umask; extern int safe_symlinks; +extern int copy_atimes; /* choose whether to skip a particular file */ @@ -97,7 +98,11 @@ return 0; } - return (cmp_modtime(st->st_mtime,file->modtime) == 0); + if (copy_atimes && cmp_time(st->st_atime,file->atime) != 0) { + return 0; + } + + return (cmp_time(s...
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 (debi...
2009 Feb 03
2
some kind of timeout problem in pbx_spool.c
I am using outgoing call files. I typically see the "ooh something changed / timeout" on a regular bases every second to be exact. Then it stops until some other call event happens. So I "mv" my call file to the outgoing spool directory, I am listening to that message, another call file is "mv"'ed into the directory and something happens to the timeout that its
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 this: > Added the --xattrs (-X) option to preserver
2006 Jan 10
1
bin/91622: /bin/cp does not update atime of the source file
...lesystem is mounted read-only. > they are read-write here. > > since the source file is indeed being read, the atime should be updated. This is because cp(1) doesn't actually read(2) the file. It mmap(2)'s the file and reads memory. POSIX doesn't seem to require that cp sets atimes or otherwise acts as if it reads the file. Similar for cmp(1) and other utilities that use mmap() to read files (install(1) is another). The problem is mostly fixed in -current by "setting" (not actually setting, but marking for update) atimes in mmap(). I think to be strictly correct,...
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 se...
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: ?test? Size: 0
2008 Mar 06
1
rsync: always modify atime of all destination files
Hi Everyone, The following feature request was received by a Debian user; could you comment on it? I think this seems reasonable, but perhaps should be enabled only conditionally (as if the argument parser 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:
2016 Oct 26
2
O_NOATIME ?
...oes 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 try to add O_NOATIME to kernels, and call that. furhermore, apparently there _IS_ O_NOATIME in linux kernels for a while: http://man7.org/linux/man-pages/man2/open.2.html O_NOATIME (since Linux 2.6.8)...
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
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
On Tue, Apr 25, 2017 at 9:20 AM, Dario Lesca via samba <samba at lists.samba.org> wrote: > Il giorno mar, 25/04/2017 alle 09.25 -0300, Carlos A. P. Cunha via > samba ha scritto: >> Hello >> My fileserver is a samba 4.5.4, in Ubuntu 14.04, is all ok. >> My question is, >> >> Have the recycle bin enabled, and would like a way to rotate the >> files,
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 fo...
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
2004 Oct 08
2
Ext 2/3 overwriting remnant data & use of data blocks - security
Greetings all- I am conducting security testing on a device that uses Linux 2.4 with ext3. I am testing secure overwrite of remnant data in temporary files, but have run into a real good stumpper in the way Ext allocates data blocks. I've got 10 yrs of *NIX behind me, several with Linux, and this has really got me perplexed as I can't find any documentation explaining the subject
2016 Oct 26
0
O_NOATIME ?
...metadata. There's also the nodiratime option that can be useful, as directories are read to find what files exist in those directories; and it's seldomly useful to maintain the atime of a directory. You can also use noatime as a mount option, but then be sure that no application uses the atimes of files; e.g. something like mutt use the atime and mtime to determine whether there is a mail file with unread mail. Paul
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
Thanks for the answer. The problem that this way is pretty much the same as my find. I want you to be able to delete the file based on the date they were sent to the bin. As I gave in the example: The file has not been changed since 2015, when it is deleted now in 2017, it goes to the bin, dated 2015, when the find pass will erase, why it does not validate when it has been deleted, but the
2016 Jun 02
2
[PATCH] Link count attribute extension
Hello, This patch adds client and server support for transmitting the st_nlink field across SSH2_FXP_NAME and SSH2_FXP_ATTRS responses. Please let me know if there anything I can do to improve this patch. I am not subscribed to list so please CC me. Index: sftp-common.c =================================================================== RCS file: /cvs/src/usr.bin/ssh/sftp-common.c,v retrieving