Bug 11601 - mountpoint applet does not work on files, only directories
Summary: mountpoint applet does not work on files, only directories
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 07:18 UTC by Olliver Schinagl
Modified: 2019-01-10 07:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.