linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* subvolume show
@ 2012-12-12 18:22 Gene Czarcinski
  2012-12-12 19:29 ` Hugo Mills
  2012-12-18  3:22 ` Anand Jain
  0 siblings, 2 replies; 3+ messages in thread
From: Gene Czarcinski @ 2012-12-12 18:22 UTC (permalink / raw)
  To: linux-btrfs

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

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

* Re: subvolume show
  2012-12-12 18:22 subvolume show Gene Czarcinski
@ 2012-12-12 19:29 ` Hugo Mills
  2012-12-18  3:22 ` Anand Jain
  1 sibling, 0 replies; 3+ messages in thread
From: Hugo Mills @ 2012-12-12 19:29 UTC (permalink / raw)
  To: Gene Czarcinski; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

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. ---               

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: subvolume show
  2012-12-12 18:22 subvolume show Gene Czarcinski
  2012-12-12 19:29 ` Hugo Mills
@ 2012-12-18  3:22 ` Anand Jain
  1 sibling, 0 replies; 3+ messages in thread
From: Anand Jain @ 2012-12-18  3:22 UTC (permalink / raw)
  To: Gene Czarcinski; +Cc: linux-btrfs


> 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

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

end of thread, other threads:[~2012-12-18  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 18:22 subvolume show Gene Czarcinski
2012-12-12 19:29 ` Hugo Mills
2012-12-18  3:22 ` Anand Jain

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).