ftp client bug (zero-length files on full filesystem)

Ralph.Hyre at ius3.ius.cs.cmu.edu Ralph.Hyre at ius3.ius.cs.cmu.edu
Fri Dec 16 03:27:43 AEST 1988


When an NFS-mounted disk is exactly at 100% utilitization, ftp client
doesn't report file system full, then goes on to claim that it wrote all
of the bytes in the requested file.

Is there a new ftp client in 4.3 that can be ported?  Could this really be
an NFS problem in disguse? [cursory examination of 3.5 ftp reveals that
some care is taken to check return status of write and close calls.])

[[ I have succeeded in adapting (bashing?) the 4.3 ftp client source to
work under SunOS 3.2.  I suppose I could make the diffs available (I don't
think I can make the entire source available).  --wnl ]]

(the SunOS 3.2 and SunOS 3.5 ftp clients both fail in this way.)

detail below:
Script started on Mon Dec  5 16:21:23 1988
c2.ius.cs.cmu.edu<@df /usr.MISC
Filesystem            kbytes    used   avail capacity  Mounted on
a0:/usr.MISC          113391  102053       0   100%    /usr.MISC
c2.ius.cs.cmu.edu<@cd /usr.MISC
c2.ius.cs.cmu.edu<@cd .ralphw/bin/
c2.ius.cs.cmu.edu<@ftp ius3
Connected to ius3.ius.cs.cmu.edu.
220 IUS3.IUS.CS.CMU.EDU FTP server (Version 4.106 of 30-Aug-87 18:37) ready.
Name (ius3.ius.cs.cmu.edu:(null)): ralphw
Password (ius3.ius.cs.cmu.edu:ralphw): 
331 Password required for ralphw.
230 User ralphw logged in.
ftp> get
(remote-file) /etc/passwd
(local-file) failed.passwd
200 PORT command successful.
150 Opening data connection for /etc/passwd (128.2.250.203,2331) (9257 bytes).
226 Transfer complete.
9412 bytes received in 0.16 seconds (57 Kbytes/s)
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> get
(remote-file) /usr/ralphw/.login
(local-file) failed.login
200 PORT command successful.
150 Opening data connection for /usr/ralphw/.login (128.2.250.203,2332) (732 bytes).
#
226 Transfer complete.
763 bytes received in 0.02 seconds (37 Kbytes/s)
ftp> quit
221 Goodbye.
c2.ius.cs.cmu.edu<@ls -l failed.*
-rw-r--r--  1 ralphw          0 Dec  5 16:22 failed.login
-rw-r--r--  1 ralphw          0 Dec  5 16:22 failed.passwd
c2.ius.cs.cmu.edu<@exit
c2.ius.cs.cmu.edu<@

script done on Mon Dec  5 16:22:45 1988



More information about the Comp.sys.sun mailing list