From: Kai Krakow <hurikhan77+btrfs@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Script for creating/managing snapshots of all subvolumes of all filesystems
Date: Sun, 05 May 2013 19:36:18 +0200 [thread overview]
Message-ID: <fthi5a-o7r.ln1@hurikhan.ath.cx> (raw)
In-Reply-To: loom.20130503T133254-992@post.gmane.org
Alexander Skwar <alexanders.mailinglists+nospam@gmail.com> schrieb:
> FWIW, I've also written a script which creates and "manages"
> (ie. deletes old) snapshots.
>
> It figures out all the available filesystems and creates snaps
> for all the available (sub)volumes.
>
> It's also on https://copy.com/WI9AXqTH2nD4 and
> http://pastebin.com/YX8WKcsR to avoid line break issues and also with
> comments.
You should change the calls of "btrfs subv del" etc to use unabbreviated
versions of the commands. Otherwise you expose your script to erratic
behavior as soon as new commands are added to btrfs that make your usage of
the commands ambigious.
Regards,
Kai
next prev parent reply other threads:[~2013-05-05 17:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-03 11:43 Script for creating/managing snapshots of all subvolumes of all filesystems Alexander Skwar
2013-05-05 17:36 ` Kai Krakow [this message]
2013-05-05 19:26 ` Alexander Skwar
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=fthi5a-o7r.ln1@hurikhan.ath.cx \
--to=hurikhan77+btrfs@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.