This is simpler than trying to count how many successful mounts we made. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			386 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			386 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build darwin freebsd
 | 
						|
 | 
						|
package mount
 | 
						|
 | 
						|
import "github.com/pkg/errors"
 | 
						|
 | 
						|
var (
 | 
						|
	ErrNotImplementOnUnix = errors.New("not implemented under unix")
 | 
						|
)
 | 
						|
 | 
						|
func (m *Mount) Mount(target string) error {
 | 
						|
	return ErrNotImplementOnUnix
 | 
						|
}
 | 
						|
 | 
						|
func Unmount(mount string, flags int) error {
 | 
						|
	return ErrNotImplementOnUnix
 | 
						|
}
 | 
						|
 | 
						|
func UnmountAll(mount string, flags int) error {
 | 
						|
	return ErrNotImplementOnUnix
 | 
						|
}
 |