https://launchpad.net/~yofel/+archive/btrfs has an up to date package for btrfs-tools with this functionality. The package in Precise appears to be a snapshot from June 2010.
# dpkg -i btrfs-tools_0.19+20120421-0daily6~bzr457~precise1_amd64.deb (Reading database ... 108869 files and directories currently installed.) Preparing to replace btrfs-tools 0.19+20100601-3ubuntu3 (using btrfs-tools_0.19+20120421-0daily6~bzr457~precise1_amd64.deb) ... Unpacking replacement btrfs-tools ... Setting up btrfs-tools (0.19+20120421-0daily6~bzr457~precise1) ... Processing triggers for man-db ... # btrfs subvolume snapshot -r /export/ftp /export/ftp/.snapshot/hardy Create a readonly snapshot of '/export/ftp' in '/export/ftp/.snapshot/hardy' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/924621 Title: btrfs: Option to create read-only snapshot does not exist To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/924621/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
