home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!news.claremont.edu!fenris!jwinstea
- From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
- Subject: Re: patch to Pax v1.2
- Message-ID: <1992Sep15.180926.2993@muddcs.claremont.edu>
- Sender: news@muddcs.claremont.edu (The News System)
- Organization: Harvey Mudd College, WIBSTR
- References: <1992Sep15.135231.29487@novell.com>
- Date: Tue, 15 Sep 1992 18:09:26 GMT
- Lines: 43
-
- In article <1992Sep15.135231.29487@novell.com> bboerner@novdpd.uucp (Brendan B. Boerner) writes:
- >Has anyone used pax to write multiple floppy archives? I'm using 0.97
- >Pl 5 kernel with a system built using Jim Winstead's boot/root disk set
- >and am trying this:
- >
- >$ pax -w -v -f /dev/fd0 <some stuff>
- >
- >(also tried /dev/fd0h1200 and /dev/fd0d360 on a 360K disk). The floppy
- >runs for a while and then stops and nothing happens. Data is getting
- >written because I can do a pax -v -f /dev/fd0 and read the archive - it
- >gets to the end and asks for the next volume.
-
- Yes, this problem had been reported before, but I never really had the
- time to experiment with Pax enough to find the bug. I hope you fixed
- it. :) (I haven't recompiled pax to check it yet....)
-
- >The problem is that the last write to the floppy returns 0 so this just
- >loops forever. I checked out write(2) and it did say that write/read
- >will return 0 on EOF sooooo.... what's different? Did the defined
- >return value for write() change since pax was written?
-
- It's possible that someone changed the rules on pax. A good example
- of this is the utimbuf stuff - that is apparently a POSIX thing now,
- and you would expect pax to use it (being a POSIX-defined utility),
- but apparently pax predates that.
-
- Pax 1.2 overall is not really up to POSIX specs. It's apparently a
- draft or two behind the current one, which mainly effects the
- interface (some of the options have changed, etc.) I've been working
- on cleaning it up at least enough so it acts like it should, and I'll
- release the source that I've modified 'soon'.
-
- I've also been looking at adding the much-requested -z switch, but
- time is limited and motivation is even more limited.
-
- It's interesting to note that most of the chages in your patch were to
- bring pax up to POSIX conformance rather than making it compilable on
- a Linux system. :)
- --
- + Jim Winstead Jr. (CSci '95)
- | Harvey Mudd College, WIBSTR
- | jwinstea@jarthur.Claremont.EDU
- + or jwinstea@fenris.Claremont.EDU
-