Message-ID: <39ED6FF7.D40397C@eui.upm.es>
Date: Wed, 18 Oct 2000 10:40:07 +0100
From: Jorge Perez <jeperez@eui.upm.es>
Organization: Escuela Universitaria de Informatica
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.minix
Subject: Error at function load_super ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 138.100.58.123
X-Trace: 18 Oct 2000 10:45:10 +0100, 138.100.58.123
Lines: 14
Path: news.adfa.edu.au!clarion.carno.net.au!news0.optus.net.au!news1.optus.net.au!optus!news.mel.connect.com.au!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.100.58.123
Xref: news.adfa.edu.au comp.os.minix:35937

In the function load_super, at the line 9249:

if ( (rip->i_mode & I_TYPE) != I_DIRECTORY || rip->i_nlinks < 3 ......

This function is invoked only by the function fs_init. Then, why should
the number of links be 3 or greater? I think this number should be 2.

In the boot disk (ROOT USR) in the root i-node the number of links is 2.
So, the
"if sentence" should generate the error message "Root file system
corrupted. Possibly
wrong diskette.", but it does not. Why?


