From owner-freebsd-current Sat Nov 16 05:52:44 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA29915 for current-outgoing; Sat, 16 Nov 1996 05:52:44 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA29910 for ; Sat, 16 Nov 1996 05:52:40 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id OAA15201; Sat, 16 Nov 1996 14:51:38 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id OAA05282; Sat, 16 Nov 1996 14:51:33 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id OAA19764; Sat, 16 Nov 1996 14:35:41 +0100 (MET) From: J Wunsch Message-Id: <199611161335.OAA19764@uriah.heep.sax.de> Subject: Re: fixit floppy trouble on -current 3.0 To: andreas@klemm.gtn.com (Andreas Klemm) Date: Sat, 16 Nov 1996 14:35:40 +0100 (MET) Cc: current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from Andreas Klemm at "Nov 14, 96 03:19:14 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Andreas Klemm wrote: > As it looks to me, I wouldn't be able to get my system recovered. Well, you would -- but not out of the box. ;-) I think you're experienced enough to work around the problems... > First of all some experiences using MAKEDEV in /mnt2/dev of the fixit > floppy: > ./MAKEDEV doesn't run, since #!/bin/sh isn't in the search path. > so I have to use it typing > sh MAKEDEV I used to type `sh MAKEDEV' all the time since the script wasn't executable at all in previous versions. But you're right, there should be a symlink for /bin/sh anyway. > 'sh MAKEDEV somedevice' fails, because expr can't be found. > expr is located somewhere in /mnt2/stand or such, if I remember right. Ähem... well, all this rather looks like another cry for a working DEVFS. ;-) To hack around the problem, we should perhaps simply comment out the PATH line in MAKEDEV on the fixit floppy. This can be done as part of the build process using some sed magic. > So the 1st task was to try to create the devices rsd0s3e and so on. > MAKEDEV complained about no space left .... > > Well, a df -i shows this numbers: > Filesystem 1K-blocks Used Avail Capacity iused ifree %iused M. on > root_device 1319 1137 182 86% 101 281 26% / > /dev/fd0 1095 1051 44 96% 381 193 66% /mnt2 That's surprising. There should be enough i-nodes left. Well, yet another cry for DEVFS. ;) There's no ``works for everybody'' solution, so you should probably edit the fixit floppy before to include the device nodes you need (and remove stuff you don't need). The only bad thing is that the device nodes appear as /mnt2/dev/node then unless you chroot to the fixit floppy (which is IMHO a bad idea since you need some of the stuff from the root MFS). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)