 647e179038
			
		
	
	
		647e179038
		
	
	
	
	
		
			
			. added OPENCT ioctl to at driver, which returns the number of times a device is opened. if it's not opened exactly once, new partition info will not be read in (at the next open after this close). included this check in autopart.
		
			
				
	
	
		
			18 lines
		
	
	
		
			393 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			393 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| /*	sys/ioc_disk.h - Disk ioctl() command codes.	Author: Kees J. Bot
 | |
|  *								23 Nov 2002
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef _S_I_DISK_H
 | |
| #define _S_I_DISK_H
 | |
| 
 | |
| #include <minix/ioctl.h>
 | |
| 
 | |
| #define DIOCSETP	_IOW('d', 3, struct partition)
 | |
| #define DIOCGETP	_IOR('d', 4, struct partition)
 | |
| #define DIOCEJECT	_IO ('d', 5)
 | |
| #define DIOCTIMEOUT	_IOW('d', 6, int)
 | |
| #define DIOCOPENCT	_IOR('c', 7, int)
 | |
| 
 | |
| #endif /* _S_I_DISK_H */
 |