Gabriel Adrian Samfira 
							
						 
					 
					
						
						
							
						
						ba74cdf150 
					 
					
						
						
							
							Make ReadOnly() available on all platforms  
						
						... 
						
						
						
						Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com > 
						
						
					 
					
						2023-04-04 02:04:56 -07:00 
						 
				 
			
				
					
						
							
							
								Laura Brehm 
							
						 
					 
					
						
						
							
						
						daa3a7665e 
					 
					
						
						
							
							Add WithReadonlyTempMount to create readonly temporary mounts  
						
						... 
						
						
						
						This is necessary so we can mount snapshots more than once with overlayfs,
otherwise mounts enter an unknown state.
related: https://github.com/moby/buildkit/pull/1100 
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
Co-authored-by: Zou Nengren <zouyee1989@gmail.com > 
						
						
					 
					
						2023-03-17 15:51:18 +00:00 
						 
				 
			
				
					
						
							
							
								Edgar Lee 
							
						 
					 
					
						
						
							
						
						34d5878185 
					 
					
						
						
							
							Use mount.Target to specify subdirectory of rootfs mount  
						
						... 
						
						
						
						- Add Target to mount.Mount.
- Add UnmountMounts to unmount a list of mounts in reverse order.
- Add UnmountRecursive to unmount deepest mount first for a given target, using
moby/sys/mountinfo.
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com > 
						
						
					 
					
						2023-01-27 09:51:58 +08:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						3b4fcf771a 
					 
					
						
						
							
							Merge pull request  #2112  from crosbymichael/temp-mounts  
						
						... 
						
						
						
						Add temp mount location to manage temp mounts 
						
						
					 
					
						2018-02-21 12:56:23 -08:00 
						 
				 
			
				
					
						
							
							
								Kunal Kushwaha 
							
						 
					 
					
						
						
							
						
						b12c3215a0 
					 
					
						
						
							
							Licence header added  
						
						... 
						
						
						
						Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp > 
						
						
					 
					
						2018-02-19 10:32:26 +09:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						bc974a7a32 
					 
					
						
						
							
							Create temp mount location manager  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2018-02-14 15:14:02 -05:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						dfd7ee122f 
					 
					
						
						
							
							Clean up error logs and messages in temp mount  
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2018-01-05 15:37:11 -08:00 
						 
				 
			
				
					
						
							
							
								yanxuean 
							
						 
					 
					
						
						
							
						
						cb58bb885a 
					 
					
						
						
							
							solve incorrect unmount  
						
						... 
						
						
						
						1. add WithTempMount for better unmount and remove
2. solve incorrect unmount for
   diff.DiffMounts,
   diff.Apply,
   oci.WithUsername,
   oci.WithUserID,
   remapRootFS
Signed-off-by: yanxuean <yan.xuean@zte.com.cn > 
						
						
					 
					
						2018-01-06 00:28:16 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						451421b615 
					 
					
						
						
							
							Comment more packages to pass go lint  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2017-10-02 13:54:56 -04:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						d7af92e00c 
					 
					
						
						
							
							Move Mount into mount pkg  
						
						... 
						
						
						
						This moves both the Mount type and mountinfo into a single mount
package.
This also opens up the root of the repo to hold the containerd client
implementation.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2017-05-22 16:41:12 -07:00