Re: How to create 2 versions of a port

2012-02-10 Thread Matthew Seaman
On 10/02/2012 05:20, Fbsd8 wrote: > I maintain a port that accesses the release distribution files. Now with > 9.0 having a different path /i386/i386 and the files being compressed > first with tar and then again with xz I need to change the port to > access the new layout and file format. > > I w

Re: portshaker, listing updates and skipping broken/removed ports

2012-02-10 Thread Frank Staals
Antonio Olivares writes: > Dear folks, > > I have a question regarding portshaker. I have successfully used > Warren Block's script to make updates. > > http://www.wonkity.com/~wblock/docs/html/portupgrade.html > > #!/bin/sh > /usr/sbin/portsnap fetch update && \ > /usr/local/sbin/portmaster -L

UTF-8 Support broken from ports update

2012-02-10 Thread Love von Melen Ekman
Hello questions! In late january I updated all ports (portmaster --no-confirm -d -G -a) and after the update I lost UTF-8, wide character compatibility in irssi, vim and mutt and such-like. In fact, I can write åäö in terminal (echo manages to print them for instance) but I am unable to read the

Resetting RAID1 drive as Non-RAID

2012-02-10 Thread Robert Fitzpatrick
I have a FreeBSD 9.0 server with an Intel RAID card that has two array mirrors of which one has failed. The remote host was not responding and had it reset to find in the RAID utility one of the drives had failed one of the RAID 1 arrays. Perhaps I shouldn't have, but I told the utility to use the

Re: 'rm' Can not delete files

2012-02-10 Thread Henry Olyer
So what do I change if I want to increase the shell's file limit? I use bash 4. And by the way, for me, part of the normal installation of a new FBSD box is to make certain changes. For example, for "uniq -c" I use "%06" instead of "%d" because this way I can sort the output. Things like that.

Re: 'rm' Can not delete files

2012-02-10 Thread Da Rock
On 02/11/12 01:34, Henry Olyer wrote: So what do I change if I want to increase the shell's file limit? I don't think you can. It's not a shell limit. It's a limit to the number of arguments the command itself will take. As said, the shell expands '*' to a list of files as the argument, and rm

Re: 'rm' Can not delete files

2012-02-10 Thread Matthew Story
On Fri, Feb 10, 2012 at 10:51 AM, Da Rock < freebsd-questi...@herveybayaustralia.com.au> wrote: > On 02/11/12 01:34, Henry Olyer wrote: > >> So what do I change if I want to increase the shell's file limit? >> > I don't think you can. It's not a shell limit. It's a limit to the number > of argumen

Re: 'rm' Can not delete files

2012-02-10 Thread Matthew Story
On Fri, Feb 10, 2012 at 11:04 AM, Matthew Story wrote: > On Fri, Feb 10, 2012 at 10:51 AM, Da Rock < > freebsd-questi...@herveybayaustralia.com.au> wrote: > >> On 02/11/12 01:34, Henry Olyer wrote: >> >>> So what do I change if I want to increase the shell's file limit? >>> >> I don't think you ca

Re: 'rm' Can not delete files

2012-02-10 Thread Matthew Seaman
>>> ls -1 | xargs rm >> but be aware that that wont work for filenames with spaces. True. Can't do that using ls to generate the list of filenames as there is no option to generate a null-separated list amongst ls's multitudinous collection. > In addition, I don't believe it solves the OP's in

Re: 'rm' Can not delete files

2012-02-10 Thread Jerry McAllister
On Fri, Feb 10, 2012 at 10:34:20AM -0500, Henry Olyer wrote: > So what do I change if I want to increase the shell's file limit? You don't want to diddle the shell. Use the correct UNIX utilities such as - for, xargs or find - in this case as have been suggested by other responders. That is t

Re: 'rm' Can not delete files

2012-02-10 Thread Matthew Seaman
On 10/02/2012 16:04, Matthew Story wrote: > find . -type f -depth 1 -print0 | xargs -n99 -0 -s8192 -c5 rm -- > > or some such, depending on your needs, I believe in most situations this > particular invocation will also out-perform find ... -delete. Why would you believe that? find ... -delete ca

Re: Resetting RAID1 drive as Non-RAID

2012-02-10 Thread Joshua Isom
On 2/10/2012 7:15 AM, Robert Fitzpatrick wrote: I have a FreeBSD 9.0 server with an Intel RAID card that has two array mirrors of which one has failed. The remote host was not responding and had it reset to find in the RAID utility one of the drives had failed one of the RAID 1 arrays. Perhaps I

Re: FreeBSD 9, GPT and gmirror

2012-02-10 Thread Janos Dohanics
On Thu, 09 Feb 2012 07:02:29 -0800 per...@pluto.rain.com wrote: > Janos Dohanics wrote: > > > 1. The Guided partitioning doesn't suggest any more to > > create /var, /tmp, /usr, etc. file systems. Is it really > > the recommendation to go with just / ? > > Depends on who you ask :) and on your

Re: FreeBSD 9, GPT and gmirror

2012-02-10 Thread Janos Dohanics
On Thu, 09 Feb 2012 20:20:03 +0100 Michael Cardell Widerkrantz wrote: > Janos Dohanics , 2012-02-08 19:42 (+0100): > > > 4. Also, with GPT, one has to be in single user mode to synchronize > > disks - correct? > > I think the guide you linked to: > > http://blather.michaelwlucas.com/archives

istgt sessions / connections

2012-02-10 Thread Mark Felder
Can anyone here explain the MaxSessions and MaxConnections setting for istgt? Let's say I have the following: 6 servers 8 LUNs 2 Paths to each LUN Is that... 96 sessions? 96 connections? It's very unclear what is meant by session and connection. Thanks, Mark

Removal Attempt of Directory under ZFS causes Kernel Panic

2012-02-10 Thread Martin McCormick
We have a ZFS file system under FreeBSD9.0 running on a virtual machine which had been running flawlessly for a bit over a month when I discovered that I had copied our home directory into /usr/home such that we had /usr/home/home. As root, I cd'd to /usr/home and then typed rm -r home at

Re: Removal Attempt of Directory under ZFS causes Kernel Panic

2012-02-10 Thread Daniel Staal
On Fri, February 10, 2012 11:43 am, Martin McCormick wrote: > Does this sound familiar to anybody? This is the first > zfs installation I have used and I am not real wild about trying > it again if we can't solve this mystery. We can't seem to > duplicate the problem. Any ideas are apprecia

Re: Removal Attempt of Directory under ZFS causes Kernel Panic

2012-02-10 Thread Martin McCormick
You will see a message on this group from Ryan Frederick who is a coworker of mine and who also posted a question about this same issue. There was a little confusion about which FreeBSD support group had been asked so my question and his are about the same machine. He submitted the stack tr

Kernel Panic on 9.0-RELEASE When Attempting to Remove Files

2012-02-10 Thread Ryan Frederick
I'm attempting to remove a number of old files within a directory that was rsynced over from another box. However a number of files (old symlinks and regular files in this instance) cause a kernel panic when attempting to remove them using rm or unlink. This is the panic message output: Fatal t

Re: Kernel Panic on 9.0-RELEASE When Attempting to Remove Files

2012-02-10 Thread Ryan Frederick
In response to the related thread started by Martin McCormick we did run a `zpool scrub` on the zpool, and the scrub completed successfully with no repairs performed. I successfully tried importing the zpool in Linux using the native Linux ZFS module. However attempting to remove the files via

Re[2]: 'rm' Can not delete files

2012-02-10 Thread Коньков Евгений
Здравствуйте, Da. Вы писали 10 февраля 2012 г., 17:51:59: DR> On 02/11/12 01:34, Henry Olyer wrote: >> So what do I change if I want to increase the shell's file limit? DR> I don't think you can. It's not a shell limit. It's a limit to the DR> number of arguments the command itself will take. As

Re: 'rm' Can not delete files

2012-02-10 Thread Randal L. Schwartz
> "Matthew" == Matthew Seaman writes: Matthew>find . -type f -depth 1 -exec rm -f '{}' ';' Matthew> but let's not leave people in any doubt that this is not the Matthew> best option. However... find . -type f -depth 1 -exec rm -f {} + Might very well be a great option. Well, not fo

Removal of content from the mailing list

2012-02-10 Thread yt
Who should I talk to about removing a thread from the mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Removal of content from the mailing list

2012-02-10 Thread Jerry McAllister
On Fri, Feb 10, 2012 at 10:03:46AM +0800, yt wrote: > Who should I talk to about removing a thread from the mailing list? As has been mentioned many times in the lists - it's a lost cause. These lists are archived, mirrored and otherwise duplicated hundreds or even thousands of times around the

Re: Removal of content from the mailing list

2012-02-10 Thread Modulok
On 2/9/12, yt wrote: > Who should I talk to about removing a thread from the mailing list? With the countless number of mirrors this list has, it's pretty much impossible. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.or

Wireless Problem

2012-02-10 Thread zaklinaczcipek128
Hi, I'm struggling with my wireless cards couple days and I can't figure out what's wrong. Following I'm under FreeBSD 9.0 RELEASE and ever since I've used it I can't connect to any wireless network. I've got Atheros NIC and under every other OS it works fine, even earlier when I were under Free

Re: Wireless Problem

2012-02-10 Thread Waitman Gobble
On Fri, Feb 10, 2012 at 1:58 PM, zaklinaczcipek128 wrote: > Hi, > I'm struggling with my wireless cards couple days and I can't figure out > what's wrong. Following > I'm under FreeBSD 9.0 RELEASE and ever since I've used it I can't connect > to any wireless network. I've got Atheros NIC and under

Re: 'rm' Can not delete files

2012-02-10 Thread andrew clarke
On Fri 2012-02-10 16:12:06 UTC+, Matthew Seaman (m.sea...@infracaninophile.co.uk) wrote: > > In addition, I don't believe it solves the OP's initial problem of the > > argument list being too long! You'd probably need to use the xargs -n > > switch here. > > Go and read the xargs(1) man pag

ACK/NAK timeout

2012-02-10 Thread bsali...@gmail.com
Hi, I have the following config: 1. DG43GT motherboard with 4GB memory 2. br10i SAS adapter 3. 16x Toshiba SAS drives connected to expander backplane. I am able to create a zfs pool ok without any errors but as soon as I do a scrub on that pool I get tons of scsi errors. Here is my dmesg output