Product SiteDocumentation Site

5.6. Файловые системы

5.6.1. fusecompress

Fusecompress - файловая система с сжатием, доступная для монтирования для непривилегированных пользователей. В Fedora-11 входила fusecompress-1.99.19. В Fedora-12 fusecompress обновлена до версии 2.6. При этом исправлено множество ошибок. но изменен формат диска. Пользователям fusecompress необходимо перенести данные на новый формат. Если декомпрессия не была выполнена перед обновлением, для этого потребуется пакет fusecompress_offline1.

Вы должны сконвертировать файловую систему.

If a user doesn't read these release notes and realize they need to upgrade the format, the first indication they'll have that something is wrong will probably be when they try to read a text file and it is binary:
$ less test.txt
"test.txt" may be a binary file.  See it anyway?

Метод обновления системы описан в файле /usr/share/doc/fusecompress_offline1-%{version}/README.fedora из пакета fusecompress1. В README.fedora из состава fusecompress1 говорится, что пользователь должен установить пакет fusecompress_offline1 и следовать данным инструкциям. Руководство по обновления продублировано ниже:
Let's say that in Fedora 11 your old fusecompress rootDir (where the files are
actually stored) is in ~/.fusestorage and you mount it on ~/storage. Now you've
updated to Fedora 12 and need to get your fusecompress filesystems updated to
the new on-disk format.  Here's the basic steps::

    # Make sure the old fusecompress filesystem is unmounted
    fusermount -u ~/storage
    # Move it to a new location
    mv ~/.fusestorage ~/.fusestorage.old
    # Create a new directory for our new format data
    mkdir ~/.fusestorage
    # Mount the new directory.  It's now a new format fusecompress filesystem
    fusecompress ~/.fusestorage ~/storage
    # Decompress all the files in the old fusecompress data directory
    fusecompress_offline1 ~/.fusestorage.old
    # Move the files into the new format storage
    mv .fusestorage.old/* ~/storage
    # If you have any hidden files, remember to move them too
    mv .fusestorage.old/.?* ~/storage

Note that to use this exact procedure you need to have enough disk space to
uncompress all of the files stored in ~/.fusestorage.old.  If you don't have
that much space, you'll have to run fusecompress_offline1 on portions of
~/.fusestorage.old and move them to ~/storage where they'll be recompressed,
freeing up the space for you to run fusecompress_offline1 on more files.