On Thu, Jun 2, 2011 at 6:20 AM, Hugo Mills <h...@carfax.org.uk> wrote: > Over the last few weeks, I've been playing with a foolish idea, > mostly triggered by a cluster of people being confused by btrfs's free > space reporting (df vs btrfs fi df vs btrfs fi show). I also wanted an > excuse, and some code, to mess around in the depths of the FS data > structures. > > Like all silly ideas, this one got a bit out of hand, and seems to > have turned into something vaguely useful. I'm therefore pleased to > announce the first major public release of btrfs-gui: a point-and- > click tool for managing btrfs filesystems. > > The tool currently can scan for and list btrfs filesystems and the > volumes they live on. It can show the allocation and usage of data in > a selected filesystem, categorised by use, replication, and device. It > can show and manipulate subvolumes and snapshots: creation, deletion, > and setting the default.
Some comments: (1) Currently it needs to be run from the directory where it's downloaded, even after a "python3 setup.py install". When run from other directory, it bails with Traceback (most recent call last): File "/usr/local/bin/btrfs-gui", line 5, in <module> btrfsgui.main.main() File "/usr/local/lib/python3.2/dist-packages/btrfsgui/main.py", line 24, in main subproc = init_root_process(options) File "/usr/local/lib/python3.2/dist-packages/btrfsgui/sudo.py", line 31, in init_root_process stdin=subprocess.PIPE, stdout=subprocess.PIPE) File "/usr/lib/python3.2/subprocess.py", line 736, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.2/subprocess.py", line 1330, in _execute_child raise child_exception_type(errno_num, err_msg) OSError: [Errno 2] No such file or directory: './btrfs-gui-helper' Is this intentional? (2) When showing space usage for a single-device FS, selecting "Show unallocated space as raw space", why is the top and bottom graph different? Shouldn't it be the same, since there's only one device? (3) Not directly related to btrfs-gui, but I've been wondering what's the correct way to SHOW the current default subvolume? -- Fajar -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html