Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 09:32:10 +0000
From:      Matthew Seaman <>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <>
Subject:   Re: missing /usr/libexec/ ... not found
Message-ID:  <>
In-Reply-To: <>
References:  <> <000b01c3c921$10e0d660$> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 27, 2003 at 05:53:30PM -0500, Peter Leftwich wrote:
> 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 =
> > > then copy ("cp" or "cpio?") a file from it called 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=
> > > then "./help" says "Permission denied."  I cannot locate a "mount" bi=
> > > however, I found "mount_nfs" and "mount_mfs" so would either of those=
> > > for mounting both an msdos floppy then my 4.7 partition?  Then must I=
> > > cpio to copy "A:\" 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 t=
> emergency holographic shell exists in a "/ramdisk" if you will)?

This is assuming that you have another FreeBSD box which works
properly, and that you can copy the file from.  The
intention is that you use a different floppy than the ones you use to
boot from, and swap them in and out as required.
> >     # echo ./ | 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 =

Not like this: writing direct to a block device like this will destroy
any filesystem already on the device.  That's generally not what you
want, but it can be permissible in extremis to trash some floppy
> > Then to extract the file:
> >     # cd /usr/libexec
> >     # cpio -i < /dev/fd0

> My apologies.  This all seems a little scary, and does not sound proper...

Absolutely.  It is both scary and improper.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (FreeBSD)



Want to link to this message? Use this URL: <>