Re: subvolume info in /proc/mounts

2012-02-21 Thread David Sterba
On Thu, Feb 09, 2012 at 02:44:03PM +0100, David Sterba wrote: --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -766,6 +766,9 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs) seq_puts(seq, ,inode_cache); if (btrfs_test_opt(root,

Re: subvolume info in /proc/mounts

2012-02-10 Thread Nikos Voutsinas
On Sat, Feb 04, 2012 at 08:40:51PM +0200, Nikos Voutsinas wrote: There was a patch to include the subvolume mount option into /proc/mounts. Did that make it into the kernel; If not, what is the formal way to find out which subvolume is mounted; see /proc/self/mountinfo there is 'fs root'

Re: subvolume info in /proc/mounts

2012-02-09 Thread David Sterba
On Mon, Feb 06, 2012 at 01:52:15PM +, Al Viro wrote: On Mon, Feb 06, 2012 at 07:18:24AM -0500, Christoph Hellwig wrote: On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this

Re: subvolume info in /proc/mounts

2012-02-07 Thread Goffredo Baroncelli
Hi Christoph On Monday, 06 February, 2012 13:18:24 Christoph Hellwig wrote: On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about;

Re: subvolume info in /proc/mounts

2012-02-06 Thread David Sterba
On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about; http://thread.gmane.org/gmane.comp.file-systems.btrfs/4487 Thanks, the patch looks ok and works as expected. Goffredo, do you want to resend it? (The lock around the mnt_root is not

Re: subvolume info in /proc/mounts

2012-02-06 Thread Christoph Hellwig
On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about; http://thread.gmane.org/gmane.comp.file-systems.btrfs/4487 Thanks, the patch looks ok and works as expected.

Re: subvolume info in /proc/mounts

2012-02-06 Thread Al Viro
On Mon, Feb 06, 2012 at 07:18:24AM -0500, Christoph Hellwig wrote: On Mon, Feb 06, 2012 at 12:53:21PM +0100, David Sterba wrote: On Sun, Feb 05, 2012 at 12:30:42PM +0200, Nikos Voutsinas wrote: It's quite old, but what was this about;

Re: subvolume info in /proc/mounts

2012-02-05 Thread Nikos Voutsinas
Hi, On Sat, Feb 04, 2012 at 08:40:51PM +0200, Nikos Voutsinas wrote: There was a patch to include the subvolume mount option into /proc/mounts. Did that make it into the kernel; I havent' seen such patch, do you have a link? If not, what is the formal way to find out which subvolume is

subvolume info in /proc/mounts

2012-02-04 Thread Nikos Voutsinas
Hi, There was a patch to include the subvolume mount option into /proc/mounts. Did that make it into the kernel; If not, what is the formal way to find out which subvolume is mounted; Cheers, Nikos -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: subvolume info in /proc/mounts

2012-02-04 Thread David Sterba
Hi, On Sat, Feb 04, 2012 at 08:40:51PM +0200, Nikos Voutsinas wrote: There was a patch to include the subvolume mount option into /proc/mounts. Did that make it into the kernel; I havent' seen such patch, do you have a link? If not, what is the formal way to find out which subvolume is