Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!motcsd!starnet!dror From: dror@StarConn.com (Dror Matalon) Newsgroups: comp.unix.wizards Subject: How do you determine what physical device a file in on? Message-ID: <1991Jun25.174729.11481@StarConn.com> Date: 25 Jun 91 17:47:29 GMT Reply-To: dror@starnet.UUCP (Dror Matalon) Organization: Starnet-Public Access UNIX-Los Altos,CA 415-949-3133, login:info Lines: 11 I suspect that there are only machine dependent ways. Given two files x and y. I want to determine if they're on the same PHYSICAL devie. (It's pretty easy to find out the logical device, you do an statfs on the file). Is there a portable or a semi-portable way to do this or do I need to go into every machine's disk drivers structures to find out. Thanks Dror