Bug 10236 - busybox umount doesn't support -c
Summary: busybox umount doesn't support -c
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.27.x
Hardware: All Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 21:10 UTC by Neil MacLeod
Modified: 2017-08-18 21:10 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 Neil MacLeod 2017-08-18 21:10:21 UTC
systemd v234 now adds the "-c" argument when unmounting:

https://github.com/systemd/systemd/blob/v234/src/core/mount.c#L889

systemd v234 will exit with an error when unmounting a partition using busybox 1.27.x: https://forum.libreelec.tv/thread/9599-8-1-0-beta-systemd-unmounts-fail-due-to-c-parameter-not-existing/

From Ubuntu 16.04 "man umount":

-c, --no-canonicalize
   Do not canonicalize paths.  For more details about this option see the mount(8) man page.  Note that umount does not pass this option to the /sbin/umount.type helpers.

util-linux also supports -c.

At the very least busybox could just treat -c as a umount no-op?

Thanks.