9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Update system: Difference "mk nuke" and "mk clean"?
@ 2022-04-11 17:41 Benjamin Riefenstahl
  2022-04-20 15:44 ` [9front] " Benjamin Riefenstahl
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Riefenstahl @ 2022-04-11 17:41 UTC (permalink / raw)
  To: 9front

Another question on update procedure: The mkfiles have the targets
"nuke" and "clean".   What is the difference?

Thanks, benny


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
  2022-04-11 17:41 [9front] Update system: Difference "mk nuke" and "mk clean"? Benjamin Riefenstahl
@ 2022-04-20 15:44 ` Benjamin Riefenstahl
  2022-04-20 17:05   ` sirjofri
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Riefenstahl @ 2022-04-20 15:44 UTC (permalink / raw)
  To: 9front

Benjamin Riefenstahl writes:
> Another question on update procedure: The mkfiles have the targets
> "nuke" and "clean".   What is the difference?

Anybody have an idea?  Am I overlooking some documentation?

benny

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
  2022-04-20 15:44 ` [9front] " Benjamin Riefenstahl
@ 2022-04-20 17:05   ` sirjofri
  2022-04-21  8:51     ` Sean Hinchee
  0 siblings, 1 reply; 5+ messages in thread
From: sirjofri @ 2022-04-20 17:05 UTC (permalink / raw)
  To: 9front

Hello,

Afaik clean should just clean stuff in /sys/src while nuke also deletes 
library files in /$objtype/. At least, nuke touches stuff outside 
/sys/src.

Hope this helps

sirjofri

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
  2022-04-20 17:05   ` sirjofri
@ 2022-04-21  8:51     ` Sean Hinchee
  2022-04-21 18:02       ` Benjamin Riefenstahl
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Hinchee @ 2022-04-21  8:51 UTC (permalink / raw)
  To: 9front

If you read the template mkfiles in /sys/src/cmd/ you can see the
difference between 'clean' and 'nuke':

for system libs:
http://git.9front.org/plan9front/plan9front/70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1/sys/src/cmd/mksyslib/f.html

for individual programs:
http://git.9front.org/plan9front/plan9front/70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1/sys/src/cmd/mkone/f.html

As sirjofri states, nuke will delete library targets and more files
than clean will.

To find out which template a given mkfile uses, refer to lines such as:

</sys/src/cmd/mkone

Cheers,
Sean

On Wed, Apr 20, 2022 at 10:07 AM sirjofri
<sirjofri+ml-9front@sirjofri.de> wrote:
>
> Hello,
>
> Afaik clean should just clean stuff in /sys/src while nuke also deletes
> library files in /$objtype/. At least, nuke touches stuff outside
> /sys/src.
>
> Hope this helps
>
> sirjofri

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
  2022-04-21  8:51     ` Sean Hinchee
@ 2022-04-21 18:02       ` Benjamin Riefenstahl
  0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Riefenstahl @ 2022-04-21 18:02 UTC (permalink / raw)
  To: Sean Hinchee; +Cc: 9front

Sean Hinchee writes:
> As sirjofri states, nuke will delete library targets and more files
> than clean will.

Ok, deleting libraries makes sense.  So "mk clean" is opposite to "mk
all", and "mk nuke" goes with "mk install".  Within reason, I guess, as
deleting programs would not make sense ever.

Thanks, benny

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-21 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 17:41 [9front] Update system: Difference "mk nuke" and "mk clean"? Benjamin Riefenstahl
2022-04-20 15:44 ` [9front] " Benjamin Riefenstahl
2022-04-20 17:05   ` sirjofri
2022-04-21  8:51     ` Sean Hinchee
2022-04-21 18:02       ` Benjamin Riefenstahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).