Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!esosun!ucsdhub!sdcsvax!nosc!humu!uhccux!todd From: todd@uhccux.UUCP (The Perplexed Wiz) Newsgroups: comp.unix.wizards Subject: Re: wtmp problem: garbage in /usr/adm/wtmp Message-ID: <470@uhccux.UUCP> Date: Tue, 5-May-87 17:08:57 EDT Article-I.D.: uhccux.470 Posted: Tue May 5 17:08:57 1987 Date-Received: Thu, 7-May-87 06:39:01 EDT References: <469@uhccux.UUCP> <6554@mimsy.UUCP> Reply-To: todd@uhccux.UUCP (The Perplexed Wiz) Organization: U. of Hawaii, Manoa (Honolulu) Lines: 45 In article <6554@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >In article <469@uhccux.UUCP> todd@uhccux.UUCP (The Perplexed Wiz) writes: >>... my wtmp file was getting data ok and then it looks like some >>garbage got thrown into it causing an extra field to be inserted >This occurs when the file system fills up. `struct utmp' is 36 >bytes long in stock 4.3BSD. It was 20 bytes long in 4.1BSD, and Hmm....That sounds right but my file systems are ok in terms of space availability. See below: Filesystem total kbytes kbytes percent node kbytes used free used Mounted on /dev/ra0a 7423 5259 1421 79% / /dev/ra0g 195535 79183 96798 45% /usr <==/usr/adm/wtmp here /dev/ra0h 205471 65181 119742 35% /usr/users /dev/ra1a 7423 1 6679 0% /tmp1 /dev/ra1g 117207 70841 34645 67% /usr/local /dev/ra1h 283531 48580 206597 19% /usr/spool /dev/ra2a 7423 3 6677 0% /tmp2 /dev/ra2d 7423 9 6671 0% /T1 /dev/ra2e 26611 224 23726 1% /tmp /dev/ra2f 228015 53505 151708 26% /T2 /dev/ra2g 38879 15978 19013 46% /T3 /dev/ra3a 7423 9 6671 0% /tmp3 /dev/ra3g 195535 76487 99494 43% /uh3g /dev/ra3h 205471 13334 171589 7% /uh3h /dev/ra4a 7423 9 6671 0% /tmp4 /dev/ra4g 195535 13749 162232 8% /uh4g /dev/ra4h 205471 6563 178360 4% /uh4h /dev/ra5a 7423 9 6671 0% /tmp5 /dev/ra5g 195535 346 175635 0% /uh5g /dev/ra5h 205471 65692 119231 36% /uh5h Very puzzling problem. A couple of months back I heard that wtmp could become corrupted if two users logged in at exactly the same time. Does anyone know for sure if that is true? BTW: I forgot to mention in my first posting that I only have a binary license (big sigh)....todd -- Todd Ogasawara, U. of Hawaii Computing Center UUCP: {ihnp4,seismo,ucbvax,dcdwest}!sdcsvax!nosc!uhccux!todd ARPA: uhccux!todd@nosc.MIL INTERNET: todd@uhccux.UHCC.HAWAII.EDU