04-09-2007, 05:02 PM | #31 |
Enthusiast
Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
On making it unbrickable
Hey Adam B.
A thought occurred to me... One of the things I occasionally do on freebsd/linux machines I've set up where people aside from me will have root access... If you put a file called -i in the really important directories - like / and /etc and /boot for example, it will force rm to prompt even if the -f flag was provided, because the shell interprets the rm -rf * as: rm -rf -i restoffiles You can accomplish it easily by: Code:
touch -- /-i /etc/-i JayK |
04-09-2007, 05:22 PM | #32 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Good tip! I'd recommend that iRex add this to the iLiad by default. (And I'm going to put it on the Ubuntu server at work tomorrow.)
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bricked iLiad after flashing | e-milius | iRex | 4 | 01-28-2009 10:46 AM |
Bricked iLiad after badly done reflash ? | Pode | iRex | 6 | 05-19-2008 03:42 PM |
Almost just bricked my Iliad! | JimBob1971 | iRex | 0 | 03-11-2008 07:19 PM |
New member of "I bricked my iLiad"-Club: me | yokos | iRex | 40 | 09-21-2007 04:06 PM |
Bricked Iliad - what now | sigi | iRex | 21 | 11-01-2006 01:18 PM |