Re: desktop spins, btrfs copy test request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 13, 2020 at 7:38 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> I'm looking for testers:
> - Fedora 33
> - User home is on Btrfs (clean installed or converted, in a subvolume
> or not, these details won't matter)
> - using any spin other than Workstation (kde, lxqt, xfce, etc are all
> requested). I'd like to know which desktops do/don't automagically
> support reflink copies. What are reflinks? See Note 1 below.
>
>
> 1. Use the file manager to duplicate a file anywhere within user home,

You might check the file with filefrag before going further, to make
sure it isn't already shared. Reflinks, dedup, and snapshots will
result in shared extents.

Alternatively just fallocate a file, e.g.

$ fallocate -l 10m testfile
$ filefrag -v testfile
Filesystem type is: 9123683e
File size of testfile is 10485760 (2560 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..    2559:   19099880..  19102439:   2560:
last,unwritten,eof
testfile: 1 extent found
$ cp testfile testfile2
$ filefrag -v testfile
Filesystem type is: 9123683e
File size of testfile is 10485760 (2560 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..    2559:   19099880..  19102439:   2560:
last,unwritten,shared,eof
testfile: 1 extent found
$ filefrag -v testfile2
Filesystem type is: 9123683e
File size of testfile2 is 10485760 (2560 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..    2559:   19099880..  19102439:   2560:
last,unwritten,shared,eof
testfile2: 1 extent found
$

Of course, you're substituting a GUI file manager method of copying
rather than using 'cp'

-- 
Chris Murphy
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux