I was looking through some of the archives and notice a patch submitted to implement: btrfs subvolume show <path-to-subvolume> command. I also noticed that is does not appear to be in the git. This looks like a useful capability. I was trying to find out what the UUID was for a newly created subvolume and have not found out how to do that. Gene -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Dec 12, 2012 at 01:22:40PM -0500, Gene Czarcinski wrote:> I was looking through some of the archives and notice a patch > submitted to implement: > btrfs subvolume show <path-to-subvolume> > command. > > I also noticed that is does not appear to be in the git. > > This looks like a useful capability. I was trying to find out what > the UUID was for a newly created subvolume and have not found out > how to do that.Subvolumes don''t have independent UUIDs, that''s probably why... They have unique IDs, which you can see with "btrfs sub list /mountpoint", and use those IDs to identify which subvolume to mount with -o subvolid=... Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk == PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- emacs: Emacs Makes A Computer Slow. ---
> This looks like a useful capability. I was trying to find out > what the UUID was for a newly created subvolume and have not > found out how to do that.btrfs subvol list -u /mnt should help ? btrfs subvol show <subvol> is quite useful indeed we should consider to have it in git. -Anand On 13/12/2012 02:22, Gene Czarcinski wrote:> I was looking through some of the archives and notice a patch submitted > to implement: > btrfs subvolume show <path-to-subvolume> > command. > > I also noticed that is does not appear to be in the git. > > This looks like a useful capability. I was trying to find out what the > UUID was for a newly created subvolume and have not found out how to do > that. > > Gene > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html