diff --git a/mount/mount.go b/mount/mount.go index 25d1b916..e28bd5e8 100644 --- a/mount/mount.go +++ b/mount/mount.go @@ -59,16 +59,6 @@ func Mount(device, target, mType, options string) error { return mount(device, target, mType, uintptr(flag), data) } -// ForceMount will mount filesystem according to the specified configuration. -// Options must be specified like the mount or fstab unix commands: -// "opt1=val1,opt2=val2". See flags.go for supported option flags. -// -// Deprecated: use Mount instead. -func ForceMount(device, target, mType, options string) error { - flag, data := parseOptions(options) - return mount(device, target, mType, uintptr(flag), data) -} - // Unmount lazily unmounts a filesystem on supported platforms, otherwise // does a normal unmount. func Unmount(target string) error {