aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/__96__git_annex_import__96___clobbers_mtime/comment_3_d5c7488db16b71c4f337662c897278ca._comment
blob: 460dc989d481964573c3d045edd3e43112e11a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
 nickname="Richard"
 subject="comment 3"
 date="2013-08-02T06:57:12Z"
 content="""
In this particular case

* It's XFS
* It's a normal repo
* That the inode can have only one shared mtime is obvious, but the symlinks could have their own:

   richih@eudyptes (git)-[master] ~/killme/target % stat * .git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
     File: ‘foo’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268638577   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:51:35.976674954 +0200
   Modify: 2013-07-30 01:19:41.000000000 +0200
   Change: 2013-07-30 01:41:43.700701516 +0200
    Birth: -
     File: ‘foobar’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268774374   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:51:35.976674954 +0200
   Modify: 2013-07-30 01:19:41.000000000 +0200
   Change: 2013-07-30 01:41:43.700701516 +0200
    Birth: -
     File: ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 0            Blocks: 0          IO Block: 4096   regular empty file
   Device: 804h/2052d   Inode: 73750       Links: 1
   Access: (0444/-r--r--r--)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-07-30 01:20:11.915507749 +0200
   Modify: 2013-07-30 01:19:41.131509226 +0200
   Change: 2013-07-30 01:20:11.915507749 +0200
    Birth: -
   richih@eudyptes (git)-[master] ~/killme/target % touch foo
   richih@eudyptes (git)-[master] ~/killme/target % stat * .git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
     File: ‘foo’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268638577   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:51:35.976674954 +0200
   Modify: 2013-07-30 01:19:41.000000000 +0200
   Change: 2013-07-30 01:41:43.700701516 +0200
    Birth: -
     File: ‘foobar’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268774374   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:51:35.976674954 +0200
   Modify: 2013-07-30 01:19:41.000000000 +0200
   Change: 2013-07-30 01:41:43.700701516 +0200
    Birth: -
     File: ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 0            Blocks: 0          IO Block: 4096   regular empty file
   Device: 804h/2052d   Inode: 73750       Links: 1
   Access: (0444/-r--r--r--)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:54:34.464668766 +0200
   Modify: 2013-08-02 08:54:34.464668766 +0200
   Change: 2013-08-02 08:54:34.464668766 +0200
    Birth: -
   richih@eudyptes (git)-[master] ~/killme/target % touch --no-dereference foo
   richih@eudyptes (git)-[master] ~/killme/target % stat * .git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
     File: ‘foo’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268638577   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:55:07.796667610 +0200
   Modify: 2013-08-02 08:55:07.796667610 +0200
   Change: 2013-08-02 08:55:07.796667610 +0200
    Birth: -
     File: ‘foobar’ -> ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 178          Blocks: 8          IO Block: 4096   symbolic link
   Device: 804h/2052d   Inode: 268774374   Links: 1
   Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:51:35.976674954 +0200
   Modify: 2013-07-30 01:19:41.000000000 +0200
   Change: 2013-07-30 01:41:43.700701516 +0200
    Birth: -
     File: ‘.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855’
     Size: 0            Blocks: 0          IO Block: 4096   regular empty file
   Device: 804h/2052d   Inode: 73750       Links: 1
   Access: (0444/-r--r--r--)  Uid: ( 1000/  richih)   Gid: ( 1000/  richih)
   Access: 2013-08-02 08:54:34.464668766 +0200
   Modify: 2013-08-02 08:54:34.464668766 +0200
   Change: 2013-08-02 08:54:34.464668766 +0200
    Birth: -
   richih@eudyptes (git)-[master] ~/killme/target %

As to where the initial time of 01:19:41 came from: Yes, those were earlier tests with other imports of empty files.
"""]]