Date: Thu, 29 Jun 2017 10:02:28 -0600 From: Alan Somers <asomers@freebsd.org> To: "Patrick M. Hausen" <hausen@punkt.de> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: What is /dev/zfs? Message-ID: <CAOtMX2iPczxpJ0QDmYjCM2PdBAQRkkQD-ZVQTrQMfyGtd3jPjQ@mail.gmail.com> In-Reply-To: <2BF904CF-7EC1-41BC-A9F3-BFF7813A897D@punkt.de> References: <2BF904CF-7EC1-41BC-A9F3-BFF7813A897D@punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 29, 2017 at 8:28 AM, Patrick M. Hausen <hausen@punkt.de> wrote: > Hi, folks > > any pointer to an explanation would be nice, > there seems to be no zfs(4) manpage ... > > Reason for asking: I have a piece of software > that uses 14,000 ioctl() calls on that device during > one execution and I'm asking myself what it tries > to do. > > Thanks! > Patrick The zpool and zfs commands do everything through ioctls, and /dev/zfs is the device node those ioctls are bound to. You can't read from it or write to it; all you can with /dev/zfs is use ZFS's custom ioctls. -Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iPczxpJ0QDmYjCM2PdBAQRkkQD-ZVQTrQMfyGtd3jPjQ>