[issue1632] Seek to end of file returns 136 on CD/DVD drives
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Thu Dec 17 06:57:10 PST 2009
Alex Hornung (via DragonFly issue tracker) wrote:
Alex Hornung <ahornung at gmail.com> added the comment:
So the standard does not specify what st_size has to be for devices.
Any opinion on this matter?
If we have the size of the device in question (i.e. disk), it won't hurt to set it. Else maybe set 0 to avoid confusion? Alternatively seek to EOF could fail.
More information about the Bugs