LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2011, 11:14 AM   #1
mikhl
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
ext3 & Deleting a file


Hi, I was wondering if anyone knows where I could fin some information on the Linux ext3 file system and specifically on how it deals with the deletion of files.

If anyone knows something that may help me, or can point me in the right direction that would be great.

Thanks
 
Old 10-28-2011, 11:23 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
May I ask why you want to know (what specifically) and what you've found out so far?
 
Old 10-28-2011, 11:58 AM   #3
mikhl
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I am thinking about something for a project for my course. I pretty much understand the Windows file system FAT and NTFS) but Iím pretty new to Linux, so I was wondering if there are any differences.

I have got some pretty interesting basic information from https://help.ubuntu.com/community/Li...stemsExplained.

I have found that you can delete a file whilst itís open, which is very interesting and a strange concept; especially to a recent Linux from Windows user like me.

I have also found that there isnít much need for defragmentation on a Linux computer due to the way that it was designed.
 
Old 10-28-2011, 12:13 PM   #4
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
The wikipedia article doesn't have much detail but has some useful links.

The main thing you should understand is the concept of inodes - which tell the system where the file is - and file names, which are separate. You can have multiple file names to the same inode - "hard links" - different from symbolic links and windows shortcuts. When a file is deleted - when the last hard link is deleted, that is - the file system deletes the inode and marks its used space as free. (Don't take my word on the details though ... that's more than I understand.)

I wasn't aware of the question of open files though.
 
Old 10-28-2011, 12:18 PM   #5
mikhl
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the info. i will be able to refine my searches a lot more now and get some more information.
I am going to do more research on inodes and links.

Thanks again
 
  


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
After deleting a file ext3 doesn't show that used space as free Bono Linux - Server 5 09-20-2011 01:40 PM
What is the best secure file deleting tool for ext3? Balarabay1 Linux - Software 8 08-23-2008 10:04 AM
No free Space even after deleting files (ext3) jeffUK Linux - General 6 08-21-2005 08:13 PM
Difference between ext2, ext3 & reiser file systems ch.keller Linux - Software 4 01-18-2005 07:16 PM
Deleting Ext3 (Journalized Ext2) partitons AnyoneEB Linux - Newbie 4 07-03-2002 03:58 PM


All times are GMT -5. The time now is 08:50 AM.

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