I wrote a script generating snapshots of several subvolumes. But the script
failed after taking the first snapshot.

I then did it by hand:

> btrfsctl -s /.backups/2010-01-12.1/home /home
operation complete
Btrfs v0.19-4-gab8fb4c
> echo $?
1

Usually commands return 0 if everything went ok (and it seems that the snapshot
was taken correctly).

Has the returned "1" some special meaning?

------

Another, minor issue:

Mayby my manual is out of date. It tells me

> man btrfsctl
...
       -s snapshot-name directory
              Creates a new snapshot of the directory specified.
...

but as I learned one can only take a snapshot of a subvolume.

Greetings, Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to