Path: utzoo!attcan!uunet!husc6!ogccse!blake!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.unix.wizards Subject: given inode and fs, determine if dir or not? Message-ID: <25943@teknowledge-vaxc.ARPA> Date: 22 Nov 88 20:22:09 GMT Reply-To: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Distribution: na Organization: Teknowledge, Inc., Palo Alto CA Lines: 12 If I have an inode (and fs root) on hand, how do I tell whether that inode is a directory or not? The definition of struct inode suggests that it's possible, but I can't find a man entry that says how. If it matters, this would be for SunOS 3.x and Ultrix 2.x Thanks, Mike Khaw -- internet: mkhaw@teknowledge.arpa uucp: {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303