TIP: Click on subject to list as thread! ANSI
echo: tech
to: Maurice Kinal
from: Jasen Betts
date: 2004-09-16 09:37:28
subject: FONTS

Hello Maurice.

15 Sep 04 07:36, you wrote to Pascal Schmidt:

 MK> Hey Pascal!

 MK> Sep 15 15:46 04, Pascal Schmidt wrote to Maurice Kinal:

 PS>> Nope. The kernel has a reference to the file, which means the
 PS>> inode only gets freed once the program stops running. The "rm
 PS>> /bin/rm" before only frees the directory entry.

 MK> So then "rm -r /" will successfully delete everything
except rm?  Not
 MK> that I plan on verifying this, just curious.

no _everything_

/bin/rm is unlinked (ie its directory presence in /bin is removed) , but
the inode for that file and the allocated disk storage isn't freed until
the rm command and any other processes that may have /bin/rm open exits.

if you want to try it use chroot or boot a floppy.

Jasen

--- GoldED+/LNX 1.1.4.7
* Origin: (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.