[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#56478: marked as done (mv in boot-floppies does not work reliably)



Your message dated 02 Feb 2000 14:05:58 -0800
with message-id <87n1pjl0op.fsf@bittersweet.intra>
and subject line [utilities/busybox] `cp' and `mv' are fixed.  Please `cvs update'.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jan 2000 10:48:34 +0000
Received: (qmail 8424 invoked from network); 28 Jan 2000 10:48:32 -0000
Received: from pizarro.unex.es (root@158.49.8.2)
  by master.debian.org with SMTP; 28 Jan 2000 10:48:32 -0000
Received: from guadiana.unex.es (root@guadiana.unex.es [158.49.8.233])
	by pizarro.unex.es (8.9.3/8.9.1) with ESMTP id LAA16370
	for <submit@bugs.debian.org>; Fri, 28 Jan 2000 11:48:24 +0100
Received: from cantor.unex.es (sanvila@cantor.unex.es [158.49.18.105])
	by guadiana.unex.es (8.9.3/8.9.1) with SMTP id LAA20206
	for <submit@bugs.debian.org>; Fri, 28 Jan 2000 11:48:24 +0100
Date: Fri, 28 Jan 2000 11:45:44 +0100 (CET)
From: Santiago Vila <sanvila@unex.es>
To: Debian Bugs <submit@bugs.debian.org>
Subject: mv in boot-floppies does not work reliably
Message-ID: <Pine.LNX.3.96.1000128113618.2470A-100000@cantor.unex.es>
X-Debian-Cc: sanvila@unex.es
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: boot-floppies
Version: 2.2.5
Severity: grave

The "mv" command in the boot floppies is not reliable enough for moving
existing directories.

I have done the following to reproduce this: Downloaded root.bin
from the disks-i386 directory, renamed it to root.bin.gz, gunzip it, and
mount it on /mnt using the loop device. Then I do the following:

mkdir test
cd test
mkdir a b
/mnt/bin/mv a b
ls b  [ at this point, nothing is shown ]

The `a' directory disappears!

The mv command in slink's boot floppies used to work.
Since this bug may cause data loss, I tag it as "grave".

Thanks.

-- 
 "e3af466dfb6e3d42cbefdc866a70b808" (a truly random sig)

---------------------------------------
Received: (at 56478-done) by bugs.debian.org; 2 Feb 2000 22:06:03 +0000
Received: (qmail 24423 invoked from network); 2 Feb 2000 22:06:02 -0000
Received: from bittersweet.inetarena.com (root@209.102.107.172)
  by master.debian.org with SMTP; 2 Feb 2000 22:06:02 -0000
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.9.3/8.9.3/Debian 8.9.3-6) id OAA21627;
	Wed, 2 Feb 2000 14:05:59 -0800
Sender: karlheg@bittersweet.inetarena.com
To: 56478-done@bugs.debian.org
Subject: Re: [utilities/busybox] `cp' and `mv' are fixed.  Please `cvs update'.
References: <87wvonoakw.fsf@bittersweet.intra>
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
From: karlheg@bittersweet.inetarena.com (Karl M. Hegbloom)
In-Reply-To: karlheg@bittersweet.inetarena.com's message of "02 Feb 2000 08:03:59 -0800"
Mime-Version: 1.0 (generated by tm-edit 1.5)
Content-Type: text/plain; charset=US-ASCII
Date: 02 Feb 2000 14:05:58 -0800
Message-ID: <87n1pjl0op.fsf@bittersweet.intra>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Hera"

>>>>> "Karl" == Karl M Hegbloom <karlheg@bittersweet.inetarena.com> writes:

    Karl>   Good morning, everyone!

    Karl>   I believe I have fixed `cp' and `mv'.  More test cases need to be
    Karl>   written however.  They pass all of the currently defined tests.
    Karl>   This update _fixes_ bug #56478, which one of the tests for each of
    Karl>   `cp' and `mv' verifies...  After some sleep, I will double check.

    Karl>      <URL:http://cgi.debian.org/cgi-bin/bugreport.cgi?bug=56478>

    Karl>   I removed "cp.c" and "mv.c", and have enmeshed them into "cp_mv.c".
    Karl>   It is almost completely rewritten.  I really enjoy the nested
    Karl>   functions allowed by GNU C!  It made the job a lot simpler.  Have a
    Karl>   look at what I did.  I want to do similar things with other parts of
    Karl>   BusyBox.  What do yous think?

    Karl>   I also fixed `swapon -a' and `swapoff -a' which did nothing before.
    Karl>   The diff will show you why it obviously could not have worked
    Karl>   previously.

    Karl>   The stripped `busybox' binary has increased in size by 1856 bytes.
    Karl>   I hope to bring the size back down...  I'm not sure how that will be
    Karl>   yet.  I'm not an expert ROM programmer.  I think we've got plenty of
    Karl>   room for it still.  Tell me if I'm wrong.

    Karl>   I think that most of the added bytes is from the file name / path
    Karl>   buffer overflow checking I added.

    Karl>   I have not updated the Changelog yet.  I promise I will do that.

    Karl> 		Karl M. Hegbloom <karlheg@debian.org>


    Karl> -- 
    Karl> To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
    Karl> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: