From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 14:53:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 821DB16A4CF for ; Sat, 27 Dec 2003 14:53:33 -0800 (PST) Received: from rocket.alienwebshop.com (rocket.alienwebshop.com [216.120.226.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3137143D48 for ; Sat, 27 Dec 2003 14:53:31 -0800 (PST) (envelope-from Hostmaster@Video2Video.Com) Received: from rocket (rocket [216.120.226.160]) by rocket.alienwebshop.com (Postfix) with ESMTP id 929A1FE7D; Sat, 27 Dec 2003 17:53:30 -0500 (EST) Date: Sat, 27 Dec 2003 17:53:30 -0500 (EST) From: Peter Leftwich X-X-Sender: pete@rocket.alienwebshop.com To: Matthew Seaman In-Reply-To: <20031227100258.GA2034@happy-idiot-talk.infracaninophile.co.uk> Message-ID: <20031227175019.C57794@rocket.alienwebshop.com> References: <20031223012430.S33599@rocket.alienwebshop.com> <20031227002844.P38379@rocket.alienwebshop.com> <20031227100258.GA2034@happy-idiot-talk.infracaninophile.co.uk> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD LIST Subject: Re: missing /usr/libexec/ld-elf.so.1 ... not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 22:53:33 -0000 On Sat, 27 Dec 2003, Matthew Seaman wrote: > On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote: > > The problem I now have is that I would like to mount_msdos a regular floppy > > then copy ("cp" or "cpio?") a file from it called ld-elf.so.1 to the > > mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. > > Typing just "mount" is not found. Oddly enough, typing "help" or "cd /bin" > > then "./help" says "Permission denied." I cannot locate a "mount" binary, > > however, I found "mount_nfs" and "mount_mfs" so would either of those work > > for mounting both an msdos floppy then my 4.7 partition? Then must I use > > cpio to copy "A:\ld-elf.so.1" over to the 4.7 partition?? > > You can write the file direct to the floppy device /dev/fd0 as if it > was a tape. No need to mount any sort of filesystem. Since you have > cpio(1) available use: > # cd /usr/libexec Now, will the command above change to my live system's /usr/libexec directory, or a "pretend" one that exists only in RAM (ie. the way that the emergency holographic shell exists in a "/ramdisk" if you will)? > # echo ./ld-elf.so.1 | cpio -o > /dev/fd0 When you say "write the file direct" do you mean that my system's "/" root directory may also be directly written to, without having to first mount it??! > Then to extract the file: > # cd /usr/libexec > # cpio -i < /dev/fd0 > Cheers, > Matthew > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK My apologies. This all seems a little scary, and does not sound proper... -- Peter Leftwich President & Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com