<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for the prompt reply and clarification.</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Came across this afterwards:</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://github.com/lustre/lustre-release/commit/4774d1fab1ba701900aae61ae40987e64af7a635" data-outlook-id="1660f4ea-b06b-4ddb-9401-33faeaa7fb41">https://github.com/lustre/lustre-release/commit/4774d1fab1ba701900aae61ae40987e64af7a635</a></div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i>lfs find + unlink</i>  is the way to go then.</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
thanks</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
David</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="ms-outlook-mobile-signature" style="color: inherit; background-color: inherit;">
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">----------</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">David Simpson - Senior Systems Engineer</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">ARCCA, Redwood Building,</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">King Edward VII Avenue,</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">Cardiff, CF10 3NB                                                                              </span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;"> </span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">David Simpson - peiriannydd uwch systemau</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">ARCCA, Adeilad Redwood,</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">King Edward VII Avenue,</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;">Caerdydd, CF10 3NB</span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: black;"> </span></p>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"> </p>
</div>
<div id="mail-editor-reference-message-container" style="color: inherit; background-color: inherit;">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"></div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>Andreas Dilger <adilger@ddn.com><br>
<b>Date: </b>Saturday, 27 September 2025 at 00:42<br>
<b>To: </b>David Simpson - Staff in University IT, Research Technologies / Staff Technoleg Gwybodaeth, Technolegau Ymchwil <SimpsonD4@cardiff.ac.uk><br>
<b>Cc: </b>lustre-discuss@lists.lustre.org <lustre-discuss@lists.lustre.org><br>
<b>Subject: </b>Re: [lustre-discuss] munlink<br>
<br>
</div>
<table class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; border-left-width: 5px; border-left-style: solid; border-left-color: rgb(255, 230, 87); background-color: rgb(255, 250, 223); width: 100%; color: rgb(0, 0, 0); box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; padding-top: 5px; padding-bottom: 5px;">
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; font-family: "Franklin Gothic Book", Tahoma, Geneva, Verdana, sans-serif; font-size: 13px; color: rgb(0, 0, 0);">
<b>External email to Cardiff University - </b>Take care when replying/opening attachments or links.</div>
</td>
</tr>
<tr>
<td class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; padding-bottom: 5px;">
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; font-family: "Franklin Gothic Book", Tahoma, Geneva, Verdana, sans-serif; font-size: 13px; color: rgb(0, 0, 0);">
<b>Nid ebost mewnol o Brifysgol Caerdydd yw hwn - </b>Cymerwch ofal wrth ateb/agor atodiadau neu ddolenni.</div>
</td>
</tr>
</tbody>
</table>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing">The "munlink" utility is really just a few line wrapper around the unlink() syscall, so should be OK for any environment.  In both cases they avoid a lot of overhead that "rm" is doing.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing">Modern Linux distros have "unlink", which is almost the same as munlink except only accepts a single filename as an argument, while munlink can handle multiple filenames at once, but this can be
 worked around in the caller.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing">Cheers, Andreas</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<blockquote>
<div class="ms-outlook-mobile-reference-message skipProofing">On Sep 25, 2025, at 06:51, David Simpson - Staff in University IT, Research Technologies / Staff Technoleg Gwybodaeth, Technolegau Ymchwil via lustre-discuss <lustre-discuss@lists.lustre.org> wrote:</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
We don’t appear to have munlink installed on any of our servers or clients on a system we are going to tidy a bit.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
Is there any concern about installing it from the below - on a client/utility server? (I’m assuming not, but would be good to have affirmation)</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
In general, I can’t find much information on munlink. I assume it’s modified unlink.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="line-height: normal; margin: 0px; font-family: Menlo; font-size: 17px;">
Name        : lustre-client-tests</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="line-height: normal; margin: 0px; font-family: Menlo; font-size: 17px;">
Arch        : x86_64</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="line-height: normal; margin: 0px; font-family: Menlo; font-size: 17px;">
Version     : 2.12.7</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="line-height: normal; margin: 0px; font-family: Menlo; font-size: 17px;">
Release     : 1.el7</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
The utility-server-client in question is on lfs 2.12.7. Infrastructure servers are also on this version.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
We are planning to get off this system soon, however we are considering using munlink instead of rm to do some tidying.</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
regards</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
David</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div id="ms-outlook-mobile-signature" style="color: inherit; background-color: inherit;">
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">----------</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">David Simpson - Senior Systems Engineer</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">ARCCA, Redwood Building,</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">King Edward VII Avenue,</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">Cardiff, CF10 3NB                                                                              </div>
<p style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;"> </span></p>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">David Simpson - peiriannydd uwch systemau</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">ARCCA, Adeilad Redwood,</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">King Edward VII Avenue,</div>
<div style="margin: 0cm; font-family: "Courier New"; font-size: 10pt;">Caerdydd, CF10 3NB</div>
<div dir="ltr" style="margin: 0cm; font-family: "Courier New"; font-size: 10pt; color: rgb(70, 120, 134);">
<u><br>
</u></div>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing">_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</div>
</blockquote>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
<div dir="auto" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; text-indent: 0px; color: rgb(0, 0, 0);">
Cheers, Andreas</div>
<div dir="auto" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; text-indent: 0px; color: rgb(0, 0, 0);">
—</div>
<div dir="auto" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; text-indent: 0px; color: rgb(0, 0, 0);">
Andreas Dilger</div>
<div dir="auto" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; text-indent: 0px; color: rgb(0, 0, 0);">
Lustre Principal Architect</div>
<div dir="auto" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; text-indent: 0px; color: rgb(0, 0, 0);">
Whamcloud/DDN</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"><br>
</div>
</div>
</body>
</html>