<p>I did say it would nuke it from orbit. And you should always have your data backed up anyway and have a machine state saved.</p>
<p>Apparently sarcasm does not work in email.</p>
<div class="gmail_quote">On Feb 3, 2012 10:55 AM, "Geoffrey Myers" <<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
gcs8 wrote:<br>
> Sudo rm -rf /<br>
><br>
> That will fix it but it is the nuke it from orbit fix.<br>
<br>
What? You're talking about destroying the whole system. That would<br>
attempt to remove everything under / . You sure you don't want to<br>
rethink that post?<br>
<br>
><br>
> On Feb 3, 2012 9:55 AM, "Jim Kinney" <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a><br>
> <mailto:<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>>> wrote:<br>
><br>
> Do a 'ls /media/sdc1' and see if anything is there. If not. no need<br>
> to rmdir. If you plug back in the same drive(s) they will get<br>
> mounted at the same location.<br>
><br>
> On Fri, Feb 3, 2012 at 9:17 AM, Michael Nolan<br>
> <<a href="mailto:michaeldnolan@gmail.com">michaeldnolan@gmail.com</a> <mailto:<a href="mailto:michaeldnolan@gmail.com">michaeldnolan@gmail.com</a>>> wrote:<br>
><br>
> (Sorry about the sleep deprived post last night, misspelled<br>
> words are<br>
> always a dead giveaway the next morning...)<br>
><br>
> And thanks once again for responses, I know this stuff is simpleton<br>
> level for most of you....<br>
><br>
> I was reading in another thread about "root" (which was _way_<br>
> over my<br>
> head).... but I'd like to get a critique about the correctness<br>
> of the<br>
> ugly commands below and my thought process in getting rid of the<br>
> offending empty dir's.<br>
><br>
> Also, is there any way to search the Ale.org archives other than<br>
> using<br>
> Google advanced search or "[target] site:<a href="http://ale.org" target="_blank">ale.org</a> <<a href="http://ale.org" target="_blank">http://ale.org</a>>"<br>
><br>
> mike@Pappy:/media$ rmdir sdc1<br>
> rmdir: failed to remove `sdc1': Permission denied<br>
><br>
> mike@Pappy:/media$ ls -l<br>
> total 16<br>
> drwxr-xr-x 16 mike mike 4096 2012-02-02 10:15 2T_ext3<br>
> drwxrwxr-x 3 mike mike 0 2012-01-27 08:36 pogoplug<br>
> drwxr-xr-x 2 root root 4096 2012-01-13 21:02 sdc1<br>
> drwxr-xr-x 2 root root 4096 2012-01-13 21:03 sdc3<br>
> mike@Pappy:/media$<br>
><br>
> Obviously root owns the two dir's<br>
><br>
> so:<br>
><br>
> mike@Pappy:/media$ chown mike /media/sdc1<br>
> chown: changing ownership of `/media/sdc1': Operation not permitted<br>
><br>
> so:<br>
><br>
> mike@Pappy:/media$ sudo su<br>
><br>
> root@Pappy:/media#<br>
><br>
> root@Pappy:/media# rmdir sdc1<br>
> root@Pappy:/media# rmdir sdc3<br>
> root@Pappy:/media# exit<br>
> exit<br>
> mike@Pappy:/media$ ls<br>
> 2T_ext3 pogoplug<br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a> <mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
><br>
><br>
> --<br>
> --<br>
> James P. Kinney III<br>
><br>
> As long as the general population is passive, apathetic, diverted to<br>
> consumerism or hatred of the vulnerable, then the powerful can do as<br>
> they please, and those who survive will be left to contemplate the<br>
> outcome.<br>
> - ////2011 Noam Chomsky<br>
><br>
> <a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
> ////<br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a> <mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
<br>
--<br>
Until later, Geoffrey<br>
<br>
"I predict future happiness for America if they can prevent<br>
the government from wasting the labors of the people under<br>
the pretense of taking care of them."<br>
- Thomas Jefferson<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>