From owner-freebsd-hackers Sun May 14 16:39:00 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA05303 for hackers-outgoing; Sun, 14 May 1995 16:39:00 -0700 Received: from amalfi.trl.OZ.AU (amalfi.trl.OZ.AU [137.147.99.99]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA05258 for ; Sun, 14 May 1995 16:38:52 -0700 Received: from cedar.melb.cpr.itg.telecom.com.au ([144.136.63.5]) by amalfi.trl.OZ.AU (8.6.10/8.6.12) with ESMTP id JAA22739 for ; Mon, 15 May 1995 09:36:21 +1000 Received: from huon.melb.cpr.itg.telecom.com.au (huon.melb.cpr.itg.telecom.com.au [144.136.63.213]) by cedar.melb.cpr.itg.telecom.com.au (8.6.10/8.6.11) with ESMTP id JAA21019; Mon, 15 May 1995 09:38:14 +1000 From: Simon Burge Received: (simonb@localhost) by huon.melb.cpr.itg.telecom.com.au (8.6.10/8.6.9) id JAA29642; Mon, 15 May 1995 09:38:13 +1000 Date: Mon, 15 May 1995 09:38:13 +1000 Message-Id: <199505142338.JAA29642@huon.melb.cpr.itg.telecom.com.au> In-Reply-To: Ted Lemon "Re: kern/1043: unlink(2) should not let superuser remove directories" (May 14, 4:18pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: netbsd-bugs@NetBSD.ORG, freebsd-hackers@FreeBSD.org Subject: Re: kern/1043: unlink(2) should not let superuser remove directories Sender: hackers-owner@FreeBSD.org Precedence: bulk On May 14, 4:18pm, Ted Lemon wrote: > Unfortunately, fsdb is virtually impossible to use because its > interface is essentially adb-like, and all the commands are > single-character and non-mnemonic. If it were something one used > every day, that would be okay, but it's more like once every two years > for me, so I always have to track down a man page, which can be hard > when my root partition is hosed. > > If you're going to write an fsdb replacement, I think it would be a > win to put in a more gdb- or even dbx-like interface. It might be > worth looking at the man page for advice on what features to put in, > but that'd be about it, IMHO. Way back when, when I was playing with Minix on the PC532, there was a neat little program with a curses-type interface that let you look at files by inode or name, and decoded super-block structures and the like. Buggered if I can remember it's name, but it was useful under Minix more than once... > _MelloN_ Simon.