[Toybox] mount option to show what a loopback mount is backed by?

2024-03-18 Thread enh via Toybox
mount currently shows something like: /dev/block/loop86 on /apex/com.android.hardware.tetheroffload@1 type ext4 (ro,dirsync,seclabel,nodev,noatime) but often the user wants to know what "loop86" refers to. and it's unlikely they know to look in /sys/block/loop*/loop/backing_file. afaik, though,

Re: [Toybox] interesting new (?) env(1) options

2024-03-18 Thread enh via Toybox
to be clear, i actually just meant a quick way to search the toybox help --- a way to ask toybox "which of your commands have something to do with $x". not an actual "grep the man pages". (which i don't think *needs* a precomputed database in 2024, even if it did in 1994. tbh, i'm pretty sure aix d

Re: [Toybox] interesting new (?) env(1) options

2024-03-18 Thread Rob Landley
On 3/17/24 15:10, Ivo van Poorten wrote: >> In THEORY each man page has a "name" section with a one line >> description, and there should be a way to emit them all, but if >> there's a standard way to do it without writing a shell script I >> dunno what it is. I generally just do > > It looks like

Re: [Toybox] hexdump tests.

2024-03-18 Thread Rob Landley
On 3/15/24 16:24, enh wrote: > Sure, but that said some tests _DO_ care about the exact amount of > whitespace > (are columns aligned), or tabs vs spaces. > > i know what you mean, but at the same time, i'm struggling to thing of a > single > case i've been involved with where the "upstr