[PATCH] tests: Fix inside.sh mount for newer hostfs
Johannes Berg
johannes at sipsolutions.net
Thu Oct 23 03:51:05 PDT 2025
On Thu, 2025-10-23 at 13:45 +0300, Andrei Otcheretianski wrote:
> Older mount with newer hostfs doesn't correctly interpret the
> parameters. Specify the mounted dir exlicitly with hostfs=.
> This way it works both with old an newer kernels.
Actually, it's broken with older *mount* binaries though (and maybe
old/new kernels, not sure), so ... I don't think we should do it this
way.
Probably should be something like
mount -t hostfs none /tmpm/logs -o hostfs=$LOGDIR ||
mount -t hostfs none /tmpm/logs -o $LOGDIR ||
exit 2
or something.
johannes
More information about the Hostap
mailing list