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

2010-04-22 Thread Gary Jennejohn
On Wed, 21 Apr 2010 20:57:59 +0200 "Julian H. Stacey" 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 > (so those who enable COMPAT_IA32 for ports/emulators, but disable > COMPAT_FREEBSD7

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

2010-04-22 Thread Julian H. Stacey
Hi, Reference: > From: Gary Jennejohn > Reply-to: gary.jennej...@freenet.de > Date: Thu, 22 Apr 2010 11:14:40 +0200 > Message-id: <20100422111440.69a01...@ernst.jennejohn.org> Gary Jennejohn wrote: > On Wed, 21 Apr 2010 20:57:59 +0200 > "Julian H. Stacey" wrote: > > >

Re: /etc in CVS

2010-04-22 Thread Dag-Erling Smørgrav
Sergey Babkin writes: > I wonder if a version control system, like SVN, could be used to keep > track of all the changes in /etc. (Or maybe it already is and I'm > simply out of date). arch is commonly used for things like this. DES -- Dag-Erling Smørgrav - d...@des.no _

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

2010-04-22 Thread Kostik Belousov
On Wed, Apr 21, 2010 at 08:57:59PM +0200, Julian H. Stacey 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 > (so those who enable COMPAT_IA32 for ports/emulators, but disable > COMPAT_FREEB

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

2010-04-22 Thread Julian H. Stacey
Hi Kostik, Kostik Belousov wrote: > On Wed, Apr 21, 2010 at 08:57:59PM +0200, Julian H. Stacey 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 > > (so those who enable COMPAT_IA32 f

Re: regenerating /var/db/pkg

2010-04-22 Thread Ruben de Groot
On Wed, Apr 21, 2010 at 10:43:37PM -0700, Doug Barton typed: > On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote: > > I acciddentally rm'ed my /var/db/pkg and want to know is it possible to > > rgenerate it (I have portmaster and portupgrade installed) > > Portmaster certainly can't do this, it uses

Re: regenerating /var/db/pkg

2010-04-22 Thread Eitan Adler
> > Just asking opinions, if people want this, I'll make a patch and > file a PR. > Is this script correct? #!/bin/sh # # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # # If there is a global system configuration file, suck it in. # if [ -

Re: regenerating /var/db/pkg

2010-04-22 Thread Diane Bruce
On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote: > I acciddentally rm'ed my /var/db/pkg and want to know is it possible to > rgenerate it (I have portmaster and portupgrade installed) You would have to write a script which went through each file in /usr/local/bin and /usr/local

Re: regenerating /var/db/pkg

2010-04-22 Thread Eitan Adler
> Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost, > your backup is gone, too. I took the backup location from one of the other periodic scripts. Where should it be backed up to then? ___ freebsd-hackers@freebsd.org mailing list h

Re: regenerating /var/db/pkg

2010-04-22 Thread Lars Engels
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? > > #!/bin/sh > # > # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 > 2009/10/25 01:10:29 kensm

Re: regenerating /var/db/pkg

2010-04-22 Thread Diane Bruce
On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote: > > Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost, > > your backup is gone, too. In your crontab MAILTO=... @weekly /usr/sbin/pkg_info -I -a Once a week is reasonable. - Diane -- - d...@freebsd.org

Re: regenerating /var/db/pkg

2010-04-22 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Apr 2010 15:21+0300, Eitan Adler wrote: > > Just asking opinions, if people want this, I'll make a patch and > > file a PR. > > Is this script correct? > > #!/bin/sh > # > # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2

Re: regenerating /var/db/pkg

2010-04-22 Thread Dan Rue
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 boxes. We'd like to have /var on a memory backed FS, but

Re: regenerating /var/db/pkg

2010-04-22 Thread Joerg Sonnenberger
On Thu, Apr 22, 2010 at 08:56:39AM -0500, Dan Rue wrote: > We're starting to use SSDs for boot drives in our freebsd boxes. We'd > like to have /var on a memory backed FS, but losing the package database > on every reboot is troublesome. Tried using a symlink from /var/db/pkg to /usr/local/.pkg

How to change vnode operations ?

2010-04-22 Thread Lukáš Czerner
Hi all, this may sound a little odd, since I have noticed that there is much work done to not allow such a thing ($SUBJ). But may be you can help me and point me to the right direction. I am writing a kernel module with somewhat similar functionality like nullfs has, BUT it has to have some featu

Re: /etc in CVS

2010-04-22 Thread Ulrich Spörlein
On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote: > Sergey Babkin writes: > > I wonder if a version control system, like SVN, could be used to keep > > track of all the changes in /etc. (Or maybe it already is and I'm > > simply out of date). > > arch is commonly used for things li

FreeBSD Status Report January-March, 2010

2010-04-22 Thread Daniel Gerzo
FreeBSD Quarterly Status Report Introduction This report covers FreeBSD related projects between January and March 2010. Being the first of the four reports planned for 2010 with 46 entries, it shows a good progress of the FreeBSD Project and proves that our committers are keeping up

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

2010-04-22 Thread Gary Jennejohn
On Thu, 22 Apr 2010 11:54:29 +0200 "Julian H. Stacey" wrote: > Hi, > Reference: > > From: Gary Jennejohn > > Reply-to: gary.jennej...@freenet.de > > Date: Thu, 22 Apr 2010 11:14:40 +0200 > > Message-id: <20100422111440.69a01...@ernst.jennejohn.org> > > Gary Jen

Re: regenerating /var/db/pkg

2010-04-22 Thread Eitan Adler
taking into account your feedback here is the new version If all is good I'll submit a PR #!/bin/sh # # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults

Re: regenerating /var/db/pkg

2010-04-22 Thread Doug Barton
On 4/22/2010 6:44 AM, Diane Bruce wrote: > On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote: >>> Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost, >>> your backup is gone, too. > > In your crontab > > MAILTO=... > @weekly /usr/sbin/pkg_info -I -a pkg_in

Re: regenerating /var/db/pkg

2010-04-22 Thread Doug Barton
On 4/22/2010 9:08 AM, Eitan Adler wrote: > taking into account your feedback here is the new version > If all is good I'll submit a PR > > #!/bin/sh > # > # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 > 2009/10/25 01:10:29 kensmith Exp $ > # > > # If there is a global s

Re: regenerating /var/db/pkg

2010-04-22 Thread Doug Barton
On 4/22/2010 9:54 AM, Doug Barton wrote: > Also, a better invocation might be: > db_loc=`pm_make -f/usr/share/mk/bsd.port.mk -V PKG_DBDIR 2>/dev/null` Make that just "/usr/bin/make" instead of pm_make, I should have looked more carefully at what I pasted. :) Doug -- ... and that's jus

Re: regenerating /var/db/pkg

2010-04-22 Thread Eitan Adler
Same as before - if all is good I'll send a PR #!/bin/sh # # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/perio

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

2010-04-22 Thread Ken Smith
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, > 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.) echo * That said you usually run

Re: regenerating /var/db/pkg

2010-04-22 Thread Diane Bruce
On Thu, Apr 22, 2010 at 09:48:37AM -0700, Doug Barton wrote: > On 4/22/2010 6:44 AM, Diane Bruce wrote: > > On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote: ... > > MAILTO=... > > @weekly /usr/sbin/pkg_info -I -a > > pkg_info -o -a would probably be more useful from the standp

Re: regenerating /var/db/pkg

2010-04-22 Thread Matthias Andree
Am 22.04.2010 14:49, schrieb Diane Bruce: > On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote: >> I acciddentally rm'ed my /var/db/pkg and want to know is it possible to >> rgenerate it (I have portmaster and portupgrade installed) > > > You would have to write a script which wen

Re: regenerating /var/db/pkg

2010-04-22 Thread ไพรัช ศรีโยธา
hi, have you tried pkgdb -u ? -- psr มะฃาม ฅินเดินดน มะไฟ ฅนเหลิงฟ้า http://makham.blogspot.com Quoting Diane Bruce : On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote: I acciddentally rm'ed my /var/db/pkg and want to know is it possible to rgenerate it (I have portmaster

Re: regenerating /var/db/pkg

2010-04-22 Thread b. f.
>Am 22.04.2010 14:49, schrieb Diane Bruce: >> On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote: >>> I acciddentally rm'ed my /var/db/pkg and want to know is it possible to >>> rgenerate it (I have portmaster and portupgrade installed) >> >> >> You would have to write a script which

RevLin OS: Help wanted

2010-04-22 Thread RevLin Software
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 and Javascript ) with native back ends, all running locally inside

Re: regenerating /var/db/pkg

2010-04-22 Thread b. f.
Doug Barton wrote: >On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote: >> I acciddentally rm'ed my /var/db/pkg and want to know is it possible to >> rgenerate it (I have portmaster and portupgrade installed) > >Portmaster certainly can't do this, it uses the information from >/var/db/pkg. I'm not sure

Re: How to change vnode operations ?

2010-04-22 Thread Gleb Kurtsou
On (22/04/2010 16:02), Lukáš Czerner wrote: > Hi all, > > this may sound a little odd, since I have noticed that there is much > work done to not allow such a thing ($SUBJ). But may be you can help > me and point me to the right direction. > > I am writing a kernel module with somewhat similar fu

Re: regenerating /var/db/pkg

2010-04-22 Thread Diane Bruce
On Thu, Apr 22, 2010 at 06:48:43PM +, b. f. wrote: > Doug Barton wrote: > >On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote: ... > find /usr/local -type f -print0 | xargs -0 pkg_which -v | fgrep '?' libchk would also be useful. ... > > But as Doug suggests, a full cleanup of PREFIX/LOCALBASE an

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

2010-04-22 Thread Steve Franks
> 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 old Untrue. Portupgrade deletes the old version of the port by default. Th

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

2010-04-22 Thread Dan Nelson
In the last episode (Apr 22), Steve Franks said: > > 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 > > Untrue. Portupgr

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

2010-04-22 Thread Dan Nelson
In the last episode (Apr 22), Dan Nelson said: > In the last episode (Apr 22), Steve Franks said: > > (such as myself) incorrectly pointing a port at libpng.5 instead of any > > libpng, or libpng >= 5. Once the ports tree is 'poisoned' in this > > fashion, there's really no going back. I'd sure v

Error checking in ioctl(2)?

2010-04-22 Thread Garrett Cooper
Hi hackers, I realize that this isn't 100% userland code, so the checks should be minimalized, but when looking at the ioctl(2) syscall code (at least I think it is... there's another dupe hanging around in sys/dev/hptmv/ioctl.c), I had some questions related to the error handling not being don

RE: Error checking in ioctl(2)?

2010-04-22 Thread Matthew Fleming
> Hi hackers, > I realize that this isn't 100% userland code, so the checks should > be minimalized, but when looking at the ioctl(2) syscall code (at > least I think it is... there's another dupe hanging around in > sys/dev/hptmv/ioctl.c), I had some questions related to the error > handling n

Re: Error checking in ioctl(2)?

2010-04-22 Thread Garrett Cooper
On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming wrote: >> Hi hackers, >>     I realize that this isn't 100% userland code, so the checks should >> be minimalized, but when looking at the ioctl(2) syscall code (at >> least I think it is... there's another dupe hanging around in >> sys/dev/hptmv/io

Re: Error checking in ioctl(2)?

2010-04-22 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010/04/22 17:45, Garrett Cooper wrote: > On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming > wrote: >>> Hi hackers, >>> I realize that this isn't 100% userland code, so the checks should >>> be minimalized, but when looking at the ioctl(2) sysc

Re: Error checking in ioctl(2)?

2010-04-22 Thread Garrett Cooper
On Thu, Apr 22, 2010 at 5:51 PM, Xin LI wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2010/04/22 17:45, Garrett Cooper wrote: >> On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming >> wrote: Hi hackers,     I realize that this isn't 100% userland code, so the checks shoul

Re: /etc in CVS

2010-04-22 Thread Ulrich Spörlein
On Thu, 22.04.2010 at 12:10:50 -0400, Mike Meyer wrote: > On Thu, 22 Apr 2010 16:41:27 +0200 > Ulrich Spörlein wrote: > > > On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote: > > > Sergey Babkin writes: > > > > I wonder if a version control system, like SVN, could be used to keep >

Re: How to change vnode operations ?

2010-04-22 Thread Lukáš Czerner
On Thu, 22 Apr 2010, Gleb Kurtsou wrote: > Date: Thu, 22 Apr 2010 22:18:49 +0300 > From: Gleb Kurtsou > To: Lukáš Czerner > Cc: freebsd-hackers@freebsd.org > Subject: Re: How to change vnode operations ? > > On (22/04/2010 16:02), Lukáš Czerner wrote: > > Hi all, > > > > this may sound a littl

Re: /etc in CVS

2010-04-22 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 (