[LFS Trac] #1728: Chapter 6 - Package Management - Explain why 'install' is generally safer than 'cp'

LFS Trac trac at linuxfromscratch.org
Tue May 2 15:21:13 PDT 2006


#1728: Chapter 6 - Package Management - Explain why 'install' is generally safer
than 'cp'
-----------------------------------------+----------------------------------
 Reporter:  gerard at linuxfromscratch.org  |        Owner:  lfs-book at linuxfromscratch.org
     Type:  enhancement                  |       Status:  new                          
 Priority:  normal                       |    Milestone:  Future                       
Component:  Book                         |      Version:  SVN                          
 Severity:  normal                       |   Resolution:                               
 Keywords:                               |  
-----------------------------------------+----------------------------------
Comment (by bdubbs at linuxfromscratch.org):

 Oh. Mr Archaic. I know! I know!

 When a file is deleted, the directory is updated and the reference count
 deleted by one.  Only when the reference count goes to zero is the data
 that inode points to deleted.  This happens when the file is closed by the
 last using program, not when the deletion operation occurs.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1728>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list