Bug 7850 - Mount helpers program launched with bad options.
Summary: Mount helpers program launched with bad options.
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: 2015-01-29 08:50 UTC by Vasilyy
Modified: 2015-03-13 12:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
patch to fix error (914 bytes, patch)
2015-01-29 08:50 UTC, Vasilyy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilyy 2015-01-29 08:50:25 UTC
Created attachment 5828 [details]
patch to fix error

If you try to launch:
# mount -t ntfs-3g -o ro <DEV> <MNT>
mount helpers try to launch it that way:
# /sbin/ntfs-3g <DEV> <MNT> //without "ro" options

but if you try to launch:
# mount -t ntfs-3g -o SOME_CRAZY_OPTS <DEV> <MNT>
mount helpers try to launch it that way:
# /sbin/ntfs-3g SOME_CRAZY_OPTS <DEV> <MNT> //with not recognized option list

so, recognized option list converted in vfsflags by parse_mount_options method and do not used in mount helpers call.