Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.ultrix Subject: Re: How to get device information from a file descriptor ? Keywords: UNIX - devices - file descriptor Message-ID: <1991Jun04.132336.14888@convex.com> Date: 4 Jun 91 13:23:36 GMT References: <1991Jun3.104948.20582@info-sparc1.info.ucl.ac.be> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 12 Nntp-Posting-Host: pixel.convex.com From the keyboard of Ninane@fynu.ucl.ac.be (Alain Ninane - FYNU): :Dear all of you, :Given a valid file descriptor [from an open(2) call], is there a :standard way to know whether or not this fd points to a specific :special file/device (major number only) ? man 2 fstat --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "Perl is to sed as C is to assembly language." -me