?

Log in

No account? Create an account

so, if we " ln -s / /tmp ", then ... *pop*?

« previous entry | next entry »
Nov. 21st, 2005 | 02:56 am
mood: infuriatedinfuriated

So, unlike every system I've ever used since SVR4 and BSD4.3, Debian systems delete everything from the /tmp folder on reboot? *everything*? on *every* reboot?

I am *careful*. I run as a regular user, not root. I alias rm and mv to 'rm -i' and 'mv -i'.

And I'm using Ubuntu, which doesn't even *allow* you to log in as root, for fear you might break something. You'd think. They might ask. Before deleting the whole fucking copy of a partition that I just set down for a few minutes while I moved things around and... rebooted, because I needed to put the physical drive in a different machine for a moment.

I hope they all die. Painfully. Alone.

Link | Leave a comment | Share

Comments {12}

Triple Entendre

(no subject)

from: triple_entendre
date: Nov. 21st, 2005 08:59 am (UTC)
Link

fscking bastards

Reply | Thread

!Bob

(no subject)

from: achild
date: Nov. 21st, 2005 05:06 pm (UTC)
Link

quality.

Hooray for auto-deleting!

Reply | Parent | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Nov. 23rd, 2005 09:29 am (UTC)
Link

Down with pants! Up with skirts!

Reply | Parent | Thread

味锤

(no subject)

from: daylightsavings
date: Nov. 22nd, 2005 06:23 am (UTC)
Link

Ubuntu is glorious, and you should know better than to store stuff in /tmp. pffft. :p

Reply | Parent | Thread

(no subject)

from: parakleta
date: Nov. 21st, 2005 11:22 am (UTC)
Link

Heh... that's kind of funny, in a "I'm glad it's not me" kind of way.

I suppose when they say tmp, they really mean tmp. Don't most other systems clean tmp on a nightly/weekly cron or something?

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Nov. 23rd, 2005 09:26 am (UTC)
Link

Yeah, but this was literally "I'll just set this down, er, *here* for a minute while I..."

Reply | Parent | Thread

mayorjim

(no subject)

from: mayorjim
date: Nov. 21st, 2005 04:33 pm (UTC)
Link

Most UNIX systems clean up tmp automatically.

On Solaris, /tmp comes from the swap partiion, so it gets cleared at boot because it's really just memory. On redhat, it's real disk space so it doesn't get cleared on boot... but it does get cleared periodically by a cron job.

In general, don't use /tmp for storage. It's supposed to be for temporary stuff during processing... stuff that's not important when processing is done.

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Nov. 23rd, 2005 09:23 am (UTC)
Link

I've corrected my (permanent) mental map.

Really, this *was* temporary stuff I was processing (moving from one disk to another)... it was only going to be there for a few minutes at most. I had no reason to think I was doing the equivalent of leaving my dog in a hot car.

Even a cron job would probably not have bitten me, here.

Reply | Parent | Thread

JP Sugarbroad

(no subject)

from: taral
date: Nov. 21st, 2005 06:38 pm (UTC)
Link

Well, if you didn't do anything else to it, you could try "recover".

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Nov. 23rd, 2005 09:02 am (UTC)
Link

One might think.

Unfortunately, I chose to create the root filesystem as a single LVM Physical Volume.

I had another Ubuntu PC handy (freshly installed), so I stuck the drive in it to see what I could see. Well, nothing, because I used the exact same setup for this other Ubuntu PC... so it already has a volume group named "Ubuntu", which apparently means it can't see mine. Or at least, chooses not to, and that's a lucky thing, because after careful study of the manpages, it looks like any attempt to force the issue would probably destroy the whole thing and definitely prevent the drive from booting when returned to its PC. I'm lucky it didn't helpfully try to load both sets of the identically-named partitions and burst into flames.

It *may* be possible to fiddle with "recover" if I use a rescue CD that has the LVM2 tools configured. (And of course this *is* the PC that has my CD-burner in it. Luckily I live in a co-op, so there are others.)

Why is there no "GoBack" equivalent for Linux? Now there was a genius product.

Reply | Parent | Thread

=

(no subject)

from: marconiplein
date: Nov. 22nd, 2005 03:36 am (UTC)
Link

huh?

er. what i meant to say was, "fsck that system! fsck it straight up its tiny, narrow anus!"

Reply | Thread

VIM

from: anonymous
date: Nov. 30th, 2005 05:32 am (UTC)
Link

VIM!

Reply | Thread