All Projects → vasi → Squashfuse

vasi / Squashfuse

Licence: other
FUSE filesystem to mount squashfs archives

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Squashfuse

Actix Extras
A collection of additional crates supporting the actix and actix-web frameworks.
Stars: ✭ 190 (-1.55%)
Mutual labels:  hacktoberfest
Swagger Js
Javascript library to connect to swagger-enabled APIs via browser or nodejs
Stars: ✭ 2,319 (+1101.55%)
Mutual labels:  hacktoberfest
Opencast
The free and open source solution for automated video capture and distribution at scale.
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
Add Event To Calendar Docs
📅 Docs how to generate links to add events to online calendar services
Stars: ✭ 193 (+0%)
Mutual labels:  hacktoberfest
Aaru
Aaru Data Preservation Suite
Stars: ✭ 193 (+0%)
Mutual labels:  hacktoberfest
Tech Interview Preparation
A one stop solution to ace your next coding interview 👨‍💻
Stars: ✭ 188 (-2.59%)
Mutual labels:  hacktoberfest
News
TYPO3 Extension news
Stars: ✭ 192 (-0.52%)
Mutual labels:  hacktoberfest
Openqa
openQA web-frontend, scheduler and tools.
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
Api
API for Current cases and more stuff about COVID-19 and Influenza
Stars: ✭ 2,323 (+1103.63%)
Mutual labels:  hacktoberfest
Offline Qr Code
📱 Browser add-on allowing you to quickly generate a QR code offline with the URL of the open tab or other text!
Stars: ✭ 193 (+0%)
Mutual labels:  hacktoberfest
Agents.jl
Agent-based modeling framework in Julia
Stars: ✭ 189 (-2.07%)
Mutual labels:  hacktoberfest
Laravel Datatables Buttons
jQuery DataTables Buttons Plugin for Laravel.
Stars: ✭ 192 (-0.52%)
Mutual labels:  hacktoberfest
Icalendar Generator
Generate calendars in the iCalendar format
Stars: ✭ 193 (+0%)
Mutual labels:  hacktoberfest
Typed Vuex
🏦 A typed store accessor for vanilla Vuex.
Stars: ✭ 193 (+0%)
Mutual labels:  hacktoberfest
Lumen Vendor Publish
Vendor publish command for Lumen framework.
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
Build Emacs For Macos
Somewhat hacky script to automate building of Emac.app on macOS.
Stars: ✭ 192 (-0.52%)
Mutual labels:  hacktoberfest
Xcode Install
🔽 Install and update your Xcodes
Stars: ✭ 2,367 (+1126.42%)
Mutual labels:  hacktoberfest
Linux
Linux kernel variant from Analog Devices; see README.md for details
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
Mullet
Mullet Stack: Facebook in the front. Walmart in the back. (React, Hapijs, Node)
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
Drone Cache
A Drone plugin for caching current workspace files between builds to reduce your build times
Stars: ✭ 194 (+0.52%)
Mutual labels:  hacktoberfest
     squashfuse - Mount SquashFS archives using FUSE

           https://github.com/vasi/squashfuse

Squashfuse lets you mount SquashFS archives in user-space. It supports almost all features of the SquashFS format, yet is still fast and memory-efficient. So that everyone can use it, squashfuse supports many different operating systems and is available under a permissing license.

SquashFS is an efficiently compressed, read-only storage format. Support for it has been built into the Linux kernel since 2009. It is very common on Live CDs and embedded Linux distributions.

Quick start: $ ./configure && make $ ./squashfuse foo.squashfs mountpoint

  1. Table of contents ====================

  2. Introduction

  3. Table of contents

  4. Getting started

    • System requirements
    • Getting the source
    • Building
    • Usage
  5. About squashfuse

    • Is squashfuse for you?
    • What's included?
    • Features
    • Known bugs
  6. References

    • Licensing
    • Acknowledgements
    • Links
  7. Getting started ==================

2a. System requirements

To build and use squashfuse, you must be able to use the terminal of your operating system.

Runtime requirements:

  • FUSE 2.5 or later
  • At least one of the following compression libraries
    • zlib
    • lzo2
    • xz (aka. liblzma)
    • lz4
  • (optional) libattr, for better extended attribute support on Linux

Build requirements:

  • A C compiler
  • make (any variant)
  • sed
  • (optional) pkg-config, for detection of dependencies

To build from the development repository, rather than a tarball, you'll need:

  • autoconf 2.60 or later
  • automake 1.11 or later
  • libtool 2

Known fully-supported platforms:

  • Linux
  • Mac OS X
  • FreeBSD
  • NetBSD
  • OpenIndiana
  • Android
  • other platforms may work too!

For a precise list of packages you will need on your OS, and other platform notes, please see the file `PLATFORMS'.

2b. Getting the source

The squashfuse distribution can be downloaded from SourceForge: https://sourceforge.net/projects/squashfuse/files/

The development repository uses git, at GitHub: http://github.com/vasi/squashfuse

2c. Installation

Squashfuse is built with the usual `configure && make'. If you need more detailed instructions:

  1. Ensure you're at your terminal, in the directory containing this README.

  2. (if needed) If the file configure' is already present, skip this step. Otherwise, run./autogen.sh' to generate one.

  3. Run ./configure' to set up the build. You can find useful configuration options in the fileCONFIGURATION', or by running `./configure --help'.

    If configure fails, check that you really have all the requirements installed. You may also want to check the `PLATFORMS' file to see if there are any special notes for your operating system.

  4. Run make' to buildsquashfuse'.

  5. (optional) If you want to use squashfuse in this directory, that's ok. But if you'd rather install it, run make install'. If you need root privileges,sudo make install' may work.

2d. Example: Ubuntu

For example on Ubuntu 16.04:

sudo apt-get -y install git autoconf libtool make gcc libtool libfuse-dev liblzma-dev libtoolize --force aclocal autoheader automake --force-missing --add-missing autoconf ./configure --with-xz=/usr/lib/ make

2e. Usage

You'll need a SquashFS archive to use squashfuse. If you don't already have one, you can create one using the `mksquashfs' utility from the squashfs-tools project.

To create a SquashFS archive: $ mksquashfs DIRECTORY ARCHIVE

To mount a SquashFS archive with squashfuse: $ squashfuse ARCHIVE MOUNTPOINT

To unmount when you're done: $ umount MOUNTPOINT # On Mac/BSD $ fusermount -u MOUNTPOINT # On Linux

For more options, see the man page squashfuse(1).

  1. About squashfuse ===================

3a. Is squashfuse for you?

Squashfuse is a great option if you have a SquashFS archive, and:

  • You're not running Linux, or
  • You don't have root access, or
  • You're too concerned about security to use root, or
  • You find it inconvenient to elevate privileges, or
  • SquashFS is not built into your kernel, but FUSE is, or
  • You want to hack on the SquashFS format without risking kernel panics.

Squashfuse is probably not the right tool for the job, if:

  • You don't have FUSE. More and more systems have FUSE, but some don't. Squashfuse requires it.

  • You have a very old SquashFS archive. Neither squashfuse nor the Linux kernel support SquashFS versions less than 4.0. Use `unsquashfs' from the squashfs-tools project.

  • You want to create or modify a SquashFS archive. Neither squashfuse nor the Linux kernel support write access, use `mksquashfs' from squashfs-tools.

  • You want to extract an entire SquashFS archive. If you don't want to mount anything, it's more efficient and convenient to just use unsquashfs.

  • You want your root filesystem `/' to be SquashFS. This isn't well-tested, though it may be possible.

  • You're highly concerned about bugs. The SquashFS kernel module has seen much more testing than squashfuse.

If you don't yet use SquashFS, consider starting, now that squashfuse exists. For many uses, the chief drawbacks of SquashFS were requiring Linux and root access, but squashfuse has that covered.

  • Use SquashFS for archival and backup, instead of tar. It offers faster creation (multi-core), and browsing without unpacking.

  • Use SquashFS instead of zip. It has better compression, and faster directory lookup.

  • Use SquashFS instead of compressed disk images like DMG, uzip or Partimage. It has better compression and portability.

3b. What's included?

Squashfuse currently comprises three programs:

  • squashfuse Allows you to mount a squashfs filesystem.

  • squashfuse_ll Like `squashfuse', but implemented using the low-level FUSE API. It's a tiny bit faster, but less portable.

  • squashfuse_ls Lists all the files in a squashfs archive. A demonstration of using the squashfuse core in the absence of FUSE.

3c. Features

Squashfuse supports the following SquashFS features:

  • zlib, LZO, LZMA2 and LZ4 decompression
  • Fast, indexed directory lookup
  • Fast, indexed seeking within files
  • Caching of decompressed blocks
  • De-duplicated files
  • Sparse files
  • Extended attributes
  • Files larger than 4GB

Squashfuse is missing the following features:

  • LZMA1 compression (deprecated)
  • Support for SquashFS versions less than 4.0
  • Multi-core decompression

3c. Known bugs

  • On 32-bit systems with a large inode cache, when mounting a large SquashFS archive created with the "-no-exports" option, squashfuse_ll may use a large amount of memory. This is due to a bug in the FUSE API, where ino_t is shrunk to 32-bits.
  1. References =============

4a. Licensing

Squashfuse is copyright (c) 2012-2014 Dave Vasilevsky [email protected] Squashfuse is distributed under the 2-clause BSD license. See the file LICENSE for details.

4b. Acknowledgements

Thanks to:

  • Phillip Lougher, for designing the SquashFS format, and implementing support in the kernel. Also for providing permission to use and distribute squashfs_fs.h under a BSD-style license.

  • Maël Kerbiriou, for implementing LZ4 support.

4c. Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].