Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!harpo!utah-cs!seismo!hao!hplabs!sri-unix!lcc.bob@UCLA-LOCUS.ARPA
From: lcc.bob@UCLA-LOCUS.ARPA
Newsgroups: net.unix-wizards
Subject: Re: What is the root inode number in BSD 4.1 and 4.2?
Message-ID: <12345@sri-arpa.UUCP>
Date: Fri, 10-Aug-84 13:46:49 EDT
Article-I.D.: sri-arpa.12345
Posted: Fri Aug 10 13:46:49 1984
Date-Received: Tue, 14-Aug-84 19:38:02 EDT
Lines: 23

From:            Bob English 

	Date: 7 Aug 84 15:18:42-PDT (Tue)
	To: Unix-Wizards@BRL-VGR.ARPA
	From: decvax!linus!axiom!smk@UCB-VAX.ARPA
	Subject: Re: What is the root inode number in BSD 4.1 and 4.2?

	Article-I.D.: axiom.589
	In-Reply-To: Article <280@ihu1h.UUCP>

	People, if you want YOUR root to be the one displayed and you
	assume ROOTINO, be advised that chroot() destroys that assumption.
	-- 
		--steve kramer

And if your system has any mounted filesystems, ROOTINO does not
indicate the root unless the dev's are the same.  The only way to
find the root's device is with a stat.

"stat("/", &statb)" is cheap.  I really can't believe you're
worried about the extra cost.

--bob--