Re: disklabel differences FreeBSD, DragonFly

2006-07-29 Thread Andreas Klemm
On Fri, Jul 28, 2006 at 03:36:27PM -0700, Matthew Dillon wrote: > :On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: > :> On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: > : > :Hmm, for the sake of compatibility, wouldn't it have been an option, > :to add this extra

Re: disklabel differences FreeBSD, DragonFly

2006-07-29 Thread Dmitry Marakasov
* Matthew Dillon ([EMAIL PROTECTED]) wrote: > felt that 8 partitions is restrictive. My main home server has 10 > and the main DragonFly box has 11. > > There is another solution for FreeBSD folks, however. You *DO* have > four slices to play with. You can put a disklabel wit

i386 page fault clobbers error code in trap frame

2006-07-29 Thread Tijl Coosemans
I'm refering to the following two lines in sys/i386/i386/trap.c /* kludge to pass faulting virtual address to sendsig */ frame->tf_err = eva; Isn't there some other way to do this? Wouldn't the address still be available in %cr2 inside sendsig? Or could there have been other page faults by then

Re: i386 page fault clobbers error code in trap frame

2006-07-29 Thread Kip Macy
Looking at siginfo it isn't clear that there is a "right way" to provide SIGSEGV, eva, and the error code. _fault._trapno should contain the machine's error code and si_signo should contain SIGSEGV, and si_addr contains the faulting pc. Maybe one could abuse si_code to contain eva. Sorry for ask

Re: [PATCH] adding two new options to 'cp'

2006-07-29 Thread Tim Kientzle
Eric Anderson wrote: So, you can mimic an entire tree with something like: cp -al /from/ /to/ pax -rwl -pe /from /to is almost what you want. (It requires that /to exist first, though.) If you want to match the 'cp' semantics when /to does not exist, you can use pax's rewrite option: pax

Re: fdescfs functional in 6.1?

2006-07-29 Thread Dan Nelson
In the last episode (Jul 28), Jaye Mathisen said: > On Fri, Jul 28, 2006 at 11:18:48PM -0500, Dan Nelson wrote: > > In the last episode (Jul 28), Jaye Mathisen said: > > > s2# mount -t fdescfs fdescfs /dev/fd > > > s2# ls -l /dev/fd > > > total 16 > > > crw--w 1 root tty 5, 1 Ju

Re: fdescfs functional in 6.1?

2006-07-29 Thread Rick C. Petty
On Fri, Jul 28, 2006 at 11:16:53PM -0700, Jaye Mathisen wrote: > I guess I just expected it to print all character device entries for the > file descriptors open by my process. It did-- well it printed all the file descriptors open by your process, which in this case was "ls". 0, 1, and 2 are std

Re: disklabel differences FreeBSD, DragonFly

2006-07-29 Thread Matthew Dillon
: :* Matthew Dillon ([EMAIL PROTECTED]) wrote: : :> felt that 8 partitions is restrictive. My main home server has 10 :> and the main DragonFly box has 11. :> :> There is another solution for FreeBSD folks, however. You *DO* have :> four slices to play with. You can put a dis