Converting pointer to vm_offset_t
Hi all, Is there a way to convert a (char *) pointer (or in general any pointer) to a vm_offset_t type? I was thinking of sbuf_copyin, but I'm dealing with a process different from current in kernel. I want to copy the pointer to kernel space using a struct uio. Thanks in advance. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: GSoC:Complete Package support in the pkg_install tools and cleanup
On Wed, May 5, 2010 at 7:34 PM, Wesley Shields wrote: > On Tue, May 04, 2010 at 10:30:13AM -0700, Julien Laffaye wrote: >> On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton >> wrote: >> > >> > Hi Julien, >> > >> > Glad you got onto the GSoC programme. I'm curious, what benefit is a >> > complete package over many individual ones? >> >> Hi Andrew, >> >> If you cant or dont want to use the remote feature of of pkg_add (ex. >> your packages are built with non default options and you think its >> overkill to setup a server to distribute them) then you make a >> complete package. You only have to copy one file (say on an usb >> device), which is less error prone than 150 files. >> The global idea is to write a meta port which depends on the desired >> ports, type `make complete-package`, copy the output file on the >> machine to bootstrap, pkg_add /path/to/complete-pkg and voila! > > Do you intend to add the "complete-package" target also or is that out > of scope? > Yes, it is scheduled to add the ability to build complete packages from the ports tree. The name of the target is not yet endorsed but I think that "complete-package" is pretty straight forward. Regards, Julien ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: GSoC:Complete Package support in the pkg_install tools and cleanup
On Tue, May 04, 2010 at 10:30:13AM -0700, Julien Laffaye wrote: > On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton > wrote: > > > > Hi Julien, > > > > Glad you got onto the GSoC programme. I'm curious, what benefit is a > > complete package over many individual ones? > > Hi Andrew, > > If you cant or dont want to use the remote feature of of pkg_add (ex. > your packages are built with non default options and you think its > overkill to setup a server to distribute them) then you make a > complete package. You only have to copy one file (say on an usb > device), which is less error prone than 150 files. > The global idea is to write a meta port which depends on the desired > ports, type `make complete-package`, copy the output file on the > machine to bootstrap, pkg_add /path/to/complete-pkg and voila! Do you intend to add the "complete-package" target also or is that out of scope? -- WXS ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"