Problem in rsync!!!

Natanael Copa natanael.copa at gmail.com
Mon Jul 31 00:20:32 PDT 2006


On Mon, 2006-07-31 at 12:07 +0530, Meenal Gupta, Noida wrote:
> hello ,

Hi,

> I have done the following things...........
> 1) Creating an empty file with a 320K size:
> 
>     dd if=/dev/zero of=rootfs.img bs=320k count=1
> 
> 2) Formating this file for the ext2 filesystem:
> 
>     mkfs.ext2 -i 1024 -F roots.img
> 
> 3) Then I have build busybox using uclbc..........
> 
> 4)Creating a mount point:
> 
>     mkdir /mnt/rootfs
> 
> 5) Mounting the root filesystem image:
> 
>     mount -o loop roots.img /mnt/rootfs
> 
> 6)Copying the busybox file structure into the mounted image:
> 
>     rsync -a busybox/_install/ /mnt/rootfs/
> 
> but after doing these i have stucked in the problem.............there
> exist an error i.e.
> 
> [root at localhost busybox-1.2.0]# rsync -a busybox/_install/ /mnt/rootfs
> link_stat busybox/_install/. : Not a directory
> rsync error: some files could not be transferred (code 23) at
> main.c(620)
> 
> please help me to remove this error.

The error message tells you that busybox/_install is not a directory. It
means that either busybox or busybox/_install is not a directory.

Try this:

ls -l busybox
ls -l busybox/_install


> 
>  
> Regards,
> Meenal Gupta 


> DISCLAIMER:
>-----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.

Are you posting something confidential on a public mailing list? Ouch.

> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in 
> this email are solely those of the author and may not necessarily
> reflect the opinions of HCL or its affiliates.

Oh, so its up to the reader to determine if those opinions reflec the
opions of HCL or not, then you could just dropped those lines.
 
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited.

Am I allowed to cite you when I reply to a public mailing list? I guess
not? Are the mailing list maintainer allowed to make a copy of it for
the public archives?

>  If you have
> received this email in error please delete it and notify the sender
> immediately.

Ok, I got this email and it had not my name as the recipient. You are
hereby notified. Should I delete it or what?

> Before opening any mail and 
> attachments please check them for viruses and defect.

I'm Sorry.. I didn't. I don't even have an antivirus installed. But
thanks for the tip anyway.

Sorry, I couldn't resist... ;-)

http://www.goldmark.org/jeff/stupid-disclaimers/

--
Natanael Copa



More information about the busybox mailing list