search for: st_atim

Displaying 20 results from an estimated 279 matches for "st_atim".

2002 Oct 24
1
Using rsync for backup trashes st_atime
Hi! I've just tried to do a backup of a machine with rsync. While doing this (I was reading emails:-) I noted that mbox for mbox, I had no longe new mails, but I've never read off these mailboxes lately... This seemed to be a st_atime problem, and indeed, I could verify that. This is what I used for backup: rsync --archive \ --recursive \ --stats \ --compress \ --verbose \ --delete \ --delete-ex...
2019 Aug 09
0
[PATCH] Switch to utimensat for newer POSIX versions
...name, struct flac_stat_s *stats) void set_file_stats_(const char *filename, struct flac_stat_s *stats) { - struct utimbuf srctime; - FLAC__ASSERT(0 != filename); FLAC__ASSERT(0 != stats); +#if _POSIX_C_SOURCE >= 200809L + struct timespec srctime[2] = {}; + srctime[0].tv_sec = stats->st_atime; + srctime[1].tv_sec = stats->st_mtime; +#else + struct utimbuf srctime; srctime.actime = stats->st_atime; srctime.modtime = stats->st_mtime; +#endif (void)flac_chmod(filename, stats->st_mode); (void)flac_utime(filename, &srctime); #if !defined _MSC_VER && !defined...
2010 Jul 19
1
Oplocks
...0.765677 open("Y_odloz/D8/D8_03_Ivet_98/06aa6459-a011-40f8-bfb1-25d15e7ada61", O_RDWR|O_CREAT|O_EXCL, 0744) = 121 8711 14:57:50.766030 fstat(121, {st_dev=makedev(0, 23), st_ino=3079419, st_mode=S_IFREG|0744, st_nlink=1, st_uid=40022, st_gid=400, st_blksize=262144, st_blocks=0, st_size=0, st_atime=2010/07/13-14:57:50, st_mtime=2010/07/13-14:57:50, st_ctime=2010/07/13-14:57:50}) = 0 8711 14:57:50.766129 fcntl(12, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=8260, len=1}) = 0 8711 14:57:50.766214 fcntl(121, F_SETSIG, 0x23) = 0 8711 14:57:50.766275 fcntl(121, F_SETLEASE, 0x1) = 0 [...] 8...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...t stat { - __stdev64 (st_dev); - unsigned long st_ino; - unsigned long st_nlink; - unsigned int st_mode; - unsigned int st_uid; - unsigned int st_gid; - unsigned int __pad1; - __stdev64 (st_rdev); - unsigned long st_size; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - unsigned long st_blksize; - long st_blocks; - unsigned long __unused[3]; -}; + unsigned long st_dev; /* Device. */ + unsigned long st_ino; /* File serial number. */ +...
2016 Jun 02
2
[PATCH] Link count attribute extension
...ftp-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; + a->has_nlink = 1; + a->nlink = st->st_nlink; } /* Convert from filexfer attribs to struct stat */ @@ -94,6 +99,11 @@ st->st_atime = a->atime; st->st_mtime = a->mtime; } + if (a->fl...
2011 Jan 16
0
fs quota backend bug
...eted Part of strace: read(0, "357 getquotaroot \"INBOX\"\r\n", 1259) = 26 stat("/home/vmail/ofight.org/team at ofight.org/tmp", {st_dev=makedev(253, 2), st_ino=475158, st_mode=S_IFDIR|0700, st_nlink=2, st_uid=1042, st_gid=102, st_b lksize=4096, st_blocks=0, st_size=1, st_atime=2011/01/16-10:07:59, st_mtime=2011/01/16-10:07:59, st_ctime=2011/01/16-10:07:59}) = 0 stat("/home/vmail/ofight.org/team at ofight.org", {st_dev=makedev(253, 2), st_ino=475157, st_mode=S_IFDIR|0700, st_nlink=11, st_uid=1042, st_gid=102, st_blks ize=4096, st_blocks=16, st_size=4096, st_ati...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...tlist return a stat structure that contains atime, mtime and ctime fields that store only the timestamp in seconds. Modern filesystems can store timestamps down to nanosecond granularity, and the ordinary glibc stat(2) wrapper will return these in "hidden" stat fields: struct timespec st_atim; /* Time of last access. */ struct timespec st_mtim; /* Time of last modification. */ struct timespec st_ctim; /* Time of last status change. */ with the following macros defined for backwards compatibility: #define st_atime st_atim.tv_sec #define st_mt...
2005 Mar 05
2
dovecot-pgsql.conf can't find in chroot? (debian)
...resumed> ) = 0 [pid 18211] fstat64(5, <unfinished ...> [pid 18209] <... fcntl64 resumed> ) = 0 [pid 18211] <... fstat64 resumed> {st_dev=makedev(22, 1), st_ino=917830, st_mode=S_IFREG|060 0, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=16, st_size=4264, st_atime=200 5/03/04-22:09:07, st_mtime=2005/03/04-22:09:06, st_ctime=2005/03/04-22:09:06}) = 0 [pid 18211] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0 x40019000 [pid 18211] fstat64(5, {st_dev=makedev(22, 1), st_ino=917830, st_mode=S_IFREG|0600, st_nlink =1, st_uid=0...
2014 Sep 22
0
Re: [PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...contains atime, mtime and ctime fields > that store only the timestamp in seconds. > > Modern filesystems can store timestamps down to nanosecond > granularity, and the ordinary glibc stat(2) wrapper will return these > in "hidden" stat fields: > > struct timespec st_atim; /* Time of last access. */ > struct timespec st_mtim; /* Time of last modification. > */ struct timespec st_ctim; /* Time of last status change. > */ > > with the following macros defined for backwards compatibility: > > #define st_ati...
2013 Mar 14
1
glusterfs 3.3 self-heal daemon crash and can't be started
...---------------------------------------------------+ pending frames: patchset: git://git.gluster.com/glusterfs.git signal received: 11 time of crash: 2013-03-14 16:33:50 configuration details: argp 1 backtrace 1 dlfcn 1 fdatasync 1 libpthread 1 llistxattr 1 setfsid 1 spinlock 1 epoll.h 1 xattr.h 1 st_atim.tv_nsec 1 package-string: glusterfs 3.3.0 /lib64/libc.so.6[0x38d0a32920] /lib64/libc.so.6(memcpy+0x309)[0x38d0a88da9] /usr/sbin/glusterfs(mgmt_getspec_cbk+0x398)[0x40c888] /usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5)[0x38d1a0f4d5] /usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0x120)[0x38d1a0fcd0...
2005 May 16
2
Assertion Failure in mbox-sync.c
...ere, the core file's still here if any other info will help: (gdb) p sync_ctx->input->real_stream->statbuf $5 = {st_dev = 0, __pad1 = 0, __st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 4294967295, st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 1116279667, tv_nsec = 0}, st_mtim = {tv_sec = 1116279667, tv_nsec = 0}, st_ctim = { tv_sec = 1116279667, tv_nsec = 0}, st_ino = 0} (gdb) p sync_ctx->file_input->v_offset $8 = 142294527 The mbox size is larger than 142294527 I did notice this, but I'm not sure if I...
2014 Jul 30
2
[PATCH 1/3] ext2: create a struct for the OCaml 't' type
...st char *dest) goto skip_unreadable_file; } - ext2_empty_inode (fs, dir_ino, dirname, basename, + ext2_empty_inode (data->fs, dir_ino, dirname, basename, statbuf.st_mode, statbuf.st_uid, statbuf.st_gid, statbuf.st_ctime, statbuf.st_atime, statbuf.st_mtime, 0, 0, EXT2_FT_REG_FILE, &ino); if (statbuf.st_size > 0) { - ext2_write_file (fs, ino, buf, statbuf.st_size, dest); + ext2_write_file (data->fs, ino, buf, statbuf.st_size, dest); free (buf); } skip_unreadable_file:...
2003 Oct 01
2
smbmount not exiting
...) = 022 [pid 3493] open("/var/log/samba/smbmount.log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 0 [pid 3493] fstat64(0, {st_dev=makedev(3, 2), st_ino=32770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=3221, st_atime=2003/10/02-02:28:44, st_mtime=2003/10/02-02:27:34, st_ctime=2003/10/02-02:27:34}) = 0 [pid 3493] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 [pid 3493] fstat64(0, {st_dev=makedev(3, 2), st_ino=32770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0,...
2023 Jan 13
0
[klibc:master] mips64: Fix struct stat layout
...b/usr/include/arch/mips64/klibc/archstat.h @@ -3,8 +3,6 @@ #include <sys/types.h> -#define _STATBUF_ST_NSEC - struct stat { unsigned int st_dev; unsigned int st_pad0[3]; /* Reserved for st_dev expansion */ @@ -22,9 +20,14 @@ struct stat { off_t st_size; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; + unsigned int st_atime; + unsigned int st_atimensec; + + unsigned int st_mtime; + unsigned int st_mtimensec; + + unsigned int st_ctime; + unsigned int st_ctimensec; unsigned int st_blksize; unsigned int st_pad2;
2005 May 04
2
exop vs md5
WHat is the significance to Samba of pam_password exop vs pam_password md5 in ldap.conf? The reason I ask is that, wherever possible, I prefer to use the vendor supplied tools for manipulating config files. With Fedora 3 it's system-config-authentication and it doesn't give you the option of exop. You either enable MD5, which puts pam_password md5 in ldap.conf, or disable it, which puts
2013 Nov 12
0
[klibc:master] arm64: Fix struct stat
...1; - long st_size; /* Size of file, in bytes. */ - int st_blksize; /* Optimal block size for I/O. */ - int __pad2; - long st_blocks; /* Number 512-byte blocks allocated. */ - long st_atime; /* Time of last access. */ - unsigned long st_atime_nsec; - long st_mtime; /* Time of last modification. */ - unsigned long st_mtime_nsec; - long st_ctime; /* Time of last status change. */ - unsigned long...
2017 Nov 04
2
glusterfs segmentation fault in rdma mode
...rame : type(0) op(0) frame : type(0) op(0) frame : type(0) op(0) patchset: git://git.gluster.org/glusterfs.git signal received: 11 time of crash: 2017-11-01 11:11:23 configuration details: argp 1 backtrace 1 dlfcn 1 libpthread 1 llistxattr 1 setfsid 1 spinlock 1 epoll.h 1 xattr.h 1 st_atim.tv_nsec 1 package-string: glusterfs 3.11.0 /usr/lib64/libglusterfs.so.0(_gf_msg_backtrace_nomem+0x78)[0x7f95bc54e618] /usr/lib64/libglusterfs.so.0(gf_print_trace+0x324)[0x7f95bc557834] /lib64/libc.so.6(+0x32510)[0x7f95bace2510] The client OS was CentOS 7.3. The server OS was CentOS 6.5. The G...
2017 Jul 07
2
Rebalance task fails
...pending frames: frame : type(0) op(0) frame : type(0) op(0) frame : type(0) op(0) patchset: git://git.gluster.com/glusterfs.git signal received: 4 time of crash: 2017-07-07 10:07:23 configuration details: argp 1 backtrace 1 dlfcn 1 libpthread 1 llistxattr 1 setfsid 1 spinlock 1 epoll.h 1 xattr.h 1 st_atim.tv_nsec 1 package-string: glusterfs 3.7.3 /usr/lib/x86_64-linux-gnu/libglusterfs.so.0(_gf_msg_backtrace_nomem+0x92)[0x7f24de214502] /usr/lib/x86_64-linux-gnu/libglusterfs.so.0(gf_print_trace+0x31d)[0x7f24de23059d] /lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f24dd612d40] /lib/x86_64-linux-gnu/libpt...
2010 Apr 22
1
Transport endpoint not connected
...39;: Transport endpoint is not connected And I get the following in my logfile: patchset: v3.0.4 signal received: 11 time of crash: 2010-04-22 11:41:10 configuration details: argp 1 backtrace 1 dlfcn 1 fdatasync 1 libpthread 1 llistxattr 1 setfsid 1 spinlock 1 epoll.h 1 xattr.h 1 st_atim.tv_nsec 1 package-string: glusterfs 3.0.4 /lib/libc.so.6[0x7f2eca39a100] /usr/local/lib/glusterfs/3.0.4/xlator/performance/read-ahead.so(ra_fstat +0x82 )[0x7f2ec94f9d22] /usr/local/lib/libglusterfs.so.0(default_fstat+0xcb)[0x7f2ecab0511b] /usr/local/lib/glusterfs/3.0.4/xlator/performance/quic...
2004 Apr 10
0
patches for copying atimes
...;flags = flags & XMIT_TOP_DIR ? FLAG_TOP_DIR : 0; file->modtime = modtime; + file->atime = atime; file->length = file_length; file->mode = mode; file->uid = uid; @@ -838,6 +854,7 @@ file->flags = flags; file->modtime = st.st_mtime; + file->atime = st.st_atime; file->length = st.st_size; file->mode = st.st_mode; file->uid = st.st_uid; Index: generator.c =================================================================== RCS file: /cvsroot/rsync/generator.c,v retrieving revision 1.77 diff -u -w -r1.77 generator.c --- generator.c 7 Mar 2004...