Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!munnari.oz.au!bunyip!metro!ipso!runxtsa!brucee From: brucee@runxtsa.runx.oz.au (Bruce Evans) Newsgroups: comp.os.minix Subject: Re: file sizes Message-ID: <2159@runxtsa.runx.oz.au> Date: 11 Aug 90 19:37:20 GMT References: <3077.26c290ee@cc.curtin.edu.au> Organization: RUNX Unix Timeshare. Sydney, Australia. Lines: 25 In article <3077.26c290ee@cc.curtin.edu.au> sschnellm@cc.curtin.edu.au writes: >compressed all directories. Now my commands.tar.Z file is 1.24 Mbytes >big. >I have made a file system of size 1450 blocks on a 1.44Mbyte disk, but >when I mount it and say > > cp commands.tar.Z /mnt3 > >I get the following error message : > >cp : error 0 There are only 1440 blocks on a 1.44M disk. There is a (probably unique) bug in cp which would cause "error 0". It doesn't allow for partial writes. However, I don't see how a partial write could be caused by the above setup. In Minix, the only partial writes that I can remember occur when writing past the end of a disk device. For these, the bug would only cause cp to report an error one step too early. -- Bruce Evans Internet: brucee@runxtsa.runx.oz.au UUCP: uunet!runxtsa.runx.oz.au!brucee (My other address (evans@ditsyda.oz.au) no longer works)