compression with btrfs-send / btrfs-receive
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
When I send a compressed subvol (i.e., one part of a filesystem mounted with the compress
mount option) with btrfs-send
, does btrfs-send
send it compressed, or does it decompress it first?
Similarly, when I receive the subvol with btrfs-receive
, does btrfs-receive
re-compress?
btrfs compression
add a comment |Â
up vote
1
down vote
favorite
When I send a compressed subvol (i.e., one part of a filesystem mounted with the compress
mount option) with btrfs-send
, does btrfs-send
send it compressed, or does it decompress it first?
Similarly, when I receive the subvol with btrfs-receive
, does btrfs-receive
re-compress?
btrfs compression
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When I send a compressed subvol (i.e., one part of a filesystem mounted with the compress
mount option) with btrfs-send
, does btrfs-send
send it compressed, or does it decompress it first?
Similarly, when I receive the subvol with btrfs-receive
, does btrfs-receive
re-compress?
btrfs compression
When I send a compressed subvol (i.e., one part of a filesystem mounted with the compress
mount option) with btrfs-send
, does btrfs-send
send it compressed, or does it decompress it first?
Similarly, when I receive the subvol with btrfs-receive
, does btrfs-receive
re-compress?
btrfs compression
asked Mar 22 at 15:52
Geremia
509716
509716
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
btrfs-send
will perform read
syscalls, which means it will decompress the data indeed. Then data are streamed uncompressed, and btrfs-receive
will perform write
syscalls, which will compress depending on the target btrfs
system compress
mount option.
So for instance, you could have an existing btrfs
system with all kinds of compression used for different files, and write to a new one where all data will be zstd
-compressed.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
btrfs-send
will perform read
syscalls, which means it will decompress the data indeed. Then data are streamed uncompressed, and btrfs-receive
will perform write
syscalls, which will compress depending on the target btrfs
system compress
mount option.
So for instance, you could have an existing btrfs
system with all kinds of compression used for different files, and write to a new one where all data will be zstd
-compressed.
add a comment |Â
up vote
2
down vote
accepted
btrfs-send
will perform read
syscalls, which means it will decompress the data indeed. Then data are streamed uncompressed, and btrfs-receive
will perform write
syscalls, which will compress depending on the target btrfs
system compress
mount option.
So for instance, you could have an existing btrfs
system with all kinds of compression used for different files, and write to a new one where all data will be zstd
-compressed.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
btrfs-send
will perform read
syscalls, which means it will decompress the data indeed. Then data are streamed uncompressed, and btrfs-receive
will perform write
syscalls, which will compress depending on the target btrfs
system compress
mount option.
So for instance, you could have an existing btrfs
system with all kinds of compression used for different files, and write to a new one where all data will be zstd
-compressed.
btrfs-send
will perform read
syscalls, which means it will decompress the data indeed. Then data are streamed uncompressed, and btrfs-receive
will perform write
syscalls, which will compress depending on the target btrfs
system compress
mount option.
So for instance, you could have an existing btrfs
system with all kinds of compression used for different files, and write to a new one where all data will be zstd
-compressed.
answered May 21 at 19:12
Archange
713
713
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f432860%2fcompression-with-btrfs-send-btrfs-receive%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password