Re: [ILUG] How to copy some files

From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Tue 23 Jul 2002 - 14:55:45 IST


On Mon, Jul 22, 2002 at 07:52:25PM +0100 or so it is rumoured hereabouts,
Kenn Humborg thought:
> AFAIK, the kernel won't let you do that. The refcount on
> the inode will never go to zero as long as the loop device
> has it open. The file can be unlinked from the filesystem
> (as done by, say, rm), but it won't actually disappear off
> disk until all references to the inode go to zero.

I've been caught by that before. loop mounting an ISO image, deleting the
image and wondering why I have no free space!

Conor

-- 
Conor Daly <conor.daly at domain oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  2:51pm  up 61 days, 9 min,  0 users,  load average: 0.00, 0.03, 0.00
Hobbiton.cod.ie
  2:39pm  up 3 days, 21:16,  1 user,  load average: 0.02, 0.05, 0.03


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:01 GMT