[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moving /usr, /var, and /etc

On Fri, Apr 18, 2008 at 12:50:33PM -0500, Damon L. Chesser wrote:
> true that /etc needs to be accessed 100% of the time, however, if you 
> copied /etc to a new / location, edited /etc/fstab to reflect the new 
> file locations for your new tree structure, then issued mount -a  or 
> perhaps mount -a -o remount, rw


> Since all the files are the same, the running 
> kernel will not see any difference and your running process should not 
> see any difference.

files descriptors that already running processes use to access files
still point to old files (the ones that were il place when the file
descriptor was created). Since at least /sbin/init (but almost any other
daemon) has an open (configuration) file in /etc all such processes
should be restarted (or reloaded, when reload is possible and
sufficient). If any file (/etc/mtab ?) is open in read-write mode, this
is a must, not only a should.

See http://lists.debian.org/debian-user/2008/04/msg01213.html and its thread

Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.

Reply to: