Messages in this thread | | | Date | Tue, 22 Aug 2000 03:06:06 +0200 | From | Bjoern Kriews <> | Subject | DB2 failing with ioctl(GETBLKSIZE) on /dev/rawX... |
| |
This is what DB2 V7.1 (Personal) does if I try to use sct's raw devices:
umask(0) = 022 open("/dev/raw8", O_RDWR|O_CREAT, 0600) = 73 umask(022) = 0 fstat(73, {st_mode=S_IFCHR|0660, st_rdev=makedev(162, 8), ...}) = 0 ioctl(73, BLKGETSIZE, 0xbfff7ee4) = -1 ENOTTY (Inappropriate ioctl for device)
(Using /dev/sda8 fails because it is not a character device).
I looked into the code and realized that there is no ioctl handler. Is this done on purpose or should I just add it from the blk/sector size arrays ?
Regards, Bjoern
-- You can have it done FAST | \ You can have it done RIGHT | | --- Pick any two You can have it done CHEAP | / - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |