WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] About: rm -f /bin /sh

To: "J. Roeleveld" <joost@xxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] About: rm -f /bin /sh
From: Ryan Holt <ryan@xxxxxxxxxxxx>
Date: Wed, 26 Jan 2011 13:40:55 +0000
Accept-language: en-US
Cc:
Delivery-date: Wed, 26 Jan 2011 05:42:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201101261424.40607.joost@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <SNT114-W31DEE1BDA99AFFACE28EECA6190@xxxxxxx> <SNT114-W75DF698089A3DC4BA07BDA61C0@xxxxxxx> <SNT114-W12E5DCA42528C7B9D80D88A6FF0@xxxxxxx> <201101261424.40607.joost@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHLvVd62h8+izs1J068mggw9b1gNpPjkegA//+wvIA=
Thread-topic: [Xen-users] About: rm -f /bin /sh
I think he'd need an r with that f in order to delete the whole bin dir, 
wouldn't he?

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of J. Roeleveld
Sent: Wednesday, January 26, 2011 8:25 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] About: rm -f /bin /sh

On Wednesday 26 January 2011 13:49:12 Huang Yogi wrote:
> Dear all
> 
> 
> After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore,

Is it a copy/paste error, or is there really a space between "/bin" and "/sh"?

If there was a space, then you just deleted your entire /bin directory

> I try to do: ln -s /bin/sh /bin/bash, but it doesn't work;

See above, if /bin/bash doesn't exist, the ln .... won't work either.

> after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc...

See above (again)

> could you help me how to fix this problem!!

Other then reinstalling or restoring backups?

--
Joost

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users