Returned network mail

Postmaster POSTMASTER%DICKINSN.BITNET at cornellc.cit.cornell.edu
Sun Oct 22 05:12:00 AEST 1989


This message was automatically generated.

Your mail message could not be delivered at Dickinson College in Carlisle,
Pennsylvania because the user address was not known at our site.

Addresses at Dickinson College are of the following format:

        username at DICKINSN       e.g., POSTMASTER at DICKINSN
                                  or  ALLAN_J at DICKINSN
                                  or  WOLTER at DICKINSN

Usernames are typically the first 8 letters of the person's last name,
frequently with the first initial added, and occasionally with an
underscore.  As a result, it would be difficult to guess someone's username.
If you do not know the address of someone at Dickinson, please send a
message to POSTMASTER at DICKINSN asking for help.

----------------------------------------------------------------------
The following diagnostic is the reason for the return:

        %BNET-W-NOSUCHRCVR, receiver LEYON_C cannot be located

Returned mail follows:
----------------------
Received: From PSUVM(MAILER) by DICKINSN with Jnet id 7979
          for LEYON_C at DICKINSN; Sat, 21 Oct 89 14:38 EDT
Received: by PSUVM (Mailer R2.03B) id 0966; Sat, 21 Oct 89 14:39:42 EDT
Date:         Sat, 21 Oct 89 08:20:00 CDT
Reply-To:     Unix-Wizards at BRL.ARPA
Sender:       Unix-Wizards Mailing List <UNIX-WIZ at NDSUVM1>
From:         Digital Knight in Circuit Board Armor
              <PSPINLER%MKVAX1%MSUS1.BITNET at CUNYVM.CUNY.EDU>
Subject:      RE: C on Directory
X-To:         Unix-Wizards at BRL.MIL
To:           Chris Leyon <LEYON_C at DICKINSN.BITNET>

>From _Advanced_Unix_Programing_ by Marc Rochkind:

A directory has the following structure:

struct direct {
    ino_t  d_ino;
    char   d_name[DIRSIZE + 1]
} dlink;

ino_t and DIRSIZE are declared in "<sys/dir.h>"

Open/Read/Close Dir could be implemented as macros to open a file, read it with
this structure, and close it.

Patrick Spinler
pspinler%mkvax1 at msus1.bitnet



More information about the Comp.unix.wizards mailing list