Mailinglist Archive: opensuse (3964 mails)
| < Previous | Next > |
Re: [SLE] Missing space on my hard drive, 100% used and deleting files gives back no space.
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Fri, 12 Nov 2004 22:35:51 +0100
- Message-id: <200411122235.51301.andjoh@xxxxxxxxxx>
On Friday 12 November 2004 22:26, Jon Nelson wrote:
> Other programs can't *list* it, can't *see* it,
> and without intimate knowledge of the filesystem, can't *access* it in
> any meaningful way.
All files opened are hard linked from /proc/<pid>/fd/ and can be accessed
through that link (permissions permitting, naturally). The general rule is
that an inode (and the data it points to) is marked as available when the
last hard link goes away, and that hard link in /proc is what keeps deleted
files hanging around. It's a good thing to know if you accidentally delete a
file and you still have it open in a program. Just cp that hard link and
you've "undeleted" it
> Other programs can't *list* it, can't *see* it,
> and without intimate knowledge of the filesystem, can't *access* it in
> any meaningful way.
All files opened are hard linked from /proc/<pid>/fd/ and can be accessed
through that link (permissions permitting, naturally). The general rule is
that an inode (and the data it points to) is marked as available when the
last hard link goes away, and that hard link in /proc is what keeps deleted
files hanging around. It's a good thing to know if you accidentally delete a
file and you still have it open in a program. Just cp that hard link and
you've "undeleted" it
| < Previous | Next > |