Skip to content
#

filesystem

Here are 246 public repositories matching this topic...

crash-g
crash-g commented Mar 25, 2020

I have noticed that the volume method does not return the exact size of the cache, but in some scenarios there could be a discrepancy of more than 100 MB.

From the code, I gather that volume = page_size * page_count + total_file_size, where page_size * page_count is an estimate of the database size and total_file_size is the size of all file-backed entries.

The problem is that this d

arvidjaar
arvidjaar commented Mar 17, 2019

Help output makes impression device sizes can be omitted. They cannot (or is there usage where they can?).

bor@bor-Latitude-E5450:~/src/python-btrfs$ git describe HEAD
v11
bor@bor-Latitude-E5450:~/src/python-btrfs$ ./bin/btrfs-space-calculator -h
usage: btrfs-space-calculator [-h] -m METADATA -d DATA [-M] [-r RATIO]
                              [sizes [sizes ...]]
...
bor@bor-Latitu
richardjgowers
richardjgowers commented Nov 10, 2018

Currently creating a Treant will always work, even if the directory doesn't exist.

import datreant as dtr

t = dtr.Treant('nonexistant', makedir=False)  # this should raise an Error

And related, if the directory exists but isn't a Treant, it will blindly create one, again this should be optional..

import datreant as dtr

t = dtr.Treant('not_a_treant', 

Improve this page

Add a description, image, and links to the filesystem topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the filesystem topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.