On Wed, 14 Mar 2007, Jacob Yocom-Piatt wrote:
> Clint M. Sand wrote:
> > I know this is a dumb question but make install on a kernel build does:
> >
> > rm -f /obsd
> > ln /bsd /obsd
> > cp bsd /nbsd
> > mv /nbsd /bsd
> >
> >
> > But I can't see the reasoning here. Why do we copy it then move i
On Wed, 14 Mar 2007, Maurice Janssen wrote:
> On Wednesday, March 14, 2007 at 17:28:54 -0400, Clint M. Sand wrote:
> >I know this is a dumb question but make install on a kernel build does:
> >
> >rm -f /obsd
> >ln /bsd /obsd
> >cp bsd /nbsd
> >mv /nbsd /bsd
> >
> >
> >But I can't see the reasonin
The chance on something like that happening during the mv is much
smaller, because it takes much less time.
More importantly, mv (actually, rename(2)) is an atomic operation, which
means there is no period of time where /bsd does not exist. If the system
dies while there is no /bsd, it won't
On 2007/03/14 17:28, Clint M. Sand wrote:
> I know this is a dumb question but make install on a kernel build does:
>
> rm -f /obsd
> ln /bsd /obsd
> cp bsd /nbsd
> mv /nbsd /bsd
>
> But I can't see the reasoning here. Why do we copy it then move it
> rather than just copying it straight to /bsd?
On Wednesday, March 14, 2007 at 17:28:54 -0400, Clint M. Sand wrote:
>I know this is a dumb question but make install on a kernel build does:
>
>rm -f /obsd
>ln /bsd /obsd
>cp bsd /nbsd
>mv /nbsd /bsd
>
>
>But I can't see the reasoning here. Why do we copy it then move it
>rather than just copying
On Wed, Mar 14, 2007 at 04:34:02PM -0500, Jacob Yocom-Piatt wrote:
> Clint M. Sand wrote:
> >I know this is a dumb question but make install on a kernel build does:
> >
> >rm -f /obsd
> >ln /bsd /obsd
> >cp bsd /nbsd
> >mv /nbsd /bsd
> >
> >
> >But I can't see the reasoning here. Why do we copy it
Clint M. Sand wrote:
I know this is a dumb question but make install on a kernel build does:
rm -f /obsd
ln /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd
But I can't see the reasoning here. Why do we copy it then move it
rather than just copying it straight to /bsd?
to prevent a poorly timed "a
I know this is a dumb question but make install on a kernel build does:
rm -f /obsd
ln /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd
But I can't see the reasoning here. Why do we copy it then move it
rather than just copying it straight to /bsd?
8 matches
Mail list logo