linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /etc/fstab rootfs options vs grub2 rootflags cmdline
@ 2016-05-04  9:46 Niccolò Belli
  2016-05-04 11:40 ` Duncan
  0 siblings, 1 reply; 10+ messages in thread
From: Niccolò Belli @ 2016-05-04  9:46 UTC (permalink / raw)
  To: linux-btrfs

Hi,
I have the following options for my rootfs in /etc/fstab:
rw,relatime,compress=lzo,ssd,discard,space_cache,autodefrag,subvolid=257,subvol=/@

grub2 already placed rootflags=subvol=@ in its cmdline, but not the other 
options. I suppose that some of them will automatically be set during 
remount, but I'm not sure if all of them will.

Do you know which ones should I manually add to GRUB_CMDLINE_LINUX in 
/etc/default/grub?

Is there any way to check to if they are already enabled?
mount shows /dev/mapper/cryptroot on / type btrfs 
(rw,relatime,compress=lzo,ssd,discard,space_cache,autodefrag,subvolid=257,subvol=/@) 
but I'm not sure if I can trust it: I read that space_cache should trigger 
"enabling free space tree" in dmesg but I can't see it and I don't know 
about the others.

Thanks,
Niccolò

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

end of thread, other threads:[~2016-05-04 19:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04  9:46 /etc/fstab rootfs options vs grub2 rootflags cmdline Niccolò Belli
2016-05-04 11:40 ` Duncan
2016-05-04 13:52   ` Niccolò Belli
2016-05-04 15:54     ` Duncan
2016-05-04 16:31       ` Andrei Borzenkov
2016-05-04 18:07     ` Chris Murphy
2016-05-04 18:34       ` Duncan
2016-05-04 19:28         ` Chris Murphy
2016-05-04 18:56       ` Austin S. Hemmelgarn
2016-05-04 17:58   ` Chris Murphy

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