RE: busybox mount does not use fstab mount options for root partition

2020-03-05 Thread Andreas Hilse
I took a look at mount.c As root partition is already mounted, 'mount -a' does nothing with it. https://git.busybox.net/busybox/tree/util-linux/mount.c#n2364 When remounting, mtab is always favored instead of fstab so no option change possible.

RE: busybox mount does not use fstab mount options for root partition

2020-03-04 Thread Andreas Hilse
eutner-Fischer > Sent: Dienstag, 3. März 2020 23:45 > To: Andreas Hilse > Cc: busybox@busybox.net; Bernhard Reutner-Fischer > > Subject: Re: busybox mount does not use fstab mount options for root > partition > > On Tue, 3 Mar 2020 17:06:35 +0100 (CET) > Andreas Hilse wrote

Re: busybox mount does not use fstab mount options for root partition

2020-03-03 Thread Bernhard Reutner-Fischer
On Tue, 3 Mar 2020 17:06:35 +0100 (CET) Andreas Hilse wrote: > Root partition is mounted read-only by the kernel (command line: > root=/dev/sda1) and then remounted read-write via busybox init inittab entry > "::sysinit:/bin/mount -o remount,rw" (due to > Could this be a bug or is there

busybox mount does not use fstab mount options for root partition

2020-03-03 Thread Andreas Hilse
Dear Busybox Team, I recently noticed that given mount options (sync, noatime) for the root partition in /etc/fstab are not used. System is built via buildroot 2016.08 - busybox v1.25.0 --- also tested with buildroot 2019.02.9 - busybox v1.29.3 Root partition is mounted read-only by the kernel