Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2024 23:59:38 -0700
From:      Yuri <yuri@FreeBSD.org>
To:        Freebsd hackers list <freebsd-hackers@FreeBSD.org>
Subject:   What are equivalents of Linux ioctl functions FICLONE and FICLONERANGE ?
Message-ID:  <2bcfb025-b639-4696-82e6-bfeb1a291294@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------dsFBllPHem7f1o2xk7OONCOK
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On Linux files can be copied with:
ioctl(destFd, FICLONE, srcFd)


What would be the equivalent of this on FreeBSD?




Thanks,
Yuri


--------------dsFBllPHem7f1o2xk7OONCOK
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">On Linux files can be copied with:</font><br>
    <font face="monospace"><span
        style="color:#000000;background-color:#ffffff;">ioctl(destFd,
        FICLONE, srcFd)</span><br>
    </font>
    <p><font face="monospace"><br>
      </font></p>
    <p><font face="monospace">What would be the equivalent of this on
        FreeBSD?</font></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <br>
    <font face="monospace">Thanks,</font><br>
    <font face="monospace">Yuri</font>
    <p><font face="monospace"><br>
      </font></p>
  </body>
</html>

--------------dsFBllPHem7f1o2xk7OONCOK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2bcfb025-b639-4696-82e6-bfeb1a291294>