Re:problem with date, dump or restore

2009-02-06 Thread Terry
Hi list, with freebsd 7.0, after a probably successful dump : #dump -0Lauf ./ad0s1f.dump /dev/ad0s1f DUMP: Date of this level 0 dump: Thu Feb 5 07:18:58 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump DUMP: mapping (Pass I)

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread Lokadamus
David Naylor wrote: Hi, My ISP is using a WinGate DNS but resolving host names often takes a long time. The problem is also present in Konqueror (3 4) and Firefox. Lastly: # cat /etc/resolve.conf nameserver 192.193.194.1 What is wrong, why is DN resolving taking such an abnormally long

Re: usage of swap file

2009-02-06 Thread Wojciech Puchar
my system sometimes need more memory and although there was 3.90 Gbyte swap, I saw that run out of memory when I see with top command. Why doesn't the machine use swap properly ? it does What do I have to do ? nothing Those are the most worthless responses I have ever seen. Instead of

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread Wojciech Puchar
Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT Firefox on Windows doesn't have this problem. it doesn't look like

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread David Naylor
On Friday 06 February 2009 10:37:00 Lokadamus wrote: David Naylor wrote: Hi, My ISP is using a WinGate DNS but resolving host names often takes a long time. The problem is also present in Konqueror (3 4) and Firefox. Lastly: # cat /etc/resolve.conf nameserver 192.193.194.1

Re: problem mounting dvd ISO

2009-02-06 Thread Michael Powell
cguan wrote: yes, I did. # kldstat -v | grep udf 42 0xc44bd000 7000 udf.ko 419 udf 51 0xc4498000 2000 udf_iconv.ko 423 udf_iconv # mount -t udf /dev/md0 ../iso_mount/w2k8-amd64 mount_udf: /dev/md0: Invalid argument # Is it possible the udf version is too new

Custom build fails

2009-02-06 Thread Matias Surdi
Hi, I'm building a custom freeBSD release and I'm getting the following error: -- Building an up-to-date make(1) -- /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created

Re: Multiple MAC on a single (physical) interface

2009-02-06 Thread Frédéric Perrin
Le Jeudi 5 à 10:05, Nikos Vassiliadis a écrit : Frédéric Perrin wrote: I need to be able to send and receive using several MAC addresses, as if I had several NIC (which I of course don't have). [...] Yes, you could use a netgraph bridge

Re: usage of swap file

2009-02-06 Thread Glen Barber
On Fri, Feb 6, 2009 at 3:47 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: my system sometimes need more memory and although there was 3.90 Gbyte swap, I saw that run out of memory when I see with top command. Why doesn't the machine use swap properly ? it does What do I have to

Re: Custom build fails

2009-02-06 Thread matt donovan
On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi matiassu...@gmail.com wrote: Hi, I'm building a custom freeBSD release and I'm getting the following error: -- Building an up-to-date make(1)

Re: Custom build fails

2009-02-06 Thread Matias Surdi
I'm currently running the following command: # Make the release cd /usr/src/release make release \ CHROOTDIR=/home/oms \ BUILDNAME=OpenMailServer \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_7 \ NODOC=YES \ NO_FLOPPIES=YES \ NOPORTS=YES \ RELEASENOUPDATE=YES \ MAKE_ISOS=YES \ WORLD_FLAGS=

lagg driver at 6.4 ?

2009-02-06 Thread Frank Bonnet
Hello Does the lagg driver ( ethernet bonding ) has been backported to the 6.4 release ? I have to setup a server with two giga-ethernet interfaces ( broadcomm ) and I would like to use them with LACP with a Cisco switch Thank you ___

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread Lokadamus
David Naylor wrote: I don't quite understand your question. See below for the network topology: ISP (host WinGate DNS, only proxy and socks connections allowed out) | | Wireless connection to my gateway | Server (My gateway, running bind9 for internet domain and DNS caching, FreeBSD 7.1p2)

Re: Flash9and FreeBSD7.0isssue

2009-02-06 Thread eculp
Quoting Da Rock rock_on_the_...@comcen.com.au: On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0 I installed FreeBSD7.0 with Linux compatibility so the first step (1.3 ) I

Re: Flash9and FreeBSD7.0isssue

2009-02-06 Thread eculp
Quoting Da Rock rock_on_the_...@comcen.com.au: On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0 I installed FreeBSD7.0 with Linux compatibility so the first step (1.3 ) I

Re: having trouble with OpenOffice

2009-02-06 Thread Andrew Falanga
On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More amvandem...@gmail.comwrote: af300...@gmail.com wrote: Hi, Tonight I finally took the bull by the horns and got OpenOffice installed. However, I'm not having a problem that I haven't found an answer to yet but seems to be related to the X

Re: having trouble with OpenOffice

2009-02-06 Thread Andrew Falanga
On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More amvandem...@gmail.comwrote: af300...@gmail.com wrote: Hi, Tonight I finally took the bull by the horns and got OpenOffice installed. However, I'm not having a problem that I haven't found an answer to yet but seems to be related to the X

Re: is there any way to increase disk performance ?

2009-02-06 Thread Yavuz
I increased values of vfs.read_max and MAXPHYS. I observe the disk's performance. New these values help disk performance clearly. Thanks. Yavuz wrote: I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. it's running mail server which has services like pop3,imap,smtp and webmail on

Re: Flash9and FreeBSD7.0isssue

2009-02-06 Thread Da Rock
On Fri, 2009-02-06 at 07:50 -0600, ec...@casasponti.net wrote: Quoting Da Rock rock_on_the_...@comcen.com.au: On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread Bc. Radek Krejca
Hi, I have similar problem, 3 servers in the same switch, the same configuration, but sending of e-mail from php takes very long time, but only on 2 servers with 7.1 amd64. On 6.2 (the same ip range, the same dns resolver, the same version of php, the same switch) no problem. Where

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread David Naylor
On Friday 06 February 2009 13:47:47 Lokadamus wrote: David Naylor wrote: I don't quite understand your question. See below for the network topology: ISP (host WinGate DNS, only proxy and socks connections allowed out) | Wireless connection to my gateway Server (My gateway,

Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Da Rock
On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0 I installed FreeBSD7.0 with Linux compatibility so the first step (1.3 ) I skipped second step I

Re: Slow DNS (and host: connection timed out)

2009-02-06 Thread David Naylor
On Friday 06 February 2009 11:37:31 Wojciech Puchar wrote: Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT

Re: Multiple MAC on a single (physical) interface

2009-02-06 Thread Nikos Vassiliadis
Frédéric Perrin wrote: Le Jeudi 5 à 10:05, Nikos Vassiliadis a écrit : Frédéric Perrin wrote: I need to be able to send and receive using several MAC addresses, as if I had several NIC (which I of course don't have). [...] Yes, you could

Re: Link UP/DOWN problem with re0 on FreeBSD 7.1

2009-02-06 Thread FreeBSD
Graeme Dargie a écrit : -Original Message- From: FreeBSD [mailto:free...@optiksecurite.com] Sent: 04 February 2009 21:55 Cc: freebsd-questions@freebsd.org Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 FreeBSD a écrit : Graeme Dargie a écrit : If you do a dmesg are you

Re: OT: SVN checkout checksumming

2009-02-06 Thread cpghost
On Thu, Feb 05, 2009 at 01:37:26AM +0200, Giorgos Keramidas wrote: On Wed, 04 Feb 2009 10:20:25 -0500, FreeBSD free...@optiksecurite.com wrote: Hi everyone, I have asked this question on the svnforum.org and didn't got a good answer, so I try it here. I want to use SVN to automate the

Re: Screen problem on booting

2009-02-06 Thread Fernando Apesteguía
On Wed, Feb 4, 2009 at 8:23 AM, Fernando Apesteguía fernando.apesteg...@gmail.com wrote: On 2/3/09, Chris Whitehouse cwhi...@onetel.com wrote: Fernando Apesteguía wrote: On 2/2/09, Chris Whitehouse cwhi...@onetel.com wrote: Fernando Apesteguía wrote: Hi all, I'm using

Re: OT: SVN checkout checksumming

2009-02-06 Thread Giorgos Keramidas
On Fri, 6 Feb 2009 17:58:00 +0100, cpghost cpgh...@cordula.ws wrote: Let's assume for a moment that you install a post-commit hook that generates a SHA-256 checksum of all the files in the latest repo revision on the svn server. For the sake of simplicity, let's assume that this file is a

Sendmail to Relay different domains to different hosts

2009-02-06 Thread Greg.Stark
I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our servers. These servers relay messages to both internal recipients and external customers. I need to be able to relay mail destined to our internal domain recipients to our corporate mail servers but relay everything else

/var grows, apache open file, which file?

2009-02-06 Thread Gelsema, P (Patrick) - FreeBSD
Hi List, I noticed that my var slice is getting eaten by apache. The amount of free space is getting less and less per day. So I started to investigate. I did the following; # fstat -u www | grep var | more www httpd 970429 /var 74653 -rw--- 176907484 w www httpd

Re: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Giorgos Keramidas
On Fri, 6 Feb 2009 13:15:02 -0500, greg.st...@sungard.com wrote: I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our servers. These servers relay messages to both internal recipients and external customers. I need to be able to relay mail destined to our internal

Re: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Dan Nelson
In the last episode (Feb 06), greg.st...@sungard.com said: I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our servers. These servers relay messages to both internal recipients and external customers. I need to be able to relay mail destined to our internal domain

Re: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Steve Bertrand
greg.st...@sungard.com wrote: I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our servers. These servers relay messages to both internal recipients and external customers. I need to be able to relay mail destined to our internal domain recipients to our corporate mail

Re: /var grows, apache open file, which file?

2009-02-06 Thread Dan Nelson
In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: I noticed that my var slice is getting eaten by apache. The amount of free space is getting less and less per day. So I started to investigate. I did the following; # fstat -u www | grep var | more www httpd

RE: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Greg.Stark
Great! I will give this a try. If I put a single entry into the mailertable for the corporate domain would everything else default to the smarthost defined in sendmail.cf? Thanks, Greg -Original Message- From: Steve Bertrand [mailto:st...@ibctech.ca] Sent: Friday, February 06,

Re: OT: SVN checkout checksumming

2009-02-06 Thread cpghost
On Fri, Feb 06, 2009 at 07:14:14PM +0200, Giorgos Keramidas wrote: On Fri, 6 Feb 2009 17:58:00 +0100, cpghost cpgh...@cordula.ws wrote: Let's assume for a moment that you install a post-commit hook that generates a SHA-256 checksum of all the files in the latest repo revision on the svn

differences of disk usage between du and quota binaries

2009-02-06 Thread Nicolas Letellier
Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder 633Mfolder But, when I print disk usage with quota -u user, I have: isk quotas for user user (uid 2002): Filesystem usage quota limit grace

lpr fixed, but the wrong-way... [?]

2009-02-06 Thread Gary Kline
i hope somebody can clue me in one why %lpr file did work less than 3 weeks ago, but stopped last night. i had no idea why. i have apsfilter set up and found (in /var/spool/lpd/aps1) in -rw-r--r-- 1 root daemon 13030 Feb 6 10:54 log

Re: /var grows, apache open file, which file?

2009-02-06 Thread Gelsema, P (Patrick) - FreeBSD
On Fri, February 6, 2009 20:05, Dan Nelson wrote: In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: I noticed that my var slice is getting eaten by apache. The amount of free space is getting less and less per day. So I started to investigate. I did the following; # fstat

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread Glen Barber
On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder 633Mfolder But, when I print disk usage with quota -u user, I have: isk

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread Glen Barber
On Fri, Feb 6, 2009 at 2:33 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder

Re: /var grows, apache open file, which file?

2009-02-06 Thread Neal Hogan
On Fri, Feb 6, 2009 at 1:27 PM, Gelsema, P (Patrick) - FreeBSD free...@superhero.nl wrote: On Fri, February 6, 2009 20:05, Dan Nelson wrote: In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: I noticed that my var slice is getting eaten by apache. The amount of free

disk recovery problem(s)

2009-02-06 Thread Robert Huff
Had a power outage recently; when trying to fsck several external hard drives I'm getting unexpected errors. For example: huff@ fsck /dev/da3a ** /dev/da3a ** Last Mounted on /backup ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ROOT INODE UNALLOCATED ALLOCATE?

simple printer setup

2009-02-06 Thread Pieter Donche
FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files)

RE: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Greg.Stark
Just did some testing. A single entry for the corporate domain as described below and the smarthost set for everything else seems to work. Thanks very much everyone! Greg -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On

Re: OT: SVN checkout checksumming

2009-02-06 Thread Giorgos Keramidas
On Fri, 6 Feb 2009 20:11:57 +0100, cpghost cpgh...@cordula.ws wrote: On Fri, Feb 06, 2009 at 07:14:14PM +0200, Giorgos Keramidas wrote: On Fri, 6 Feb 2009 17:58:00 +0100, cpghost cpgh...@cordula.ws wrote: Let's assume for a moment that you install a post-commit hook that generates a SHA-256

Re: Flash9and FreeBSD7.0isssue

2009-02-06 Thread eculp
Quoting Da Rock rock_on_the_...@comcen.com.au: On Fri, 2009-02-06 at 07:50 -0600, ec...@casasponti.net wrote: Quoting Da Rock rock_on_the_...@comcen.com.au: On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To

Re: lpr fixed, but the wrong-way... [?]

2009-02-06 Thread David Kelly
On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? % grep -l libgs /var/db/pkg/*/+CONTENTS -- David Kelly

Re: Sendmail to Relay different domains to different hosts

2009-02-06 Thread Giorgos Keramidas
On Fri, 6 Feb 2009 14:09:49 -0500, greg.st...@sungard.com wrote: Great! I will give this a try. If I put a single entry into the mailertable for the corporate domain would everything else default to the smarthost defined in sendmail.cf? Yes. If you want *everything* to be handled through

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread RW
On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: .. Why this difference? (633M against 648264) Try dividing 648264 by 1024.

Re: disk recovery problem(s)

2009-02-06 Thread Roland Smith
On Fri, Feb 06, 2009 at 02:48:41PM -0500, Robert Huff wrote: Had a power outage recently; when trying to fsck several external hard drives I'm getting unexpected errors. For example: huff@ fsck /dev/da3a ** /dev/da3a ** Last Mounted on /backup ** Phase 1 - Check Blocks and

Re: simple printer setup

2009-02-06 Thread Roland Smith
On Fri, Feb 06, 2009 at 08:50:46PM +0100, Pieter Donche wrote: FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files

lpr fixed, but the wrong-way... [?]

2009-02-06 Thread bf
it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? It is from one of the ghostscript ports, as you might expect when using postscript for printing. It probably failed because one of the libraries was corrupted, or someone

Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Jan Henrik Sylvester
dhaneshk k wrote: I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0 In contrast to the other replies, I have flash9 running with linux_base-fc-4_14 using compat.linux.osrelease=2.4.2 in a native firefox3 (not the linux version). It runs

installkernel on small disk

2009-02-06 Thread Albert Shih
Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. -- Albert

Re: xdm doesn't run as daemon

2009-02-06 Thread Roger Olofsson
Anton Shterenlikht skrev: After upgrades of 23-24 Jan 2009 xdm is not working: # xdm # ps ax|grep xdm 75632 p1 S+ 0:00.01 grep xdm # cat /var/log/xdm.log # So no xdm daemon. My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1. Any ideas?

Gtk and GLib documentation in DevHelp

2009-02-06 Thread Fernando Apesteguía
Hi all, I have Devhelp 0.19.1 installed on my system (7.1-RELEASE-p2). There are a lot of API references, but not the glib or gtk ones. I've installed glib20-reference and gtk20-reference packages, but those provide the HTML reference you can find in the proper sites. Where can I find the glib

Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Warren Block
On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote: The procedure: Get firefox3, flash9, and nspluginwrapper up to date, Likewise. That's FreeBSD 7.1 or later, native Firefox 3, linux_base-fc4, linux-flashplugin9, and nspluginwrapper. remove everything with nspluginwrapper as root and as your

Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Jan Henrik Sylvester
Warren Block wrote: On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote: remove everything with nspluginwrapper as root and as your user, auto install every plugin as root (-a -i -v), and put links in your ~/.mozilla/plugins: Or just run nspluginwrapper -a -i as your web browser user. The only

Re: simple printer setup

2009-02-06 Thread Warren Block
On Fri, 6 Feb 2009, Pieter Donche wrote: FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files)

Re: lpr fixed, but the wrong-way... [?]

2009-02-06 Thread Gary Kline
On Fri, Feb 06, 2009 at 02:10:23PM -0600, David Kelly wrote: On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this

SSH XForwarding Failure

2009-02-06 Thread phantomcircuit
I have absolutely no clue why this isn't working. xauth is installed $DISPLAY is localhost:10.0 XForwarding is enabled in sshd_config and I invoked ssh with -X. %/usr/local/bin/xauth list phantomcircuit.mine.nu/unix:11 MIT-MAGIC-COOKIE-1 eea299b0035168d92d95659436874a80

portsnap: Directory is not writable: /usr/ports

2009-02-06 Thread Jasvinder S. Bahra
Everyone, I'm running a number of jails (created using ezjail) on a FreeBSD 6.4 server (RELENG_6_4). If I do a uname -a, I get the following... FreeBSD machine.domain.tld 6.4-RELEASE-p2 FreeBSD 6.4-RELEASE-p2 #0: Fri Jan 9 00:01:13 GMT 2009

insert new line in files

2009-02-06 Thread Adam Vande More
I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); to be put into file X at line 37 where file X appears in ./subdir1, .subdir2 etc.

Re: insert new line in files

2009-02-06 Thread Dan Nelson
In the last episode (Feb 06), Adam Vande More said: I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); to be put into file X at line

Re: insert new line in files

2009-02-06 Thread Adam Vande More
Dan Nelson wrote: In the last episode (Feb 06), Adam Vande More said: I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); to be put

Re: insert new line in files

2009-02-06 Thread Steve Bertrand
Adam Vande More wrote: Dan Nelson wrote: You want: sed -e '5i\ test' test.txt i.e. a linebreak after the backslash. I had actually tried that too: sed -e '5i\ ? test' text.txt sed: 1: 5i test : command i expects \ followed by text Try: # sed -e 5i\\ ? test text.txt Note the

Re: insert new line in files

2009-02-06 Thread Dan Nelson
In the last episode (Feb 06), Adam Vande More said: Dan Nelson wrote: In the last episode (Feb 06), Adam Vande More said: I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this:

Re: insert new line in files

2009-02-06 Thread Adam Vande More
Dan Nelson wrote: I had actually tried that too: sed -e '5i\ ? test' text.txt sed: 1: 5i test : command i expects \ followed by text I don't see a backslash in the error message, which means something ate it. Are you running this command from something other than the commandline or a

Re: insert new line in files

2009-02-06 Thread Adam Vande More
Adam Vande More wrote: Dan Nelson wrote: I had actually tried that too: sed -e '5i\ ? test' text.txt sed: 1: 5i test : command i expects \ followed by text I don't see a backslash in the error message, which means something ate it. Are you running this command from something other

Re: insert new line in files

2009-02-06 Thread Steve Bertrand
Adam Vande More wrote: Dan Nelson wrote: I had actually tried that too: sed -e '5i\ ? test' text.txt sed: 1: 5i test : command i expects \ followed by text I don't see a backslash in the error message, which means something ate it. Are you running this command from something

Re: Multiple MAC on a single (physical) interface

2009-02-06 Thread Frédéric Perrin
Le Vendredi 6 à 15:51, Nikos Vassiliadis a écrit : FreeBSD will then know that network 10.0.0.0/24 is attached to fxp0 and will use fxp0's IP and MAC address to do the ARP query... So, in short, if you use such a setup: fxp0 10.0.0.1/24 ether 00:00:00:01:01:01 ngeth0 10.0.0.2/32 ether

Re: insert new line in files

2009-02-06 Thread Steve Bertrand
Adam Vande More wrote: I also tried escaping ( ) . / to no avail. nevermind I see I have to \\ that as well. Okay now I'm going to try to find a way to do this with find and xargs IMHO, this has become a job for Perl :) Steve ___

Re: insert new line in files

2009-02-06 Thread Polytropon
Just as a possible starting point... On Fri, 06 Feb 2009 22:50:38 +, Adam Vande More amvandem...@gmail.com wrote: I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this:

Re: disk recovery problem(s)

2009-02-06 Thread Polytropon
On Fri, 6 Feb 2009 14:48:41 -0500, Robert Huff roberth...@rcn.com wrote: Had a power outage recently; when trying to fsck several external hard drives I'm getting unexpected errors. For example: huff@ fsck /dev/da3a ** /dev/da3a ** Last Mounted on /backup ** Phase 1 - Check

Re: having trouble with OpenOffice

2009-02-06 Thread Michael Powell
Andrew Falanga wrote: On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More amvandem...@gmail.comwrote: af300...@gmail.com wrote: Hi, Tonight I finally took the bull by the horns and got OpenOffice installed. However, I'm not having a problem that I haven't found an answer to yet but seems

Re: insert new line in files

2009-02-06 Thread Adam Vande More
Steve Bertrand wrote: Adam Vande More wrote: I also tried escaping ( ) . / to no avail. nevermind I see I have to \\ that as well. Okay now I'm going to try to find a way to do this with find and xargs IMHO, this has become a job for Perl :) Steve Thanks for help

RE: Link UP/DOWN problem with re0 on FreeBSD 7.1

2009-02-06 Thread Graeme Dargie
-Original Message- From: FreeBSD [mailto:free...@optiksecurite.com] Sent: 06 February 2009 16:47 To: Graeme Dargie Cc: freebsd-questions@freebsd.org Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 Graeme Dargie a écrit : -Original Message- From: FreeBSD

Re: disk recovery problem(s)

2009-02-06 Thread Robert Huff
Roland Smith writes: huff@ fsck /dev/da3a ** /dev/da3a ** Last Mounted on /backup ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ROOT INODE UNALLOCATED ALLOCATE? [yn] a) what's probably happened? Error messages are explained in Appendix A of

Re: IPFW in-kernel NAT: How to compile?

2009-02-06 Thread Matt Emmerton
At 05:43 PM 2/1/2009, Dan Nelson wrote: Do you have options LIBALIAS in your kernel config? Nope. There was nothing that said that such an option was needed (or even that it existed). I did find it, via a recursive grep, in a file labeled NOTES a couple of levels up in the directory

disk recovery problem II

2009-02-06 Thread Robert Huff
One of the disks mentioned in part one was not recoverable. So: newfs. However, something else is broken. Results of newfs is appended. What? Robert Huff huff@ newfs /dev/da3a /dev/da3a: 78167.2MB (160086512

[mi] EQ overflowing mieqEnequeue: out-of-order valuator event

2009-02-06 Thread Jimmie James
No idea the steps to reproduce this hard lockup, ssh'ing in and killing X resulted in a test pattern look to my monitor. While it was hung, keyboard caps/num lock wouldn't respond, nor would the mouse move. The ]mi] lines repeate about 600 times in the log at the end. Shall I submit a PR for

Re: broken ports

2009-02-06 Thread Frank Shute
On Thu, Feb 05, 2009 at 10:18:52AM +, David Collins wrote: Sorry, forgot about that. Looking at it again I am not sure this is a ports thing, and more of an issue with the compiling tool chain. viper:/usr/ports/net-p2p/rtorrent$ sudo make === Vulnerability check disabled, database