Aufs

Last updated
aufs
Developer(s) Junjiro Okajima
Full nameAdvanced multi layered unification filesystem
Introduced2006
Features
File system permissions POSIX
Other
Supported operating systems Linux via third-party kernel module

aufs (short for advanced multi-layered unification filesystem) implements a union mount for Linux file systems. The name originally stood for AnotherUnionFS until version 2.

Contents

Developed by Junjiro Okajima in 2006, [1] aufs is a complete rewrite of the earlier UnionFS. It aimed to improve reliability and performance, but also introduced some new concepts, like writable branch balancing, [2] and other improvements – some of which are now implemented in the UnionFS 2.x branch.

aufs was rejected for merging into mainline Linux. Its code was criticized for being "dense, unreadable, [and] uncommented". [3] Instead, OverlayFS was merged in the Linux kernel. [4] [5] After several attempts to merge aufs into mainline kernel, the author has given up. [6]

Use

Aufs is included in Debian "Jessie" (v8) and Ubuntu 16.04 out of the box. Debian "Stretch" (v9) does not include aufs anymore, but provides a package aufs-dkms, which auto-compiles the aufs kernel module using Dell's dkms.

Docker originally used aufs for container filesystem layers. It is still available as one of the storage backends but is deprecated in favour of the overlay2 backend which uses OverlayFS. [7]

Several Linux distributions have chosen aufs as a replacement for UnionFS, including:

See also

Related Research Articles

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system made from a software collection that includes the Linux kernel, and often a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices and personal computers to powerful supercomputers.

<span class="mw-page-title-main">Knoppix</span> Linux distribution

KNOPPIX is an operating system based on Debian designed to be run directly from a CD / DVD or a USB flash drive, one of the first live operating system distributions. Knoppix was developed by, and named after, Linux consultant Klaus Knopper. When starting a program, it is loaded from the removable medium and decompressed into a RAM drive. The decompression is transparent and on-the-fly.

<span class="mw-page-title-main">Live CD</span> Complete, bootable computer installation that runs directly from a CD-ROM

A live CD is a complete bootable computer installation including operating system which runs directly from a CD-ROM or similar storage device into a computer's memory, rather than loading from a hard disk drive. A live CD allows users to run an operating system for any purpose without installing it or making any changes to the computer's configuration. Live CDs can run on a computer without secondary storage, such as a hard disk drive, or with a corrupted hard disk drive or file system, allowing data recovery.

Reiser4 is a computer file system, successor to the ReiserFS file system, developed from scratch by Namesys and sponsored by DARPA as well as Linspire. Reiser4 was named after its former lead developer Hans Reiser. As of 2021, the Reiser4 patch set is still being maintained, but according to Phoronix, it is unlikely to be merged into mainline Linux without corporate backing.

Unionfs is a filesystem service for Linux, FreeBSD and NetBSD which implements a union mount for other file systems. It allows files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system. Contents of directories which have the same path within the merged branches will be seen together in a single merged directory, within the new, virtual filesystem.

<span class="mw-page-title-main">Kanotix</span> Linux distribution

Kanotix, also referred to as KANOTIX, is an operating system based on Debian, with advanced hardware detection. It can run from an optical disc drive or other media i.e. USB-stick without using a hard disk drive.

<span class="mw-page-title-main">Light-weight Linux distribution</span> Operating system with low resource requirements

A light-weight Linux distribution is one that uses lower memory and/or has less processor-speed requirements than a more "feature-rich" Linux distribution. The lower demands on hardware ideally result in a more responsive machine, and/or allow devices with fewer system resources to be used productively. The lower memory and/or processor-speed requirements are achieved by avoiding software bloat, i.e. by leaving out features that are perceived to have little or no practical use or advantage, or for which there is no or low demand.

Technical variations of Linux distributions include support for different hardware devices and systems or software package configurations. Organizational differences may be motivated by historical reasons. Other criteria include security, including how quickly security upgrades are available; ease of package management; and number of packages available.

<span class="mw-page-title-main">GParted</span> Partition editor

GParted is a GTK front-end to GNU Parted and an official GNOME partition-editing application. GParted is used for creating, deleting, resizing, moving, checking, and copying disk partitions and their file systems. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another. It can also be used to format a USB drive.

NILFS or NILFS2 is a log-structured file system implementation for the Linux kernel. It was developed by Nippon Telegraph and Telephone Corporation (NTT) CyberSpace Laboratories and a community from all over the world. NILFS was released under the terms of the GNU General Public License (GPL).

<span class="mw-page-title-main">Finnix</span> Linux distribution

Finnix is a Debian-based Live CD operating system, developed by Ryan Finnie and intended for system administrators for tasks such as filesystem recovery, network monitoring and OS installation. Finnix is a relatively small distribution, with an ISO download size of approximately 100 MiB, and is available for the x86 and PowerPC architectures, and paravirtualized systems. Finnix can be run off a bootable CD, a USB flash drive, a hard drive, or network boot (PXE).

Squashfs is a compressed read-only file system for Linux. Squashfs compresses files, inodes and directories, and supports block sizes from 4 KiB up to 1 MiB for greater compression. Several compression algorithms are supported. Squashfs is also the name of free software, licensed under the GPL, for accessing Squashfs filesystems.

<span class="mw-page-title-main">Mondo Rescue</span>

Mondo Rescue is free disaster recovery software. It supports Linux and FreeBSD (i386). It's packaged for multiple distributions. It also supports tapes, disks, USB devices, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware RAID. Restoration may be done from a physical media including OBDR tape support, or CD/DVD/USB media, or from the network through PXE.

<span class="mw-page-title-main">Wubi (software)</span> Ubuntu Linux installer for Windows

Wubi is a free software Ubuntu installer, that was the official Windows-based software, from 2008 until 2013, to install Ubuntu from within Windows, to a single file within an existing Windows partition.

In computer operating systems, union mounting is a way of combining multiple directories into one that appears to contain their combined contents. Union mounting is supported in Linux, BSD and several of its successors, and Plan 9, with similar but subtly different behavior.

In computing, OverlayFS is a union mount filesystem implementation for Linux. It combines multiple different underlying mount points into one, resulting in single directory structure that contains underlying files and sub-directories from all sources. Common applications overlay a read/write partition over a read-only partition, such as with LiveCDs and IoT devices with limited flash memory write cycles.

References

  1. "History of aufs" . Retrieved 2015-11-08.
  2. Goals and new features of aufs in the project's homepage
  3. Aurora, Valerie (2009-04-07). "Unioning file systems: Implementations, part 2". LWN.net . Retrieved 2015-11-08.
  4. "overlay filesystem · torvalds/linux@e9be9d5". GitHub . Retrieved 12 July 2016.
  5. Hellwig, Christoph (2009-04-10). "Re: [RFC Aufs2 #5 28/29] export lookup functions" . Retrieved 2015-11-08.
  6. Okajima, Junjiro (2009-04-10). "Re: [RFC Aufs2 #5 28/29] export lookup functions" . Retrieved 2018-10-01.
  7. "Deprecated Engine Features". GitHub . Retrieved 2020-10-26.
  8. "KNOPPIX 5.1 - Live Linux Filesystem On CD". knopper.net. 2013-01-05. Retrieved 2015-11-08.
  9. Linux Live scripts Archived 2009-03-22 at the Wayback Machine use AUFS for better stability
  10. "Gentoo Linux - Gentoo Linux - LiveDVD 11.0". Gentoo.org. 2011-03-08. Archived from the original on 2012-04-13. Retrieved 2012-04-19.
  11. "Gentoo Linux - Gentoo Linux releases 11.2 LiveDVD". Gentoo.org. 2011-08-07. Archived from the original on 2012-04-17. Retrieved 2012-04-19.
  12. "Gentoo Linux - Gentoo Linux releases 12.0 LiveDVD". Gentoo.org. 2012-01-02. Archived from the original on 2012-04-21. Retrieved 2012-04-19.
  13. "Manjaro linux54 kernel PKGBUILD". 2020-01-19. Retrieved 2020-01-19.