On 20/05/2019 01:20, Allan Jude wrote:
> On 5/18/19 2:02 PM, Sean Fagan wrote:
>> On May 18, 2019, at 1:47 AM, Allan Jude <[email protected]> wrote:
>>> If you write something else compressible, you should be able to use zdb to
>>> see if it ended up using lzjb or lz4.
>>
>> How? :)
>>
> 
> cat /usr/src/sys/kern/*.c /usr/src/sys/kern/*.c  > DS1/srcfile
> 
> or even write a file of all 1s instead of all 0s.

Just in case the how was about zdb, you can get the file's inode number using
either 'stat -s' or 'ls -i' and then do 'zdb -ddddd <dataset> <inode>'.
That command will report the file's blockpointers.

-- 
Andriy Gapon

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tcfdc8da2da71e1c0-Mcdc59228fef6f1ce2ddb8eba
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to