whio  Update of "whio_epfs_rm"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 89ce3c56ad54f533a0b11bb446f010b669131002
Page Name:whio_epfs_rm
Date: 2011-05-23 18:50:56
Original User: stephan
Parent: acc72371657914d67224ef93f6750bde5ecde204
Content

ACHTUNG: AS OF 20110523, THIS PAGE IS NOW MAINTAINED IN THE NEW WIKI: http://whiki.wanderinghorse.net/wikis/whio/?page=whio_epfs_rm

See also: whio_epfs_tools

whio-epfs-rm

whio-epfs-rm is a tool for removing entries from whio_epfs container files. In addition to the common tools arguments, it supports the following arguments:

  • inode IDs can be given in the form ### (individual IDs) or ###-### (inclusive ranges, starting at 1). When specifying a range, use the value 0 as the second number to mean "until the end."
  • -all or -A
    Equivalent to passing a filename of '*' or the range 1-0 (0 means "until the end"), this removes all inodes from the EFS.

This tool silently ignores attempts to remove "unused" inodes.

Examples

~> whio-epfs-ls my.epfs 
Inode #	   Size	  Modification Time
1         19634   2010.01.30 08:50:41
2         10448   2010.01.30 08:50:41
...
13        56883   2010.01.30 08:50:41
14         3572   2010.01.30 08:50:41
Totals: 14 of 200 inodes taking up 206411 bytes.

~> whio-epfs-rm my.epfs 1 3 7
~> whio-epfs-ls my.epfs 
Inode #	   Size	  Modification Time
2         10448   2010.01.30 08:50:41
4         11682   2010.01.30 08:50:41
5          1791   2010.01.30 08:50:41
6          7645   2010.01.30 08:50:41
8          8547   2010.01.30 08:50:41
...

~> whio-epfs-rm my.epfs '*'
~> whio-epfs-ls my.epfs
Inode #	   Size	  Modification Time
Totals: 0 of 200 inodes taking up 0 bytes.

# Remove ranges of inodes at once:
~> whio-epfs-rm my.epfs 1-3 5-9