--- a/bin/blockfuse Wed Dec 05 22:42:18 2012 +0100
+++ b/bin/blockfuse Mon Sep 12 14:24:12 2016 +0200
@@ -23,8 +23,8 @@
# blockfuse maps the block devices found in /dev/ to regular
-# files in your mountpoint. Currently it fakes the mtime to force
-# rsync comparing the source and destination!
+# files in your mountpoint. [disabled:Currently it fakes the mtime to force
+# rsync comparing the source and destination!]
# blockfuse /mnt
# rsync --inplace -Pa /mnt/sda1 /images/sda1
@@ -83,7 +83,7 @@
my $path = "/dev" . shift;
my @attr = stat $path;
if (-b $path) {
- $attr[9] = time; # fake mtime
+ #$attr[9] = time; # fake mtime
$attr[6] = 0; # clear major/minor
$attr[2] |= 0b1000_0000_0000_0000; # set regular file
$attr[2] &= 0b1001_1111_1111_1111; # clear block device