[lkml]   [2000]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDB2 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:37    [W:0.097 / U:6.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site