LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2003, 05:06 AM   #1
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
Question deleted files - where do they go??


with windows, deleted files can (aparrrently) be recovered - is this the same with Linux?
How does Linux differ in this kind of file handling to Windows?
 
Old 10-15-2003, 06:07 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Post

If you say to "move to trash" then you can just put it back. If you chose "delete" or "shread", good luck. There may be something out there but it will be blind luck. If you chose "shread" just forget and move on. I doubt there is any hope.



PS. be careful
 
Old 10-15-2003, 09:30 AM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
The answer really depends on how you initially deleted the file and how long you've waited to change your mind. If you did a simple rm from a command line, then you might be able to recover the file using one of those tools that checks the inode status. Unfortunately, if you've waited a while, they inode may have been reused. If you're deleted the file in a GUI environment by dragging it to a trash can, you can generally drag it back out as long as you haven't emptied the trash.
 
Old 10-15-2003, 12:50 PM   #4
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
sorry, maybe I asked the question in an unclear way.

What I'am interested in knowing is how the computer actually works, and the difference between the operating systems.



(I have just spent a good hour or two defragmenting my windows hard disk, yet this is un-necessary in linux)

(I suppose I should do a computer science course then I would know)
 
Old 10-15-2003, 12:57 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Talking

Try reading this:

http://en.tldp.org/HOWTO/Unix-and-In...TO/bootup.html

That may help.



As a matter of fact that whole site has a lot of stuff to read. Need to a bit myself.
 
Old 10-15-2003, 04:48 PM   #6
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
thank you, I enjoyed reading that
 
Old 10-15-2003, 05:44 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Talking

Your welcome. If I started using windoze I'd be in a forum looking for help. I'd also be pi$$ed because it always crashes. I have only managed to crash Linux once. I did a really stupid thing. I mean really really really stupid. I deleted the /etc directory. Stupid huh? Would have run until I rebooted though. Just can't mount anything I guess.

Glad I had that /home on a seperate partition. Thinking ahead that time.

Later.

 
Old 10-15-2003, 09:01 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the dos and windows fat filesystem is very simple.
it has a file allocation table(fat) at the beginning of the disk.
you can navigate it by hand with a disk editor. it's inefficiencies, and
simpleness are what makes it easy to understand and to do file
recovery. the more complex and optimized a filesystem is, the harder
file recovery is, unless the file recovery is built in, or some program is
running that handles it, such as instead of deleting files, moving them
to a "trash" directory.
i was going to type in how the fat filesystem worked, but i'm tired and
my girlfriend just brought me some pizza, so i guess i'm done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help - Deleted Files fpdesignco Linux - Enterprise 3 11-05-2005 10:21 AM
Deleted Files wardialer Linux - Newbie 2 02-28-2005 04:12 AM
Deleted files? tilt32 Linux - Newbie 2 01-20-2005 06:06 PM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 02:13 PM
Deleted files!!! davez530 Linux - Newbie 3 05-18-2003 09:24 AM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration