On Tue, 17 Feb 2004, Szakacsits Szabolcs wrote:
> I committed the above fix in response to a bug report. The limit was only
> 1 TB due to a bug by misusing the BLKGETSIZE ioctl. I checked e2fsprogs
> from where the relevant code was adapted and it also uses the correct
> 'unsigned long' for the device size now.
Cool. I went a step further and added detection and use of BLKGETSIZE64
which uses a 64 bit operand and thus allows for 2^63-1 bytes for the
device size. (-:
I also updated ntfsclone to use this.
Szaka, well done on the resize stuff!
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|