Manorit ebe2dafdc8 Bind mounting
commit 930856459d
Merge: 6166712 c9b66bf
Author: Manorit Chawdhry <40723245+manorit2001@users.noreply.github.com>
Date:   Mon Sep 20 10:45:54 2021 +0100

    Merge pull request #46 from ThibaultLemaire/bind-mounting

    Bind mounting

commit c9b66bf280
Merge: 4ed40c4 6166712
Author: Thibault Lemaire <thibault.lemaire@zoho.eu>
Date:   Wed Mar 7 10:13:23 2018 +0100

    Merge remote-tracking branch 'graysky2/master' into bind-mounting

commit 4ed40c4e2d
Merge: 5b3471e f9d694f
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sun Nov 27 18:03:11 2016 +0100

    Merge remote-tracking branch 'old/handle-mountpoints' into bind-mounting

    Conflicts:
    	common/anything-sync-daemon.in
    	doc/asd.1

commit f9d694f39a
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sun Sep 11 17:16:20 2016 +0200

    Update doc according to new bind mounting technique

commit ccd2442768
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sun Sep 11 17:15:35 2016 +0200

    Optimized ungraceful_state_check()
    Moved a few lines and deleted unnecessary if

commit 4f6cc8bd49
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sun Sep 11 14:05:17 2016 +0200

    Reintroduced backups
    Fixing last commit feature break, ungraceful_state_check() and backups are now back
    and compatible with the bind mounts.

commit 43aa560bd5
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sat Sep 10 15:58:37 2016 +0200

    Switching from symlinking to bind mounting
    This changes a lot the behaviour of asd as no moving + symlinking is involved anymore.
    Instead a series of bind mounts ensures that the targets never disappear from the file tree.

    This commit breaks the functionality of the ungraceful_state_check() function,
    thereby disabling the backups feature.

commit 7f75a86d40
Author: Naughtylus <steampowerednaughtylus@outlook.com>
Date:   Sat Sep 10 15:40:32 2016 +0200

    Small styling changes
Merge branch 'bind-mount' into bind
2021-09-20 10:58:34 +01:00
2021-09-18 15:48:02 +05:30
2021-09-20 10:58:34 +01:00
2015-06-27 04:14:09 -04:00
2021-09-15 13:31:33 +05:30
2015-02-06 16:14:59 -05:00

Anything-sync-daemon

Anything-sync-daemon (asd) is a tiny pseudo-daemon designed to manage user defined dirs in tmpfs and to periodically sync back to the physical disc (HDD/SSD). This is accomplished via several bind mounting steps and an innovative use of rsync to maintain back-up and synchronization between the two. One of the major design goals of asd is a completely transparent user experience.

Documentation

Consult the man page or the wiki page: https://wiki.archlinux.org/index.php/Anything-sync-daemon

Installation from Source

To build from source, see the included INSTALL text document.

Installation from Distro Packages

  • logoArch: in the AUR.
  • logoChakra: in the CCR.

WARNING

Users of versions older than v5.69 MUST stop asd before upgrading. Data loss can occur if you ignore this warning.

Arch Linux users do not need to worry about if asd is installed from the official PKGBUILD in the AUR. This contains a pre_upgrade scriptlet that will stop asd for you.

I cannot do this for Ubuntu users building this manually.

You have been warned.

Description
Symlinks and syncs user specified dirs to RAM thus reducing HDD/SDD calls and speeding-up the system.
Readme MIT 507 KiB
Languages
Shell 86.4%
Makefile 13.6%