Re: [Toybox] [PATCH] Support mount -o private mountpoint

2022-06-24 Thread Yi-yo Chiang via Toybox
On Fri, Jun 24, 2022 at 3:07 PM Rob Landley wrote: > On 6/21/22 11:30, Yi-yo Chiang via Toybox wrote: > > `mount -o private mountpoint` should change the mount propagation type > > of mountpoint to MS_PRIVATE. This didn't work because it falls into > > the "read /etc/fstab" branch (one argument),

Re: [Toybox] [PATCH] Support mount -o private mountpoint

2022-06-24 Thread Rob Landley
On 6/21/22 11:30, Yi-yo Chiang via Toybox wrote: > `mount -o private mountpoint` should change the mount propagation type > of mountpoint to MS_PRIVATE. This didn't work because it falls into > the "read /etc/fstab" branch (one argument), and fails when mountpoint > is not found in the fstab, or fs

Re: [Toybox] [PATCH] Support mount -o private mountpoint

2022-06-23 Thread Yi-yo Chiang via Toybox
Ping? Might have ended in the spam bucket again... On Wed, Jun 22, 2022, 00:30 Yi-yo Chiang wrote: > `mount -o private mountpoint` should change the mount propagation type > of mountpoint to MS_PRIVATE. This didn't work because it falls into > the "read /etc/fstab" branch (one argument), and fai

[Toybox] [PATCH] Support mount -o private mountpoint

2022-06-21 Thread Yi-yo Chiang via Toybox
`mount -o private mountpoint` should change the mount propagation type of mountpoint to MS_PRIVATE. This didn't work because it falls into the "read /etc/fstab" branch (one argument), and fails when mountpoint is not found in the fstab, or fstab is not found (Android case). `mount -o private blah