Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!udel!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie From: louie@sayshell.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.next Subject: Re: Lost 6 Megs of Hard Disk space Message-ID: <1991Jun12.211009.16028@ni.umd.edu> Date: 12 Jun 91 21:10:09 GMT References: <676362343.59@egsgate.FidoNet.Org> <202@magus.UUCP> <1991Jun12.194751.23063@athena.mit.edu> Sender: usenet@ni.umd.edu (USENET News System) Organization: University of Maryland, College Park Lines: 23 Nntp-Posting-Host: sayshell.umd.edu fsck on the NeXT is just like fsck on any other [normal] BSD based UNIX systems. Its not so much the case of being in multi-user mode or not, but if the file system is currently mounted. You cannot use it to fix a broken file system while it is mounted. If you have a damaged file system, you should unmount it first (if its not the root file system) and then run fsck on it. After fsck has repaired it, you can then manually remount it. There is no way to unmount the root file system, which is why you can only repair it while in single user mode when you can easily halt the system without syncing the in-memory state of the file system to the disk. If fsck has modified the root file system, then you *must* halt the system **WITHOUT** syncing the file system. For example, /usr/etc/halt -n will do this. Please remember, while you're running as root, you have the potential to do a great deal of damage. If you are not completely sure what a command does, especially dangerous ones in /etc or /usr/etc, then you shouldn't run them as root. RTFM, or let the system "fix" itself if it can when it reboots. louie