public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* btrfsctl -s returns 1
@ 2010-01-12 19:08 Dipl.-Ing. Michael Niederle
  0 siblings, 0 replies; only message in thread
From: Dipl.-Ing. Michael Niederle @ 2010-01-12 19:08 UTC (permalink / raw)
  To: linux-btrfs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-12 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 19:08 btrfsctl -s returns 1 Dipl.-Ing. Michael Niederle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox