mirror of
				https://github.com/containers/podman.git
				synced 2025-10-30 09:25:59 +08:00 
			
		
		
		
	 a760e325f3
			
		
	
	a760e325f3
	
	
	
		
			
			When volume options and the local volume driver are specified, the volume is intended to be mounted using the 'mount' command. Supported options will be used to volume the volume before the first container using it starts, and unmount the volume after the last container using it dies. This should work for any local filesystem, though at present I've only tested with tmpfs and btrfs. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
		
			
				
	
	
		
			16 lines
		
	
	
		
			241 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			241 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !linux
 | |
| 
 | |
| package libpod
 | |
| 
 | |
| import (
 | |
| 	"github.com/containers/libpod/libpod/define"
 | |
| )
 | |
| 
 | |
| func (v *Volume) mount() error {
 | |
| 	return define.ErrNotImplemented
 | |
| }
 | |
| 
 | |
| func (v *Volume) unmount(force bool) error {
 | |
| 	return define.ErrNotImplemented
 | |
| }
 |