Re: scsi BLKGETSIZE breakage in -pre2

Anton Altaparmakov (aia21@cam.ac.uk)
Sat, 10 Nov 2001 14:05:01 +0000


At 13:57 10/11/01, Alan Cox wrote:
> > sd_ioctl() was changed to pass BLKGETSIZE off to blk_ioctl(),
> > but blk_ioctl() doesn't implement it.
> >
> > So `cfdisk /dev/sda' is failing.
> >
> > Simply copying the -ac version of blkpg.c across fixes
> > it for me.
>
>I'm feeding Linus stuff bit by bit - I managed to misorder that one.

It has one positive side: mkntfs failed so I finally got round to
implementing device size determination via binary lseek search (a la
e2fsutils library) and I can test it without having to modify the mkntfs
source by booting into -pre2. (-:

Anton

-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/