How can I make btrfs pretend to be ext4?

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Dropbox have just announced that their Linux client will only support ext4 in the future. I currently use Dropbox on a btrfs partition (without any issues). Apparently xattr support is essential. Both ext4 and btrfs support this, and indeed IâÂÂm not aware of any ext4 feature that btrfs does not also support.
I donâÂÂt know how Dropbox intends to detect the filesystem, but is there any way I can get btrfs to pretend to be ext4?
filesystems ext4 btrfs
add a comment |Â
up vote
2
down vote
favorite
Dropbox have just announced that their Linux client will only support ext4 in the future. I currently use Dropbox on a btrfs partition (without any issues). Apparently xattr support is essential. Both ext4 and btrfs support this, and indeed IâÂÂm not aware of any ext4 feature that btrfs does not also support.
I donâÂÂt know how Dropbox intends to detect the filesystem, but is there any way I can get btrfs to pretend to be ext4?
filesystems ext4 btrfs
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Dropbox have just announced that their Linux client will only support ext4 in the future. I currently use Dropbox on a btrfs partition (without any issues). Apparently xattr support is essential. Both ext4 and btrfs support this, and indeed IâÂÂm not aware of any ext4 feature that btrfs does not also support.
I donâÂÂt know how Dropbox intends to detect the filesystem, but is there any way I can get btrfs to pretend to be ext4?
filesystems ext4 btrfs
Dropbox have just announced that their Linux client will only support ext4 in the future. I currently use Dropbox on a btrfs partition (without any issues). Apparently xattr support is essential. Both ext4 and btrfs support this, and indeed IâÂÂm not aware of any ext4 feature that btrfs does not also support.
I donâÂÂt know how Dropbox intends to detect the filesystem, but is there any way I can get btrfs to pretend to be ext4?
filesystems ext4 btrfs
filesystems ext4 btrfs
asked Aug 16 at 19:41
jl6
4951516
4951516
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22
add a comment |Â
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Without modifications to the kernel, probably not. And even then it might not be a good idea, the btrfs tools might refuse to work once they think the file system is not btrfs.
Will Dropbox just not support it as in not answer questions, or will the program actively avoid running on any other file system? If it is the latter, there are many ways to detect a file system, and you wouldn't be able to fool them all.
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
add a comment |Â
up vote
0
down vote
Probably the easiest way to handle this is to create an ext4 loopback image in your Btrfs filesystem, then mount it at some temporary location, move the files you sync with Dropbox into that filesystem, then remount it at the top-level directory where Dropbox syncs.
This will keep Dropbox working, but you don't need to replace your whole filesystem. You will still get some of the benefits of Btrfs, as you could snapshot the loopback image and such.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Without modifications to the kernel, probably not. And even then it might not be a good idea, the btrfs tools might refuse to work once they think the file system is not btrfs.
Will Dropbox just not support it as in not answer questions, or will the program actively avoid running on any other file system? If it is the latter, there are many ways to detect a file system, and you wouldn't be able to fool them all.
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
add a comment |Â
up vote
1
down vote
Without modifications to the kernel, probably not. And even then it might not be a good idea, the btrfs tools might refuse to work once they think the file system is not btrfs.
Will Dropbox just not support it as in not answer questions, or will the program actively avoid running on any other file system? If it is the latter, there are many ways to detect a file system, and you wouldn't be able to fool them all.
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Without modifications to the kernel, probably not. And even then it might not be a good idea, the btrfs tools might refuse to work once they think the file system is not btrfs.
Will Dropbox just not support it as in not answer questions, or will the program actively avoid running on any other file system? If it is the latter, there are many ways to detect a file system, and you wouldn't be able to fool them all.
Without modifications to the kernel, probably not. And even then it might not be a good idea, the btrfs tools might refuse to work once they think the file system is not btrfs.
Will Dropbox just not support it as in not answer questions, or will the program actively avoid running on any other file system? If it is the latter, there are many ways to detect a file system, and you wouldn't be able to fool them all.
answered Aug 16 at 19:44
RalfFriedl
3,7001523
3,7001523
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
add a comment |Â
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
Reference dropboxforum.com/t5/Syncing-and-uploads/⦠- DropBox is only going to support unencrypted 4th extended filesystem on Linux as of November of this year. (LUKS will work, but encryptfs will not)
â DopeGhoti
Aug 16 at 19:58
add a comment |Â
up vote
0
down vote
Probably the easiest way to handle this is to create an ext4 loopback image in your Btrfs filesystem, then mount it at some temporary location, move the files you sync with Dropbox into that filesystem, then remount it at the top-level directory where Dropbox syncs.
This will keep Dropbox working, but you don't need to replace your whole filesystem. You will still get some of the benefits of Btrfs, as you could snapshot the loopback image and such.
add a comment |Â
up vote
0
down vote
Probably the easiest way to handle this is to create an ext4 loopback image in your Btrfs filesystem, then mount it at some temporary location, move the files you sync with Dropbox into that filesystem, then remount it at the top-level directory where Dropbox syncs.
This will keep Dropbox working, but you don't need to replace your whole filesystem. You will still get some of the benefits of Btrfs, as you could snapshot the loopback image and such.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Probably the easiest way to handle this is to create an ext4 loopback image in your Btrfs filesystem, then mount it at some temporary location, move the files you sync with Dropbox into that filesystem, then remount it at the top-level directory where Dropbox syncs.
This will keep Dropbox working, but you don't need to replace your whole filesystem. You will still get some of the benefits of Btrfs, as you could snapshot the loopback image and such.
Probably the easiest way to handle this is to create an ext4 loopback image in your Btrfs filesystem, then mount it at some temporary location, move the files you sync with Dropbox into that filesystem, then remount it at the top-level directory where Dropbox syncs.
This will keep Dropbox working, but you don't need to replace your whole filesystem. You will still get some of the benefits of Btrfs, as you could snapshot the loopback image and such.
answered Aug 17 at 16:02
LustreOne
3299
3299
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%2f463056%2fhow-can-i-make-btrfs-pretend-to-be-ext4%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
First thing I would try and would be "mount --bind"
â user1133275
Aug 16 at 23:22