All of lore.kernel.org
 help / color / mirror / Atom feed
* Mount options for /dev/root
@ 2015-04-14 16:04 Oliver Stäbler
  0 siblings, 0 replies; only message in thread
From: Oliver Stäbler @ 2015-04-14 16:04 UTC (permalink / raw)
  To: Yocto

Hi

I'm trying to add some mount options to / (/dev/root) such as
'nobarrier'.

What would be the best way to define this option?

I know two possible ways:
* rootflags boot paramenter, but I'd prefer it to be in userspace
* /etc/fstab, but these options are not passed to mount. The script
/etc/init.d/checkroot.sh does parse fstab and even saves the options
($rootopts), but these options are not passed to the mount command.
Other implementation, such as debians checkroot.sh, do pass these
options to mount. Is this by intention or a bug?

Thanks & Regards,
Oliver

-- 
bytes at work
Technoparkstrasse 7
CH-8406 Winterthur
Switzerland

phone: +41 52 213 79 79


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-14 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 16:04 Mount options for /dev/root Oliver Stäbler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.