Re: DB2 failing with ioctl(GETBLKSIZE) on /dev/rawX...

From: Igmar Palsenberg (maillist@chello.nl)
Date: Fri Aug 25 2000 - 06:35:26 EST


> 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)

Is RAW support default in the kernel ?? Until 2.2.16 I needed a patch.

        
        Igmar

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:15 EST