Re: CVS commit: src/sys/dev

2010-11-23 Thread Mindaugas Rasiukevicius
Hello, "Juergen Hannken-Illjes" wrote: > Module Name: src > Committed By: hannken > Date: Tue Nov 23 09:30:43 UTC 2010 > > Modified Files: > src/sys/dev: md.c > > Log Message: > Make md(4) mp-safe. > > > To generate a diff of this commit: > cvs rdiff -u -r1.64 -r1.65 src/sys/de

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Holland
On Tue, Nov 23, 2010 at 08:50:54PM +0200, Antti Kantee wrote: > > > > Surely it would be more appropriate to make thye rump kernel directly > > > > forward some paths to the real kernel? > > > > > > Can you explain how that could work? > > > > First thoughts are something like the way /../

Re: CVS commit: src/sys/kern

2010-11-23 Thread Mindaugas Rasiukevicius
Hello, Sorry for late reply. y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: > >>> > >>> how about the attached patch? > >> > >> Consider offset = (INT64_MAX - PAGE_SIZE) and len = PAGE_SIZE. That > >> would still panic.. > > > > heh, right. > > > > then, how about: > > if (round_page(o

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Holland
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > (on a slight tangent, wasn't getting rid of /usr vs. / on the roadmap?) No. -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/bin/dd

2010-11-23 Thread Antti Kantee
On Tue Nov 23 2010 at 18:41:21 +, David Laight wrote: > On Tue, Nov 23, 2010 at 12:19:36AM +0200, Antti Kantee wrote: > > > > > > Surely it would be more appropriate to make thye rump kernel directly > > > forward some paths to the real kernel? > > > > Can you explain how that could work? >

Re: CVS commit: src/bin/dd

2010-11-23 Thread David Laight
On Tue, Nov 23, 2010 at 12:19:36AM +0200, Antti Kantee wrote: > > > > Surely it would be more appropriate to make thye rump kernel directly > > forward some paths to the real kernel? > > Can you explain how that could work? First thoughts are something like the way /../ is used to 'escape' from

Re: CVS commit: src/bin/dd

2010-11-23 Thread Bernd Ernesti
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > On Tue Nov 23 2010 at 12:28:48 +, Matthias Scheler wrote: > > On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > > > Module Name: src > > > Committed By: pooka > > > Date: Mon Nov 22 21:04:28 UTC 2

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
On Tue, Nov 23, 2010 at 02:42:04PM +0200, Antti Kantee wrote: > (on a slight tangent, wasn't getting rid of /usr vs. / on the roadmap?) I don't know that. I personally don't create "/usr" partitions on my NetBSD systems anymore. But they usually have hard disks with multiple gigabytes of storage s

Re: CVS commit: src/bin/dd

2010-11-23 Thread Antti Kantee
On Tue Nov 23 2010 at 12:28:48 +, Matthias Scheler wrote: > On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > > Module Name:src > > Committed By: pooka > > Date: Mon Nov 22 21:04:28 UTC 2010 > > > > Modified Files: > > src/bin/dd: Makefile args.c d

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
On Mon, Nov 22, 2010 at 09:04:28PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Mon Nov 22 21:04:28 UTC 2010 > > Modified Files: > src/bin/dd: Makefile args.c dd.c dd.h extern.h position.c > > Log Message: > Add two new operands: "rif" and "rof". The