From: "Dipl.-Ing. Michael Niederle" <mniederle@gmx.at>
To: linux-btrfs@vger.kernel.org
Subject: btrfsctl -s returns 1
Date: Tue, 12 Jan 2010 20:08:51 +0100 [thread overview]
Message-ID: <20100112200851.4c44b75b@simplux> (raw)
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
reply other threads:[~2010-01-12 19:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100112200851.4c44b75b@simplux \
--to=mniederle@gmx.at \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox