<feed xmlns='http://www.w3.org/2005/Atom'>
<title>TabFS/fs, branch master</title>
<subtitle>Mount your browser tabs as a filesystem. Fork with org-link additions.</subtitle>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/'/>
<entry>
<title>fs,extension: Make truncate work on cached file content.</title>
<updated>2021-04-06T20:48:48+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar@omar.website</email>
</author>
<published>2021-04-06T20:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=b948c235b83e43441faeed257cfdffa2008326d9'/>
<id>b948c235b83e43441faeed257cfdffa2008326d9</id>
<content type='text'>
We now remember the path of each cached file, so when someone
truncates that path, we can truncate all open instances of it in
cache. Important when someone pipes to stomp a file / opens with
O_TRUNC (which FUSE disaggregates into an open() and then a truncate()
call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never
worked on macOS anyway.

Fixes #40.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now remember the path of each cached file, so when someone
truncates that path, we can truncate all open instances of it in
cache. Important when someone pipes to stomp a file / opens with
O_TRUNC (which FUSE disaggregates into an open() and then a truncate()
call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never
worked on macOS anyway.

Fixes #40.
</pre>
</div>
</content>
</entry>
<entry>
<title>create -&gt; mknod</title>
<updated>2021-02-25T23:41:21+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar@omar.website</email>
</author>
<published>2021-02-25T23:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=4fb8aee78901f3ef915f2be29ec8a2e4c1dcfeec'/>
<id>4fb8aee78901f3ef915f2be29ec8a2e4c1dcfeec</id>
<content type='text'>
(our create was broken, we weren't opening files as required)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(our create was broken, we weren't opening files as required)
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: fix create call (it was sending mkdir to extension)</title>
<updated>2021-02-22T23:32:39+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar@omar.website</email>
</author>
<published>2021-02-22T23:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=5c3e851bafcf52364a7dcf2348e10c8686245a09'/>
<id>5c3e851bafcf52364a7dcf2348e10c8686245a09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: missed one %lld fix</title>
<updated>2021-01-12T08:30:29+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar@omar.website</email>
</author>
<published>2021-01-12T08:30:29+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=0a6c542c767f7cb13b577e4fb65af681a55c0aa8'/>
<id>0a6c542c767f7cb13b577e4fb65af681a55c0aa8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: fix for off_t on 32-bit arch</title>
<updated>2021-01-12T08:17:34+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar.rizwan@gmail.com</email>
</author>
<published>2021-01-12T08:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=6d4b8ef5d17ac2c8068bcdf623df8923ca5b493d'/>
<id>6d4b8ef5d17ac2c8068bcdf623df8923ca5b493d</id>
<content type='text'>
(it's actually 64-bit bc of -D_FILE_OFFSET_BITS=64 at build time)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(it's actually 64-bit bc of -D_FILE_OFFSET_BITS=64 at build time)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'huglovefan-truncate'</title>
<updated>2021-01-12T08:16:29+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar.rizwan@gmail.com</email>
</author>
<published>2021-01-12T08:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=9e1a145d23c313f8aa3b50986c331562542e8ba7'/>
<id>9e1a145d23c313f8aa3b50986c331562542e8ba7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: fix fh handling on 32-bit arch</title>
<updated>2021-01-12T07:25:42+00:00</updated>
<author>
<name>Omar Rizwan</name>
<email>omar.rizwan@gmail.com</email>
</author>
<published>2021-01-12T07:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=740e2f3bb39aefe3e5a6bce6aaf1232361318cee'/>
<id>740e2f3bb39aefe3e5a6bce6aaf1232361318cee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix FreeBSD support that broke when multithreading was implemented</title>
<updated>2021-01-11T16:23:53+00:00</updated>
<author>
<name>Konstantin Schukraft</name>
<email>konstantin@schukraft.org</email>
</author>
<published>2021-01-11T16:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=88925318e0a0e8707315a6ebe76b75d3806ba71b'/>
<id>88925318e0a0e8707315a6ebe76b75d3806ba71b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix truncating in defineFile()</title>
<updated>2021-01-11T08:25:57+00:00</updated>
<author>
<name>human</name>
<email>human@neet.fi</email>
</author>
<published>2021-01-07T14:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=a7ab34ebbce60f2af159f9010a2e3629756af3d1'/>
<id>a7ab34ebbce60f2af159f9010a2e3629756af3d1</id>
<content type='text'>
- in the C part: enable FUSE_CAP_ATOMIC_O_TRUNC so that open() will get called with O_TRUNC in flags instead of truncate() being called separately
  - this also prevents truncate() from calling setData() with an empty string when a file is opened with O_TRUNC
- in defineFile()-&gt;open(): if O_TRUNC is used, don't call getData() but start with an empty file as if it had just been truncated
- in defineFile()-&gt;write()/truncate(): correct buffer resizing/copying
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- in the C part: enable FUSE_CAP_ATOMIC_O_TRUNC so that open() will get called with O_TRUNC in flags instead of truncate() being called separately
  - this also prevents truncate() from calling setData() with an empty string when a file is opened with O_TRUNC
- in defineFile()-&gt;open(): if O_TRUNC is used, don't call getData() but start with an empty file as if it had just been truncated
- in defineFile()-&gt;write()/truncate(): correct buffer resizing/copying
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'huglovefan/master'</title>
<updated>2021-01-05T16:17:03+00:00</updated>
<author>
<name>David Buckley</name>
<email>david@davidbuckley.ca</email>
</author>
<published>2021-01-05T16:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://ba.ln.ea.cx/src/marsironpi/TabFS/commit/?id=b77bf24168168456969feb4acc7b70d2f1ee8cd0'/>
<id>b77bf24168168456969feb4acc7b70d2f1ee8cd0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
