linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Naming of subvolumes
@ 2012-10-25 12:30 Richard Hughes
  2012-10-25 13:18 ` anand jain
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Richard Hughes @ 2012-10-25 12:30 UTC (permalink / raw)
  To: linux-btrfs

I'm planning to use "btrfs subvolume snapshot -r <name>" in the system
upgrade functionality[1] if the user is using btrfs for their root file
system. We've got most of the bits in place already for Fedora 18.

One think that confuses me is the convention for the naming of
snapshots. Is there any conventions or prior art there? Can I add
metadata to the snapshot so that I don't have encode everything in the
snapshot name itself?

Also, being able to do a snapshot using a libbtrfs (or whatever) would
be much preferable to exec'ing the btrfs command and then trying to
parse the exit code and any stderr. I don't know if this kind of thing
is the norm for filesystem utilities, but a versioned shared library to
use would be awesome.

Any advice welcome, thanks.

Richard
(PackageKit author)

[1] https://fedoraproject.org/wiki/Features/OfflineSystemUpdates


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-10-28 16:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 12:30 Naming of subvolumes Richard Hughes
2012-10-25 13:18 ` anand jain
2012-10-25 13:28 ` Hugo Mills
2012-10-25 13:44   ` Richard Hughes
     [not found]     ` <CAAeznTr6AvqbJ+WOw6S5kyW2_qbSUQgJfAO88m9KdV+3PyGUcw@mail.gmail.com>
2012-10-25 15:16       ` Richard Hughes
2012-10-25 15:59         ` Calvin Walton
2012-10-25 17:19           ` Richard Hughes
2012-10-26  5:24 ` Chris Murphy
2012-10-26  8:27   ` Richard Hughes
2012-10-26 15:54     ` Chris Murphy
2012-10-27  1:58       ` cwillu
2012-10-27  3:03         ` Fajar A. Nugraha
2012-10-27 17:22           ` Naming of (bootable) subvolumes Chris Murphy
2012-10-28  9:25             ` Goffredo Baroncelli
2012-10-28 16:57               ` Chris Murphy
2012-10-28  9:38             ` Fajar A. Nugraha
2012-10-27 16:08         ` Naming of subvolumes Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).