Afiolzofs allows mounting afio files using FUSE.
The code is written with Python and fusepy(http://code.google.com/p/fusepy ). 'Compressed afio archive with lzop,gzip,bzip2 and xz' and 'Uncompressed afio archive(ASCII cpio archive) can be used. 'Binary cpio archive' is not implemented yet. 'Uncompressed afio archive' can be random read. 'Compressed afio archive' must be decompressed in memory. lzop has multiple blocks compression format. afiolzofs can read the each block randomly. xz also has multiple blocks compression format. but multiple blocks compression is not implemented yet in xz command line tool. Afio-gui is GUI tool for afio. lzop,gzip,bzip2, and xz is used for compression. Avfs_extfs_for_afio is axtfs script for avfs. it allows mounting afio files or squashfs files. but some bugs. Compression and decompression are done by subprocess of the compression tools(lzop,gzip,bzip2,xz). Please install them for use. fusepy(http://code.google.com/p/fusepy ) must be download, and put it in the same folder of afiolzofs.py.
afiolzofs.pyは、afioによるバックアップファイル(XXX.afio)を、FUSEを使用してマウントすることができる。
pythonからFUSEを利用するため、fusepy( http://code.google.com/p/fusepy )を利用している。ダウンロードし、同じフォルダに置いてください。
afioの圧縮形態は、lzopのみに対応している。(XXX.afio.lzo)
オプションの指定により、一時的な書き込みを許可できる。
ただし、書き込んだデータは、アンマウント時に消え、保存されない。
# 0.0.26 (01 Jan 2011)
# long lzop file >256K
# 0.0.25 (29 Dec 2010)
# Xattr,Attr,Dir function
# get_items,items,et,set_inode_data function
# 0.0.24 (24 Dec 2010)
# _setnlink
# fix mount option
# access
# 0.0.23 (23 Dec 2010)
# atime at readonly
# fix write,trunc
# fix mount option
# 0.0.22 (22 Dec 2010)
# error message of 'cannot find fuse.py'
# 0.0.21 (21 Dec 2010)
# options
# 0.0.20 (19 Dec 2010)
# Ramfs,AfioLzofs
# 0.0.19 (18 Dec 2010)
# bug fix
# 0.0.18 (18 Dec 2010)
# fix open,opendir,use_ino
# inode dict -> class
# 0.0.17 (17 Dec 2010)
# fix rm
# fix open
# 0.0.16 (12 Dec 2010)
# fix some error
# 0.0.15 (08 Dec 2010)
# Ramfs Class and Afiolzofs Class
# 0.0.14 (08 Dec 2010)
# start to separate Temp Ramfs Block and AFIO access Block
# 0.0.13 (07 Dec 2010)
# _get_inode
# read_afio_symlink no read symlinkpath at first
# read_afio_item_offsetsize no read all and store for non compressed data at only read.
# 0.0.12 (06 Dec 2010)
# fix some error
# 0.0.11 (05 Dec 2010)
# x permission
# 0.0.10 (04 Dec 2010)
# r,w permission
# 0.0.9 (03 Dec 2010)
# test implementation for permission to dirread
# 0.0.8 (02 Dec 2010)
# fix some error
# 0.0.7 (01 Dec 2010)
# fix some of the atime,mtime,ctime
# fix some error code
# 0.0.6 (30 Nov 2010)
# fix some of the atime,mtime,ctime
# use get_fuse_context
# 0.0.5 (29 Nov 2010)
# list many item shuld be fix.
# fix some of them.
# 0.0.4 (27 Nov 2010)
# support extended ASCII format
# fix "unlink error"
# fix "other magic number"
# not to use defaultdict
# fix "rename error"
# change inode structure
# 0.0.3 (26 Nov 2010)
# fix "cannot mount XXX<space>XXX.afio.lzo"
# 0.0.2 (26 Nov 2010)
# BUG fix "REG FILE"
# 0.0.1 (21 Nov 2010)
# New release
# This program is based on fusepy. And it is started by coping the 'fuse.py' and 'memory.py'