<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
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><br>
<div>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><br>
</div>
<div>Cheers, Andreas<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>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>
<br class="Apple-interchange-newline">
<div>
<div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="line-height: normal; margin: 0px;"><span style="font-family: Menlo; font-size: 17px;">Name : lustre-client-tests</span></div>
<div style="line-height: normal; margin: 0px;"><span style="font-family: Menlo; font-size: 17px;">Arch : x86_64</span></div>
<div style="line-height: normal; margin: 0px;"><span style="font-family: Menlo; font-size: 17px;">Version : 2.12.7</span></div>
<div style="line-height: normal; margin: 0px;"><span style="font-family: Menlo; font-size: 17px;">Release : 1.el7</span></div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
regards</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
David</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" 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: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">----------</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">David Simpson - Senior Systems Engineer</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">ARCCA, Redwood Building,</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">King Edward VII Avenue,</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Cardiff, CF10 3NB </span></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: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">David Simpson - peiriannydd uwch systemau</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">ARCCA, Adeilad Redwood,</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">King Edward VII Avenue,</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt;">Caerdydd, CF10 3NB</span></div>
<div style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-family: "Courier New"; font-size: 10pt; color: rgb(70, 120, 134);"><u><br>
</u></span></div>
</div>
</div>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br>
</div>
</blockquote>
</div>
<br>
<div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Cheers, Andreas</div>
<div>—</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud/DDN</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</div>
</body>
</html>