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 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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!