[Wolves] oops :)
stephen welch
stephenwelch at hotmail.com
Tue Mar 6 16:51:46 GMT 2007
What you need is windows style "are you sure" ;-)
>From: chris procter <chris-procter at talk21.com>
>Reply-To: Wolverhampton Linux User Group <wolves at mailman.lug.org.uk>
>To: Wolves Lug <wolves at mailman.lug.org.uk>
>Subject: [Wolves] oops :)
>Date: Mon, 5 Mar 2007 22:47:25 +0000 (GMT)
>
>So I've been playing around with chroot etc
>
>I created a directory mkdir ~/test
>Created a mount point mkdir ~/test/bin
>
>then mounted /bin on it using
>mount --bind /bin ~/test/bin
>
>(The --bind option to mount lets you mount an existing
>directory in another place, so /bin and ~/test/bin are
>now two references to the same thing)
>
>I tinkered around with chroot for a while (which I
>couldn't get to work, but thats another story)
>including installing creating some files as root, then
>gave up and removed the lot:
>sudo rm -rf ~/test
>
>Spot the minor flaw?
>
>I'm now wondering how I can rebuild a system that has
>no ls, cp, mv, mount, bash, rpm etc.
>
>Luckily this is a duel boot system so I've fallen back
>to ubuntu and copied all the useful stuff off fedora.
>I was probably going to reinstall it anyway.
>
>Its the first time I've ever trashed a system by
>mistake in my 10 years of *nixing, I'm actually quite
>proud :)
>
>
>chris
>
>
>
>
>
>___________________________________________________________
>What kind of emailer are you? Find out today - get a free analysis of your
>email personality. Take the quiz at the Yahoo! Mail Championship.
>http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
>
>_______________________________________________
>Wolves LUG mailing list
>Homepage: http://www.wolveslug.org.uk/
>Mailing list: Wolves at mailman.lug.org.uk
>Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves
More information about the Wolves
mailing list