<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend_reverse/ino_map.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2017-04-01T15:19:15+00:00</updated>
<entry>
<title>fusefrontend_reverse: switch to stable inode numbers</title>
<updated>2017-04-01T15:19:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-04-01T15:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=778c955eea1fdc16666f51f6f0a2fab0f580dbf0'/>
<id>urn:sha1:778c955eea1fdc16666f51f6f0a2fab0f580dbf0</id>
<content type='text'>
The volatile inode numbers that we used before cause "find" to complain and error out.
Virtual inode numbers are derived from their parent file inode number by adding 10^19,
which is hopefully large enough no never cause problems in practice.

If the backing directory contains inode numbers higher than that, stat() on these files
will return EOVERFLOW.

Example directory lising after this change:

  $ ls -i
               926473 gocryptfs.conf
  1000000000000926466 gocryptfs.diriv
               944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA
  1000000000000944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA.name
               934408 Tdfbf02CKsTaGVYnAsSypA
</content>
</entry>
<entry>
<title>fusefrontend: upgrade wlockMap to use device AND inode number</title>
<updated>2016-11-17T19:32:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-11-17T19:32:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e04dc050126edcf7440ea5412bc74c6ad8b42e95'/>
<id>urn:sha1:e04dc050126edcf7440ea5412bc74c6ad8b42e95</id>
<content type='text'>
If there are multiple filesystems backing the gocryptfs filesystems
inode numbers are not guaranteed to be unique.
</content>
</entry>
<entry>
<title>lint fixes</title>
<updated>2016-10-04T21:18:33+00:00</updated>
<author>
<name>Valient Gough</name>
</author>
<published>2016-10-02T04:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b764917cd5c1b1d61b8ce08e7af0b29793fbbb80'/>
<id>urn:sha1:b764917cd5c1b1d61b8ce08e7af0b29793fbbb80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reverse: use dynamic inode numbers</title>
<updated>2016-09-25T14:43:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-21T19:25:55+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d76e7aadb48e5efd6af6ad42e9146f65f8e89fb8'/>
<id>urn:sha1:d76e7aadb48e5efd6af6ad42e9146f65f8e89fb8</id>
<content type='text'>
...with stable mappings for hard-linked files.
</content>
</entry>
</feed>
