PDA

View Full Version : pulling out a pen drive



kpholmes
October 26th, 2009, 06:51 AM
if i was running linux on a pen drive, and i pulled it out while linux was still running. what would happen? other then it stopping, would the computer just draw a blank?

Paqman
October 26th, 2009, 06:57 AM
If the system was writing to a file on the stick at the time, you'd probably get a corrupted file. Otherwise nothing.

Exodist
October 26th, 2009, 06:58 AM
NSA will break your doors down and arrest you..



lol, to be honest I am not 100% sure. Depends if it was in the middle of writing information or just sitting there. I have heard of it messing up the pin drive, but I havent had it screw up "yet". Best to always unmount the filesystem to be safe tho.

kpholmes
October 26th, 2009, 07:24 AM
ya i the idea came to my mind today and i just had to ask.
haha

Bachstelze
October 26th, 2009, 07:25 AM
Nothing really. It's not *BSD. :p

schauerlich
October 26th, 2009, 07:41 AM
It'd be somewhat like rm'ing the whole drive. What's in RAM would try to go on, but in all likelihood, would crash after not being able to find something it needs. Such as, you know, a root partition.


Nothing really. It's not *BSD. :p

You anti-BSD troll!

edin9
October 26th, 2009, 07:52 AM
Is this a euphemism?

The Real Dave
October 26th, 2009, 03:50 PM
For me, ends up with a few corrupted files, and an icon stuck my desktop because no one un-mounted it :) Nothing killer

tom66
October 26th, 2009, 04:08 PM
I did it with Ubuntu and a 20 GB HDD. No swap. Kept running for almost 6 seconds and I was able to type into OpenOffice.org. But then, kernel panic and freeze.

hessiess
October 26th, 2009, 04:20 PM
It would work until the OS needed to read something from the disk.