<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 12:33 PM, Dave Chinner <span dir="ltr"><<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 03, 2015 at 11:01:44AM +0200, Jan Tulak wrote:<br>
> On Mon, Aug 31, 2015 at 9:01 PM, Christoph Hellwig <<a href="mailto:hch@infradead.org">hch@infradead.org</a>><br>
> wrote:<br>
><br>
> > On Wed, Aug 26, 2015 at 02:02:34PM +0200, Jan Tulak wrote:<br>
> > > Because these calls are used only by xfs_fsr, which can't<br>
> > > work on OS X unless a way how to mount XFS is found,<br>
> > > there is not use in implementing these calls.<br>
> ><br>
> > Take a look at the quota code for the BSD alternative to mntent.<br>
> > That code should be moved into a common location and used by fsr.<br>
> ><br>
><br>
> ​I tried to find it, but didn't found... Could you point me where it is?<br>
> Quota/freebsd.h has just few lines with one definition with errno =<br>
> -ENOSYS, and in other files in quota/, I didn't saw anything BSD specific.<br>
<br>
</span>I think Christoph is refering to the code in libxcmd/paths.c:<br>
<br>
#if defined(HAVE_GETMNTENT)<br>
....<br>
#elif defined(HAVE_GETMNTINFO)<br>
....<br>
#else<br>
# error "How do I extract info about mounted filesystems on this platform?"<br>
#endif<br>
#<br>
<br>
HAVE_GETMNTINFO is for BSD systems, IIRC.<br>
<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​All right, I will look on this. Thanks. :-)</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">Cheers,</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">Jan​</div> </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jan Tulak<br></div><a href="mailto:jtulak@redhat.com" target="_blank">jtulak@redhat.com</a> / <a href="mailto:jan@tulak.me" target="_blank">jan@tulak.me</a></div></div></div></div>
</div></div>