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

Re: The kernel (file system) in Debian supports replacing files even while they're being used.



On Wed, Jan 01, 2003 at 02:45:22PM -0600, Ron Johnson wrote:
> On Wed, 2003-01-01 at 14:30, khromy wrote:
> > On Wed, Jan 01, 2003 at 10:01:49PM +0200, Shaul Karl wrote:
> > >     /tmp$ cp -v /bin/sleep mysleep 
> > >     /tmp$ (./mysleep 100 &); cp -v /bin/sleep mysleep 
> > 
> > (./mysleep 100 &); rm mysleep; cp -v /bin/sleep mysleep
> > 
> > ^-- works
> 
> Shaul knows that *that* works.  He wants to know how dpkg can
> update active/open files, while he can't... 

It can't, but it doesn't need to. An upgrade is a sequence of remove and
install, while leaving the configuration intact. The remove step is
equivalent to the 'rm mysleep' step above.

Frank

> 
> -- 
> +------------------------------------------------------------+
> | Ron Johnson, Jr.     mailto:ron.l.johnson@cox.net          |
> | Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
> |                                                            |
> | "Basically, I got on the plane with a bomb. Basically, I   |
> |  tried to ignite it. Basically, yeah, I intended to damage |
> |  the plane."                                               |
> |    RICHARD REID, who tried to blow up American Airlines    |
> |                  Flight 63                                 |
> +------------------------------------------------------------+
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: