goof-up again

Bob Hemus bobhemus
Mon May 17 11:38:33 PDT 2004


Kurt Wall wrote:
> 
> Also sprach Bob Hemus:
> > 
> > Bach again, What is the command line?  I tried
> > # cp /etc/inittab /dev/hdb1 /etc/inittab , but got this error message.
> > cp: copying multiple files, but last argument (/etc/inittab) is not a
> > directory
> > Try `cp --help' for more information.
> > Read --help to no avail.  Do I need to make hdb1 a directory?
> 
> /dev/hdb1 is a device node for a disk partition, not a filesystem.
> Try:
> 
> # cp /etc/inittab /foo/etc/inittab
> 
> where /foo is the filesystem that lives on /dev/hdb1.
> 
> For example, on my box, /usr/local is mounted on /dev/hda5, as this
> entry from /etc/fstab attests:
> 
> /dev/hda5        /usr/local       ext3        defaults         1   2
> 
> and as this report from mount also attests:
> # mount
> /dev/hda2 on / type ext3 (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda3 on /usr type ext3 (rw)
> /dev/hda5 on /usr/local type ext3 (rw)
> 
> Kurt
> --
> "Beware of bugs in the above code; I have only proved it correct, not
> tried it."
------------------------------------------------------------------------------------------------------
I have returned.  When I get a few minutes I'll send pix of my baby
great-great-grandaughter.

Kurt, I left all of your last message so you might remember.  I think
what started this whole thing, I was screwing around with LFS and I
think I buggered my /etc/bash file, so my /etc/inittab won't go even if
I copied it in.  I think I need to copy bash back into the partition.  

About foo, is that hdb1?  Or do I need to make Hdb1 a directory to copy
to it? That's where my whole program resides.  I think when I re-do
everything it'll be the last timm!
Thanks all you fellas for your time.
Bob


More information about the Linux-users mailing list