*BSD News Article 12408


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!think.com!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.bsd
Subject: Re: mknod / fsck question
Date: 9 Mar 1993 07:02:34 GMT
Organization: /etc/organization
Lines: 26
Message-ID: <1nhfeaINN3s1@life.ai.mit.edu>
References: <731352823.5272@minster.york.ac.uk> <C3Fson.AL7@acsu.buffalo.edu>
NNTP-Posting-Host: hal.ai.mit.edu


In article <C3Fson.AL7@acsu.buffalo.edu> ferrick@acsu.buffalo.edu (Pat
Ferrick) writes:
>
> Then, fsck shows two files that apparently need to go away.  But even
> when I run fsck manually, and answer "yes" to the CLEAR? [y/n] it
> doesn't seem to happen.

Are you fscking the partition while it's mounted read-write?

> UNREF FILE I=1095 OWNER=root MODE=20666

crw-rw-rw-

> UNREF FILE I=1097 OWNER=root MODE=20600  (plus zero size stuff...)

crw-------

> What puzzles me most is the MODE part.  What is that?

Look in /usr/include/sys/stat.h.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!