Skip to contentSkip to conversation

R: Re: mount command not honoring rootflags passed

DISCUSSION [email protected] 2 participants 2 messages Jan 22, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi Thomas,

Quoted 11 lines

----Messaggio originale----
Da: [email protected]
Data: 22/01/2010 10.48
A: "Leszek Ciesielski"<[email protected]>
Cc: "linux-btrfs"<[email protected]>
Ogg: Re: mount command not honoring rootflags passed

Quoted 1 line · Leszek Ciesielski

On Fri, Jan 22, 2010 at 10:30 AM, Thomas Kupper <[email protected]> wrote:

[...]

Quoted 8 lines
Quoted 1 line

Doesn't 'cat /proc/mounts' show the actually used mount options?

No, it doesn't in my case - Ubuntu 9.10 with 2.6.32-10-generic kernel.

thomas # cat /proc/mounts | fgrep ' / '
rootfs / rootfs rw 0 0
/dev/sda3 / btrfs rw,relatime 0 0

Quoted 5 lines

thomas # cat /proc/cmdline
[...] root=/dev/sda3 ro rootflags=subvol=rootfs-snapshot-001-- 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

The btrfs code doesn't show the subvol= mount option in cat /proc/mount. I sent a patch which should solve it.

http://article.gmane.org/gmane.comp.file-systems.btrfs/4487

But today it is not merged.

Br
Goffredo

#1 lore raw

Hello Goffredo,

Quoted 29 lines · On 22 Jan 2010, at 13:37, [email protected] wrote:

Hi Thomas,

Quoted 11 lines

----Messaggio originale----
Da: [email protected]
Data: 22/01/2010 10.48
A: "Leszek Ciesielski"<[email protected]>
Cc: "linux-btrfs"<[email protected]>
Ogg: Re: mount command not honoring rootflags passed

Quoted 1 line · Leszek Ciesielski

On Fri, Jan 22, 2010 at 10:30 AM, Thomas Kupper <[email protected]> wrote:

[...]

Quoted 8 lines
Quoted 1 line

Doesn't 'cat /proc/mounts' show the actually used mount options?

No, it doesn't in my case - Ubuntu 9.10 with 2.6.32-10-generic kernel.

thomas # cat /proc/mounts | fgrep ' / '
rootfs / rootfs rw 0 0
/dev/sda3 / btrfs rw,relatime 0 0

Quoted 5 lines

thomas # cat /proc/cmdline
[...] root=/dev/sda3 ro rootflags=subvol=rootfs-snapshot-001-- 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

Quoted 6 lines

The btrfs code doesn't show the subvol= mount option in cat /proc/mount. I sent a patch which should solve it.

http://article.gmane.org/gmane.comp.file-systems.btrfs/4487

But today it is not merged.

Excellent! That was fast, thanks alot. I have to get around how to compile one module only first anyway (the Ubuntu or Debian way).

Quoted 2 lines

Br
Goffredo

Have a good day,
Thomas