165 Commits

Author SHA1 Message Date
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
Manorit Chawdhry
930856459d Merge pull request #46 from ThibaultLemaire/bind-mounting
Bind mounting
2021-09-20 10:45:54 +01:00
Manorit Chawdhry
82a09a590b make crash recovery robust (#67) 2021-09-19 04:15:52 +05:30
Manorit Chawdhry
68ae792a64 shellcheck ci (#66) 2021-09-18 15:48:02 +05:30
Manorit Chawdhry
f84ee22d9b shellcheck fixes (#65) 2021-09-18 15:30:01 +05:30
Manorit
a63a2e47ca rearrange du commands
This will allow the user to see why asd p command is taking too much
time as the directory sizes are being calculated at that point of time
2021-09-17 17:39:39 +05:30
Manorit
58309991af don't overwrite asd.conf if already present 2021-09-17 17:39:39 +05:30
Manorit
d4b2928c38 fix typo 2021-09-17 17:39:39 +05:30
Manorit Chawdhry
5746934aef update year in copyright (#63) 2021-09-15 13:31:33 +05:30
Danilo Spinella
aba994cdf3 Rename license to follow naming convention 2021-09-14 15:55:56 +05:30
Danilo Spinella
0781b39172 Install asd.conf beside main script
asd.conf is needed by the main script in order to run, so it
would be better to install them togheter, improving installation
for users who are not using systemd nor upstart.
2021-09-14 15:55:56 +05:30
Glandos
9a5018af65 Allow using zram based device (#54)
Update bail filter to allow using Zram devices, which are not tmpfs. Also, better filtering of tmpfs, to be sure the grep does not match for path like /path/to/fake/tmpfs mounted.
2021-09-14 15:46:02 +05:30
Thibault Lemaire
c9b66bf280 Merge remote-tracking branch 'graysky2/master' into bind-mounting 2018-03-07 10:13:23 +01:00
graysky
616671210b Merge pull request #49 from bryant1410/master
Fix broken headings in Markdown files
2017-04-26 23:16:57 -04:00
Santiago Castro
dc267127c0 Fix broken Markdown headings 2017-04-18 05:29:48 -03:00
Naughtylus
4ed40c4e2d Merge remote-tracking branch 'old/handle-mountpoints' into bind-mounting
Conflicts:
	common/anything-sync-daemon.in
	doc/asd.1
2016-11-27 18:03:11 +01:00
graysky
5b3471ea25 bail if $VOLATILE is not tmpfs, fixes #33 v5.85 2016-11-26 11:17:16 -05:00
graysky
81f2a3f8ad port feature #191 from psd into asd v5.84 2016-11-25 17:07:32 -05:00
graysky
a74f67ade5 fix vim modeline 2016-11-25 16:46:01 -05:00
graysky
e3d72ce9aa more robust internals 2016-11-25 16:42:37 -05:00
graysky
ffe01d09d2 replace calls to ls with find to define arrays
update INSTALL with new dependency
2016-10-01 10:53:25 -04:00
Naughtylus
f9d694f39a Update doc according to new bind mounting technique 2016-09-11 17:16:20 +02:00
Naughtylus
ccd2442768 Optimized ungraceful_state_check()
Moved a few lines and deleted unnecessary if
2016-09-11 17:15:35 +02:00
Naughtylus
4f6cc8bd49 Reintroduced backups
Fixing last commit feature break, ungraceful_state_check() and backups are now back
and compatible with the bind mounts.
2016-09-11 14:05:17 +02:00
Naughtylus
43aa560bd5 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.
2016-09-10 15:58:37 +02:00
Naughtylus
7f75a86d40 Small styling changes 2016-09-10 15:40:32 +02:00
graysky
20f81fad0d bump ver v5.83 2016-09-04 02:50:04 -04:00
graysky
18c5897c68 Merge pull request #43 from Naughtylus/autofix-trailing-slashes
Autofix trailing slashes
2016-09-04 02:47:35 -04:00
Naughtylus
1c8be59127 Auto-removing trailing slashes for VOLATILE 2016-09-03 22:49:30 +02:00
Naughtylus
2401e43d5d Auto-removing trailing slashes for directories in WHATTOSYNC 2016-09-03 22:45:58 +02:00
graysky
04d077a231 don't double prefix BACKUP target if it's already prefixed with a period 2016-09-01 02:10:59 -04:00
Moez Bouhlel
932a0d3510 du - dont deference all symbolic links
allow lines starting with double-quotes variables

enable space before comments and variables

update to 5.82
v5.82
2016-08-04 15:08:54 -04:00
graysky
ee89bbf22a force ln in Makefile 2016-07-19 03:06:31 -04:00
graysky
e929e8797f support of older version of egrep to fix #39 v5.81 2016-07-19 02:45:38 -04:00
graysky
a2c0606d91 fix issue #39 v5.80 2016-07-15 14:24:45 -04:00
graysky
8d0c621045 bump ver v5.79 2016-07-06 20:57:11 -04:00
graysky
9b929f64fc Merge pull request #38 from xorian/master
Use --no-target-directory with mv
2016-07-06 16:03:21 -04:00
Kenneth C. Schalk
6dbef1e3bb Use --no-target-directory with mv to make sure we don't move the backup or target inside another directory. This could happen if a parallel process creates the directory. 2016-07-06 11:24:16 -04:00
graysky
1c15a9112e add a check for unwanted characters in asd.conf v5.78 2016-07-04 16:52:33 -04:00
graysky
e3bbb57836 bump ver v5.77 2016-06-12 06:24:47 -04:00
graysky
fcc250b406 no trailing slashes allowed. fixes #36 2016-06-12 06:23:59 -04:00
graysky
cc96c88f2c update MIT 2016-01-24 07:22:44 -05:00
graysky
82f5cf7b3b update to manpage v5.76 2015-10-29 15:00:41 -04:00
graysky
274b77123e Merge branch 'unstable' 2015-10-29 14:45:03 -04:00
graysky
ac7a5d9137 update version for release 5.76 2015-10-29 14:44:17 -04:00
graysky
2dce5a3878 update INSTALL 2015-10-27 13:22:02 -04:00
graysky
9a44430ee7 update manpage 2015-10-27 10:53:35 -04:00
graysky
bd10744068 unset vars before reading in a running asd 2015-10-27 10:46:29 -04:00
graysky
04da616078 crash recovery is not overlayfs aware 2015-10-27 10:43:19 -04:00
graysky
e066cc8c74 add ovfs sync to lowerdir workaround to fix #23 2015-10-27 10:29:16 -04:00