Date: Sat, 27 Dec 2003 10:02:58 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD LIST <FreeBSD-Questions@freebsd.org> Subject: Re: missing /usr/libexec/ld-elf.so.1 ... not found Message-ID: <20031227100258.GA2034@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20031227002844.P38379@rocket.alienwebshop.com> References: <20031223012430.S33599@rocket.alienwebshop.com> <000b01c3c921$10e0d660$1200a8c0@gsicomp.on.ca> <20031227002844.P38379@rocket.alienwebshop.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
# echo ./ld-elf.so.1 | cpio -o > /dev/fd0
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQE/7VjSdtESqEQa7a0RAsgoAJ9dYveXuqw6imRVZ/p34a6FVE07yQCfXbX9
S1QL6onRCUmyQXYKNfJBXLQ=
=3TMe
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227100258.GA2034>
