Re: regex question....

2010-12-05 Thread RW
On Sat, 4 Dec 2010 20:32:57 -0800 Gary Kline wrote: > On Sat, Dec 04, 2010 at 06:49:45PM -0800, xSAPPYx wrote: > > Also, the + operator means '1 or more' but needs escaped: > > %s/[0-9]\+/foo/g > > > Okay. I thought that the + must be perl-only regex... . It's from "Extended" REs rath

Re: regex question....

2010-12-05 Thread Ian Smith
In freebsd-questions Digest, Vol 339, Issue 11, Message: 30 On Sat, 4 Dec 2010 18:23:08 -0800 Gary Kline wrote: > On Sat, Dec 04, 2010 at 05:56:59PM -0800, per...@pluto.rain.com wrote: > > Joshua Gimer wrote: > > > > > On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > > > > I have tried

Re: regex question....

2010-12-05 Thread Gary Kline
On Sun, Dec 05, 2010 at 07:56:30PM +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 339, Issue 11, Message: 30 > On Sat, 4 Dec 2010 18:23:08 -0800 Gary Kline wrote: > > On Sat, Dec 04, 2010 at 05:56:59PM -0800, per...@pluto.rain.com wrote: > > > Joshua Gimer wrote: > > > > > > > On

Re: printer recommendations?

2010-12-05 Thread Da Rock
On 12/05/10 03:25, John Levine wrote: My printer is a sturdy old Lexmark Optra T610. CUPS has a driver, which does duplex, N-up, and so forth. Each toner cartridge is good for over 10K pages, so I buy one about every two years, and I can usually find one for $100, making the per page cost very

Re: printer recommendations?

2010-12-05 Thread Ian Smith
On 4 Dec 2010 17:25:34 - John Levine wrote: > >> My printer is a sturdy old Lexmark Optra T610. CUPS has a driver, > >> which does duplex, N-up, and so forth. Each toner cartridge is good > >> for over 10K pages, so I buy one about every two years, and I can > >> usually find one for $10

Re: gpt zfs booting - loader takes 25s

2010-12-05 Thread Bruce Cran
On Tue, 30 Nov 2010 17:08:03 -0800 mer...@stonehenge.com (Randal L. Schwartz) wrote: > I imagine something high-up in the kernel is asking the ZFS for the > first block of a file, and only at that point does all the paperwork > processing for consistency check come into play, so there are no > mes

Re: portupgrade causes kernel message: maxproc limit exceeded by uid 0

2010-12-05 Thread Lowell Gilbert
Yuri writes: > Beginning at some time less than 1 month ago I started getting such > message. Increasing maxproc doesn't help. Current values are like > this: > kern.maxproc: 6164 > kern.maxprocperuid: 5547 > > What may be causing such condition? limits(1), perhaps? _

Re: regex question....

2010-12-05 Thread Randal L. Schwartz
> "Joshua" == Joshua Gimer writes: Joshua> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: >> I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g Joshua> Why not just %s/[0-9]*/foo/g Because that would turn a line of "fred" into "foofred". :) -- Randal L. Schwartz - Stonehenge Consulting Servic

Re: regex question....

2010-12-05 Thread Randal L. Schwartz
> "Gary" == Gary Kline writes: Gary> %s/[1-0][0-9]*/foo/g Except 1-0 is an empty set. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://meth

Need to compile kernel for 2 or more processors?

2010-12-05 Thread Jorge Biquez
Hello all. I hope this question does not sound so stupid. I am sorry in advance. I am doing my guideline of the activities I need to do to change an old 2 processors INtel 386 machine with 1GB of ram and 30GB of hard disk. The machine is working fine but after more than 10 years of working wi

Re: Need to compile kernel for 2 or more processors?

2010-12-05 Thread Chris Brennan
On Sun, Dec 5, 2010 at 12:39 PM, Jorge Biquez wrote: > Hello all. > > I hope this question does not sound so stupid. I am sorry in advance. > > I am doing my guideline of the activities I need to do to change an old 2 > processors INtel 386 machine with 1GB of ram and 30GB of hard disk. The > mach

can't mount root during freebsd-update 7.0 -> 8.1 on amd64

2010-12-05 Thread joost
Hi I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with freebsd-update. After the first reboot the 8.1R GENERIC kernel loads (I'm using a custom kernel, so at this point the generic kernel is loaded manually) It then claims it can't mount / One thing that's odd is that instead o

Re: regex question....

2010-12-05 Thread Chip Camden
Quoth Polytropon on Sunday, 05 December 2010: > > > > PS: See, this is why I keep cheatsheets. ;) > > That's the fat green book on my shelf. :-) > For regex reference, I find this site helpful: http://www.regular-expressions.info/reference.html ... especially regarding differences betwee

Re: regex question....

2010-12-05 Thread Chip Camden
Quoth RW on Sunday, 05 December 2010: > On Sat, 4 Dec 2010 20:32:57 -0800 > Gary Kline wrote: > > > On Sat, Dec 04, 2010 at 06:49:45PM -0800, xSAPPYx wrote: > > > > Also, the + operator means '1 or more' but needs escaped: > > > %s/[0-9]\+/foo/g > > > > > > Okay. I thought that the + must

Any work to update the RealTek Drivers?

2010-12-05 Thread Dennis Glatting
Is there any work going on with the RealTek drivers? The RealTek devices I am using support a 9k MTU but the code limits the MTU to the default. Over gigabit, a larger MTU is desirable. Specifically, on one of several machines I am using: re0: port 0xde00-0xdeff mem 0xfbcff000-0xfbcf,0xf

Re: can't mount root during freebsd-update 7.0 -> 8.1 on amd64

2010-12-05 Thread David DEMELIER
2010/12/5 : > Hi > > I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with > freebsd-update. After the first reboot the 8.1R GENERIC kernel loads (I'm > using a custom kernel, so at this point the generic kernel is loaded > manually) > It then claims it can't mount / > > One thing

Re: regex question....

2010-12-05 Thread Gary Kline
On Sun, Dec 05, 2010 at 09:37:58AM -0800, Randal L. Schwartz wrote: > > "Gary" == Gary Kline writes: > > Gary> %s/[1-0][0-9]*/foo/g > > Except 1-0 is an empty set. :) > Ya, sure, you-betcha! I really did mean a '9'there. For some reason, what I'm thinking sometime

Re: regex question....

2010-12-05 Thread Gary Kline
On Sun, Dec 05, 2010 at 10:11:34AM -0800, Chip Camden wrote: > Quoth Polytropon on Sunday, 05 December 2010: > > > > > > > PS: See, this is why I keep cheatsheets. ;) > > > > That's the fat green book on my shelf. :-) > > > > For regex reference, I find this site helpful: > http://www.regul

syslogd not writing to file?

2010-12-05 Thread Kaya Saman
Hi, I've got a weird problem that might be a bug with the 64bit RELEASE edition of FreeBSD 8.0. The issue is this: I provisioned 2 servers on two separate networks; one a 32bit system and the other a 64bit in order to log information coming from Cisco network equipment. The 32bit build work

ZFS

2010-12-05 Thread Gabor Illo
Hello List! I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror But i don't know 2.2 point. (Install FreeBSD to zroot) Fixit# cd /dist/8.0-* no such directory Fixit# cd /dist/8.1-* no such directory thx _

Re: ZFS

2010-12-05 Thread Randal L. Schwartz
> "Gabor" == Gabor Illo writes: Gabor> Hello List! Gabor> I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. Gabor> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror Gabor> But i don't know 2.2 point. (Install FreeBSD to zroot) Gabor> Fixit# cd /dist/8.0-* no such

Re: ZFS

2010-12-05 Thread Elias Chrysocheris
On Monday 06 of December 2010 00:33:48 Gabor Illo wrote: > Hello List! > > I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror > > But i don't know 2.2 point. (Install FreeBSD to zroot) > > Fixit# cd /dist/8.0-* no such

Re: ZFS

2010-12-05 Thread Elias Chrysocheris
On Monday 06 of December 2010 00:33:48 Gabor Illo wrote: > Hello List! > > I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror > > But i don't know 2.2 point. (Install FreeBSD to zroot) > > Fixit# cd /dist/8.0-* no such

Re: can't mount root during freebsd-update 7.0 -> 8.1 on amd64

2010-12-05 Thread perryh
David DEMELIER wrote: > Here : http://ivoras.sharanet.org/freebsd/freebsd8.html > > GEOM_PART becomes the default slicer > > Status: Committed to -CURRENT > Will appear in 8.0: sure > Author: Marcel Moolenaar & others > Web: commit message > > GEOM_PART (gpart) is a new GEOM partition class (slic

Re: regex question....

2010-12-05 Thread Wayne Sierke
On Sun, 2010-12-05 at 10:19 -0800, Chip Camden wrote: > Quoth RW on Sunday, 05 December 2010: > > On Sat, 4 Dec 2010 20:32:57 -0800 > > Gary Kline wrote: > > > > > On Sat, Dec 04, 2010 at 06:49:45PM -0800, xSAPPYx wrote: > > > > > > Also, the + operator means '1 or more' but needs escaped: > > >

Can a home LAN server use a jail as a router?

2010-12-05 Thread Xn Nooby
Hello. Is it possible to use FreeBSD to create three "jails" on one box, so that one jail can be a router to the internet, and the other two can be webservers? I wanted to create an environment where if one webserver got compromised, the other webserver would be unaffected. I have old hardware, s

Re: Can a home LAN server use a jail as a router?

2010-12-05 Thread Da Rock
On 12/06/10 12:29, Xn Nooby wrote: Hello. Is it possible to use FreeBSD to create three "jails" on one box, so that one jail can be a router to the internet, and the other two can be webservers? I wanted to create an environment where if one webserver got compromised, the other webserver would

-- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x

2010-12-05 Thread Steven Friedrich
Build of kdebase4-workspace claims: -- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x I have the xmms port installed and I rebuilt kdelibs. Why won't it see it? -- System Name: laptop2.StevenFriedrich.org Hardware:2.80GHz Intel Pentium 4 (HTT) with

Re: -- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x

2010-12-05 Thread Chris Brennan
On Sun, Dec 5, 2010 at 11:46 PM, Steven Friedrich wrote: > Build of kdebase4-workspace claims: > > -- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x > > I have the xmms port installed and I rebuilt kdelibs. > > Why won't it see it? > > > xmms or xmms2? IIRC, xmms was disc

Re: Need to compile kernel for 2 or more processors?

2010-12-05 Thread ill...@gmail.com
On 5 December 2010 12:39, Jorge Biquez wrote: > Hello all. Hello. > > I hope this question does not sound so stupid. I am sorry in advance. > Well, that's life. > >  I guess that actually we do not have to change the kernel so all processors > can be seen? Am I right ? http://svn.freebsd.org

Re: how to trace /dev/gpt/label to adaX to conroller?

2010-12-05 Thread ill...@gmail.com
On 8 November 2010 12:19, Peter wrote: > iH, >  Is there any easy straight forward way to trace my /dev/gpt/data.zfs > disk to what ada device it is, and on what controller? > > I've traced it manually by doing a gpart list adaX |grep data.zfs on each > adaX device, then somehow I found out what c

Qmail installation

2010-12-05 Thread Basil Kurian
I installed Qmail according to this tutorial http://www.unixmexico.org/files/html/qmail-how-to/qmail-how-to.html . It was succesful. Now I would like to install the rest of the related application like vqadmin, vpopmail, courier IMAP etc. Please give me a link to some good 'how to' or tutorail. -

Re: can't mount root during freebsd-update 7.0 -> 8.1 on amd64

2010-12-05 Thread perryh
"Andrey V. Elsukov" wrote: > >> NOTE: Some old utilities like bsdlabel may not work if the > >> kernel doesn't include GEOM_BSD and other old slicer classes. > >> In other words, bsdlabel et al don't work with GEOM_PART. > > > > Does this mean that, in 8.1-RELEASE, bsdlabel/disklabel will > > not

Re: can't mount root during freebsd-update 7.0 -> 8.1 on amd64

2010-12-05 Thread Andrey V. Elsukov
On 06.12.2010 10:22, per...@pluto.rain.com wrote: > Thanks, that's what I had hoped (but had noticed a few things lately > that had me wondering whether they might perhaps not be working > entirely _correctly_ -- I need to do some more experimentation). > > The next question then is, when _does_ t

Archiving directories / zip format

2010-12-05 Thread Zbigniew Szalbot
Dear all, >From time to time I want to archive a quite a few directories to download them conveniently. I have been using tar to do it, endingin up with a tar.gz file. But the problem with it is that I do not have a unix machine at home so if I want to extract something or unpack the content, ther

Re: Archiving directories / zip format

2010-12-05 Thread Polytropon
On Mon, 6 Dec 2010 08:17:17 +0100, Zbigniew Szalbot wrote: > Dear all, > > From time to time I want to archive a quite a few directories to > download them conveniently. I have been using tar to do it, endingin > up with a tar.gz file. But the problem with it is that I do not have a > unix machin