 886e4c966e
			
		
	
	
		886e4c966e
		
	
	
	
	
		
			
			With the merge of spl and zfs the extra level of directories is not needed anymore. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			216 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			216 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| # Sub-test to exclude ZVOLs
 | |
| set -e
 | |
| partition="$1"
 | |
| 
 | |
| . /usr/share/os-prober/common.sh
 | |
| 
 | |
| if [ "$(stat -L -c %t "$partition")" = "e6" ] ; then
 | |
| 	debug "$1 is a ZVOL; skipping"
 | |
| 	exit 0
 | |
| fi
 | |
| 
 | |
| # No ZVOLs found
 | |
| exit 1
 |