Re: [PATCH] st: Fix MTMKPART to work with newer drives

2016-02-09 Thread Martin K. Petersen
> "Kai" == Kai Makisara writes: Kai> Change the MTMKPART operation of the MTIOCTOP ioctl so that it Kai> works also with current drives (LTO-5/6, etc.). Send a separate Kai> FORMAT MEDIUM command if the partition mode page indicates that Kai> this is required. Use LOAD to position the tape at

[PATCH] st: Fix MTMKPART to work with newer drives

2016-02-09 Thread Kai Makisara
Change the MTMKPART operation of the MTIOCTOP ioctl so that it works also with current drives (LTO-5/6, etc.). Send a separate FORMAT MEDIUM command if the partition mode page indicates that this is required. Use LOAD to position the tape at the beginning of tape. The operation is extended so that