Skip to contentSkip to conversation

subvolume show

DISCUSSION Gene Czarcinski 3 participants 3 messages Dec 12, 2012 – Dec 18, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Gene Czarcinski

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.

Signature · 3 lines
=== 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. ---               
#2 lore raw
In reply to Gene Czarcinski
Quoted 4 lines

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

Quoted 16 lines · Gene Czarcinski

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html