]> arthur.barton.de Git - bup.git/commit
fuse-cmd.py: given --meta, report original metadata
authorRob Browning <rlb@defaultvalue.org>
Fri, 30 May 2014 02:54:49 +0000 (21:54 -0500)
committerRob Browning <rlb@defaultvalue.org>
Thu, 5 Jun 2014 20:34:49 +0000 (15:34 -0500)
commitceacdc2cefcd74fafe568c81b633387bbd379605
tree2d11635442d15efcc34c1d5013041aef333d0d41
parent1716d1816048e020cfde7ce8b08bc0c9a2264554
fuse-cmd.py: given --meta, report original metadata

Add a new --meta option to "bup fuse", and when specified, report the
original mode, uid, gid, atime, mtime, and ctime for the mounted
paths.

Since negative timestamps cause access errors, and cause "ls -l" to
report question marks for the stat values, set a floor of 0 for all
timestamps reported to python-fuse.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-fuse.md
cmd/fuse-cmd.py
t/test-fuse.sh