Bug 11601

Summary: mountpoint applet does not work on files, only directories
Product: Busybox Reporter: Olliver Schinagl <oliver>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Olliver Schinagl 2019-01-10 07:18:13 UTC
Bind mounting a file is a legal possibility with mount since quite a few years. With the rise of docker, bind mounting files is not very uncommon anymore and many docker containers use busybox as their toolset (via alpine).

mountpoint from util-linux quite happily checks if a file is a mountpoint, but the busybox variant sadly complaints that the path is not a directory.