On Sat, Aug 24, 2013 at 12:09 PM, Thomas Koch tho...@koch.ro wrote:
- check whether two files share the same data on disk, i.e. one has been
created by cp --reflink of the other?
How about inspecting the output of filefrag -v $filename?
For example, you could filter out with grep all lines
Hi,
how can I do the following in a shell script:
- check whether my file system supports cp --reflink?
- check whether two files share the same data on disk, i.e. one has been
created by cp --reflink of the other?
Thank you!
Thomas Koch
--
To unsubscribe from this list: send the line
On Sat, Aug 24, 2013 at 06:09:58PM +0200, Thomas Koch wrote:
Hi,
how can I do the following in a shell script:
- check whether my file system supports cp --reflink?
touch foo; if cp --reflink=always foo bar; then ...; fi; rm -f foo bar
- check whether two files share the same data on