Re: fdatasync() error in shred from coreutils-5.2.1 on AIX 5.2
From:
Paul Eggert
Subject:
Re: fdatasync() error in shred from coreutils-5.2.1 on AIX 5.2
Date:
Thu, 20 May 2004 23:24:38 -0700
User-agent:
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Albert Chin <address@hidden> writes:
> 245772: kwrite(3, "XXXXXXXXXXXXXXXXXXXXXXXX".., 12288) = 12288
It appears that kwrite is not failing, even though we must be writing
past the end of the disk at this point. This sounds like it could be
a bug in the /dev/lv00 drivers.
shred should try "lseek (fd, 0, SEEK_END)": did that fail too?
It wasn't in your truss extract.
Do you get the same failure when you write to a raw device?
Is there some approved-by-AIX method to find out the size of a device
like /dev/lv00?