Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-27 Thread Konstantin Belousov
On Wed, Feb 27, 2013 at 07:08:35PM +0300, Sergey Kandaurov wrote: > I have put it on freefall for convenience. > http://people.freebsd.org/~pluknet/patches/getmntopts.2.patch Should the synopsis for getmntopts(3) use #include , instead of '"', as well as the example ? For the mntopts.h itself, I

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-27 Thread Sergey Kandaurov
On 26 February 2013 23:11, Craig Rodrigues wrote: > On Tue, Feb 26, 2013 at 3:39 AM, Sergey Kandaurov wrote: >> >> Hi. >> >> >> >> External mount-like utilities may also have difficulties with building >> to get getmntopts.c source as this requires /usr/src presence which is >> in sync with insta

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-27 Thread Sergey Kandaurov
On 26 February 2013 16:20, Konstantin Belousov wrote: > On Tue, Feb 26, 2013 at 02:39:26PM +0300, Sergey Kandaurov wrote: >> Hi. >> >> The functions from sbin/mount/getmntopts.c are used in a bunch of other >> stuff like mount_* utilities which have to suck them in as their own >> functions in qui

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Craig Rodrigues
On Tue, Feb 26, 2013 at 3:39 AM, Sergey Kandaurov wrote: > Hi. > > > External mount-like utilities may also have difficulties with building > to get getmntopts.c source as this requires /usr/src presence which is > in sync with installed world. Look how mount_fusefs from ports compiles: > # mount

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Alfred Perlstein
On 2/26/13 4:20 AM, Konstantin Belousov wrote: On Tue, Feb 26, 2013 at 02:39:26PM +0300, Sergey Kandaurov wrote: Hi. The functions from sbin/mount/getmntopts.c are used in a bunch of other stuff like mount_* utilities which have to suck them in as their own functions in quite a hackish way. get

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Konstantin Belousov
On Tue, Feb 26, 2013 at 02:39:26PM +0300, Sergey Kandaurov wrote: > Hi. > > The functions from sbin/mount/getmntopts.c are used in a bunch of other > stuff like mount_* utilities which have to suck them in as their own > functions in quite a hackish way. getmntopts.c copies are compiled in to > an

[patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Sergey Kandaurov
Hi. The functions from sbin/mount/getmntopts.c are used in a bunch of other stuff like mount_* utilities which have to suck them in as their own functions in quite a hackish way. getmntopts.c copies are compiled in to an every utility-consumer instead of being present in one place. Looks like get