Re: jls usage

2013-07-12 Thread Frank Leonhardt
On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` Looks a little over complicated... why not just.. jls -j jailname jid I've

sed Guru wanted

2013-07-12 Thread Matthias Apitz
Hello, I can delete in a text file with sed '/pattern1/,/pattern2/d' file all lines between the lines with the given patterns, including themself also; how could I specify that the deletion should exclude the line with /pattern1/, i.e. the addr is something like /pattern1/+1 ? Thx

pkg: Unable to open ports directory /usr/ports: No such file or directory

2013-07-12 Thread Leslie Jensen
When I run portsnap fetch update pkg version -vIL= It returns pkg: Unable to open ports directory /usr/ports: No such file or directory The directory is there and I can list the contents. What's going on? Thanks /Leslie ___

FreeBSD 9.1 fails to boot from CD on Notebook

2013-07-12 Thread Martin Siebel
Hey, after failing to get FreeBSD working with my ASUS F70SL Notebook I tried to get it to work on [I][COLOR=Blue]Toshiba Tecra A10-M14[/COLOR][/I]. I downloaded the [FILE]FreeBSD-9.1-REALEASE-disc1.iso[/FILE] from the official FreeBSD homepage and burnt it with [I][COLOR=Blue]Ashampoo

Re: FreeBSD 9.1 fails to boot from CD on Notebook

2013-07-12 Thread Erich Dollansky
Hi On Fri, 12 Jul 2013 14:56:12 +0200 Martin Siebel msie...@gmx.de wrote: Any ideas about BIOS settings I may change? find out how how the CD drive is connected and then play with the settings fir this interface Erich I burnt the CD twice by the way, with different burning software, to

Re: FreeBSD 9.1 fails to boot from CD on Notebook

2013-07-12 Thread Sergio de Almeida Lenzi
seems that some notebooks the bios loads part of the boot from the HD first before trying to boot from the CD, so when the CD boots, the system expects some windows stuff, when it sees FreeBSD, it reboots... Solution I found: 1) get/buy another HD for notebook (here a 320GB costs U$100) 2) make

Re: jls usage

2013-07-12 Thread Teske, Devin
On Jul 12, 2013, at 2:35 AM, Frank Leonhardt wrote: On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` Looks a little over

Re: jls usage

2013-07-12 Thread Frank Leonhardt
On 12/07/2013 15:20, Teske, Devin wrote: On Jul 12, 2013, at 2:35 AM, Frank Leonhardt wrote: On 12/07/2013 02:33, Teske, Devin wrote: On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk

Re: jls usage

2013-07-12 Thread Frank Leonhardt
I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's not an issue for anyone else. I'm defining

Re: sed Guru wanted

2013-07-12 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Fri Jul 12 05:13:11 2013 Date: Fri, 12 Jul 2013 11:04:04 +0200 From: Matthias Apitz g...@unixarea.de To: freebsd-questions@freebsd.org Subject: sed Guru wanted Hello, I can delete in a text file with sed '/pattern1/,/pattern2/d' file all

Re: jls usage

2013-07-12 Thread Frank Leonhardt
On 12/07/2013 16:32, Frank Leonhardt wrote: I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug (it's there in 8.2-9) but it sounds like it's

Re: jls usage

2013-07-12 Thread markham breitbach
On 13-07-12 9:56 AM, Frank Leonhardt wrote: On 12/07/2013 16:32, Frank Leonhardt wrote: I've tried using the actual jail name, and the hostname to be sure - nothing - and on checking (jls -v) I'm somehow ending up with the Name being the same as the ID. I just put this down to a quirk/bug

Error upgrading sysutils/nepomuk-core - Could not find parser plugin for encoding trig

2013-07-12 Thread Mike Clarke
Could anyone advise how to get round this problem? [ 3%] Generating nie.h, nie.cpp cd /usr/ports/sysutils/nepomuk-core/work/.build/libnepomukcore /usr/local/bin/onto2vocabularyclass --name NIE --encoding trig --namespace Nepomuk2::Vocabulary --export-module nepomuk

Re: OT: rsync on Mac OSX

2013-07-12 Thread Chris Maness
On Tue, Jul 2, 2013 at 3:11 PM, Chris Maness ch...@chrismaness.com wrote: Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a shasum utility which implements SHA-256 checksums, so you should be able to

Re: OT: rsync on Mac OSX

2013-07-12 Thread Doug Hardie
On 12 July 2013, at 10:49, Chris Maness ch...@chrismaness.com wrote: On Tue, Jul 2, 2013 at 3:11 PM, Chris Maness ch...@chrismaness.com wrote: Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a

Re: OT: rsync on Mac OSX

2013-07-12 Thread Chris Maness
On Fri, Jul 12, 2013 at 11:12 AM, Paul Kraus p...@kraus-haus.org wrote: Dropping the list … On Jul 12, 2013, at 1:49 PM, Chris Maness ch...@chrismaness.com wrote: Checksums are the same. All other files still work however the HUGE rendered Final Cut Pro output, so I guess it is something

ab failing with Operation not permitted

2013-07-12 Thread Chris Smith
Hi, I'm having some trouble with ab shipped with apache22 from 9.1 binary packages. I am currently running a trial to replace our Debian kit with FreeBSD as we've had numerous problems. It will be hosting a few web apps, postfix, dovecot virtual, postgres, SVN etc. I'm a little rusty as I'm

Re: jls usage

2013-07-12 Thread Shane Ambler
On 13/07/2013 01:26, Frank Leonhardt wrote: Okay - answering my own question and solved... It's a bug (or is that a feature?). In /etc/rc.d/jail line 647 it currently reads: eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \${_addrl}\