move formatAndMount and diskLooksUnformatted to mount_linux

This commit is contained in:
Sami Wagiaalla
2015-11-06 15:37:46 -05:00
parent 3a5768a0ad
commit 1880c4eedb
3 changed files with 56 additions and 50 deletions

View File

@@ -35,3 +35,11 @@ func (mounter *Mounter) List() ([]MountPoint, error) {
func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) {
return true, nil
}
func (mounter *SafeFormatAndMount) formatAndMount(source string, target string, fstype string, options []string) error {
return nil
}
func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) {
return true, nil
}