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

From: Igmar Palsenberg (maillist@chello.nl)
Date: Fri Aug 25 2000 - 15:33:39 EST


> > > 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.
>
> if the driver's not in the kernel, the open would have failed.

I realised afterwards.. I need some coffee :)

        
                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:16 EST