[nsp] c2600 bug ?

ivac+cisco-nsp@iskon.hr ivac+cisco-nsp@iskon.hr
Tue, 5 Nov 2002 16:57:07 +0100


On Tue, Nov 05, 2002 at 07:18:02AM -0800, Christopher McCrory wrote:
> Hello...
> 
> Is this a ios bug and if so how would I report it?
> 
> I was testing several different IOS versions in the lab.  Being a Unix
> kind of guy, I did:
> Router#copy tftp://192.168.9.1/c2600-io3-mz.122-12a.bin .

"." is current directory on active file system (in your case flash:),
so in Unix words what you did is this:

cd /etc
cp /tmp/c2600-io3-mz.122-12a.bin .

Any decent OS would interpret this as "copy file to current directory",
but IOS (obviously not being decent:) interpreted it as "copy file IN
current directory", with "IN" meaning overwrite content of directory
with file. So you cannot do "dir" anymore because "." doesn't contain
directory structure anymore, it contains IOS software.

A wouldn't call it bug, more "bad design":)