deleting btrfs subvolume: any difference between "btrfs subvolume delete" and "rm -rf"?

1

as the title says, when deleting a btrfs subvolume, is there any reason to use the "proper" btrfs subvolume delete-command instead of just rm -rf ?

(i assume the btrfs subvolume command is faster given that presumably it doesn't have to recursively delete all files/folders it contains first, but is there any other difference than speed?)

hanshenrik

Posted 2019-10-13T11:46:42.737

Reputation: 447

... not sure if i should ask this on superuser.com or unix.stackexchange.com tho, any opinions there? – hanshenrik – 2019-10-13T11:49:07.543

The man page seems to indicate it is for speed "The corresponding directory is removed instantly but the data blocks are removed later in the background. The command returns immediatelly". Don't know if there is any other difference though.

– lx07 – 2019-10-13T16:05:19.003

No answers