overspecifying raw dev size
Posted in 1995
Mr Dickens Leung — — source: Informix-list mailing list archive (1991-1998)
Mr Graeme Burnett <rgb@xinit.demon.co.uk> wrote: > What informix does is an lseek on the device - that is why it comes > back so quickly - if the device does not support it - then the lseek > fails - so there is no problem there. That's what I guessed. Does anyone know if that's a reliable method? > As to how do you estimate the exact space - well write a simple c > program to lseek on the raw device - that's what Informix does. Well, if Informix does just that, I don't think I can do better. ;( Also, my thanks to jbentsen@delphi.com (his/her real name wasn't shown in the posting) who said basically the same thing.