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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] About: rm -f /bin /sh
From: "J. Roeleveld" <joost@xxxxxxxxxxxx>
Date: Wed, 26 Jan 2011 14:52:23 +0100
Delivery-date: Wed, 26 Jan 2011 05:53:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5D878C8ABF0D4F4494F1A38DC3C266030900D273@xxxxxxxxxxxxxxxxx>
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> <201101261424.40607.joost@xxxxxxxxxxxx> <5D878C8ABF0D4F4494F1A38DC3C266030900D273@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.30-gentoo-r5; KDE/4.4.5; x86_64; ; )
On Wednesday 26 January 2011 14:40:55 Ryan Holt wrote:
> I think he'd need an r with that f in order to delete the whole bin dir,
> wouldn't he?

Yes, but the "-r" might be added by a macro in his shell.



> 
> -----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

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