Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 08:01
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Our Dumb Mistakes
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 5 [71 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
Ibidem

Joined: 25 May 2010
Posts: 489
Location: State of Jefferson

PostPosted: Fri 15 Mar 2013, 21:53    Post subject:  

puppyluvr wrote:

As a teenager, while hunting deer with my younger step-brother Bobby, I witnessed him urinating on an electric cattle fence... Shocked
After the convulsions went away, and the screaming subsided, and I quit laughing enough to check, he seemed to be OK... Rolling Eyes


A saying I heard from my first college ag teacher:

"There are three kinds of people in the world:
Those who learn by reading,
Those who learn by seeing,
And those who just have to pee on the electric fence for themselves."

A little thing he mentioned: the wrong way to test an electric fence for current is with the inside of your fingers. Besides the shock itself, sometimes the current makes your hand curl closed around the wire. A trick that's sometimes helpful is to hold a blade of grass near and listen--if your ears are good enough! If you must use your hand, use the back.

Also, it's annoying to have a mower that won't turn off when you release the handle: there's a small jolt when you disconnect the spark plug to stop it.

But my biggest oops was the time I drove through a "puddle", on the downhill side. I thought it looked reasonable to cross, as I always had managed to do so previously--until my car stopped 1/3 of the way across. Wading across a hundred feet of knee deep puddle is not fun; less so when it's in pouring rain an hour before finals...
(Nothing like a jumpstart and starter fluid in the air intake to get it started again!)
Back to top
View user's profile Send private message 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Sat 25 May 2013, 15:59    Post subject:  

I felt really helpless when I committed the mistake of mounting all drives in /tmp, forgetting to unmount them and shutting down the system.

I was wondering, why was puppy taking so much time to shut down Confused

Next boot discovered that none of the linuxes were bootable.

Had to buy a new CD to run puppy and discovered that all my linux partitions were empty.

From that day I never mount anything under /tmp.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11066
Location: Arizona USA

PostPosted: Sat 25 May 2013, 20:41    Post subject:  

Why did mounting the partitions under /tmp cause them to disappear when you shut the computer down? If you'd simply unplugged the computer, rather than shutting it down in software, do you think the same thing would have happened?
Back to top
View user's profile Send private message 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Sat 25 May 2013, 23:43    Post subject:  

Flash wrote:
Why did mounting the partitions under /tmp cause them to disappear when you shut the computer down? If you'd simply unplugged the computer, rather than shutting it down in software, do you think the same thing would have happened?

I think all files in /tmp are deleted one by one while shutting down.

Strangely only linux partitions were emptied, my data on ntfs partitions were intact so I was able to recover the system.

In this case it seemed safer to cut off power supply than shutting down the computer. Laughing
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9108
Location: Stratford, Ontario

PostPosted: Sun 26 May 2013, 12:29    Post subject:  

akash_rawal wrote:
I think all files in /tmp are deleted one by one while shutting down.

I once made the same mistake by mounting a digital camera's memory on /tmp, then shutting down Puppy while the camera was still turned on.

I couldn't figure out why all my pictures were disappearing.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3444
Location: West Lothian, Scotland, UK

PostPosted: Sun 26 May 2013, 14:54    Post subject:  

If you try to copy [e.g. something huge?] to a "partition_file_system that is NOT mounted....
The Puppy will copy instead to /tmp...
And during the session, at the next auto-save [or manual save]...
The pupsave file will now hold/store that "thing" [in the latest version of /tmp]...
And so the available space in the "personal storage" will begin to diminish...
Until things return to normal at reboot->[because the contents of /tmp have been deleted].
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 428
Location: Bs.As. - Argentina.

PostPosted: Thu 13 Jun 2013, 11:39    Post subject:  

Just to avoid situations like Prehistoric had I prefer to ask 'silly' question to confirm I understood right. But people (bah, mostly my wife) complains for asking nonsense.
Even I feel like an idiot, it's better to spent ten seconds in a stupid question than hours of work (or worse, money).
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2328
Location: Heart of Texas

PostPosted: Fri 14 Jun 2013, 00:09    Post subject:  

puppyluvr wrote:
:...my younger step-brother Bobby, I witnessed him urinating on an electric cattle fence... Shocked
After the convulsions went away, and the screaming subsided, and I quit laughing enough to check, he seemed to be OK... Rolling Eyes


He He, Joined 4H as a city kid just to be near the 'cowgirl of my dreams' Part of the introduction hazing was peeing on the electric fence, I fail for it. Was complaining to my Dad (former farm kid) about my issue with mean farm boys, he was laughing so hard on my lack of knowledge before I could finish my story, he left the road a few times.
Well my dream cowgirl was not used to wearing a dress and forgot about that as she crawled over the backseat, that irritated my mom her 'being unlady like' Wink on our way to the school dance.
Back to top
View user's profile Send private message 
linuxbear

Joined: 18 Apr 2009
Posts: 621
Location: Las Vegas, Nevada, USA

PostPosted: Fri 14 Jun 2013, 14:50    Post subject:  

puppyluvr wrote:
:.. electric cattle fence... Shocked




A long time ago I was riding my bicycle home on a wet path in the Bavarian alps. I was going too fast and did not make a curve. Bike went down and I went into the electric fence!

....Moral of the story? too many beers and bicycles do not mix!
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Mon 26 Aug 2013, 13:11    Post subject:  

I'd like to join the club with excellent and brilliant:

Code:
a=''; rm -rf $a/*


"Hmm, let's see how 'rm' will interpret this" - I was thinking.
"I have frugal install, PUPMODE=13, nothing bad can happen anyways."

I just forgot about couple of things: /initrd and /mnt

Fortunately, thanks to quick CTRL+C and my "backup-mania", damages are minimal (well I hope, but only time will tell for sure), no medical assistance was needed this time. Wink

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2865
Location: Everybody knows this is nowhere...

PostPosted: Mon 26 Aug 2013, 14:08    Post subject:  

Just curious: what does that nifty command do, exactly?

(Og no code good!)

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send private message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 804
Location: USA

PostPosted: Mon 26 Aug 2013, 14:19    Post subject:  

when i was 4/5, I rode my scooter down a hill really fast. When I tried to stop I slammed my face in to the side of parked pick-up truck. My face had been badly scraped and it was bleeding.

I also when I was 5, fell down the stairs and broke my colarbone.

At that time I never payed attention to where I was going, and I was very clumsy.

_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Mon 26 Aug 2013, 14:35    Post subject:  

starhawk wrote:
Just curious: what does that nifty command do, exactly?

(Og no code good!)

Deletes EVERYTHING. Exclamation

EDIT:
Basically, if the "a" variable wasn't null, but e.g.:
Code:
a=/tmp; rm -rf $a/*

only /tmp would suffer.
However the idea itself to mix 'rm -rf' with '/*' is the height of folly...
...that's why I'm here. Wink

BTW: http://www.urbandictionary.com/define.php?term=rm%20-rf%20%2F

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
linuxbear

Joined: 18 Apr 2009
Posts: 621
Location: Las Vegas, Nevada, USA

PostPosted: Tue 27 Aug 2013, 14:52    Post subject:  

What's wrong with "rm"? rm -rf /windows is goodness Wink
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 27 Aug 2013, 15:34    Post subject:  

Another one :
Code:
cp /mnt/whatever /dev/whatever

is like dd ing to /dev/whatever

I once accidentially rm -rf a Xubuntu partition .
Considering that not as a mistake ..
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 4 of 5 [71 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0897s ][ Queries: 12 (0.0054s) ][ GZIP on ]