Re: How to change vnode operations ?

2010-04-23 Thread Lukáš Czerner
On Thu, 22 Apr 2010, Gleb Kurtsou wrote: Date: Thu, 22 Apr 2010 22:18:49 +0300 From: Gleb Kurtsou gleb.kurt...@gmail.com To: Lukáš Czerner czerner.lu...@gmail.com Cc: freebsd-hackers@freebsd.org Subject: Re: How to change vnode operations ? On (22/04/2010 16:02), Lukáš Czerner wrote: Hi

Re: /etc in CVS

2010-04-23 Thread Matthew D. Fuller
On Thu, Apr 22, 2010 at 04:41:27PM +0200 I heard the voice of Ulrich Spörlein, and lo! it spake thus: I have a .hg directory sitting in / for every machine I usually take care of. hgignore is of course set to *, so only explicitly added files are tracked. I do pretty much the same thing

Keyboard scancodes

2010-04-23 Thread Michael Cardell Widerkrantz
I was recently given an original Happy Hacking Keyboard. As I sometimes work in the FreeBSD console, I wanted to have my usual console keymap adjusted to the new keyboard, but didn't know the scancode for the HHKB meta key (the diamond key). I couldn't find any program in base or ports that would

Re: How to change vnode operations ?

2010-04-23 Thread Gleb Kurtsou
On (23/04/2010 08:10), Lukáš Czerner wrote: On Thu, 22 Apr 2010, Gleb Kurtsou wrote: Date: Thu, 22 Apr 2010 22:18:49 +0300 From: Gleb Kurtsou gleb.kurt...@gmail.com To: Lukáš Czerner czerner.lu...@gmail.com Cc: freebsd-hackers@freebsd.org Subject: Re: How to change vnode operations ?

Re: Bug with fixit live 8.0 memstick.img running on F1 after MBR

2010-04-23 Thread Julian H. Stacey
Hi Ken, cc hackers@, re@ On Wed, 2010-04-21 at 21:09 +0200, Julian H. Stacey wrote: Hi hackers@, No replies in over 4 days to this, so this is a repost,=20 I've also added re@ as newish memstick.img might interest them ? (The live command prompt on F4 wasn't much use, no ls yet.)

Re: there is a way to avoid strict libraries linking?

2010-04-23 Thread Gary Jennejohn
On Thu, 22 Apr 2010 15:38:14 -0700 Steve Franks bahamasfra...@gmail.com wrote: It's much safer to just leave the libraries alone. __Just because you upgraded libpng doesn't mean that your old gtk binary will stop working (assuming you are using portupgrade or portmaster -w which preserves

Re: /sys/amd64/conf/GENERIC COMPAT_FREEBSD7 a prerequisite for COMPAT_IA32

2010-04-23 Thread Julian H. Stacey
Gary Jennejohn wrote: Julian H. Stacey j...@berklix.com wrote: Gary Jennejohn wrote: Julian H. Stacey j...@berklix.com wrote: Hi hack...@freebsd.org with amd64, but not with i386, /sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is an undocemneted pre-requisite for COMPAT_IA32

Re: /etc in CVS

2010-04-23 Thread John Baldwin
On Friday 23 April 2010 2:50:15 am Matthew D. Fuller wrote: On Thu, Apr 22, 2010 at 04:41:27PM +0200 I heard the voice of Ulrich Spörlein, and lo! it spake thus: I have a .hg directory sitting in / for every machine I usually take care of. hgignore is of course set to *, so only

libc NLS, NFS mounted /usr/local, DHCP, no default route causes hangs

2010-04-23 Thread Jilles Tjoelker
The changes to use NLS for strerror sometimes cause one of my virtual machines to deadlock. This virtual machine runs 9-CURRENT, acquires its IP address via DHCP (virtualbox host-only networking), has no default route and has /usr/local and /usr/home NFS mounted. When the DHCP lease expires such

regenerating /var/db/pkg

2010-04-23 Thread Robert Huff
Aryeh M. Friedman writes: I acciddentally rm'ed my /var/db/pkg and want to know is it possible to rgenerate it (I have portmaster and portupgrade installed) (I'm assuming you have _completely_ deleted the contents of /var/db/pkg.) If you have not deleted

Re: libc NLS, NFS mounted /usr/local, DHCP, no default route causes hangs

2010-04-23 Thread Jilles Tjoelker
On Fri, Apr 23, 2010 at 04:17:36PM +0200, Jilles Tjoelker wrote: The changes to use NLS for strerror sometimes cause one of my virtual machines to deadlock. This virtual machine runs 9-CURRENT, acquires its IP address via DHCP (virtualbox host-only networking), has no default route and has

Re: libc NLS, NFS mounted /usr/local, DHCP, no default route causes hangs

2010-04-23 Thread Joerg Sonnenberger
On Fri, Apr 23, 2010 at 04:40:36PM +0200, Jilles Tjoelker wrote: The patch: Index: lib/libc/nls/msgcat.c === --- lib/libc/nls/msgcat.c (revision 206760) +++ lib/libc/nls/msgcat.c (working copy) @@ -138,6 +138,9 @@

Re: c question

2010-04-23 Thread Eitan Adler
- use a matrix is faster than use a linked list? For what? For insertion and deletion no - linked list is faster. For sequential access they are the same speed (forgetting look-ahead caching). For random access matrix is faster. ___

Re: I want to participate in some FreeBSD project

2010-04-23 Thread Eitan Adler
Quoting Equixen- equi...@gmail.com (from Mon, 12 Apr 2010 12:05:12 +0530): Hello! I am a 3rd year B.Tech (Computer Science) student. I want to participate in some open source project during my summer vacations. I thought about going the Google summer of code way but due to limited

Re: RevLin OS: Help wanted

2010-04-23 Thread Andriy Gapon
on 22/04/2010 18:04 RevLin Software said the following: Hello All My name is Patrick Quinn I am currently part of a team working on a new operating system called RevLin OS. RevLin OS will use a new desktop environment called RaVe that is coded almost entirely in web language (Css html5

Re: c question

2010-04-23 Thread Joerg Sonnenberger
On Fri, Apr 23, 2010 at 06:18:46PM +0300, Eitan Adler wrote: - use a matrix is faster than use a linked list? For what? For insertion and deletion no - linked list is faster. For sequential access they are the same speed (forgetting look-ahead caching). For random access matrix is faster.

Re: c question

2010-04-23 Thread Pieter de Goeje
On Friday 23 April 2010 17:40:12 Joerg Sonnenberger wrote: On Fri, Apr 23, 2010 at 06:18:46PM +0300, Eitan Adler wrote: - use a matrix is faster than use a linked list? For what? For insertion and deletion no - linked list is faster. For sequential access they are the same speed

idle threads

2010-04-23 Thread Matthew Fleming
I'm looking at kern_idle.c in stable/7 and I don't quite follow how idle threads work. The kthread_create(9) call does not pass in a function pointer, so what code does a processor run when there is no other runnable thread? Thanks, matthew ___

Re: idle threads

2010-04-23 Thread Attilio Rao
2010/4/24 Matthew Fleming matthew.flem...@isilon.com: I'm looking at kern_idle.c in stable/7 and I don't quite follow how idle threads work.  The kthread_create(9) call does not pass in a function pointer, so what code does a processor run when there is no other runnable thread? In STABLE_7:

RE: idle threads

2010-04-23 Thread Matthew Fleming
then they rightly passes sched_idletd(). Any scheduler may define its own version of sched_idletd(). Oops, youre right, I was just unable to read at the end of the day on Friday. Thanks! matthew ___ freebsd-hackers@freebsd.org mailing list

What tty changes - question on porting ltmdm and hcfmdm to FreeBSD 8

2010-04-23 Thread Ted Mittelstaedt
Hi All, I have a pager monitoring system built on FreeBSD 6.4 that uses the ltmdm driver. (ltmdm is a controllerless winmodem) I was looking into updating to FreeBSD 8 and I see that ltmdm and hcfmdm are now both broken. hcfmdm broke on FreeBSD 7 but it is easily patched to build on

Re: regenerating /var/db/pkg

2010-04-23 Thread Wesley Shields
On Thu, Apr 22, 2010 at 08:56:39AM -0500, Dan Rue wrote: On Thu, Apr 22, 2010 at 03:21:16PM +0300, Eitan Adler wrote: Just asking opinions, if people want this, I'll make a patch and file a PR. Is this script correct? We're starting to use SSDs for boot drives in our freebsd