On Wed, May 15, 2019 at 10:02:51AM +1200, Thomas Munro wrote:
> 1.  As mentioned, you can't list 'em (unlike Linux, where you can just
> ls /dev/shm).  There's a TODO note, but it's not clear whether it's
> best to extend ipcs or create a new userspace tool, and it wasn't
> immediately clear to me how to feed the arbitrary sized results back
> to userspace.  I had a scheme worked out where you'd keep calling a
> sysctl repeatedly to collect the data until it was done, and it'd
> sometimes tell you you need a bigger buffer (because you probably have
> to drain at least a whole hash table bucket at a time), but an
> experienced FreeBSD hacker told me that was BS, and maybe what's
> needed is a device you read.  As well as the list-all-the-segments
> tool, you'd also want to be able to unlink to tidy up.

freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to