Discussion:
one-file-system skips mount points
Nikolay Martynov
2014-05-01 05:04:52 UTC
Permalink
Hi.

When I specify one-file-system = yes obnam seems to be skipping
mount points (i.e. /dev, /proc, /sys, etc). Is this intended? It seems
like reasonable behaviour would be to backup mount points but not
contents.

obnam 1.7.4

Thanks.
Nikolay.
--
Martynov Nikolay.
Email: ***@gmail.com
Ben Boeckel
2014-05-04 23:05:33 UTC
Permalink
Post by Nikolay Martynov
When I specify one-file-system = yes obnam seems to be skipping
mount points (i.e. /dev, /proc, /sys, etc). Is this intended? It seems
like reasonable behaviour would be to backup mount points but not
contents.
obnam 1.7.4
When the mountpoint is in use, it is of the mounted filesystem, not the
parent filesystem. Notice that `du -x /mnt/point` will recurse rather
than stopping at the mount point.

I don't know if there is a way to detect that there is a directory the
mountpoint is shadowing without unmounting the filesystem.

--Ben

Loading...