btrfsctl -s exits with code 1 on a successful operation

Bug #784125 reported by Daniel Smedegaard Buus on 2011-05-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone
btrfs-tools (Ubuntu)

Bug Description

Binary package hint: btrfs-tools

I wrote a small script to automate snapshotting of my volumes, and discovered that even on success, btrfsctl -s will exit with 1, rather than 0. It also exits with 1 on errors.

Carey Underwood (cwillu) wrote :

"btrfsctl" is deprecated by upstream, in preference for the more complete "btrfs" tool. Unfortunately, it's not packaged in ubuntu yet, but you can build a copy yourself fairly easily.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in btrfs-tools (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers