Writing to read-only devices with aufs2

Conclusion

Aufs easily creates workarounds to provide virtual write access to read-only media or files residing in read-only filesystems, such as ISO9660 (which supports no write operation, whether the underlying block device is writable or not). Without aufs, then symlinks, bind-mounts, and filesystem restructuring is necessary to support writing to otherwise unwritable files. Setting up a chroot environment to record changes to the filesystem is easy with aufs, because it puts all changed files and a record of modifications to metadata on the writable branch. With this feature, you can create "incremental" installations by adding filesystem history step by step. Also, you can use existing mount points as targets, so the old directory data is "hidden" by the modified data.

Aufs2 users have long backed adding aufs2 to the main kernel. Because of attempts to add overlay capabilities into the generic virtual filesystem layer rather than a separate filesystem, aufs2 likely won't make it into the kernel soon.

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • AuFS

    AuFS offers a painless filesystem for a thin client, and FS-Cache provides a persistent cache.

  • VServer

    The VServer project offers a secure and highly efficient virtualization alternative.

  • Network Block Devices

    You don’t need Samba or NFS to support a diskless client. A remote block device can help improve performance and efficiency. We'll show your how.

  • Kernel News

     

  • Live Distros with NTFS

    A Linux live distro may be just what you need to recover a Windows computer brought down by a system problem or virus attack. Knoppix creator Klaus Knopper gives you some tips for accessing NTFS from live Linux.

comments powered by Disqus

Direct Download

Read full article as PDF:

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia