From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 02:36:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2993F106566C for ; Sun, 8 Jul 2012 02:36:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id DA2F38FC0A for ; Sun, 8 Jul 2012 02:36:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q682aaZn045210 for ; Sat, 7 Jul 2012 20:36:36 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q682aawp045207 for ; Sat, 7 Jul 2012 20:36:36 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 7 Jul 2012 20:36:36 -0600 (MDT) From: Warren Block To: FreeBSD In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 07 Jul 2012 20:36:36 -0600 (MDT) Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 02:36:37 -0000 On Sat, 7 Jul 2012, Carmel wrote: > This is probably a dumb question, but does gpart even work on a USB > flash drive? I have not been able to figure out how to do it. I want to > erase the entire drive and format it for a FreeBSD UFS2 file system. Yes, gpart will work with pretty much any storage device. If you want the drive to be bootable, it needs boot blocks. This is easier with GPT than MBR. For an 8G drive: # gpart create -s gpt da0 # gpart add -t freebsd-boot -s 512k da0 # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0 # gpart add -t freebsd-ufs -b 1M -s 7G da0 # gpart add -t freebsd-swap da0 # newfs -U /dev/da0p2 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 03:01:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54E8E106566C for ; Sun, 8 Jul 2012 03:01:18 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBE78FC12 for ; Sun, 8 Jul 2012 03:01:18 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q6831Hne036429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Jul 2012 20:01:17 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q6831HKQ036428 for freebsd-questions@freebsd.org; Sat, 7 Jul 2012 20:01:17 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01302; Sat, 7 Jul 12 19:59:32 PDT Date: Sun, 08 Jul 2012 02:59:24 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <4ff959fc.bxvqYk2dG0XhJgL+%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: anoncvs password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 03:01:18 -0000 What is one supposed to enter when anoncvs prompts for a password? I have tried: * my email address, as I would use for anon FTP * "ftp", as was once conventionally used for anon FTP * "cvs" (same idea, but mentioning the transport in use) * nothing -- just hit return None of these works. I get Permission denied (publickey,keyboard-interactive). cvs [checkout aborted]: end of file from server (consult above messages if any) http://www.freebsd.org/doc/handbook/anoncvs.html seems to say that anoncvs either should not require a password (Example A-2), or it should accept any password at all (the other examples). From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 06:35:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A0641065670 for ; Sun, 8 Jul 2012 06:35:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id AE5838FC14 for ; Sun, 8 Jul 2012 06:35:46 +0000 (UTC) Received: from [46.244.140.39] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Snl5n-0002WF-SI for freebsd-questions@freebsd.org; Sun, 08 Jul 2012 08:35:40 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q686Zcng002446 for ; Sun, 8 Jul 2012 08:35:38 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q686ZbGx002445 for freebsd-questions@freebsd.org; Sun, 8 Jul 2012 08:35:37 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 8 Jul 2012 08:35:37 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120708063537.GA2365@tinyCurrent> References: <4ff959fc.bxvqYk2dG0XhJgL+%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ff959fc.bxvqYk2dG0XhJgL+%perryh@pluto.rain.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.140.39 Subject: Re: anoncvs password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 06:35:47 -0000 El día Sunday, July 08, 2012 a las 02:59:24AM -0700, perryh@pluto.rain.com escribió: > What is one supposed to enter when anoncvs prompts for a password? > > I have tried: > > * my email address, as I would use for anon FTP > * "ftp", as was once conventionally used for anon FTP > * "cvs" (same idea, but mentioning the transport in use) > * nothing -- just hit return > > None of these works. I get > > Permission denied (publickey,keyboard-interactive). > cvs [checkout aborted]: end of file from server (consult above messages if any) $ CVSROOT=:pserver:anoncvs@anoncvs.fr.FreeBSD.org:/home/ncvs $ export CVSROOT $ cvs login Logging in to :pserver:anoncvs@anoncvs.fr.freebsd.org:2401/home/ncvs CVS password: $ cvs co src cvs checkout: Updating src U src/COPYRIGHT U src/LOCKS U src/MAINTAINERS I used as pw 'anoncvs'; note also: one should use today better svn, not cvs; HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 06:44:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B019E1065673 for ; Sun, 8 Jul 2012 06:44:54 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4423B8FC08 for ; Sun, 8 Jul 2012 06:44:54 +0000 (UTC) Received: from [46.244.140.39] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SnlEj-0004z1-7O for freebsd-questions@freebsd.org; Sun, 08 Jul 2012 08:44:53 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q686ipvG002488 for ; Sun, 8 Jul 2012 08:44:52 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q686iphB002487 for freebsd-questions@freebsd.org; Sun, 8 Jul 2012 08:44:51 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 8 Jul 2012 08:44:51 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120708064451.GB2365@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.140.39 Subject: df(1) and missing space in partition /dev/ada0p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 06:44:54 -0000 Hello, I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not understand why the sum of Used and Avail does not equal to the full space of /dev/ada0p2: $ uname -a FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 root@aurora-clone.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 $ df -k Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ada0p2 74130588 25389436 42810708 37% / devfs 1 1 0 100% /dev linprocfs 4 4 0 100% /compat/linux/proc /dev/md0 126492 24 116352 0% /tmp $ echo '25389436+42810708' | bc 68200144 in some older system, which was setup the 'traditional way', it does: $ uname -a FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 guru@current.Sisis.de:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC i386 $ df -k Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad4s1a 1012974 301092 711882 30% / devfs 1 1 0 100% /dev /dev/ad4s1d 5049390 132150 4917240 3% /var /dev/ad4s1e 1012974 285258 727716 28% /tmp /dev/ad4s1f 227454428 122082964 105371464 54% /usr linprocfs 4 4 0 100% /compat/linux/proc $ echo '122082964+105371464' | bc 227454428 Any idea? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 07:31:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 001671065672 for ; Sun, 8 Jul 2012 07:31:05 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 97CA18FC0C for ; Sun, 8 Jul 2012 07:31:05 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q687Ue3H072127; Sun, 8 Jul 2012 02:30:40 -0500 (CDT) Date: Sun, 8 Jul 2012 02:30:40 -0500 (CDT) From: Robert Bonomi Message-Id: <201207080730.q687Ue3H072127@mail.r-bonomi.com> To: guru@unixarea.de In-Reply-To: <20120708064451.GB2365@tinyCurrent> Cc: freebsd-questions@freebsd.org Subject: Re: df(1) and missing space in partition /dev/ada0p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 07:31:06 -0000 > From owner-freebsd-questions@freebsd.org Sun Jul 8 01:46:23 2012 > Date: Sun, 8 Jul 2012 08:44:51 +0200 > From: Matthias Apitz > To: freebsd-questions@freebsd.org > Subject: df(1) and missing space in partition /dev/ada0p2 > > > Hello, > > I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not > understand why the sum of Used and Avail does not equal to the full space > of /dev/ada0p2: > A traditional UFS filesstem reserves the last 10% of the disk capacity for the exclusive use of the superuser. 'Avail' represents the space that is available to _any_ user. Thus, on an absolutely _empty_ filesystem, 'avail' will be only 90% of 'total'. 'man tunefs' and see 'minfree' for the gory details. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 07:39:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 455E1106564A for ; Sun, 8 Jul 2012 07:39:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id F239C8FC0C for ; Sun, 8 Jul 2012 07:39:41 +0000 (UTC) Received: from [46.244.140.39] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Snm5k-0002kH-4r; Sun, 08 Jul 2012 09:39:40 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q687dcKp002681; Sun, 8 Jul 2012 09:39:38 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q687dcMC002680; Sun, 8 Jul 2012 09:39:38 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 8 Jul 2012 09:39:37 +0200 From: Matthias Apitz To: Robert Bonomi Message-ID: <20120708073937.GA2670@tinyCurrent> References: <20120708064451.GB2365@tinyCurrent> <201207080730.q687Ue3H072127@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201207080730.q687Ue3H072127@mail.r-bonomi.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.140.39 Cc: freebsd-questions@freebsd.org Subject: Re: df(1) and missing space in partition /dev/ada0p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 07:39:42 -0000 El día Sunday, July 08, 2012 a las 02:30:40AM -0500, Robert Bonomi escribió: > > Hello, > > > > I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not > > understand why the sum of Used and Avail does not equal to the full space > > of /dev/ada0p2: > > > > A traditional UFS filesstem reserves the last 10% of the disk capacity for > the exclusive use of the superuser. 'Avail' represents the space that is > available to _any_ user. Thus, on an absolutely _empty_ filesystem, > 'avail' will be only 90% of 'total'. > > 'man tunefs' and see 'minfree' for the gory details. You have not answered the question what is causing the diff between both systems; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 07:47:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8CC11065676 for ; Sun, 8 Jul 2012 07:47:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 373D18FC15 for ; Sun, 8 Jul 2012 07:47:37 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q687lX5k001573; Sun, 8 Jul 2012 09:47:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q687lXDM001570; Sun, 8 Jul 2012 09:47:33 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 09:47:33 +0200 (CEST) From: Wojciech Puchar To: Matthias Apitz In-Reply-To: <20120708064451.GB2365@tinyCurrent> Message-ID: References: <20120708064451.GB2365@tinyCurrent> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 09:47:34 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: df(1) and missing space in partition /dev/ada0p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 07:47:38 -0000 > FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 root@aurora-clone.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 > $ df -k > Filesystem 1024-blocks Used Avail Capacity Mounted on > /dev/ada0p2 74130588 25389436 42810708 37% / > devfs 1 1 0 100% /dev > linprocfs 4 4 0 100% /compat/linux/proc > /dev/md0 126492 24 116352 0% /tmp > $ echo '25389436+42810708' | bc > 68200144 only one partition is mounted and created. I don't have idea what installer do as i don't use it. I recommend installing manually so you have full control of how partitions are laid out and using what partition table format. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 07:49:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D806106566C for ; Sun, 8 Jul 2012 07:49:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id A1EFE8FC15 for ; Sun, 8 Jul 2012 07:49:36 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q687nUMm001583; Sun, 8 Jul 2012 09:49:30 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q687nU8m001580; Sun, 8 Jul 2012 09:49:30 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 09:49:30 +0200 (CEST) From: Wojciech Puchar To: Thomas Mueller In-Reply-To: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com> Message-ID: References: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 09:49:31 +0200 (CEST) Cc: Carmel , Polytropon , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 07:49:37 -0000 >> Magdeburg, Germany > > I have used gpart to partition a USB flash drive into FreeBSD boot partition, root partition and swap partition. making swap partition on USB pendrive is at least stupid. if you won't swap at all - wasted space. If you will it would be so slow and wear USB pendrive so quickly that you certainly don't want this. bsdlabel -w device bsdabel -e device and make "a" partition start from 0 to end, 4.2BSD newfs it bsdlabel -B and put everything in one partition. make heavy use of tmpfs, make sure noatime is put in fstab to limit writes to pendrive. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 08:23:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2A18106564A for ; Sun, 8 Jul 2012 08:23:10 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 61B988FC0C for ; Sun, 8 Jul 2012 08:23:10 +0000 (UTC) Received: from [46.244.140.39] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Snmli-0005PU-CG; Sun, 08 Jul 2012 10:23:02 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q688N0Sw002842; Sun, 8 Jul 2012 10:23:01 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q688N0AO002841; Sun, 8 Jul 2012 10:23:00 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 8 Jul 2012 10:23:00 +0200 From: Matthias Apitz To: Wojciech Puchar Message-ID: <20120708082300.GA2770@tinyCurrent> References: <20120708064451.GB2365@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.140.39 Cc: freebsd-questions@freebsd.org Subject: Re: df(1) and missing space in partition /dev/ada0p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 08:23:10 -0000 El día Sunday, July 08, 2012 a las 09:47:33AM +0200, Wojciech Puchar escribió: > > FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 root@aurora-clone.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 > > $ df -k > > Filesystem 1024-blocks Used Avail Capacity Mounted on > > /dev/ada0p2 74130588 25389436 42810708 37% / > > devfs 1 1 0 100% /dev > > linprocfs 4 4 0 100% /compat/linux/proc > > /dev/md0 126492 24 116352 0% /tmp > > $ echo '25389436+42810708' | bc > > 68200144 > > > only one partition is mounted and created. > > I don't have idea what installer do as i don't use it. > > I recommend installing manually so you have full control of how partitions > are laid out and using what partition table format. I did the partitioning by hand as: # gpart destroy -F ada0 # gpart create -s gpt ada0 # gpart add -t freebsd-boot -s 512k ada0 # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0 # gpart add -t freebsd-ufs -b 1m -s 73G ada0 # gpart add -t freebsd-swap ada0 # newfs /dev/ada0p2 ... which I think it's fine; and this explains now also where the missing blocks are: I forgot '-m 0' in newfs(8); thanks to Robert to point me in the correct direction and sorry for the noise. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 09:45:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372F1106564A for ; Sun, 8 Jul 2012 09:45:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E86448FC0C for ; Sun, 8 Jul 2012 09:45:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id 6AD9527CA5; Sun, 8 Jul 2012 11:45:07 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q689j6mp001913; Sun, 8 Jul 2012 11:45:06 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Jul 2012 11:45:06 +0200 From: Polytropon To: "Thomas Mueller" Message-Id: <20120708114506.d91ba0e3.freebsd@edvax.de> In-Reply-To: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com> References: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Carmel , Polytropon , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 09:45:10 -0000 On Sat, 07 Jul 2012 17:45:17 -0400, Thomas Mueller wrote: > Does a USB flash drive also work as a giant floppy, no partitions? > Can you make a flash drive bootable when nonpartitioned and > formatted that way? Yes, that's exactly what my advice was aiming to, but let's try to keep the terminology clean: You cannot do without partitions. A partition carries a file system. You _can_ do without slices. A slice holds one or more partitions. A slice is a "DOS primary partition". Omitting it is called "dedicated mode". There may be some circumstances where a dedicated disk doesn't boot. Personally I haven't met one, but it's still possible due to BIOSes expecting MS-DOS-alike structures. For the file system side, it's just a matter of having created one partition covering the whole disk, newfs and tunefs it, and install the boot code. Wojciech Puchar did already explain how this works and which tools are involved. However, there _is_ a way to make a "giant floppy without a file system" (as you said without partitions, and I'll take that literally): You can use tar, "the universal file system that isn't a file system" to write data to the USB stick. Writing stuff: # tar cf /dev/da0 /my/files Reading stuff: # tar xf /dev/da0 This works, but it may appear that no other system can read it. If you consider using it for FreeBSD only, no problem. The big advantage: You don't need to mount and umount the stick. I'm assume _that_ construct cannot be booted. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 09:54:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C23061065672 for ; Sun, 8 Jul 2012 09:54:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 807FC8FC08 for ; Sun, 8 Jul 2012 09:54:55 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id 89CB027CA5; Sun, 8 Jul 2012 11:54:54 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q689srBk001919; Sun, 8 Jul 2012 11:54:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Jul 2012 11:54:53 +0200 From: Polytropon To: Wojciech Puchar Message-Id: <20120708115453.8bd9b271.freebsd@edvax.de> In-Reply-To: References: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 09:54:55 -0000 On Sun, 8 Jul 2012 09:49:30 +0200 (CEST), Wojciech Puchar wrote: > >> Magdeburg, Germany > > > > I have used gpart to partition a USB flash drive into FreeBSD boot partition, root partition and swap partition. > > making swap partition on USB pendrive is at least stupid. if you won't > swap at all - wasted space. > If you will it would be so slow and wear USB pendrive so quickly that you > certainly don't want this. > > > bsdlabel -w device > > bsdabel -e device and make "a" partition start from 0 to end, 4.2BSD > > newfs it > > bsdlabel -B > > and put everything in one partition. > > make heavy use of tmpfs, make sure noatime is put in fstab to limit writes > to pendrive. An addition: You can label the a partition (e. g. /dev/da0a) or use its UFSID in /etc/fstab, so you don't depend on the exact device name, which in turn depends on the detection order of mass storage which is hard to predict. I'd like to recommend reading for details: http://www.wonkity.com/~wblock/docs/html/disksetup.html and http://www.freebsd.org/doc/handbook/geom-glabel.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 11:42:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94B01106566C for ; Sun, 8 Jul 2012 11:42:08 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 47B7F8FC12 for ; Sun, 8 Jul 2012 11:42:08 +0000 (UTC) Received: from BLU0-SMTP103 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 8 Jul 2012 04:42:02 -0700 X-Originating-IP: [76.182.104.150] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.182.104.150]) by BLU0-SMTP103.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 8 Jul 2012 04:42:01 -0700 Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WVSSm2N85z2CG67 for ; Sun, 8 Jul 2012 07:42:00 -0400 (EDT) Date: Sun, 8 Jul 2012 07:41:59 -0400 From: Carmel To: FreeBSD In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 08 Jul 2012 11:42:01.0959 (UTC) FILETIME=[B0B31F70:01CD5CFE] Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 11:42:08 -0000 On Sat, 7 Jul 2012 20:36:36 -0600 (MDT) Warren Block articulated: > On Sat, 7 Jul 2012, Carmel wrote: > > > This is probably a dumb question, but does gpart even work on a USB > > flash drive? I have not been able to figure out how to do it. I > > want to erase the entire drive and format it for a FreeBSD UFS2 > > file system. > > Yes, gpart will work with pretty much any storage device. > > If you want the drive to be bootable, it needs boot blocks. This is > easier with GPT than MBR. For an 8G drive: > > # gpart create -s gpt da0 > # gpart add -t freebsd-boot -s 512k da0 > # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0 > # gpart add -t freebsd-ufs -b 1M -s 7G da0 > # gpart add -t freebsd-swap da0 > # newfs -U /dev/da0p2 Thanks Warren, you win the prize for the most detailed answer. Polytropon gave me the easiest answer if I just want to use the drive as a simple storage device; however, if at some point I actually want to go beyond that your answer is what I would require. Interestingly enough, I searched through the man pages and FreeBSD help but never came across anything that specifically addressed flash drive. Perhaps I was just not looking hard enough. Perhaps, and I know that this will offend some purists, but a nice GUI that would do what your instructions detail above would be helpful. There is no way that I am going to remember all of those instructions in six months time. Just my 2¢. -- Carmel ✌ carmel_ny@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 11:50:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2E1106564A for ; Sun, 8 Jul 2012 11:50:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CD05D8FC08 for ; Sun, 8 Jul 2012 11:50:01 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id C6D2F27DE1 for ; Sun, 8 Jul 2012 13:50:00 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q68Bo0Yn002396 for ; Sun, 8 Jul 2012 13:50:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Jul 2012 13:50:00 +0200 From: Polytropon To: FreeBSD Message-Id: <20120708135000.849e41c0.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 11:50:02 -0000 On Sun, 8 Jul 2012 07:41:59 -0400, Carmel wrote: > Perhaps, and I know that this will offend some purists, but a nice GUI > that would do what your instructions detail above would be helpful. > There is no way that I am going to remember all of those instructions in > six months time. Just my 2=A2. Why not put the commands into a text file locally? Try _that_ with a GUI. :-) I'm almost sure KDE or Gnome offer means to initialize mass storage, but because those seem to be quite Linux-centric, it's possible FreeBSD's system tools won't be utilized. So with using the commands provided by Warren, you will be fine every time. If you practice them regularly, you will remember them, and if you do so, you'll surely write a script that allows you to automate the task so you can forget the commands again. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 12:10:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1EBC106566C for ; Sun, 8 Jul 2012 12:10:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 615648FC16 for ; Sun, 8 Jul 2012 12:10:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q68CA8xf047743 for ; Sun, 8 Jul 2012 06:10:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q68CA8JW047740 for ; Sun, 8 Jul 2012 06:10:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Jul 2012 06:10:08 -0600 (MDT) From: Warren Block To: FreeBSD In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1591772695-1341749408=:47599" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 08 Jul 2012 06:10:08 -0600 (MDT) Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:10:14 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1591772695-1341749408=:47599 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 8 Jul 2012, Carmel wrote: >> Yes, gpart will work with pretty much any storage device. >> >> If you want the drive to be bootable, it needs boot blocks. This is >> easier with GPT than MBR. For an 8G drive: >> >> # gpart create -s gpt da0 >> # gpart add -t freebsd-boot -s 512k da0 >> # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0 >> # gpart add -t freebsd-ufs -b 1M -s 7G da0 >> # gpart add -t freebsd-swap da0 >> # newfs -U /dev/da0p2 > > Thanks Warren, you win the prize for the most detailed answer. > Polytropon gave me the easiest answer if I just want to use the drive > as a simple storage device; however, if at some point I actually want > to go beyond that your answer is what I would require. > > Interestingly enough, I searched through the man pages and FreeBSD help > but never came across anything that specifically addressed flash drive. > Perhaps I was just not looking hard enough. FreeBSD sees no significant difference between a flash drive and a disk drive. They are treated the same. > Perhaps, and I know that this will offend some purists, but a nice GUI > that would do what your instructions detail above would be helpful. > There is no way that I am going to remember all of those instructions in > six months time. Just my 2¢. bsdinstall(8) has a curses partition editor. There is probably a trick needed to use that outside of an install context. I find gpart easier. ---902635197-1591772695-1341749408=:47599-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 12:16:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D846B106564A for ; Sun, 8 Jul 2012 12:16:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9938FC0C for ; Sun, 8 Jul 2012 12:16:36 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68CGVIO001756 for ; Sun, 8 Jul 2012 14:16:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68CGVCY001753 for ; Sun, 8 Jul 2012 14:16:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 14:16:31 +0200 (CEST) From: Wojciech Puchar To: FreeBSD In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 14:16:31 +0200 (CEST) Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:16:36 -0000 > > Interestingly enough, I searched through the man pages and FreeBSD help > but never came across anything that specifically addressed flash drive. because there is no need to. For freebsd it is just a storage device. for FreeBSD only i recommend using bsdlabel, not gpart, for multiOS using fdisk. it is simpler and boot0cfg allows you to add boot selector, so you can make multisystem pendrive, just as my triple-boot 16GB pendrive holding FreeBSD/i386, FreeBSD/amd64, lots of packages, DOS with lots of tools and windoze installers. > Perhaps, and I know that this will offend some purists, but a nice GUI not about purism but (lack of) usability. GUI interfaces never helps, only hides real things and prevent understanding anything. You maybe understand it, maybe not. Most people will not. GUI interfaces are actual a PROBLEM with today software. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 12:17:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9B1A106564A for ; Sun, 8 Jul 2012 12:17:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6FC8FC1F for ; Sun, 8 Jul 2012 12:17:42 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68CHbl2001762; Sun, 8 Jul 2012 14:17:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68CHbgA001759; Sun, 8 Jul 2012 14:17:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 14:17:37 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120708135000.849e41c0.freebsd@edvax.de> Message-ID: References: <20120708135000.849e41c0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 14:17:37 +0200 (CEST) Cc: FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:17:43 -0000 > with using the commands provided by Warren, you will be fine > every time. If you practice them regularly, you will remember > them, and if you do so, you'll surely write a script that after doing man gpart he will understand it, so remembering is easy. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 12:25:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E4591065670 for ; Sun, 8 Jul 2012 12:25:45 +0000 (UTC) (envelope-from jeffhedges79@yahoo.com) Received: from nm1-vm0.bullet.mail.ird.yahoo.com (nm1-vm0.bullet.mail.ird.yahoo.com [77.238.189.95]) by mx1.freebsd.org (Postfix) with SMTP id D81708FC08 for ; Sun, 8 Jul 2012 12:25:44 +0000 (UTC) Received: from [77.238.189.233] by nm1.bullet.mail.ird.yahoo.com with NNFMP; 08 Jul 2012 12:25:37 -0000 Received: from [212.82.108.237] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 08 Jul 2012 12:25:37 -0000 Received: from [127.0.0.1] by omp1002.mail.ird.yahoo.com with NNFMP; 08 Jul 2012 12:25:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 818201.56930.bm@omp1002.mail.ird.yahoo.com Received: (qmail 39200 invoked by uid 60001); 8 Jul 2012 12:25:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1341750337; bh=nT6G9JVxApWZlpeeTDl54cvrFrNw1ule78lqx6INu/U=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AAXcDVuhGvsLarh93fIAgzKCSbjFBtuaYbc227mAB6oPg2LZEu7duGH+7W07/Llr04ThMOR90uuDWCbJeU4Fju0qDoT7MfyoS/l9XFhH8tkQmURg3nQtWb3kXcXKQ+hYL4nVNiAF7SB27LXA7lcEiJcqYB3lVijPRzqhGRSTZHo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ky1Y+1K4j23IhVxvzXcnAzw1MbMcijdQqZs0qH3wbFHw4XO7hradNRsrF/o44u+mF8VHwZW/9TKYz2xUbg3jM/i6hNQBU9ku6VR0X+5/ujR4kwp8rAYbv637AnpWcUdNp2Us0mtrYSX0pDOfrpiDk1MHfkPfFo8//pw2YSYvIRM=; X-YMail-OSG: SfrqXAAVM1kCuvrK2Psc_siH0suQz99Yof6YusfNDC2_FOV s9_yHYC7IUHOE5YdJKyQEc8gR2sSPetXfU_ytUINGhAWQqrHbzWucrI5aAkP _bxy01Isshilkp6XHAwzRb9XKCKJ7hw_xUC.CX72lPGzSeZx_71RmlcStEUY t.RxXkp4jEVzv1T72t80LCwJmjMwWxy81ywWu_1kLAp7HU9Rf1cWH4l4XAKw prYBlGoAobN6AT3v.4Z5BJYBffLNNq34SVAM2KqsvAgUirRqcP.1k1989kOo 8pOXJaf7Hueh.5RJYnJiJX_eDljX8t2E.pz6c8l4nUayBrOxrtSyaYCH9aPA sO.SWLBkVEMnekgYdnA997eekaKiWGSEXG0TlbHNVw6LZD5vaqP6fvR0TY19 EAIyisWS2S_jFJ9uIPa11dFN56qAp5RM8ZznYKS0NemPpUV6vsSmrmIS5Q8q 03na29n8RnUkmNg-- Received: from [78.143.208.219] by web171204.mail.ir2.yahoo.com via HTTP; Sun, 08 Jul 2012 13:25:37 BST X-Mailer: YahooMailWebService/0.8.118.349524 Message-ID: <1341750337.36593.YahooMailNeo@web171204.mail.ir2.yahoo.com> Date: Sun, 8 Jul 2012 13:25:37 +0100 (BST) From: Jeff Hedges To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Working openvpn/pf configuration broken on upgrade from 8.3 to 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff Hedges List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:25:45 -0000 =0A=0AHi.=0A=0AI'm running a small VPN for ~10 office users. Upon upgrading= the machine from 8.3 to 9.0 yesterday, it became=0Aimpossible for users to= connect to the VPN. I've tried everything I can think of to track down the= problem and it=0Aseems (although I may be mistaken) to be something to do = with pf and a redirect rule. Here is the pf.conf on=0Athe machine:=0A=0A--%= <--=0A=0Anic_wan =3D fxp0=0Anic_dmz =3D fxp2=0Anic_tun =3D tun0 =0A# Perfor= m NAT for outgoing connections from the DMZ=0Anat log on $nic_wan from $nic= _dmz:network to any -> ($nic_wan)=0A=0A# Redirect incoming openvpn clients = from the WAN to the openvpn server=0Ardr log on $nic_wan proto udp from any= to any port 11940 -> 10.2.0.1 port 11940=0A=0Apass log all=0A=0A--%<--=0A= =0AThe fxp0 interface is connected directly so a small DSL modem that simpl= y forwards everything=0Ato this machine (no NAT, no filtering, etc). The fx= p0 has one address: 1.0.0.2.=0A=0AThe openvpn daemon is listening on 10.2.0= .1, which is the only IP bound to the fxp2 interface.=0A=0AHere is where th= e madness starts:=0A=0ARunning tcpdump on fxp0 and pflog0 shows the followi= ng when a remote user x.x.x.x connects:=0A=0Afxp0: 00:00:00.443090 00:50:7f= :21:67:94 > 00:d0:b7:40:4b:31, IPv4, length 96: x.x.x.x.11940 > 10.0.0.2.11= 940: UDP, length 54=0Apflog0: 00:00:16.820380 rule 0..16777216/0(match): pa= ss in on fxp0: x.x.x.x.11940 > 10.2.0.1.11940: UDP, length 54 =0ASo, packet= s come in fxp0 from x.x.x.x and then after the rdr rule, they're sent to 1.= 2.0.1:11940.=0A=0AHowever, the openvpn server log shows nothing, even at th= e highest verbosity settings. The connecting=0Aclient eventually receives a= "handshake timed out" message and either gives up or tries again.=0A=0AUsi= ng nc, it's possible to see that packets *are* getting through:=0A=0A$ nc -= u -vvv example.com 11940=0AConnection to example.com 11940 port [udp/*] suc= ceeded!=0A=0AThe openvpn server log then shows a TLS handshake error (as ex= pected, as nc obviously isn't performing a TLS=0Ahandshake).=0A=0AIf I, fro= m inside the DMZ, try to connect an openvpn client to the server, the conne= ction immediately=0Asucceeds and everything works correctly. Therefore, I b= elieve that the 'rdr' rule in the pf.conf=0Ais probably to blame and that s= omething pretty fundamental has changed between 8.3 and 9.0. From=0Athe biz= arre behaviour (letting packets through but apparently "damaged" in some wa= y), I'm guessing=0Athat this is a bug.=0A=0ADoes anyone have any idea how I= can track down what's going on?=0A From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 12:30:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D09201065670 for ; Sun, 8 Jul 2012 12:30:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4A35F8FC0C for ; Sun, 8 Jul 2012 12:30:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id 8B75427DF9; Sun, 8 Jul 2012 14:30:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q68CUWHe002544; Sun, 8 Jul 2012 14:30:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Jul 2012 14:30:32 +0200 From: Polytropon To: Wojciech Puchar Message-Id: <20120708143032.89aad1ea.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:30:35 -0000 On Sun, 8 Jul 2012 14:16:31 +0200 (CEST), Wojciech Puchar wrote: > > Perhaps, and I know that this will offend some purists, but a nice GUI > > not about purism but (lack of) usability. > > GUI interfaces never helps, only hides real things and prevent > understanding anything. You maybe understand it, maybe not. Most people > will not. > > GUI interfaces are actual a PROBLEM with today software. The main problem here is that you have no efficient way of documentation. What do you want to do? Describe pictures? And as soon as the GUI changes (e. g. different toolkit version), things may change, not "look the same" anymore. Also GUIs seem to be limited, especially if you want to apply options that make better use of characteristics of a flash drive (compared to a regular hard disk). A GUI "disk initializer" would have to take _every_ possibility into mind, everything that might be specific to the OS it runs on (as for example Linux differs from FreeBSD filesystem-wise), making things much more complicated than they need to. With few routine, tasks are performed more natural using the desired CLI tools. You don't go "Now I have to remember which command to format the disk", you just format the disk, which means "spaking to" newfs. The more often you do it, the more obvious the tools are, and they won't change in look and feel (or options). That makes them superior. I admit that they might be confusing for people who do not want to read, learn and practice. That's okay. Those should use GUI tools and live with the (limited) set of selections they are presented. As there is no real distinction between user and administrator anymore, this is something we need to live with. That being said, CLI tools offer the easier interface to the more advanced functionality and better flexibility, which is especially useful in the discussed case: initializing a USB flash drive that might need different options than what you could default to for a regular disk drive. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 13:27:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0E0106566C for ; Sun, 8 Jul 2012 13:27:07 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2638FC0A for ; Sun, 8 Jul 2012 13:27:07 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E1BE2E6565; Sun, 8 Jul 2012 14:28:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=neyQFAnp+C4f Vq4vq1K2rhQmdI8=; b=t5geIHjah1/iN/zyf5Ak5hvCbSgPtyRtQx6lg98ij/iV 7SOFC/IlUpKtqlpIeWi4sgNYLSmJnC/NlJGFv78jYrf3Fa3Br5S1NiGowQkxcCfg vtsY2kysBshBxFEKMJGWrbuZEAiOSGG+7AADXkW97gTR4OmLs9WORUPYAD6rXTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=GfHS/H wWJgVOVevuPoc60+nKbrVXxP8VUaPTh5K2mZv3BWOd3530gPhOeNGpZ+r9Ok4wNR QkPNLMRTxR1M1GxH5HvIArLmT8SLlNO1AfVyvHwVgsMNU9KTgA59zlP3teO1vaQl r0upNHKbfh7nDAVetlWt802OKART9icp68lb4= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id ACC0DE650D; Sun, 8 Jul 2012 14:28:30 +0100 (BST) Message-ID: <4FF98AA9.1070308@cran.org.uk> Date: Sun, 08 Jul 2012 14:27:05 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Polytropon References: <20120708143032.89aad1ea.freebsd@edvax.de> In-Reply-To: <20120708143032.89aad1ea.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 13:27:07 -0000 On 08/07/2012 13:30, Polytropon wrote: > With few routine, tasks are performed more natural using > the desired CLI tools. You don't go "Now I have to remember > which command to format the disk", you just format the disk, > which means "spaking to" newfs. The more often you do it, > the more obvious the tools are, and they won't change in > look and feel (or options). That makes them superior. How do you format a FAT32 partition? newfs won't work. Is it newfs_vfat, newfs_fat32, newfs_msdos etc.? And how do you specify you want FAT32 instead of FAT12 or FAT16? With a good GUI tool like diskmgmt.msc in Windows 2008 you simply right-click the partition and click "New Volume" to create a new partition, or "Format" to format it - and then follow the prompts. Of course using diskpart is faster if you know the commands and parameters, but for an ordinary user adding a new disk maybe once a year it's most likely more efficient to just use the GUI. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 13:37:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C70D106564A for ; Sun, 8 Jul 2012 13:37:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B1D0D8FC18 for ; Sun, 8 Jul 2012 13:37:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id 247A127E1B; Sun, 8 Jul 2012 15:37:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q68DbWkG003138; Sun, 8 Jul 2012 15:37:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Jul 2012 15:37:32 +0200 From: Polytropon To: Bruce Cran Message-Id: <20120708153732.a7465c1e.freebsd@edvax.de> In-Reply-To: <4FF98AA9.1070308@cran.org.uk> References: <20120708143032.89aad1ea.freebsd@edvax.de> <4FF98AA9.1070308@cran.org.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 13:37:40 -0000 On Sun, 08 Jul 2012 14:27:05 +0100, Bruce Cran wrote: > On 08/07/2012 13:30, Polytropon wrote: > > With few routine, tasks are performed more natural using > > the desired CLI tools. You don't go "Now I have to remember > > which command to format the disk", you just format the disk, > > which means "spaking to" newfs. The more often you do it, > > the more obvious the tools are, and they won't change in > > look and feel (or options). That makes them superior. > > How do you format a FAT32 partition? newfs won't work. Is it newfs_vfat, > newfs_fat32, newfs_msdos etc.? And how do you specify you want FAT32 > instead of FAT12 or FAT16? In such cases, you use the _proper_ CLI tools for that job. As I said, those are typically specific to the file system one wants to use, and depending on the file system design, there may be options that are individual to those tools. For every fs-related task, there is a system-level tool that does the job. > With a good GUI tool like diskmgmt.msc in > Windows 2008 you simply right-click the partition and click "New Volume" > to create a new partition, or "Format" to format it - and then follow > the prompts. And of course you cannot create UFS partitions that way. :-) I still remember the "initalize disk" function from the original Amiga or Atari ST graphical interfaces. They were bound to those systems and their supported file systems. Intending to have something similar (a GUI) for UNIX and Linux would be possible, but very complicated "under the hood", and it would be even more complicated to make all that power utilizable to a novice user. In that specific case, reasonable defaults would have to be provided, which typically fail in edge cases. This is where you use the power of CLI. Another advantage: It's less interactive, giving you potential for automating tasks. "Follow the prompts" might even be too complicated for some kinds of users. :-) > Of course using diskpart is faster if you know the > commands and parameters, but for an ordinary user adding a new disk > maybe once a year it's most likely more efficient to just use the GUI. If the GUI takes the considerations about file system and media type (and their implications) into mind -- no problem. Sadly, I don't know of a tool yet that exactly works that way. Especially in "trial & error" scenarios the CLI is simpler in use. For example, you compose a newfs command. Then you apply it. Not happy with the result? Recall the command from the command line history, change the parameters you want, and then try again. It's surely harder to do that within a GUI. :-) On the other hand, a proper tool would efficiently visualize the content of a disk, showing how slices and partitions are laid out and what options they have. This is a real benefit in testing scenarios where you need a quick overview of the status quo. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 15:06:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AED1106566C for ; Sun, 8 Jul 2012 15:06:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id F2AD18FC16 for ; Sun, 8 Jul 2012 15:06:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q68F6dpl040832; Mon, 9 Jul 2012 01:06:40 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 9 Jul 2012 01:06:39 +1000 (EST) From: Ian Smith To: Carmel In-Reply-To: <20120708120028.85CA7106568C@hub.freebsd.org> Message-ID: <20120708233300.J42038@sola.nimnet.asn.au> References: <20120708120028.85CA7106568C@hub.freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-94130394-1341759999=:42038" Cc: freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 15:06:48 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-94130394-1341759999=:42038 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT In freebsd-questions Digest, Vol 422, Issue 10, Message: 29 On Sun, 8 Jul 2012 07:41:59 -0400 Carmel wrote: > On Sat, 7 Jul 2012 20:36:36 -0600 (MDT) > Warren Block articulated: > > > On Sat, 7 Jul 2012, Carmel wrote: > > > > > This is probably a dumb question, but does gpart even work on a USB > > > flash drive? I have not been able to figure out how to do it. I > > > want to erase the entire drive and format it for a FreeBSD UFS2 > > > file system. > > > > Yes, gpart will work with pretty much any storage device. > > > > If you want the drive to be bootable, it needs boot blocks. This is > > easier with GPT than MBR. For an 8G drive: > > > > # gpart create -s gpt da0 > > # gpart add -t freebsd-boot -s 512k da0 > > # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0 > > # gpart add -t freebsd-ufs -b 1M -s 7G da0 > > # gpart add -t freebsd-swap da0 > > # newfs -U /dev/da0p2 > > Thanks Warren, you win the prize for the most detailed answer. > Polytropon gave me the easiest answer if I just want to use the drive > as a simple storage device; however, if at some point I actually want > to go beyond that your answer is what I would require. > > Interestingly enough, I searched through the man pages and FreeBSD help > but never came across anything that specifically addressed flash drive. > Perhaps I was just not looking hard enough. In general they're not distinct in usage from any other type of disk. > Perhaps, and I know that this will offend some purists, but a nice GUI > that would do what your instructions detail above would be helpful. > There is no way that I am going to remember all of those instructions in > six months time. Just my 2¢. Well one of the reasons I'm replying to this is to keep a copy of Warren's recipe handy :) Another is to point out that rumours of the death of MBR partitioning, especially on small disks, are premature. I know your question specified gpart, but the easiest way I know of to put UFS filesystems on flash drives is to use sade(8), incorporating the fdisk & bsdlabel & newfs functions from sysinstall .. it still works as well as ever, however "old-fashioned" or "deprecated" some may call it. sade's GUI at the curses level :) and does all the heavy maths for you, both for slicing the disk and partitioning the slice(s). As mentioned in boot0cfg(8), you have to set # sysctl kern.geom.debugflags=16 before sade (or anything) can write to any GEOM disk's boot sectors. Remember to reset it to 0 later. You might even like to put a small msdosfs slice first, so you can use some of that stick to transfer files between UFS and DOS systems. And yes you can multiboot from a memstick if you (or sade) put boot0 on it, assuming your computer supports booting from USB drives. I don't know what the gpart equivalent of boot0 is, if there is one yet? Last I heard, seemed you had to use Linux tools to multiboot GPT disks. There was some muttering about updating sade to handle GPT too .. that would be very welcome, maybe restoring some of the lost functionality from sysinstall/sade back into bsdinstall, both for GPT and MBR systems. cheers, Ian --0-94130394-1341759999=:42038-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 15:16:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BBAA106566C for ; Sun, 8 Jul 2012 15:16:52 +0000 (UTC) (envelope-from reinhard.haller@interactive-net.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id BA0AF8FC08 for ; Sun, 8 Jul 2012 15:16:51 +0000 (UTC) Received: from interactive.dnsalias.net (p5B343ACE.dip.t-dialin.net [91.52.58.206]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LlLtL-1SFveU0i3T-00bIEa; Sun, 08 Jul 2012 17:16:45 +0200 Received: from scalix.interactive.de ([fd08:e8a3:4825:0:20c:29ff:fe8e:3748]) by interactive.dnsalias.net with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SntE4-000A9Z-Hf for freebsd-questions@freebsd.org; Sun, 08 Jul 2012 17:16:44 +0200 Received: from scalix.interactive.de (localhost.localdomain [127.0.0.1]) by scalix.interactive.de (8.13.8/8.13.8) with ESMTP id q68FGieu005276 for ; Sun, 8 Jul 2012 17:16:44 +0200 Received: from [192.168.0.178] (Core2Duo.interactive.de [192.168.0.178]) by scalix.interactive.de (Scalix SMTP Relay 11.4.5.13150) via ESMTP; Sun, 08 Jul 2012 17:16:43 +0200 (CEST) Date: Sun, 8 Jul 2012 17:14:40 +0200 From: Reinhard Haller To: freebsd-questions@freebsd.org Message-ID: <4FF9A3E0.6000303@interactive-net.de> x-scalix-Hops: 1 User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Disposition: inline X-ACL-rcpt: freebsd-questions@freebsd.org X-ACL-Send: reinhard.haller@interactive-net.de X-Provags-ID: V02:K0:q0bMLyHr/Ht6e7kQEmcyJa3vMrsD9aemzr/bHzZxAPD bxHucDlD6UL36xijsRlgphFi09EGK/c9PT/qWYGfYg/nnackMc qqY4hWFkik8q8wY0qZbqvGQt+iIiis57rBB9V9hXcZI1L3td3i irZ96rEC/uyIzWpU9S3Y0HUpkhEPYBAo96xbqkvUYbs24BlpzS 6ZHAtZ/bwDFXvq6OqLpW6tdOararnSVL8dPfoAhEh3FmrAG456 N/T1wm3m7TAUz4CYypEZ+piGfDjhhTQi5H0WDj8roeW7iW65VT n243LIsA+IKzpn6UnXtJdQWwhPkTT2Cfkczl7QiU8jE+F3lUr4 GoyQnJbnGSI4Y/Dm3bQBfMtlHHR008X1V6d25VJHSXxP16cX0R eVn26Bh/jXWPw== Subject: nanobsd: UsbDevice broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 15:16:52 -0000 Hi, I'm trying to get nanobsd working on an USB-stick. Encountered the following problem in _.di (tail): Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s1a 947643 236357 635475 27% 4712 117686 4% /usr/obj/nanobsd.NANOBSD/_.mnt Generating mtree... Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty (mounting on /usr/obj/nanobsd.NANOBSD//_.mnt) newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3 /dev/md0s3: 7.8MB (16065 sectors) block size 4096, fragment size 512 using 4 cylinder groups of 1.96MB, 503 blks, 256 inodes. with soft updates super-block backups (for fsck -b #) at: 32, 4056, 8080, 12104 /usr/obj/nanobsd.NANOBSD//_.mnt/. 0 blocks Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s3 7840 1 7212 0% 2 1020 0% /usr/obj/nanobsd.NANOBSD/_.mnt Writing out _.disk.image... dd: /dev/md0s1: Input/output error 12559+0 records in 12559+0 records out 823066624 bytes transferred in 58.897047 secs (13974667 bytes/sec) Running exit trap code Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ada0p2 379804760 7180384 342239996 2% 470776 23682822 2% / umount: /usr/obj/nanobsd.NANOBSD//_.mnt: not a file system root directory Replacing the line UsbDevice Generic 1000 with FlashDevice SanDisk 1G gives Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s1a 982527 236354 667570 26% 4712 122582 4% /usr/obj/nanobsd.NANOBSD/_.mnt Generating mtree... Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty (mounting on /usr/obj/nanobsd.NANOBSD//_.mnt) newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3 /dev/md0s3: 1.5MB (3024 sectors) block size 4096, fragment size 512 using 4 cylinder groups of 0.37MB, 95 blks, 64 inodes. with soft updates super-block backups (for fsck -b #) at: 32, 792, 1552, 2312 /usr/obj/nanobsd.NANOBSD//_.mnt/. 0 blocks Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s3 1415 1 1301 0% 2 252 1% /usr/obj/nanobsd.NANOBSD/_.mnt Writing out _.disk.image... 15615+1 records in 15615+1 records out 1023386112 bytes transferred in 22.597459 secs (45287663 bytes/sec) Any suggestions? Thanks Reinhard nanobsd config: NANO_NAME=NANOBSD NANO_PMAKE="make -j 4" NANO_KERNEL=GENERIC NANO_ARCH="i386" NANO_IMAGES=1 NANO_BOOTLOADER="boot/boot0" NANO_LABEL="NANO" CONF_BUILD=' NO_KLDLOAD=YES NO_NETGRAPH=YES NO_PAM=YES ' CONF_INSTALL=' NO_BLUETOOTH=YES NO_CVS=YES NO_FORTRAN=YES NO_HTML=YES NO_LPR=YES NO_MAN=YES NO_SENDMAIL=YES NO_SHAREDOCS=YES NO_EXAMPLES=YES NO_INSTALLLIB=YES NO_CALENDAR=YES NO_MISC=YES NO_SHARE=YES ' CONF_WORLD=' NO_MODULES=YES NO_KERBEROS=YES NO_GAMES=YES NO_RESCUE=YES NO_SYSCONS=YES NO_INFO=YES ' #USB Stick UsbDevice Generic 1000 #FlashDevice SanDisk 1G # allow root to login via SSH customize_cmd cust_allow_ssh_root From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:31:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37434106566C for ; Sun, 8 Jul 2012 16:31:12 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 1379F8FC0A for ; Sun, 8 Jul 2012 16:31:12 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q68GVA3a082883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 8 Jul 2012 09:31:11 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q68GVAlI082882; Sun, 8 Jul 2012 09:31:10 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03898; Sun, 8 Jul 12 09:22:03 PDT Date: Sun, 08 Jul 2012 09:21:53 -0700 From: perryh@pluto.rain.com To: guru@unixarea.de Message-Id: <4ffa1611.uU1UJbStTYPSgPa5%perryh@pluto.rain.com> References: <4ff959fc.bxvqYk2dG0XhJgL+%perryh@pluto.rain.com> <20120708063537.GA2365@tinyCurrent> In-Reply-To: <20120708063537.GA2365@tinyCurrent> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: anoncvs password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:31:12 -0000 Matthias Apitz wrote: > ... one should use today better svn, not cvs; Does svn work for (parts of) the ports collection, and is there a writeup somewhere on how to use it? It doesn't seem to have found its way into http://www.freebsd.org/doc/handbook/mirrors.html From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:47:28 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A98A106566B for ; Sun, 8 Jul 2012 16:47:28 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id E80318FC0A for ; Sun, 8 Jul 2012 16:47:27 +0000 (UTC) Received: from vincemacbook.unsane.co.uk (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q68GlQdS064261 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 8 Jul 2012 17:47:26 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FF9B99D.4010101@unsane.co.uk> Date: Sun, 08 Jul 2012 17:47:25 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: "FreeBSD-Questions@freebsd.org" X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: for loops with /bin/sh on command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:47:28 -0000 I'm sure I'm being dim, but why cant I do a for loop on the command line using /bin/sh ? am I suffering from too much use of bash and as such shouldnt expect it to work? banshee# for foo in 1 2 3 ; do echo $foo ; done for: Command not found. foo: Undefined variable. banshee# echo 'for foo in 1 2 3; do echo $foo ; done' > bahh.sh banshee# sh bahh.sh 1 2 3 banshee# Vince From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:51:08 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90407106566B for ; Sun, 8 Jul 2012 16:51:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 32EB68FC0C for ; Sun, 8 Jul 2012 16:51:06 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68GovPj020728; Sun, 8 Jul 2012 18:50:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68Gos6w020725; Sun, 8 Jul 2012 18:50:56 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 18:50:54 +0200 (CEST) From: Wojciech Puchar To: Vincent Hoffman In-Reply-To: <4FF9B99D.4010101@unsane.co.uk> Message-ID: References: <4FF9B99D.4010101@unsane.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 18:51:00 +0200 (CEST) Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: for loops with /bin/sh on command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:51:08 -0000 > am I suffering from too much use of bash and as such shouldnt expect it > to work? > maybe. i actually use bash for script. > > banshee# for foo in 1 2 3 ; do echo $foo ; done > for: Command not found. > foo: Undefined variable. > banshee# echo 'for foo in 1 2 3; do echo $foo ; done' > bahh.sh > banshee# sh bahh.sh > 1 > 2 > 3 > banshee# > > > > Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:51:38 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F7581065673 for ; Sun, 8 Jul 2012 16:51:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 07CBF8FC12 for ; Sun, 8 Jul 2012 16:51:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68GpP0L020734; Sun, 8 Jul 2012 18:51:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68GpNPe020731; Sun, 8 Jul 2012 18:51:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 18:51:23 +0200 (CEST) From: Wojciech Puchar To: Vincent Hoffman In-Reply-To: <4FF9B99D.4010101@unsane.co.uk> Message-ID: References: <4FF9B99D.4010101@unsane.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 18:51:27 +0200 (CEST) Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: for loops with /bin/sh on command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:51:38 -0000 > > > banshee# for foo in 1 2 3 ; do echo $foo ; done > for: Command not found. > foo: Undefined variable. > banshee# echo 'for foo in 1 2 3; do echo $foo ; done' > bahh.sh > banshee# sh bahh.sh > 1 > 2 > 3 > banshee# > echo $SHELL is it /bin/sh really? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:52:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3384A106566C for ; Sun, 8 Jul 2012 16:52:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id DB7DA8FC15 for ; Sun, 8 Jul 2012 16:52:44 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68GqWNO020741; Sun, 8 Jul 2012 18:52:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68GqTcc020738; Sun, 8 Jul 2012 18:52:30 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 18:52:29 +0200 (CEST) From: Wojciech Puchar To: Ian Smith In-Reply-To: <20120708233300.J42038@sola.nimnet.asn.au> Message-ID: References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 18:52:36 +0200 (CEST) Cc: Carmel , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:52:48 -0000 > I know your question specified gpart, but the easiest way I know of to > put UFS filesystems on flash drives is to use sade(8), incorporating the the easiest way to put UFS filesystem on flash drives is to ... put UFS filesystem using newfs command. You DO NOT NEED any partitioning. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 16:59:09 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 650E21065670 for ; Sun, 8 Jul 2012 16:59:09 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id E9F748FC16 for ; Sun, 8 Jul 2012 16:59:08 +0000 (UTC) Received: from vincemacbook.unsane.co.uk (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q68Gx7vG064713 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 8 Jul 2012 17:59:08 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FF9BC5B.2090400@unsane.co.uk> Date: Sun, 08 Jul 2012 17:59:07 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Wojciech Puchar References: <4FF9B99D.4010101@unsane.co.uk> In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: for loops with /bin/sh on command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 16:59:09 -0000 On 08/07/2012 17:51, Wojciech Puchar wrote: >> >> >> banshee# for foo in 1 2 3 ; do echo $foo ; done >> for: Command not found. >> foo: Undefined variable. >> banshee# echo 'for foo in 1 2 3; do echo $foo ; done' > bahh.sh >> banshee# sh bahh.sh >> 1 >> 2 >> 3 >> banshee# >> > echo $SHELL > is it /bin/sh really? Doh, yes that was it. Cant believe I forgot to check. I was running csh for no good reason. Thanks, Vince From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 17:21:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7475106564A for ; Sun, 8 Jul 2012 17:21:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 631CE8FC12 for ; Sun, 8 Jul 2012 17:21:09 +0000 (UTC) Received: from [46.244.140.39] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SnvAS-0004Fi-7I for freebsd-questions@freebsd.org; Sun, 08 Jul 2012 19:21:08 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q68HL6DV004172 for ; Sun, 8 Jul 2012 19:21:06 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q68HL6Bk004171 for freebsd-questions@freebsd.org; Sun, 8 Jul 2012 19:21:06 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 8 Jul 2012 19:21:05 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120708172105.GA4137@tinyCurrent> References: <4ff959fc.bxvqYk2dG0XhJgL+%perryh@pluto.rain.com> <20120708063537.GA2365@tinyCurrent> <4ffa1611.uU1UJbStTYPSgPa5%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ffa1611.uU1UJbStTYPSgPa5%perryh@pluto.rain.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.140.39 Subject: Re: anoncvs password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 17:21:10 -0000 El día Sunday, July 08, 2012 a las 09:21:53AM -0700, perryh@pluto.rain.com escribió: > Matthias Apitz wrote: > > > ... one should use today better svn, not cvs; > > Does svn work for (parts of) the ports collection, As far as I know, the ports will move to SVN soon; there was a thread in current@ some days ago; IIRC the date was July 14; search for Subject: [HEADS UP] Ports tree migration to Subversion > and is there a writeup somewhere on how to use it? > It doesn't seem to have found its way into > http://www.freebsd.org/doc/handbook/mirrors.html see: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/subversion-primer.html HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 18:03:16 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C5B2106564A for ; Sun, 8 Jul 2012 18:03:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 492528FC15 for ; Sun, 8 Jul 2012 18:03:15 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68I3A5C020998; Sun, 8 Jul 2012 20:03:10 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68I3ACj020995; Sun, 8 Jul 2012 20:03:10 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 20:03:10 +0200 (CEST) From: Wojciech Puchar To: Vincent Hoffman In-Reply-To: <4FF9BC5B.2090400@unsane.co.uk> Message-ID: References: <4FF9B99D.4010101@unsane.co.uk> <4FF9BC5B.2090400@unsane.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 20:03:10 +0200 (CEST) Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: for loops with /bin/sh on command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 18:03:16 -0000 >>> 3 >>> banshee# >>> >> echo $SHELL >> is it /bin/sh really? > Doh, yes that was it. Cant believe I forgot to check. I was running csh > for no good reason. the reason is that it is default. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 20:00:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F28B106564A for ; Sun, 8 Jul 2012 20:00:42 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id BF83A8FC14 for ; Sun, 8 Jul 2012 20:00:41 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 234EEE6565; Sun, 8 Jul 2012 21:02:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=GMT0+QnHKEFo 0lGn/V8GBAyt4N0=; b=R1a0Sp1WxBzmcdngpaWoFDLRTvHx1ltgxyfRQ0IALwJT bPB+N3r7X8RVnazDysxJJItqkZJ34PcCkOBLq6tAgDHJUzly2jdkeIAd22b5IDnr wGWjgvSQLXzGpGnxEDZaSYVv5VGogXhu9wuqNhj3fdGGcu90BM3OnYtDXVjiT/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=BJ05vf MDTCqSA/CWKJt00hFsODXeAqHcl0ofIuEoDr7YrgqqreDWwDCC4QQbmwkMQNY1BJ L5HEYnpkuM7WoYtITaG68qtW3RkSA2e5MAXTKbdg+3xHkbevVgd2gIHlBb3db5Cg 0zajFjN+WprAREd9R7C+CNGi+dNduaw7ZwVkk= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 00847E650D; Sun, 8 Jul 2012 21:02:05 +0100 (BST) Message-ID: <4FF9E6E8.2070306@cran.org.uk> Date: Sun, 08 Jul 2012 21:00:40 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Ian Smith References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> In-Reply-To: <20120708233300.J42038@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 20:00:42 -0000 On 08/07/2012 16:06, Ian Smith wrote: > In general they're not distinct in usage from any other type of disk. The more expensive disks of course support TRIM so you'd want to pass -t to newfs to enable it. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 20:51:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 308EA1065673 for ; Sun, 8 Jul 2012 20:51:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 856A58FC08 for ; Sun, 8 Jul 2012 20:51:43 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68Kpa5u021429; Sun, 8 Jul 2012 22:51:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68KpZ3e021426; Sun, 8 Jul 2012 22:51:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jul 2012 22:51:35 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <4FF9E6E8.2070306@cran.org.uk> Message-ID: References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> <4FF9E6E8.2070306@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sun, 08 Jul 2012 22:51:36 +0200 (CEST) Cc: Carmel , Ian Smith , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 20:51:44 -0000 >> In general they're not distinct in usage from any other type of disk. > > The more expensive disks of course support TRIM so you'd want to pass -t to > newfs to enable it. can you give me an example of pendrive that supports TRIM? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 20:55:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A21B1106566B for ; Sun, 8 Jul 2012 20:55:22 +0000 (UTC) (envelope-from admin@cpcnw.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id 0E0808FC08 for ; Sun, 8 Jul 2012 20:55:21 +0000 (UTC) Received: from admin ([212.159.115.167]) by avasout07 with smtp id XwvC1j0083cmMH801wvDDX; Sun, 08 Jul 2012 21:55:13 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=UcjTuduN c=1 sm=1 a=d3jGE71NoEtcjJHpolzxPg==:17 a=c7wOEYpxq38A:10 a=1AgHmQzn9EwA:10 a=8nJEP1OIZ-IA:10 a=yWCowibMAAAA:8 a=NPR3midMAAAA:8 a=3TfLa55ZAAAA:8 a=SzrkbpdnlrjF_ekDliEA:9 a=wPNLvfGTeEIA:10 a=PL5XsjpzKkcA:10 a=d3jGE71NoEtcjJHpolzxPg==:117 Message-ID: <1211EED02D7F4079B279A9D413857ECF@admin> From: "Graham Bentley" To: References: <20120708120028.99568106568F@hub.freebsd.org> Date: Sun, 8 Jul 2012 21:53:19 +0100 Organization: Custom PC North West MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Subject: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Graham Bentley List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 20:55:22 -0000 Hi I have put together a little experimental FreebSD 9.0 box which comprises of ; http://www.cartft.com/catalog/il/934 http://www.overclockers.co.uk/showproduct.php?prodid=HS-023-ZA 2GB RAM and a Sandisk SDSA3BD-054G 8GB SSD The idea is a silent system I can tinker on - nothing serious. I chose the guided install and accepted the default partition / fs layout. I thought the things where running a bit slow and changed from 'native' in the BIOS to 'legacy' SATA and things seem a bit quicker now however I am wondering if I am getting the bext out of the SDD? I have read a little about 'aligning' and 4k sectors I think? If its running ok should I leave as is? Or do you have tunning advice for me? Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 21:18:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52AC2106566B for ; Sun, 8 Jul 2012 21:18:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 0399F8FC15 for ; Sun, 8 Jul 2012 21:18:14 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 8701AE6565; Sun, 8 Jul 2012 22:19:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=1bjpTb9oUWKp M0XsBSQ4j8ic+Qw=; b=tPh9JHgAcVaiDhZDLZZ2EHbJt1n6WaZT7MJW9I6Z8iuU 8UTJd9PLS/9MSjZpsXEDquv2eJUh+31ax/rZocCSKNCsmL9AVz62BOBg30ldWC64 UcHUR8JsgA7Ie2gaRnG+iJf8WKqBDWWpCazfDDqyzXZyL8G781TKQVRV7tAk8e4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=LTnuIH 8Ndr4R1aUuKy388VirCZy1LF8LZfIJ6m1odxQXvLfGS0fCy3JrfTHvMs73UgmfMP RUyJwbfZaxyZ/E456KkZp4eloFME8TMNu36nJs5uE/JVzZfQdTRPkBCDw/3Hx0EL hDnhzYQQcw5BexjSAAgaoNd50sfuI/qbciDBY= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 5D3B9E650D; Sun, 8 Jul 2012 22:19:38 +0100 (BST) Message-ID: <4FF9F914.8080803@cran.org.uk> Date: Sun, 08 Jul 2012 22:18:12 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Wojciech Puchar References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> <4FF9E6E8.2070306@cran.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel , Ian Smith , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 21:18:14 -0000 On 08/07/2012 21:51, Wojciech Puchar wrote: > can you give me an example of pendrive that supports TRIM? LaCie FastKey (http://www.tomshardware.co.uk/usb-3.0-thumb-drive-flash-drive,review-32174-5.html). -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 21:34:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98BAF1065670 for ; Sun, 8 Jul 2012 21:34:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2250F8FC12 for ; Sun, 8 Jul 2012 21:34:02 +0000 (UTC) Received: by werp13 with SMTP id p13so7322363wer.13 for ; Sun, 08 Jul 2012 14:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=yNxVqgOLFKr8gtLBSvg3D4oOXxAj6Hdx13+eDspQHxg=; b=gYYEfH76XcgAZtH0y9NC8PVkVJQ+myWxlmcdSV4J4h7vAOWJW9S47+r5+REjh/4OL8 uQG418PLvqhjAcWRuxPhV/DdHf1CjRO3EDRAl/UquTh5saqDmIu3xXq97XxM5/1lCcq7 0Xg1+eLy76ExTezS4JBxSYwxgmFjysVouwP9hN4Vk+0SPLyTYut7xJdJZVdhxcp5Ls9M iGbYeqZYOx2Ue/JJY4cdJ2lMwhrRl3HT6K2QfN5UiZBqx8DPN6tgRb2fPsCHQScbTcjo 41dT4oLolwGWAjUVQ8bo8Hgqn0ock2iJ2rcL65crivYoxICfyZ4Ts8ow303VQzb/3xqc BPUw== Received: by 10.216.198.65 with SMTP id u43mr15179868wen.170.1341783242224; Sun, 08 Jul 2012 14:34:02 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id n6sm29596416wie.7.2012.07.08.14.34.00 (version=SSLv3 cipher=OTHER); Sun, 08 Jul 2012 14:34:01 -0700 (PDT) Date: Sun, 8 Jul 2012 22:33:56 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120708223356.20801253@gumby.homeunix.com> In-Reply-To: <20120707185250.GA2389@schweikhardt.net> References: <20120707185250.GA2389@schweikhardt.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 21:34:03 -0000 On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt wrote: > hello, world\n > > is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, > with all ports compiled from scratch. Qbittorrent (2.9.11) freezes > after about 10 to 20 seconds, reacts to mouse clicks only after a > minute or so; the window isn't redrawn when it was obscured by other > windows and ... I tried it a few weeks ago on 8.3. I found that it locks-up just after the first torrent is added, or if it's started with a torrent already loaded. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 22:04:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C2E51065670 for ; Sun, 8 Jul 2012 22:04:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id EA1398FC0C for ; Sun, 8 Jul 2012 22:04:47 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68M0Kvs021862; Mon, 9 Jul 2012 00:00:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68M0KvY021859; Mon, 9 Jul 2012 00:00:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 00:00:20 +0200 (CEST) From: Wojciech Puchar To: RW In-Reply-To: <20120708223356.20801253@gumby.homeunix.com> Message-ID: References: <20120707185250.GA2389@schweikhardt.net> <20120708223356.20801253@gumby.homeunix.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 00:00:20 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 22:04:48 -0000 On Sun, 8 Jul 2012, RW wrote: > On Sat, 7 Jul 2012 20:52:50 +0200 > Jens Schweikhardt wrote: > >> hello, world\n >> >> is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, >> with all ports compiled from scratch. Qbittorrent (2.9.11) freezes >> after about 10 to 20 seconds, reacts to mouse clicks only after a >> minute or so; the window isn't redrawn when it was obscured by other >> windows and ... > > I tried it a few weeks ago on 8.3. I found that it locks-up just after > the first torrent is added, or if it's started with a torrent already > loaded. mosy probably not FreeBSD related. just a buggy program From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 22:04:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D42291065673 for ; Sun, 8 Jul 2012 22:04:51 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 420D18FC20 for ; Sun, 8 Jul 2012 22:04:51 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q68M1WYx021888; Mon, 9 Jul 2012 00:01:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q68M1Vk3021885; Mon, 9 Jul 2012 00:01:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 00:01:31 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <4FF9F914.8080803@cran.org.uk> Message-ID: References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> <4FF9E6E8.2070306@cran.org.uk> <4FF9F914.8080803@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 00:01:32 +0200 (CEST) Cc: Carmel , Ian Smith , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 22:04:51 -0000 seems like SSD style controller+USB 3.0 bridge. sizes suggest this. thanks. On Sun, 8 Jul 2012, Bruce Cran wrote: > On 08/07/2012 21:51, Wojciech Puchar wrote: >> can you give me an example of pendrive that supports TRIM? > > LaCie FastKey > (http://www.tomshardware.co.uk/usb-3.0-thumb-drive-flash-drive,review-32174-5.html). > > -- > Bruce Cran > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 03:22:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A34A1065670 for ; Mon, 9 Jul 2012 03:22:31 +0000 (UTC) (envelope-from pjd@batbytes.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CAC1D8FC08 for ; Mon, 9 Jul 2012 03:22:30 +0000 (UTC) Received: by vcbfy7 with SMTP id fy7so8567686vcb.13 for ; Sun, 08 Jul 2012 20:22:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=uwWEjqr5vdflOVN+MmQrnPzUx2Ck8YqTvJn4Gk4vJng=; b=VTQU4gU8VGunCfg8tNav2gQBABp5m4NvvrJpOym3V9IDIvY/JT/t71BIGQPZB+y5cr 8XrY3VHtn7Dn0Zh5Ual7wpLGVBSQj92v0C+c3OoeIrqBKB3cqfekupJgvaLtD6gCX2kI 2UPDSxAB3cKisg+TY7fLljtONhofIHSvHHuiBa0sMTjAWvoZwZEkSFBLPhSvT5nJDFqc cXhZmCJfgXmzyHfIKT3E9wN7y+56318tdPme20LPhx6UezZFe2i8JErsktxVGvGMcoRq 2gWahWu2ucIw03jFoGwPS660QjIzDUuKNP3yG8rj0iN56YQpeFzbB7zHNtpQLZzG99uC tzvQ== MIME-Version: 1.0 Received: by 10.220.108.15 with SMTP id d15mr18359307vcp.37.1341804149928; Sun, 08 Jul 2012 20:22:29 -0700 (PDT) Received: by 10.52.168.225 with HTTP; Sun, 8 Jul 2012 20:22:29 -0700 (PDT) Date: Sun, 8 Jul 2012 23:22:29 -0400 Message-ID: From: Patrick Donnelly To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkZ+ReIH/W4Wijkh5C1yzZhdz1f/1437xPffz8inKSrgm9arDgw/fH0zAxtfqE3Zxl1LDL2 Subject: power failure, boot, and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 03:22:31 -0000 Hi, After a power failure at home, my FreeBSD server automatically starts again but fails to mount my UFS /boot disk because it was not properly unmounted. Here is my fstab: $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a /boot-disk ufs rw 0 0 I'm using ZFS root with a USB UFS boot device. Anyway, I get an error that looks like (copied from another thread; devices and mount points don't match): UFS: /dev/ad10s3f (/usr) Automatic file system check failed, help! error aborting boo (sending sigtem to parent)! init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. enter full pathname of shell or RETURN for /bin/sh: In single-user mode I just `fsck /dev/da0s1a` and reboot. That fixes the problem. However, I would like this to be automatic on boot. It would be annoying if I'm out-of-town and the server cannot recover without my help. Any tips? -- Patrick Donnelly From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 03:27:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC6A81065670 for ; Mon, 9 Jul 2012 03:27:29 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp.insight.synacor.com [208.47.185.22]) by mx1.freebsd.org (Postfix) with ESMTP id 805388FC19 for ; Mon, 9 Jul 2012 03:27:29 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=z5JnbuUV59w9XxpMO3Yhc9aVbWy8YmjdXuO1Tcff/LU= c=1 sm=0 a=rIqdQNP2logA:10 a=jLN7EqiLvroA:10 a=Fr8x0r-PAAAA:8 a=iD2x9U8v5eneN-rfmlUA:9 a=p91V9-deMQsA:10 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:60802] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 47/B3-06836-B9F4AFF4; Sun, 08 Jul 2012 23:27:23 -0400 Date: Sun, 08 Jul 2012 23:27:23 -0400 Message-ID: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Cc: Carmel , Polytropon Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 03:27:29 -0000 On Sat, 07 Jul 2012 17:45:17 -0400, Thomas Mueller wrote: > Does a USB flash drive also work as a giant floppy, no partitions? > Can you make a flash drive bootable when nonpartitioned and > formatted that way? Polytropon responded: > Yes, that's exactly what my advice was aiming to, but let's > try to keep the terminology clean: You cannot do without > partitions. A partition carries a file system. > You _can_ do without slices. A slice holds one or more partitions. > A slice is a "DOS primary partition". Omitting it is called > "dedicated mode". There may be some circumstances where a > dedicated disk doesn't boot. Personally I haven't met one, > but it's still possible due to BIOSes expecting MS-DOS-alike > structures. > For the file system side, it's just a matter of having > created one partition covering the whole disk, newfs and > tunefs it, and install the boot code. Wojciech Puchar did > already explain how this works and which tools are involved. > However, there _is_ a way to make a "giant floppy without a > file system" (as you said without partitions, and I'll take > that literally): You can use tar, "the universal file system > that isn't a file system" to write data to the USB stick. > Writing stuff: > # tar cf /dev/da0 /my/files > Reading stuff: > # tar xf /dev/da0 > This works, but it may appear that no other system can read it. > If you consider using it for FreeBSD only, no problem. The big > advantage: You don't need to mount and umount the stick. > I'm assume _that_ construct cannot be booted. You mean the non-subdivided 1.44 MB or other capacity of a floppy is called a partition? Same question for CDs? One does not usually think of something that can't be created by subdividing as a partition. Also, a file system can be contained in an image file. Or is this a virtual partition? Might # tar xf /dev/da0 work in other BSDs or even other (quasi-)Unixes including Linux, using the appropriate device name where applicable in place of da0? While that particular construst could probably not be booted, it is possible to boot from a floppy or image file that does not contain a file system. Some of the disk images on the System Rescue CD (sysresccd.org) are not viewable/mountable as file systems. Tom From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 03:30:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95C11106566B for ; Mon, 9 Jul 2012 03:30:10 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 52C2A8FC18 for ; Mon, 9 Jul 2012 03:30:10 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q693U6ls051629; Sun, 8 Jul 2012 21:30:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q693U6lO051626; Sun, 8 Jul 2012 21:30:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Jul 2012 21:30:06 -0600 (MDT) From: Warren Block To: Graham Bentley In-Reply-To: <1211EED02D7F4079B279A9D413857ECF@admin> Message-ID: References: <20120708120028.99568106568F@hub.freebsd.org> <1211EED02D7F4079B279A9D413857ECF@admin> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 08 Jul 2012 21:30:06 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 03:30:10 -0000 On Sun, 8 Jul 2012, Graham Bentley wrote: > Hi I have put together a little experimental FreebSD 9.0 > box which comprises of ; > > http://www.cartft.com/catalog/il/934 > http://www.overclockers.co.uk/showproduct.php?prodid=HS-023-ZA > 2GB RAM and a Sandisk SDSA3BD-054G 8GB SSD > > The idea is a silent system I can tinker on - nothing serious. I chose the > guided install and accepted the default partition / fs layout. I thought the > things where running a bit slow and changed from 'native' in the BIOS to > 'legacy' SATA and things seem a bit quicker now however I am wondering if I > am getting the bext out of the SDD? I have read a little about 'aligning' and > 4k sectors I think? If its running ok should I leave as is? Or do you have > tunning advice for me? The default install of 9.0-RELEASE does not align to 4k sectors. Depending on the SSD, this might cost a little or a lot of performance. The example gpart commands I posted in the "Format a USB flash drive" thread create aligned partitions: http://lists.freebsd.org/pipermail/freebsd-questions/2012-July/243190.html Notes: 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the first filesystem partition at 1M works for most of the common values. 2. As Bruce Cran pointed out, TRIM can be enabled with UFS. But make sure the SSD supports it first. 3. Swap is tricky with small drives, even trickier if you want to use TRIM. Swap files can be used, and then you get TRIM, but see http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/168544 for a way to dismount that swap file before shutdown and an annoying panic. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 03:51:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BF9C1065673 for ; Mon, 9 Jul 2012 03:51:22 +0000 (UTC) (envelope-from jerrymc@jerrymc.net) Received: from jerrymc.net (jerrymc.net [75.75.214.34]) by mx1.freebsd.org (Postfix) with ESMTP id AF0378FC1D for ; Mon, 9 Jul 2012 03:51:21 +0000 (UTC) Received: from jerrymc.net (localhost [127.0.0.1]) by jerrymc.net (8.14.5/8.14.5) with ESMTP id q693MaiT023817; Sun, 8 Jul 2012 23:22:36 -0400 (EDT) (envelope-from jerrymc@jerrymc.net) Received: (from jerrymc@localhost) by jerrymc.net (8.14.5/8.14.5/Submit) id q693MaBU023816; Sun, 8 Jul 2012 23:22:36 -0400 (EDT) (envelope-from jerrymc) Date: Sun, 8 Jul 2012 23:22:36 -0400 From: Jerry McAllister To: Bruce Cran Message-ID: <20120709032236.GA23760@jerrymc.net> References: <20120708143032.89aad1ea.freebsd@edvax.de> <4FF98AA9.1070308@cran.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FF98AA9.1070308@cran.org.uk> User-Agent: Mutt/1.4.2.3i Cc: Wojciech Puchar , Polytropon , FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 03:51:22 -0000 On Sun, Jul 08, 2012 at 02:27:05PM +0100, Bruce Cran wrote: > On 08/07/2012 13:30, Polytropon wrote: > >With few routine, tasks are performed more natural using > >the desired CLI tools. You don't go "Now I have to remember > >which command to format the disk", you just format the disk, > >which means "spaking to" newfs. The more often you do it, > >the more obvious the tools are, and they won't change in > >look and feel (or options). That makes them superior. > > How do you format a FAT32 partition? You don't. You wipe the FAT32 with fdisk and make a FreeBSD slice on it. Then you can bsdlabel it with one partition and newfs it. Or you can use the gpart tools with I am not yet familiar. But, in any case, the FAT32 is irrelevant. You just overwrite that with the FreeBSD stuff. If you have a FAT32 on it and if you want to use it as a FAT32, then you leave the FAT32 alone and just mount the thing as type msdosfs. Make a mount point for it. I commonly use /stick Add something like the following in your /etc/fstab /dev/da2s1 /stick msdosfs rw,noauto 0 0 and then do #mount /stick on the command line. You will have to figure out the correct /dev/... address for it. Generally you dan find the info in dmesg. ////jerry > newfs won't work. Is it newfs_vfat, > newfs_fat32, newfs_msdos etc.? And how do you specify you want FAT32 > instead of FAT12 or FAT16? With a good GUI tool like diskmgmt.msc in > Windows 2008 you simply right-click the partition and click "New Volume" > to create a new partition, or "Format" to format it - and then follow > the prompts. Of course using diskpart is faster if you know the > commands and parameters, but for an ordinary user adding a new disk > maybe once a year it's most likely more efficient to just use the GUI. > > -- > Bruce Cran > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 05:44:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C49B106564A for ; Mon, 9 Jul 2012 05:44:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id B82608FC19 for ; Mon, 9 Jul 2012 05:44:39 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q695iSAa023108; Mon, 9 Jul 2012 07:44:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q695iSDD023105; Mon, 9 Jul 2012 07:44:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 07:44:28 +0200 (CEST) From: Wojciech Puchar To: Jerry McAllister In-Reply-To: <20120709032236.GA23760@jerrymc.net> Message-ID: References: <20120708143032.89aad1ea.freebsd@edvax.de> <4FF98AA9.1070308@cran.org.uk> <20120709032236.GA23760@jerrymc.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 07:44:29 +0200 (CEST) Cc: Bruce Cran , Polytropon , FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 05:44:40 -0000 > You don't. You wipe the FAT32 with fdisk and make a FreeBSD slice on it. > Then you can bsdlabel it with one partition and newfs it. Or you can repeat 100 times more that you "have to" make fdisk and bsdlabel. you don't, and it doesn't make sense From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 05:47:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9254C106564A for ; Mon, 9 Jul 2012 05:47:07 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id F17428FC14 for ; Mon, 9 Jul 2012 05:47:06 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q695l2vo023119; Mon, 9 Jul 2012 07:47:02 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q695l1l2023116; Mon, 9 Jul 2012 07:47:02 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 07:47:01 +0200 (CEST) From: Wojciech Puchar To: Thomas Mueller In-Reply-To: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> Message-ID: References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 07:47:02 +0200 (CEST) Cc: Carmel , Polytropon , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 05:47:07 -0000 >> file system" (as you said without partitions, and I'll take >> that literally): You can use tar, "the universal file system >> that isn't a file system" to write data to the USB stick. > which is best in USB pendrive wear and speed point of view. pendrive's flash translation layers are just awful, only linear writes works well. >> Writing stuff: > >> # tar cf /dev/da0 /my/files i would recomment tar -b 128 -cf /dev/da0 /my/files > Might > # tar xf /dev/da0 > work in other BSDs or even other (quasi-)Unixes including Linux, using the appropriate device name where applicable in place of da0? yes it will run fine under linux, openbsd, netbsd, slowlaris etc. > > While that particular construst could probably not be booted, it is possible to boot from a floppy or image file that does not contain a file system. If you need bootable pendrive then you have to use disklabel and make filesystem. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 07:14:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD246106566C for ; Mon, 9 Jul 2012 07:14:16 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 5CBBA8FC0A for ; Mon, 9 Jul 2012 07:14:16 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 7E648E6565; Mon, 9 Jul 2012 08:15:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=4iGBLS18lR5R MWn49BM6HlMJig4=; b=g09PJ2Rp+pZqfhdimxMH2riW0hxWQ2uxJlZ40ENFRDSN hQkCGyTMjmnz39+gyQRi6aEExVuWiuK3J5kXTjrnYyYI5WLnGLV3rJfOA0QMYRZl trcyTEkIAEd0fak7s03Z6DEg0D7SlQ+zBQ0XLOYccb3A3fDG+1bX0Sn+ZRshMMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=PAQTGO JCyJKWWN6weKVYsjMsCHQz6+k9m5jAQeEwHZ5wsDDFkX/mIoMqoBkrKBWev2yCMC cNGXQCD7xpK0SaDkaHHkQf9KSCN5+iWITnEF5k5T9kcTk2QXIOzmHHKo0hMIJtlT XKXIBNdj/bhg0j/baMuK13ri5kKxkX/LZ28qM= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 61E64E6521; Mon, 9 Jul 2012 08:15:35 +0100 (BST) Message-ID: <4FFA84C0.4020604@cran.org.uk> Date: Mon, 09 Jul 2012 08:14:08 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Warren Block References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 07:14:16 -0000 On 08/07/2012 13:10, Warren Block wrote: > bsdinstall(8) has a curses partition editor. There is probably a > trick needed to use that outside of an install context. Just run "bsdinstall partedit". -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 07:15:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 341751065678 for ; Mon, 9 Jul 2012 07:15:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 990018FC22 for ; Mon, 9 Jul 2012 07:15:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q697EuJM013163 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 9 Jul 2012 08:15:03 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q697EuJM013163 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1341818103; bh=oGVELC5E/mZYKFvg8G1q7HCLNB2NoBo8dIg/PK8E38E=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=tShvlgtoDa9sEqIwPLHFK/sn7nvBuV5uMlEspQnHboBiMgMvnnifWt7vYOTOe/9Xf GFWZGtF/PUS45ArreFqrBSQBHJYz1PQBUINmoAmNW5P0CC/E4++aDgmcKgIPCN1CxH ZlTs/7pznQbf+VzZAhl10mG+jh9lEXTVqaf26dJY= Message-ID: <4FFA84EA.3090501@infracaninophile.co.uk> Date: Mon, 09 Jul 2012 08:14:50 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Patrick Donnelly References: In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig03CB0D6B3382AF800D1EEDD0" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: power failure, boot, and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 07:15:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig03CB0D6B3382AF800D1EEDD0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/07/2012 04:22, Patrick Donnelly wrote: > UFS: /dev/ad10s3f (/usr) > Automatic file system check failed, help! > error aborting boo (sending sigtem to parent)! > init: /bin/sh on /etc/rc terminated abnormally, going to single user mo= de. > enter full pathname of shell or RETURN for /bin/sh: >=20 > In single-user mode I just `fsck /dev/da0s1a` and reboot. That fixes > the problem. However, I would like this to be automatic on boot. It > would be annoying if I'm out-of-town and the server cannot recover > without my help. Any tips? fsck does run automatically when a filesystem does not get shut down cleanly. However, fsck cannot fix all of the problems a filesystem can experience without risk of loss of data. In those cases, there is no option but to stop and ask the operator to intervene. Your best bet is to avoid an unclean shutdown entirely. Buy a UPS. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig03CB0D6B3382AF800D1EEDD0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/6hPAACgkQ8Mjk52CukIwpHwCfQsAzQwAWF7Ip3u8lTVVarwLV LecAnRfKyTASDFQy87onI2bhrYuQONwl =vNun -----END PGP SIGNATURE----- --------------enig03CB0D6B3382AF800D1EEDD0-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 09:44:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F5A106566B for ; Mon, 9 Jul 2012 09:44:14 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id C8BBD8FC0A for ; Mon, 9 Jul 2012 09:44:13 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q699i0Hi039232; Mon, 9 Jul 2012 11:44:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q699hqi0039190; Mon, 9 Jul 2012 11:44:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 11:43:52 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <4FFA84EA.3090501@infracaninophile.co.uk> Message-ID: References: <4FFA84EA.3090501@infracaninophile.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 11:44:00 +0200 (CEST) Cc: Patrick Donnelly , freebsd-questions@freebsd.org Subject: Re: power failure, boot, and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 09:44:14 -0000 > > fsck does run automatically when a filesystem does not get shut down > cleanly. However, fsck cannot fix all of the problems a filesystem can > experience without risk of loss of data. In those cases, there is no > option but to stop and ask the operator to intervene. fsck_y_enable=YES in rc.conf > > Your best bet is to avoid an unclean shutdown entirely. Buy a UPS. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 09:46:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 708A21065672 for ; Mon, 9 Jul 2012 09:46:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D01B48FC15 for ; Mon, 9 Jul 2012 09:46:43 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q699kd0c041001; Mon, 9 Jul 2012 11:46:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q699kdpt040998; Mon, 9 Jul 2012 11:46:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 11:46:39 +0200 (CEST) From: Wojciech Puchar To: Patrick Donnelly In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 11:46:39 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: power failure, boot, and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 09:46:44 -0000 > After a power failure at home, my FreeBSD server automatically starts > again but fails to mount my UFS /boot disk because it was not properly > unmounted. Here is my fstab: > > $ cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/da0s1a /boot-disk ufs rw 0 0 why 0 and 0? no fsck for boot-disk? BTW wouldn't rw,noauto be helpful or /boot-disk is actually needed after boot? > that looks like (copied from another thread; devices and mount points > don't match): > > UFS: /dev/ad10s3f (/usr) > Automatic file system check failed, help! > error aborting boo (sending sigtem to parent)! > init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. > enter full pathname of shell or RETURN for /bin/sh: fsck_y_enable=YES something must be seriously wrong anyway if you boot partition (that is mostly untouched) got corrupted! check out things a bit. BTW. Enable ahci it really works better From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 10:16:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AF69106564A for ; Mon, 9 Jul 2012 10:16:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3265B8FC12 for ; Mon, 9 Jul 2012 10:16:11 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx02.qsc.de (Postfix) with ESMTP id 5F0C128068; Mon, 9 Jul 2012 12:16:09 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q69AG8fU001920; Mon, 9 Jul 2012 12:16:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Jul 2012 12:16:08 +0200 From: Polytropon To: "Thomas Mueller" Message-Id: <20120709121608.1bce238e.freebsd@edvax.de> In-Reply-To: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Carmel , Polytropon , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:16:11 -0000 On Sun, 08 Jul 2012 23:27:23 -0400, Thomas Mueller wrote: > You mean the non-subdivided 1.44 MB or other capacity of a floppy > is called a partition? Let's try to use the correct terminology. If you're talking about an MS-DOS disk, then yes, it contains a DOS partition which is formatted. In FreeBSD, we would call it a slice (slice == "DOS primary partition"). In this case, there is no (sub)partitioning, the _slice_ carries the MS-DOS file system here. You know that MS-DOS does not have support for partitioning. > Same question for CDs? Not sure. A CD contains an ISO-9660 file system without an enclosing partition per se. If we look back into OS history, we find the magical 'c' partition. Historically, partition letters have been reserved for specific purposes: the 'a' partition means a bootable partition, 'b' is a swap partition, and 'c' is "the whole disk", refering either to the disk device (da0c == da0) or the whole slice (da0s1c == da0s1). You _can_ put a UFS file system, even many of them, on a CD, that is possible, but don't expect any "Windows" to be able to deal with it. :-) > Also, a file system can be contained in an image file. Or is this > a virtual partition? As devices and "real files" are "quite the same", you can mount a file system that is contained in a file. You typically do this when doing data recovery and forensic analysis, where your starting point is an image file of a disk, a slice or a partition. You then "connect" it to a virtual node (vnconfig - e. g. md0) and then you mount it as if it was a device file. > Might > # tar xf /dev/da0 > work in other BSDs or even other (quasi-)Unixes including Linux, > using the appropriate device name where applicable in place of da0? That's quite possible. I've been speaking about tar as "the most universal file system which isn't one" -- I've been using it on floppies many many years ago, to transfer data among Sun Sparcstations, Linux workstations and a BSD server. It's important not to use any "fancy" tar features, and of course you need to know the device names corresponding to the floppy drive which differ across the systems, but it is possible to first use fdformat, then tar cf, then tar xf. This of course happened before the dawn of networking. :-) > While that particular construst could probably not be booted, > it is possible to boot from a floppy or image file that does > not contain a file system. For bare booting, a file system isn't that essential. You just have to make sure the "boot chain" is properly resolved, such as for example the FreeBSD boot mechanism works. You can read more about it in "man 8 boot". > Some of the disk images on the System Rescue CD (sysresccd.org) > are not viewable/mountable as file systems. I haven't looked into this particular one, but that is very well possible. A CD doesn't _need_ to be in a ISO-9660 format (even though it's the default data format). The _implementation_ of the boot mechanism matters: it could even select from several different boot images stored in some arbitrary (but addressable) manner on the CD. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 10:26:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 306681065670 for ; Mon, 9 Jul 2012 10:26:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 76A3B8FC19 for ; Mon, 9 Jul 2012 10:26:25 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q69AQLp6041416; Mon, 9 Jul 2012 12:26:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q69AQKSR041413; Mon, 9 Jul 2012 12:26:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 12:26:20 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20120709121608.1bce238e.freebsd@edvax.de> Message-ID: References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 12:26:21 +0200 (CEST) Cc: Carmel , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:26:26 -0000 > If you're talking about an MS-DOS disk, then yes, it contains > a DOS partition which is formatted. In FreeBSD, we would call > it a slice (slice == "DOS primary partition"). In this case, > there is no (sub)partitioning, the _slice_ carries the MS-DOS unless you need windows 98 support partitionless USB drives works absolutely fine clear it out dd if=/dev/zero of=/dev/da0 bs=64k count=1 format newfs_msdos /dev/da0 >> Same question for CDs? > > Not sure. A CD contains an ISO-9660 file system without an > enclosing partition per se. > In FreeBSD (as well as NetBSD, OpenBSD, maybe linux) CD is just block device. You may make disklabel on it, and whatever you like. In excuse of OS (windows) CD/DVD MUST BE CD9660 or UDF formatted without partitions. You may record NTFS formatted DVD, perfectly readable on FReeBSD, unreadable under windows in spite it is windows native filesystem. ------ You may actually make "hybrid" DVD that will show whatever you want under windoze, and have real data in tar format. below the recipe: 1) prepare windows-vizible layout, all needed viruses and autorun.inf in some directory and do mkisofs -J -q .|dd of=/path/to/tempfile bs=512 skip=1 2) tar cf - /path/to/tempfile ...list of what you want to be tarred...|growisofs -dvd-compat -Z /dev/cd0=- now use tar to read files from that DVD, while in windows it will run viruses properly. >> a virtual partition? > > As devices and "real files" are "quite the same", you can mount > a file system that is contained in a file. You typically do this > when doing data recovery and forensic analysis, where your starting > point is an image file of a disk, a slice or a partition. You > then "connect" it to a virtual node (vnconfig - e. g. md0) and vnconfig is quite in old FreeBSD today it is mdconfig From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 10:31:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ADA4106566B for ; Mon, 9 Jul 2012 10:31:14 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id A1C388FC0A for ; Mon, 9 Jul 2012 10:31:13 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q69AV9QL041458; Mon, 9 Jul 2012 12:31:09 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q69AV8Fr041455; Mon, 9 Jul 2012 12:31:09 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 12:31:08 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: <20120708120028.99568106568F@hub.freebsd.org> <1211EED02D7F4079B279A9D413857ECF@admin> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 12:31:09 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Graham Bentley Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:31:14 -0000 > > Notes: > > 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the All use 4K as it is NTFS default block size and most are sold to be used with windoze. > first filesystem partition at 1M works for most of the common values. Alignment of filesystem cannot be better than it's block size. > 3. Swap is tricky with small drives, even trickier if you want to use TRIM. > Swap files can be used, and then you get TRIM, but see > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/168544 for a way to dismount > that swap file before shutdown and an annoying panic. my solution: # cat /etc/rc.local #!/bin/sh echo creating swapfile /bin/rm -f /swapfile.tmp dd if=/dev/zero of=/swapfile.tmp bs=8m seek=1k count=0 /sbin/mdconfig -a -t vnode -u 0 -f /swapfile.tmp || /bin/sh /bin/chflags nodump /swapfile.tmp /bin/rm -f /swapfile.tmp /sbin/swapctl -a /dev/md0 # cat /etc/rc.shutdown.local #!/bin/sh echo removing swapfile /sbin/swapctl -d /dev/md0 /sbin/mdconfig -d -u 0 my partitioning: # disklabel ada0 # /dev/ada0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 117231408 0 4.2BSD 0 0 0 c: 117231408 0 unused 0 0 # "raw" part, don't edit 99% of the time swap is not needed so doesn't take space. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 10:54:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCBA11065673 for ; Mon, 9 Jul 2012 10:54:05 +0000 (UTC) (envelope-from phlistbounces-granatellimotorsports@phplist.com) Received: from cedar.phplist.com (mx09.phplist.com [67.15.92.125]) by mx1.freebsd.org (Postfix) with ESMTP id 7DBE88FC14 for ; Mon, 9 Jul 2012 10:54:05 +0000 (UTC) Received: from cedar.phplist.com (mx09.phplist.com [67.15.92.125]) by cedar.phplist.com (Postfix) with ESMTP id E356D64717D for ; Mon, 9 Jul 2012 11:51:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=phplist.com; h=date:to :from:reply-to:subject:message-id:list-help:list-unsubscribe :list-subscribe:list-owner:mime-version:content-type; s=s0; bh=Q BJOcFbK3tZRoDDV6DaGNf8898c=; b=qgbf4LgG1rzsYHOAdLbV2Co4y6MqWf6YQ T0NrEQ1ZBrUPspFOyCDNgVEB/lcyf81jd/SROlynCUKYuof8mzqMJeeapU3bJyzO Fr0/uHyOJ5Ry/IRP2nfeyf5+bdx+BuUZvxoWUDycL6XLNS0gCgKXfxiSpHlDqgXz 7Z6ciAJ4PA= Received: from granatellimotorsports.hosted.phplist.com (olive.phplist.com [67.15.92.66]) by cedar.phplist.com (Postfix) with ESMTP id C088164717E for ; Mon, 9 Jul 2012 11:51:07 +0100 (BST) Date: Mon, 9 Jul 2012 10:51:07 +0000 To: freebsd-questions@freebsd.org From: "Granatelli Motor Sports, Inc." Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) X-Mailer: phplist v2.11.6-hosted X-MessageID: 10 X-ListMember: freebsd-questions@freebsd.org Bounces-To: phlistbounces-granatellimotorsports@phplist.com List-Owner: MIME-Version: 1.0 Content-Type: text/plain; charset = "UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Granatelli Motor Sports Newsletter - Issue #3 - July 2012 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Granatelli Motor Sports, Inc." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:54:05 -0000 Granatelli Motor Sports Newsletter - Issue 1 - October 2011 - Granatelli Twin Turbo Kit Update for 5th Gen Camaros, Granatelli Dominates Ignition Test, Granatelli Sure Start Smart Eliminates Dead Batteries * Parts * * Specials * * Gallery * * Racing * * Tuning * * Amazon * * Facebook * * YouTube * * Granatelli Motor Sports In-House Fabrication /Watch The Video of Made In American Excellence/* Did you know all Granatelli suspension products are manufactured right her in the U.S.A. by expert racing fabricators. Our artisans of excellence build every component like it was going on their own race car utilizing on the highest quality materials and the highest quality welds. Watch our step by step video as we manufacture a set of one of our popular sellers: Granatelli butterfly sub-frame connectors for 2010-2013 Camaros. *Granatelli LS Compound Boost Engine Dyno Tested /Makes An Incredible 1,257 Lb./Ft. Torque @ 2,500 RPM!/* Ok...you might be asking, what is a compound boosted engine? Why it's an engine with not one but two power adders. In this case, it features a Magnuson TVS 2300 Intercooled supercharger AND Granatelli's twin turbo system. Is it streetable? Yes. Can I run it on pump gas? Yes. Is it reliable? With a built engine and the proper fuel / spark / timing control, yes! For details, check out the video . *Granatelli Motor Sports Customer Service /We Listen To YOUR Needs & Deliver Great Service!/* Since 1985, Granatelli Motor Sports has prided itself on delivering great customer service and experiences. At Granatelli, if your not happy you can always talk to the owner, J.R. Granatelli. He do everything possible to ensure your complete satisfaction. Where else can you get service like that? Watch our video and let some of our customers tell you why Granatelli offers superior customer service. *Granatelli 3" Exhaust System Featured On Incredible /Kaase Boss Nine 589 c.i. 2008 Mustang GT/* There are Mustangs and then...there are Mustangs. This one combines the best of both worlds. Modern conveniences and styling of the SN197 Mustang with the brute power of the legendary Boss 429 big block Ford engine. This bad boy produces 902HP @ 6,800 RPM and 800 lb. / ft. torque at 5,100 RPM. The car features a Granatelli 3" stainless exhaust system and makes the car sound absolutely wicked. You can read all about this fabulous, one of a kind Mustang here . *Granatelli Announces It Is the Title Sponsor Of /NMCA West Mustang Madness Class/* Granatelli Motor Sports, the premier name in high-performance components for Ford, GM and Mopar muscle cars, is pleased to announce it is the title Sponsor of the NMCA West Mustang Madness class.The class is open to all years of Ford Mustangs, and all modifications and power adders are allowed. For details on the Granatelli Motor Sports contingency program, click here . *Granatelli Z06 Performance Package Adds 52RWHP** */*To Stone Stock 2012 Centennial Edition Z06!*/ Granatelli Motor Sports tested a stone stock 2012 Centennial Edition Z06 Corvette made 443.2 RWHP and 417. lb. ft. of torque on our Mustang chassis dyno. We then bolted on our Granatelli Z06 performance package (Granatelli Pro Street Coils, 0 ohm plug wires and our high flow air intake). Watch the before and after video here . To purchase call 1-805-486-6644. This email was sent by: info@granatellimotorsports.com . To ensure delivery to your Inbox, please add info@granatellimotorsports.com to your address book. Pricing, product availability and offers are subject to change without notice. While we do our best to check errors, mistakes may occur. Copyright 2012. Granatelli Motor Sports, Inc.. All rights reserved. http://granatellimotorsports.hosted.phplist.com/lists/lt.php?id=MR0EAB1SBx5XVlUHDg%3D%3D . ** Instant removal with * Safe Unsubscribe * | Update Your Details Granatelli Motor Sports, Inc. | 1000 Yarnell Place | Oxnard | CA | 93033 | 1-805-486-6644 -- This message was sent to freebsd-questions@freebsd.org by feedback@granatellimotorsports.com Unsubscribe | Change your subscription options | Forward this message -- powered by phpList, www.phplist.com -- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 11:41:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D7F0106566B for ; Mon, 9 Jul 2012 11:41:41 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 121BE8FC14 for ; Mon, 9 Jul 2012 11:41:40 +0000 (UTC) Received: from nber6 (nber6.nber.org [66.251.72.76]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id q69BX3KT072569; Mon, 9 Jul 2012 07:33:03 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Mon, 9 Jul 2012 07:25:45 -0400 (EDT) From: Daniel Feenberg X-X-Sender: feenberg@nber6 To: Matthew Seaman In-Reply-To: <4FFA84EA.3090501@infracaninophile.co.uk> Message-ID: References: <4FFA84EA.3090501@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20120709 #8552921, check: 20120709 clean Cc: Patrick Donnelly , freebsd-questions@freebsd.org Subject: Re: power failure, boot, and fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 11:41:41 -0000 On Mon, 9 Jul 2012, Matthew Seaman wrote: > On 09/07/2012 04:22, Patrick Donnelly wrote: >> UFS: /dev/ad10s3f (/usr) >> Automatic file system check failed, help! >> error aborting boo (sending sigtem to parent)! >> init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. >> enter full pathname of shell or RETURN for /bin/sh: >> >> In single-user mode I just `fsck /dev/da0s1a` and reboot. That fixes >> the problem. However, I would like this to be automatic on boot. It >> would be annoying if I'm out-of-town and the server cannot recover >> without my help. Any tips? > > fsck does run automatically when a filesystem does not get shut down > cleanly. However, fsck cannot fix all of the problems a filesystem can > experience without risk of loss of data. In those cases, there is no > option but to stop and ask the operator to intervene. Won't soft updates solve this problem? http://www.freebsd.org/doc/en/books/handbook/configtuning-disk.html The handbook says. "We recommend to use Soft Updates on all of your file systems." but doesn't mention booting specifically. This isn't something I have tried (we boot over the network). > > Your best bet is to avoid an unclean shutdown entirely. Buy a UPS. > We have lots of UPS systems. They constitute a "single point of failure", a prodigous amount of hazardous waste every couple of years. I'd sure like to drop them - and not on my foot. I should say that we stopped using soft updates because the background fsck was very slow, but that was on very large partitions. On a boot drive with no user data, the timing would be fine. dan feenberg > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 11:50:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DB65106566C for ; Mon, 9 Jul 2012 11:50:18 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id ADDD98FC1D for ; Mon, 9 Jul 2012 11:50:17 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E5ED7E6569; Mon, 9 Jul 2012 12:51:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=t1/5meqzlFou o0pIfU0rsp1tOYg=; b=k/czmBQjuHlqL6+hnFvymrVIbViiWmZY2P2+i3qm64d+ ox5VIn1XRkMYRHti38wPFwJhHeQ7wXg9HY//am/dlmt+p6KvOSnDaQ3H5O1kbM8p +shlszR2zCDj9qpDZkxdnIe3feQiecOyu2f9p3t/vivLb6A6VIIkTsssxoiZyOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=yZwpJK id5Rn48gDM2MwFkoDiwDhfbOLuJKlm1ReDvzxyU340MIbxg9sX5+YDcL6kYDOv+c CzxJno4LcR1F//O8qfB8cyW3M3c73fGZ86X3tSPYQjSWz5i2dbzs3A9wOJJRC9UF 1KV9f6mRYEqXNLJD2cgk7CYZ1Lwxgcsm+kFrw= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id B71ACE6568; Mon, 9 Jul 2012 12:51:42 +0100 (BST) Message-ID: <4FFAC578.4050003@cran.org.uk> Date: Mon, 09 Jul 2012 12:50:16 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Polytropon References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> In-Reply-To: <20120709121608.1bce238e.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 11:50:18 -0000 On 09/07/2012 11:16, Polytropon wrote: > If you're talking about an MS-DOS disk, then yes, it contains > a DOS partition which is formatted. In FreeBSD, we would call > it a slice (slice == "DOS primary partition"). In this case, > there is no (sub)partitioning, the _slice_ carries the MS-DOS > file system here. You know that MS-DOS does not have support > for partitioning. Floppy disks aren't partitioned/sliced - they use 'dangerously dedicated' mode, containing nothing except the filesystem. The way you'd mount it would be: mount /dev/fd0 /mnt/point You can do the same with a normal USB or other disk using: newfs /dev/da0 mount /dev/da0 /mnt/point The reason it's called 'dangerously dedicated' I think is that other systems - or even the same system months/years later if you forget and run the wrong tools - won't know there's a filesystem there and it's easy to think the disk's empty. If you're on an old system and run 'gpart show da0' and don't see a partition table it's quite easy to forget to check if da0 itself contains a filesystem. When using GPT what were called slices are now partitions, and instead of 'ada0s1a' (disk 0, slice 1, partition a) you just have 'ada0p1'. A partition table supports up to 4096 entries (gpart creates one supporting 128 by default) so there's no need for the freebsd container any more - you just create freebsd-boot, freebsd-ufs, freebsd-zfs, freebsd-swap entries e.g. 'gpart add -t freebsd-ufs -s 64g da0'. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 12:18:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D976106564A for ; Mon, 9 Jul 2012 12:18:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 5804E8FC0A for ; Mon, 9 Jul 2012 12:18:17 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q69CHirl042155; Mon, 9 Jul 2012 14:17:44 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q69CHhRh042152; Mon, 9 Jul 2012 14:17:44 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 14:17:43 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <4FFAC578.4050003@cran.org.uk> Message-ID: References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> <4FFAC578.4050003@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 14:17:44 +0200 (CEST) Cc: Carmel , Polytropon , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 12:18:23 -0000 > Floppy disks aren't partitioned/sliced - they use 'dangerously dedicated' they use "dangerously obsolete" mode. nobody use them at all. > disk's empty. If you're on an old system and run 'gpart show da0' and don't > see a partition table it's quite easy to forget to check if da0 itself > contains a filesystem. unless it is a normal way of using it. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 12:26:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C191065670 for ; Mon, 9 Jul 2012 12:26:27 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8B18FC14 for ; Mon, 9 Jul 2012 12:26:27 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id BFB0FE6569; Mon, 9 Jul 2012 13:27:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=gNaVu3X6epxM WPStZRWsfweQq0g=; b=u0RVYhNxFvNvwb5PCwk2Ksouet8S+q05jKKhhPqFXi/4 RD2nSnx9jlejpKoA382C/ST7r8pl4i9d94CqJdVQ+sFyeOfTGDTuCSKuoiNderpu Bhkc+nHcSS+E4UJeO8J33ZTfJ/DIFvboKJT5gadOwzkVHgRRuwkcoS2wJfs3U54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=Mg378l ocytr9NZ6o8wrIfaJQ4lXNCs3PQvMDm3tVOaBFNdd1t0dZugROteH+fPvsSMNyRr K05kIM2RFPxjVsm5RjHd3Ir2ooJ8fEa1/WwY9idomRrJjKHPHwnO/qdEauAERZBf twrAR3njydMaib/pJ1IgwzfDMhMoaupChYJvc= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 8D8FCE6568; Mon, 9 Jul 2012 13:27:52 +0100 (BST) Message-ID: <4FFACDF1.4090700@cran.org.uk> Date: Mon, 09 Jul 2012 13:26:25 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Wojciech Puchar References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> <4FFAC578.4050003@cran.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel , Polytropon , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 12:26:27 -0000 On 09/07/2012 13:17, Wojciech Puchar wrote: > they use "dangerously obsolete" mode. nobody use them at all. A company I worked with were still distributing files on floppy disks as recently as 2009. They _are_ obsolete, but I suspect plenty of people still use them. > unless it is a normal way of using it. That's right - I was thinking of my system where I destroyed all the data on a HDD because it didn't have a partition table. When I ran the FreeBSD installer and saw the disk was 'empty' I forgot it had a filesystem and reformatted it. Obviously people using floppy or USB disks would be more ready for there to be data on the disk without a partition table. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 12:29:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76607106564A for ; Mon, 9 Jul 2012 12:29:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id C89428FC14 for ; Mon, 9 Jul 2012 12:29:09 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q69CT3pl042254; Mon, 9 Jul 2012 14:29:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q69CT3XN042251; Mon, 9 Jul 2012 14:29:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 14:29:03 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <4FFACDF1.4090700@cran.org.uk> Message-ID: References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> <4FFAC578.4050003@cran.org.uk> <4FFACDF1.4090700@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 14:29:04 +0200 (CEST) Cc: Carmel , Polytropon , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 12:29:10 -0000 > A company I worked with were still distributing files on floppy disks as > recently as 2009. quite funny :) > They _are_ obsolete, but I suspect plenty of people still > use them. > >> unless it is a normal way of using it. > > That's right - I was thinking of my system where I destroyed all the data on > a HDD because it didn't have a partition table. When I ran the FreeBSD only your fault, not FreeBSD. Why you connected your data disk at first place. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 12:35:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC8D4106566C for ; Mon, 9 Jul 2012 12:35:41 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 980528FC0A for ; Mon, 9 Jul 2012 12:35:41 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 10627E656B; Mon, 9 Jul 2012 13:37:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=pS6RRTGtn0xv jZXSaT6wqKHrgRM=; b=rY9/8XfhS9Y11TA/f0fTWl+i+uAtkDONW9Aq1exTMeEo y/9jcp3AhdL2XJqhn3zSmHvAqPi41MW164XK7lw3I/dEU1AwwambYTVKD28QQUO8 K/lRKPk9oRUFJ+pFNp9fU4EV9mcDN7X2V7G7A5QU5tDaIekEDtoSs9tgX/x7jYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=StHJjK JTtWJA+j8I0bp+g9r3fg6XFvASqLUvn0xIeh3UptAoLQUbs7eoKxTiQMZwL0rXO/ awmBcDsjdmydAeV95zJE2bl9fXUP5L4hSaC0aHTQb+fCOusWnecHsj9tQWC+VMtW ektgYo8LgT8ku6mtxhIT9I6x1ZIBsH6XLQnUE= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id D1AD9E656A; Mon, 9 Jul 2012 13:37:06 +0100 (BST) Message-ID: <4FFAD01B.2030704@cran.org.uk> Date: Mon, 09 Jul 2012 13:35:39 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Wojciech Puchar References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> <4FFAC578.4050003@cran.org.uk> <4FFACDF1.4090700@cran.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel , Polytropon , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 12:35:42 -0000 On 09/07/2012 13:29, Wojciech Puchar wrote: > only your fault, not FreeBSD. Why you connected your data disk at > first place. I didn't say it was FreeBSD's fault. If I thought it was, I would have fixed it! -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 12:38:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3E47106566C for ; Mon, 9 Jul 2012 12:38:59 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 662348FC1A for ; Mon, 9 Jul 2012 12:38:59 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E5632E6569; Mon, 9 Jul 2012 13:40:24 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=A40GQJsA1n5M yCHl4SgifCMrkik=; b=gA7uSulILT3bjersiAUXaEEVpyEB0QuLskVovxtksZip gNDdvjbyw4BKdKCn2nnu3Oz4AhId1uHd/rk6HVhM+Q5rzvWr+4LhliWqrbfHTEiB O0YJiv7n0W9vrGnTGCM90JbTw34h51doyaErMpvqsCxrK0JO5t9YN70Ta5U+p74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=h7jU3f xu2YJJk/HFNBR4+HXvViaryWu4yK3CmiU8rF4ijrzmkv8vvsnIQwwJmwzQX1S2iD Q0h7pvUxFfxQxQVQficxok1jp3k5wJ9AZ5yLZ+FCGEfkRo2wr+XrNvbUmE6iF+oD 9uSgcRFegK+5P0OtinmnYfACkbQh6lBgZZ/O4= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id AF12DE6568; Mon, 9 Jul 2012 13:40:24 +0100 (BST) Message-ID: <4FFAD0E1.10803@cran.org.uk> Date: Mon, 09 Jul 2012 13:38:57 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Wojciech Puchar References: <20120708120028.99568106568F@hub.freebsd.org> <1211EED02D7F4079B279A9D413857ECF@admin> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Graham Bentley Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 12:38:59 -0000 On 09/07/2012 11:31, Wojciech Puchar wrote: > All use 4K as it is NTFS default block size and most are sold to be > used with windoze. Apparently the Intel 320 SSDs use an 8KB page/block size. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 13:43:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DAD106566B for ; Mon, 9 Jul 2012 13:43:52 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 5075C8FC0C for ; Mon, 9 Jul 2012 13:43:52 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id q69Dhh4o095461; Mon, 9 Jul 2012 14:43:43 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4FFAE00F.6000309@qeng-ho.org> Date: Mon, 09 Jul 2012 14:43:43 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120626 Thunderbird/13.0.1 MIME-Version: 1.0 To: Bruce Cran References: <20120708120028.99568106568F@hub.freebsd.org> <1211EED02D7F4079B279A9D413857ECF@admin> <4FFAD0E1.10803@cran.org.uk> In-Reply-To: <4FFAD0E1.10803@cran.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 13:43:52 -0000 On 07/09/12 13:38, Bruce Cran wrote: > On 09/07/2012 11:31, Wojciech Puchar wrote: >> All use 4K as it is NTFS default block size and most are sold to be >> used with windoze. > > Apparently the Intel 320 SSDs use an 8KB page/block size. > From a Crucial forum, thread about Crucial M4 SSDs, posted by a Crucial employee: [http://forum.crucial.com/t5/Solid-State-Drives-SSD/Page-size-and-erase-block-size-for-M4-64GB-128GB-256GB-models/td-p/64403 about half way down the page] > One correction to the information here. The page size is based on the > density of the NAND not the process geometry. The 64GB and 128GB m4’s > utilize NAND with 4K page sizes and the 256GB and 512GB m4’s utilize > NAND with 8K pages. Looks like larger SSDs have larger block sizes. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 13:54:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19EE3106566B for ; Mon, 9 Jul 2012 13:54:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C8A308FC0C for ; Mon, 9 Jul 2012 13:54:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q69Ds2Bx056454; Mon, 9 Jul 2012 07:54:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q69Ds26d056451; Mon, 9 Jul 2012 07:54:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 9 Jul 2012 07:54:02 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: <20120708120028.99568106568F@hub.freebsd.org> <1211EED02D7F4079B279A9D413857ECF@admin> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 09 Jul 2012 07:54:02 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Graham Bentley Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 13:54:12 -0000 On Mon, 9 Jul 2012, Wojciech Puchar wrote: >> Notes: >> >> 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the > > All use 4K as it is NTFS default block size and most are sold to be used with > windoze. No. For example, some of the Crucial M4 drives are 4K, some are 8K. >> first filesystem partition at 1M works for most of the common values. > > Alignment of filesystem cannot be better than it's block size. 1M is semi-standard and aligns with all expected block sizes and erase block sizes. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 14:13:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 380701065670 for ; Mon, 9 Jul 2012 14:13:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id 0A9438FC08 for ; Mon, 9 Jul 2012 14:13:08 +0000 (UTC) Received: from ::ffff:69.12.202.165 ([69.12.202.165]) by holgerdanske.com for ; Mon, 9 Jul 2012 07:13:06 -0700 Message-ID: <4FFAE6F1.7030103@holgerdanske.com> Date: Mon, 09 Jul 2012 07:13:05 -0700 From: David Christensen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 14:13:08 -0000 freebsd-questions: It is possible to install FreeBSD with an encrypted ZFS root and encrypted swap using FreeBSD-9.0-RELEASE-amd64-dvd1? I'm looking for something similar to the Debian installer, which provides disk partitioning, file system creation, mounts, LUKS, LVM, etc.. TIA, David -- References: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 14:15:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CC8D1065675 for ; Mon, 9 Jul 2012 14:15:10 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id E4AD18FC12 for ; Mon, 9 Jul 2012 14:15:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q69EF3IH088839; Tue, 10 Jul 2012 00:15:03 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 10 Jul 2012 00:15:03 +1000 (EST) From: Ian Smith To: Bruce Cran In-Reply-To: <4FF9E6E8.2070306@cran.org.uk> Message-ID: <20120709145041.Q42038@sola.nimnet.asn.au> References: <20120708120028.85CA7106568C@hub.freebsd.org> <20120708233300.J42038@sola.nimnet.asn.au> <4FF9E6E8.2070306@cran.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Carmel , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 14:15:10 -0000 On Sun, 8 Jul 2012 21:00:40 +0100, Bruce Cran wrote: > On 08/07/2012 16:06, Ian Smith wrote: > > In general they're not distinct in usage from any other type of disk. > > The more expensive disks of course support TRIM so you'd want to pass -t to > newfs to enable it. Thanks. Next time I blow around AU$455 on a 120GB flashdrive, I'll be glad to be better informed about getting the most out of it :) At least with sysinstall|sade you can set extra newfs options such as -t, and as importantly for me, you can toggle whether or not to newfs particular partition/s, such as leaving say /home alone on an existing partitioning, which didn't seem straightforward with bsdinstall last I tried (admittedly at 9.0-BETA1) but I've not followed later updates. I might take Matthew's suggestion and try the PCBSD 9 installer; I did boot a PCBSD 8 memstick at one stage, and was surprisingly impressed - or I could use freebsd-update instead of sources to go from 7.4 to 9.1 "It's the options that drive ya crazy" -- Silly Symphony C.'83 cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 14:21:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EAE2106564A for ; Mon, 9 Jul 2012 14:21:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 488B88FC14 for ; Mon, 9 Jul 2012 14:21:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q69ELC4o056583; Mon, 9 Jul 2012 08:21:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q69ELChL056580; Mon, 9 Jul 2012 08:21:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 9 Jul 2012 08:21:12 -0600 (MDT) From: Warren Block To: Bruce Cran In-Reply-To: <4FFAC578.4050003@cran.org.uk> Message-ID: References: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com> <20120709121608.1bce238e.freebsd@edvax.de> <4FFAC578.4050003@cran.org.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 09 Jul 2012 08:21:12 -0600 (MDT) Cc: Carmel , Polytropon , Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 14:21:17 -0000 On Mon, 9 Jul 2012, Bruce Cran wrote: > On 09/07/2012 11:16, Polytropon wrote: >> If you're talking about an MS-DOS disk, then yes, it contains >> a DOS partition which is formatted. In FreeBSD, we would call >> it a slice (slice == "DOS primary partition"). In this case, >> there is no (sub)partitioning, the _slice_ carries the MS-DOS >> file system here. You know that MS-DOS does not have support >> for partitioning. > > Floppy disks aren't partitioned/sliced - they use 'dangerously dedicated' > mode, containing nothing except the filesystem. "Dangerously dedicated" refers to a disk with a bsdlabel partition table and boot block. Floppies don't have even that, it's just a raw filesystem. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 14:31:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A15251065672 for ; Mon, 9 Jul 2012 14:31:48 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8098FC17 for ; Mon, 9 Jul 2012 14:31:48 +0000 (UTC) Received: by ggnm2 with SMTP id m2so11709243ggn.13 for ; Mon, 09 Jul 2012 07:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0hg57C57nzCkra81Uv4OTGctxpjzmHJ0SblbdonQXdw=; b=Q1A2hadim7iUHoocC1f1A/omsvN1uLKsFWX8Tgrv2mVfc7G5R8m7giNgdaa9fwDOWl KO2C3sZ/gT2LvC9PFk+dMiZ7K2Hi96NEe379Vu0NqPsya6zRYUNWx9okoPGI2kBw1QDF LMO6FHdgc9Si0gzJ7GAZWJ31fTV+NcY16nKmiUZ9ZuwLLdmpn9HL33qhEQwVoiUTKUER 7365dgEpWDeXEBSB+fEyQjzuZZEcDKalw6pKTSKhCuy2wuXqYE2Q2nQSks4I4DDH8vlo /a/jtG0rwjG9I7xlSPya91tItre54KrGCOMEUB723+LZ3+QY7jqTa/RZAjJ3V7aVliqs d+7A== MIME-Version: 1.0 Received: by 10.236.170.199 with SMTP id p47mr46343708yhl.12.1341844307614; Mon, 09 Jul 2012 07:31:47 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Mon, 9 Jul 2012 07:31:47 -0700 (PDT) Date: Mon, 9 Jul 2012 16:31:47 +0200 Message-ID: From: Bosko Radivojevic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 14:31:48 -0000 Hi all! I have a problem installing FreeBSD 9.0 on Fujitsu Primergy RX200 S5 server with LSI MegaRAID SATA controller (two SATA HDDs in RAID1 array). When booted from a CD, FreeBSD doesn't recognize RAID Array, it recognizes HDDs only (ad4 & ad6). On the same server, FreeBSD 8.3 installation recognizes RAID Array (ar0). pciconf -vl on FreeBSD 9.0: ahci0@pci0:0:31:2: class=0x010400 card=0x11501734 chip=0x3a258086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82801JIR (ICH10R) SATA RAID Controller' class = mass storage subclass = RAID pciconf -vl on FreeBSD 8.3: atapci0@pci0:0:31:2: class=0x010400 card=0x11501734 chip=0x3a258086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'SATA RAID Controller' class = mass storage subclass = RAID dmesg output on FreeBSD 8.3: # dmesg|grep ar0 ar0: writing of DDF metadata is NOT supported yet ar0: 952720MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master As far as I understand (while I don't have that much FreeBSD experience), amr is the appropriate driver for this controller. Tried to load it manually (kldload /boot/kernel/amr.ko) but it seems the driver is already present in kernel. What am I missing here? Thanks! From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 15:15:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADF591065670 for ; Mon, 9 Jul 2012 15:15:29 +0000 (UTC) (envelope-from jusher71@yahoo.com) Received: from nm25-vm4.bullet.mail.ne1.yahoo.com (nm25-vm4.bullet.mail.ne1.yahoo.com [98.138.91.185]) by mx1.freebsd.org (Postfix) with SMTP id 3DA608FC17 for ; Mon, 9 Jul 2012 15:15:29 +0000 (UTC) Received: from [98.138.90.57] by nm25.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jul 2012 15:12:24 -0000 Received: from [98.138.89.251] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jul 2012 15:12:24 -0000 Received: from [127.0.0.1] by omp1043.mail.ne1.yahoo.com with NNFMP; 09 Jul 2012 15:12:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 609665.83823.bm@omp1043.mail.ne1.yahoo.com Received: (qmail 22028 invoked by uid 60001); 9 Jul 2012 15:12:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1341846744; bh=/uMAaUrqp6Bj2PiS1Pb4UaTcz0tri+QvOmiuQc3YrbA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=aiX3XTFP1TcEHQ6EpS9H5wH6x2BQ5EuU5sm2Xv9iRKKYFKlIs7fWjLX3VL3jwlM46Ne84b+BiSxYvmYpux5ouoIjdrjFKD3IcKonwC2a3rIgVmJOpI/YU5BsW3d4YN6XVP5rLgwxxSirnVsVs1NzJj2sVAFceOlgFfHXftFGaaw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=o9ZoVa7/cdlIf6+L4t5MvpA7Vs7OEs1C8poq2VjtxHojvj3lYhMYPvNzT6uQH7aZJC6mM+PlHykZ9cLTyi6RzJYSdJZWx6bg85XU8KUlSvuml2yXtncT0ERt+M8KkbJMtX+fCiZ1v0NAdxAxy9Xifz3q42Y9kcGAzYfynqdq/P4=; X-YMail-OSG: 1PRTnKoVM1k4jCRmgCBA7IF589uRYy.TCXUwlZJUZgAIhQr GOO93uMM79JwxZVyBOIZmFTQJiAy99EZSlhzT9KIDz7N4rUN5TqW0.fg.z5V FB0VCTz9DHGwXmt4iI1pDNiGLnCZPt6j3M8rXJzxGN.9HjVnS7mHsEu1nKe8 juaIzid9Sc7ZFNGZS.pYuktqtXXr69R30EKQHh6Cbs7R.5fwVnAZtb_3VITU vMWg5fCV8LGaUR2Z3CWSKcRGFf44ysB8jGLzWmNMPlL.NjExVpSHm6L4Fuso PtLirxuE89QcLuCWIdsPuISNPw2dcvPYxMLSPTwIp42JbZdtbsKbG3fLl6kV WbSBwn3okUJI83AiRYPv86B8GTmVeXMjwc3uo12ZAPg7NgPYd8SyY2EyBMbC 2 Received: from [66.41.240.246] by web122506.mail.ne1.yahoo.com via HTTP; Mon, 09 Jul 2012 08:12:24 PDT X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.120.356233 Message-ID: <1341846744.40490.YahooMailClassic@web122506.mail.ne1.yahoo.com> Date: Mon, 9 Jul 2012 08:12:24 -0700 (PDT) From: Jason Usher To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Using smartctl to detect "scan errors" (like google tells me to do ...) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 15:15:29 -0000 The big report that google published made it clear that even a single "scan error" in the SMART data of a disk drive is a good predictor of eventual failure... However, when I run smartctl: # smartctl -a /dev/da0 | grep -i pre-fail 1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0 2 Throughput_Performance 0x0005 135 135 054 Pre-fail Offline - 84 3 Spin_Up_Time 0x0007 126 126 024 Pre-fail Always - 612 (Average 612) 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 123 123 020 Pre-fail Offline - 31 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 There is nothing called a "scan error". Further, the wikipedia page for S.M.A.R.T. has nothing in the error table called a "scan error". So ... What is a scan error, and which metric should I tell smartctl to check ? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 15:26:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79DE7106566B for ; Mon, 9 Jul 2012 15:26:05 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [93.89.92.64]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF128FC12 for ; Mon, 9 Jul 2012 15:26:05 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 4CA85E6569; Mon, 9 Jul 2012 16:27:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=6B1PmwNTQPzk TorMpy+OqmTb1z8=; b=iIzYEhjLdQggNKc2cGaPW1X0WpG1NOpYtheaGwZ4mQq2 bOqhfjevPGK3MEKcT8mQWeVyctC9KNWD4NhaX6O4HF87M02ljaDWwYnLfkB+3KVt n6YPSSCchkmM2u7NuFlNmw3JZFy5oJ06hFda7q4uOImvWZjeqvcW5icXx81RhD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=WvoBMG C6k6g/bgmqzglRIyvmDChoebHz6ifLvFaL71liMz6hGBPqKYNj8m4J1ALFpLGkPL dnNNw3omt6bNE7GvuX9uvwF+GSCnV/e51+2s0XlMSQzgDmyjB8aRcAKSdqwkq2G0 ScffxxW81jqHv15V/BKeM72SosmsUh5aceug0= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 2FD74E6568; Mon, 9 Jul 2012 16:27:30 +0100 (BST) Message-ID: <4FFAF80B.6040708@cran.org.uk> Date: Mon, 09 Jul 2012 16:26:03 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Jason Usher References: <1341846744.40490.YahooMailClassic@web122506.mail.ne1.yahoo.com> In-Reply-To: <1341846744.40490.YahooMailClassic@web122506.mail.ne1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Using smartctl to detect "scan errors" (like google tells me to do ...) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 15:26:05 -0000 On 09/07/2012 16:12, Jason Usher wrote: > What is a scan error, and which metric should I tell smartctl to check ? I think they mean a SMART scan, as in a self-test - http://www.twopenguins.it/2011/12/test-an-hard-disk-with-smartctl/ has details of how to run it. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 16:03:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95CFC106564A for ; Mon, 9 Jul 2012 16:03:22 +0000 (UTC) (envelope-from jerrymc@jerrymc.net) Received: from jerrymc.net (jerrymc.net [75.75.214.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB418FC1F for ; Mon, 9 Jul 2012 16:03:22 +0000 (UTC) Received: from jerrymc.net (localhost [127.0.0.1]) by jerrymc.net (8.14.5/8.14.5) with ESMTP id q69G36hY027274; Mon, 9 Jul 2012 12:03:06 -0400 (EDT) (envelope-from jerrymc@jerrymc.net) Received: (from jerrymc@localhost) by jerrymc.net (8.14.5/8.14.5/Submit) id q69G36wK027273; Mon, 9 Jul 2012 12:03:06 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 9 Jul 2012 12:03:06 -0400 From: Jerry McAllister To: Wojciech Puchar Message-ID: <20120709160306.GA27228@jerrymc.net> References: <20120708143032.89aad1ea.freebsd@edvax.de> <4FF98AA9.1070308@cran.org.uk> <20120709032236.GA23760@jerrymc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Jerry McAllister , Bruce Cran , Polytropon , FreeBSD Subject: Re: Format a USB flash drive using gpart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 16:03:22 -0000 On Mon, Jul 09, 2012 at 07:44:28AM +0200, Wojciech Puchar wrote: > >You don't. You wipe the FAT32 with fdisk and make a FreeBSD slice on it. > >Then you can bsdlabel it with one partition and newfs it. Or you can > > repeat 100 times more that you "have to" make fdisk and bsdlabel. you > don't, and it doesn't make sense You can do many things as indicated in several posts and most of them will work if you want it that way. But, they do not answer the question as posted. Turning the USB stick into a FreeBSD type or mounting it as MSDOSFS does answer that question. I am not sure why the rabid promotion of non-slicing, but it not worth all the extra bandwidth applied to it. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 16:30:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F439106564A for ; Mon, 9 Jul 2012 16:30:28 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from queueout04-winn.ispmail.ntl.com (queueout04-winn.ispmail.ntl.com [81.103.221.58]) by mx1.freebsd.org (Postfix) with ESMTP id 226BD8FC08 for ; Mon, 9 Jul 2012 16:30:27 +0000 (UTC) Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.4]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120709160520.ZALB3118.mtaout01-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net> for ; Mon, 9 Jul 2012 17:05:20 +0100 Received: from [94.168.171.147] (helo=Mercury.universe.galaxy.lcl) by know-smtpout-1.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1SoGPP-00040f-7d for freebsd-questions@freebsd.org; Mon, 09 Jul 2012 17:01:59 +0100 Received: from Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced]) by Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced%11]) with mapi; Mon, 9 Jul 2012 17:01:58 +0100 From: Graeme Dargie To: "'freebsd-questions@freebsd.org'" Thread-Topic: NTFS data recovery Thread-Index: Ac1d623eycVRvMY3SpWZbRhnHzb5jw== Date: Mon, 9 Jul 2012 16:01:56 +0000 Message-ID: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=OMdUhd4NiskA:10 a=xqWC_Br6kY4A:10 a=0_dOlrG_gunLyq4bkw8A:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 16:30:28 -0000 Hi All, I have been given a laptop to look at for a friend, the hard disk is close = to death with a SMART error on POST. My initial thought was to just mount i= t on an Windows 7 machine and grab what I can from the drive. No joy Window= s insists that the partition is RAW and I need to format it. I can however = mount it under FreeBSD without any problems, the directory structure appear= s to be intact but there are no files in the places I would expect to find = them under the Users directory, I am guessing that these have somehow been = deleted or perhaps the victim of a partial OEM recovery process. Is there a= way to scan the drive for deleted files from the command line or something= from the ports tree that anyone can recommend to fulfil this requirement. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 16:42:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21F3C106564A for ; Mon, 9 Jul 2012 16:42:27 +0000 (UTC) (envelope-from colin.barnabas@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD9728FC0A for ; Mon, 9 Jul 2012 16:42:26 +0000 (UTC) Received: by ghbz22 with SMTP id z22so11918090ghb.13 for ; Mon, 09 Jul 2012 09:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=r5jPy4PGeW/vYmJXRF4rcaFRuKg5hPsrQn6A7KbTL1k=; b=cq9smxYq5pXPhqZAeuk8uqj12LeraLFYXQ89FpUwBOvB+PZ3gk2Zce8fmRS2Qwjxxc 1uVDLiPqXJ2NxdrrPpseyUzXfJ4BnQ7fj6CCKk+uXVb/Dw0xFWeoTcv78iyH4uf2/GT/ ZI3F5QAYsaCQmO5QuQ/m6gg6oer9hQwOJKA4AFWlFbJ/NRJgTCSGAZte/P1qSlynzv+G g0SF/OiHCsKi8cQvqtgHM8fntsEoVLt5q5WjcSEmZY4BQDmdv+ibllLbNCPvblFoZ7pl pgcy3FAc3vmoZnLST+w8i7HdB2aXueXlydrzplHMZWDyGnE9QwH6+5xIFJVwmUihN061 nbHA== Received: by 10.68.189.104 with SMTP id gh8mr16497688pbc.152.1341852145796; Mon, 09 Jul 2012 09:42:25 -0700 (PDT) Received: from localhost (ip68-98-76-182.ph.ph.cox.net. [68.98.76.182]) by mx.google.com with ESMTPS id iv8sm28008249pbc.53.2012.07.09.09.42.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 09:42:25 -0700 (PDT) Date: Mon, 9 Jul 2012 09:43:47 -0700 From: Colin Barnabas To: David Christensen Message-ID: <20120709164347.GE56922@hs1.VERBENA> References: <4FFAE6F1.7030103@holgerdanske.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FFAE6F1.7030103@holgerdanske.com> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Questions Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 16:42:27 -0000 Perhaps this will help- http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ On Mon, Jul 09, 2012 at 07:13:05AM -0700, David Christensen wrote: > freebsd-questions: > > It is possible to install FreeBSD with an encrypted ZFS root and > encrypted swap using FreeBSD-9.0-RELEASE-amd64-dvd1? > > > I'm looking for something similar to the Debian installer, which > provides disk partitioning, file system creation, mounts, LUKS, LVM, etc.. > > > TIA, > > David > > -- > > References: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html > > https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Colin Barnabas From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 16:54:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 230F9106566B for ; Mon, 9 Jul 2012 16:54:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D5DB18FC15 for ; Mon, 9 Jul 2012 16:54:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx01.qsc.de (Postfix) with ESMTP id B92613CE61; Mon, 9 Jul 2012 18:54:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q69GsbPi004223; Mon, 9 Jul 2012 18:54:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Jul 2012 18:54:37 +0200 From: Polytropon To: Graeme Dargie Message-Id: <20120709185437.3e747d46.freebsd@edvax.de> In-Reply-To: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "'freebsd-questions@freebsd.org'" Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 16:54:46 -0000 On Mon, 9 Jul 2012 16:01:56 +0000, Graeme Dargie wrote: > Hi All, > > I have been given a laptop to look at for a friend, the hard disk > is close to death with a SMART error on POST. My initial thought > was to just mount it on an Windows 7 machine and grab what I can > from the drive. Bad idea. You cannot fully make sure that the disk's content isn't altered. There's no "mount -o ro" in "Windows". Even worse, it might lead to more corruption during attempts to "repair" it. > No joy Windows insists that the partition is RAW and I need to > format it. Don't format it, it will massively decrease your chances for data recovery. Work with what you have, touch it as few as possible, use the proper tools. You won't find them on "Windows". > I can however mount it under FreeBSD without any problems, the > directory structure appears to be intact but there are no files > in the places I would expect to find them under the Users directory, > I am guessing that these have somehow been deleted or perhaps > the victim of a partial OEM recovery process. That's quite possible. Check df vs. du output and see if it "magically fits", e. g. that the data "is somewhere". > Is there a way to scan the drive for deleted files from the > command line or something from the ports tree that anyone can > recommend to fulfil this requirement. Because it's about NTFS recovery, things are a bit complicated, but not impossible. I'd suggest to first make a copy of the disk using dd, then work with that copy. Do _NOT_ fiddle with the original disks! If dd doesn't work, try ddrescue and dd_rescue. There are programs in the sysutils/ntfsprogs port will be surely useful to dealing with the NTFS content. Then of course you'll find The Sleuth Kit very helpful. It's programs fls, dls and ils might be what you're searching for. Sadly the documentation has been moved into a web page. :-( Additionally, you may try magicrescue, recoverjpeg and foremost, maybe fatback (but I doubt it). Those are acting "outside of the FS". For missing files, maybe you can find a differing MFT to check? I know there was something related in the documentation of the older versions of TSK, but as I said, that situation has disimproved. :-( Note that data recovery is a dirty job, it takes time and is therefore quite expensive if delegated to a company. In your case it means you'll have to invest MUCH TIME into getting the data back. I hope the files are worth it. The absence of a backup seems to imply the opposite. :-) Anyway, good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 18:56:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B05BF106566B for ; Mon, 9 Jul 2012 18:56:48 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC208FC0C for ; Mon, 9 Jul 2012 18:56:48 +0000 (UTC) Received: by yhfs35 with SMTP id s35so5800423yhf.13 for ; Mon, 09 Jul 2012 11:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=uBnT+jZ+l4Py7dGUALyZpW+2bx9hR49BCGCahRuhwtk=; b=VkZpezVi1IQeOjdbGp6QWMot32pj2iCIgIj4dqJaEqdeg2W9sLyTKVOFmvXHuW2nAm dAVeESSnVOtMtNi0vq307fD5EwqjF5AK6rylTgnc7NX8jMJ24xI45AkGsqCM3IwyLqDQ HGLhwfqlOQkJmK17Fm43PGvW8WwszYPJLr+8E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=uBnT+jZ+l4Py7dGUALyZpW+2bx9hR49BCGCahRuhwtk=; b=dIGTSxnsn7+0x4cchCuqeeQnC29L8HgGHS2YBvd229sBIxxkviqGC52MjC+h97ZCNn zhhBph9ry1Bgj18Fl/0ouTF0zjwYkU2mRUf0U5uPEP94GgPCkQTnT8G4qC7y7tGMVqw7 DTyKof8nUbgL8uVkmKyM/sim8JRPLv6l6yvPa6jfWt8fB575EuGXj7zljtg/QrvVh0Cr A1l7Yu/gwFHwug9PfxGNzB6YJmgnM7aTeOxE1uOoPMxjLs1cV3YY4ocfIBTwwxm4Q6xn lbgaVlpJsUqU/egZsg71yM8Gf7JkNznkwXWmRELFOhiqS5yqA2IiC1ihVHspzb5DTq7k NPmA== Received: by 10.236.175.68 with SMTP id y44mr47662248yhl.88.1341860207736; Mon, 09 Jul 2012 11:56:47 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id p29sm64496617yhl.19.2012.07.09.11.56.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 11:56:46 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WWG3w5mBJz2CG62 for ; Mon, 9 Jul 2012 14:56:44 -0400 (EDT) Date: Mon, 9 Jul 2012 14:56:44 -0400 From: Jerry To: FreeBSD Message-ID: <20120709145644.1f33b15c@scorpio> In-Reply-To: <20120709185437.3e747d46.freebsd@edvax.de> References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> <20120709185437.3e747d46.freebsd@edvax.de> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmDNStB1NU7+QzfTvSMJGpE48FEtdM4O9OfTywG+EQe309pncuBaswia/4NJ3z4rYfmbXiT Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 18:56:48 -0000 On Mon, 9 Jul 2012 18:54:37 +0200 Polytropon articulated: > On Mon, 9 Jul 2012 16:01:56 +0000, Graeme Dargie wrote: > > Hi All, > > > > I have been given a laptop to look at for a friend, the hard disk > > is close to death with a SMART error on POST. My initial thought > > was to just mount it on an Windows 7 machine and grab what I can > > from the drive. > > Bad idea. You cannot fully make sure that the disk's content > isn't altered. There's no "mount -o ro" in "Windows". Even > worse, it might lead to more corruption during attempts to > "repair" it. I have seen this work, but not on Windows 7. (based on Windows 2003 SP2) 1) switch off "automount" using the mountvol.exe command 2) present disk to Windows 2003 SP2 3) do not mount the disk 4) launch diskpart 5) do a "list disk" and "list volume" 6) note down the correct volume number 7) in diskpart do a "select volume X" (where X is the correct volume number) 8) then in diskpart doa "att vol set readonly" 9) then in diskpart do a "detail vol" and ensure the readonly bit is set 10) then you can mount the volume, the volume will be readonly Interestingly enough, only a few months ago, I used SpinRite 6 to recover an 80 Gb disk that was supposedly fried. If the HD can be seen by the system hardware, SpinRite has a fighting chance of recovering it. It took a week but it got all of the data back. I did take the HD out of the original PC and put it into a backup unit since I could not tie that PC up for an extended time. SpinRite does not need a super high speed machine to work off of. Good luck, you'll need it. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ This is supposed to be a happy occasion. Let's not BICKER and ARGUE over who killed who! From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 19:22:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5159106566B for ; Mon, 9 Jul 2012 19:22:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6EB248FC0A for ; Mon, 9 Jul 2012 19:22:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SoJXM-0006z3-7b for freebsd-questions@freebsd.org; Mon, 09 Jul 2012 21:22:24 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 21:22:24 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 21:22:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 9 Jul 2012 19:22:11 +0000 (UTC) Lines: 15 Message-ID: References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0) Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 19:22:29 -0000 Graeme Dargie tangerine-army.co.uk> writes: > ... > Is there a way to scan the drive for deleted files from the command > line or something from the ports tree that anyone can recommend to fulfil > this requirement. testdisk http://www.freebsd.org/cgi/url.cgi?ports/sysutils/testdisk/pkg-descr I would suggest you compile it before use (otherwise grab a package). jb From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 19:44:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3021D1065700 for ; Mon, 9 Jul 2012 19:44:20 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id DD37B8FC1C for ; Mon, 9 Jul 2012 19:44:19 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SoJsW-0002Qy-JX for freebsd-questions@freebsd.org; Mon, 09 Jul 2012 21:44:16 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 21:44:16 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 21:44:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 9 Jul 2012 19:44:01 +0000 (UTC) Lines: 11 Message-ID: References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0) Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 19:44:20 -0000 jb gmail.com> writes: > ... ntfs utilities http://www.freebsd.org/cgi/url.cgi?ports/sysutils/ntfsprogs/pkg-descr I would suggest you compile it before use (otherwise grab a package). jb From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 20:05:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7F92106566C for ; Mon, 9 Jul 2012 20:05:29 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gh0-f196.google.com (mail-gh0-f196.google.com [209.85.160.196]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6FF8FC16 for ; Mon, 9 Jul 2012 20:05:29 +0000 (UTC) Received: by ghz3 with SMTP id 3so4543767ghz.7 for ; Mon, 09 Jul 2012 13:05:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=jQVH74DSzradP6xfzmQ7L55G4T9LddV9zfndP+VAOdk=; b=h9pzpzkVU2tU98Wb6mv/SBeFmzeTrocM3cAtR6PF6/sDreubU+rhwScNeISQSct+Xa J9tZt8bCxsZfj8SNsXVZ1wmN4nuQr+NMoXE/YShFi1wVsomkxcy5a7ztUFUSF/dUN12G P2BEVbqUnEx4BnJBpw0AyYGVHUd4uiSVaNpdGINEdfOIHaJbbB69K1QCmS4pbUd0zNeF TXZHQzSaBHDaFal6iIB3/O8GxzfzwRAj2WOdYjwBJJSEHRpHazWbnqwERusUi5JGmLlX N+B464jVkkPhr7cN+z/6+ku//Wd7zHpwtpE+yv0fU5YJ6L3uv9H+lKc34WVCJcGJvK5V w0tg== Received: by 10.236.197.8 with SMTP id s8mr50555757yhn.9.1341864328683; Mon, 09 Jul 2012 13:05:28 -0700 (PDT) Received: from papi ([187.59.247.222]) by mx.google.com with ESMTPS id a79sm34379373yhk.16.2012.07.09.13.05.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 13:05:28 -0700 (PDT) Date: Mon, 9 Jul 2012 17:06:02 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Message-ID: <20120709170602.05e9f52c@papi> In-Reply-To: <20120707185250.GA2389@schweikhardt.net> References: <20120707185250.GA2389@schweikhardt.net> Organization: BSD X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlHkXtsNY2dAUZIHjtqIwISPycCYPTdPE7cyRXQCyKec8jrVrOkIXyWcw+nNYmH+B535Y/R Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 20:05:29 -0000 On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt wrote: > hello, world\n > > is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, > with all ports compiled from scratch. Qbittorrent (2.9.11) freezes > after about 10 to 20 seconds, reacts to mouse clicks only after a > minute or so; the window isn't redrawn when it was obscured by other > windows and /var/log/messages has this to say: > > Jul 7 11:09:56 hal9000 kernel: WARNING pid 89448 (qbittorrent): > ioctl sign-extension ioctl ffffffff8004667e Jul 7 11:10:50 hal9000 > kernel: WARNING pid 89448 (qbittorrent): ioctl sign-extension ioctl > ffffffff8004667e Jul 7 11:11:21 hal9000 last message repeated 38 > times > > There's no way out other than sending two SIGINT (CTRL-C) to kill > qbittorrent. > > It looks like this is similar or even the same problem as in > http://lists.freebsd.org/pipermail/freebsd-stable/2010-June/057360.html > If it was ever fixed, then it looks like it reappeared. > > Regards, > > Jens Just upgrade to net-p2p/libtorrent-rasterbar-16 and libtorrent-rasterbar-16-python. This should fix it. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 20:11:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D324510657D0 for ; Mon, 9 Jul 2012 20:11:48 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9B2558FC0A for ; Mon, 9 Jul 2012 20:11:48 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q69KBf7B068964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 9 Jul 2012 15:11:42 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 09 Jul 2012 15:11:41 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: Message-ID: <764fd164b77f32257135e1ab4f4fb501@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Invalid GPT backup header X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 20:11:48 -0000 I have had a few virtual machine installations come up with "gptboot: invalid GPT backup header" error message while booting. (some immediately on first boot after install) They still boot fine, and run without problems, but I would like to find a way to fix the problem. Does anyone know how you can write a new GPT backup header to the partition table. I have even gone to the extent of adding a second virtual disk, using gpart to create a partition table and then add new partitions and setup bootstrap then use cpio to copy data over and switched the drive SCSI IDs within the virtual machines configuration to boot from the second drive instead. Still same error message when booting off the new drive. I did however leave out the size option when creating the last UFS partition so it may have filled to the end and overwrote the backup GPT table. I have searched online for a solution to recreating the backup GPT header from the main header, but I have been unable to find anything. Not sure if I am missing something simple, if no one else has had this problem, or if others are just ignoring it since their system works even with it? All the machines with the problem are VMware hosted machines, some on ESX, and some on VMware Workstations. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 20:49:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DA011065809 for ; Mon, 9 Jul 2012 20:49:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB428FC1F for ; Mon, 9 Jul 2012 20:49:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q69KnUKd044057; Mon, 9 Jul 2012 22:49:30 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q69KnUqY044054; Mon, 9 Jul 2012 22:49:30 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 22:49:30 +0200 (CEST) From: Wojciech Puchar To: Graeme Dargie In-Reply-To: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Message-ID: References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 22:49:30 +0200 (CEST) Cc: "'freebsd-questions@freebsd.org'" Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 20:49:36 -0000 > I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. No joy Windows insists that the partition is RAW and I need to format it. I can however mount it under FreeBSD without any problems, the directory structure appears to be intact but there are no files in the places I would expect to find them under the Users directory, I am guessing that these have somehow been deleted or perhaps the victim of a partial OEM recovery process. Is there a way to scan the drive for deleted files from the command line or something from the ports tree that anyone can recommend to fulfil this requirement. get other disk or just use free space on large filesystem and do dd if=/dev/baddisk of=file bs=64k conv=noerror,sync then - after having backup, try to salvage things From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 20:55:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 704441065703 for ; Mon, 9 Jul 2012 20:55:07 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 18B238FC15 for ; Mon, 9 Jul 2012 20:55:06 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q69Ku0tE087956 for freebsd-questions@freebsd.org; Mon, 9 Jul 2012 15:56:00 -0500 (CDT) Date: Mon, 9 Jul 2012 15:56:00 -0500 (CDT) From: Robert Bonomi Message-Id: <201207092056.q69Ku0tE087956@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <4FFAD0E1.10803@cran.org.uk> Subject: Re: YASSDQ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 20:55:07 -0000 > From owner-freebsd-questions@freebsd.org Mon Jul 9 07:40:35 2012 > Date: Mon, 09 Jul 2012 13:38:57 +0100 > From: Bruce Cran > To: Wojciech Puchar > Cc: freebsd-questions@freebsd.org, Graham Bentley > Subject: Re: YASSDQ > > On 09/07/2012 11:31, Wojciech Puchar wrote: > > All use 4K as it is NTFS default block size and most are sold to be > > used with windoze. > > Apparently the Intel 320 SSDs use an 8KB page/block size. Don't attempt to confuse Wociech with facts. He knows more about everything than anybody. And his opinions are the only correct way to do anything. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:24:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B254106566B for ; Mon, 9 Jul 2012 22:24:35 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 14E688FC12 for ; Mon, 9 Jul 2012 22:24:34 +0000 (UTC) Received: from park.js.berklix.net (p5DCBE3A1.dip.t-dialin.net [93.203.227.161]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q69MORDR090980; Mon, 9 Jul 2012 22:24:28 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.14.3/8.14.3) with ESMTP id q69MPLN9029328; Tue, 10 Jul 2012 00:25:21 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id q69MPBDu047281; Tue, 10 Jul 2012 00:25:16 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201207092225.q69MPBDu047281@fire.js.berklix.net> To: Carsten Mattner From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 06 Jul 2012 14:47:43 +0200." Date: Tue, 10 Jul 2012 00:25:10 +0200 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD vs Hurd what is the differences? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:24:35 -0000 Hi, Carsten Mattner wrote: > On Fri, Jul 6, 2012 at 2:42 AM, Julian H. Stacey wrote: > > Hi, > > Reference: > >> From: Carsten Mattner > >> Date: Fri, 6 Jul 2012 00:28:32 +0200 > >> Message-id: > > > > Carsten Mattner wrote: > >> On Thu, Jul 5, 2012 at 4:39 PM, Wojciech Puchar > >> wrote: > >> >>> As for reading anything else than internal firefox data it is not > >> >>> possible > >> >>> except very basic bug is there. > >> >> > >> >> > >> >> Yes otherwise all the flash sites would have gathered files from local > >> >> disks. > >> > > >> > > >> > true. javascript activity is sandboxed. But within that sandbox there are > >> > million bugs. > >> > > >> > i've already seen trojans that completely took control over firefox. > >> > But - in spite it was windoze - ONLY firefox. Everything else was fine. > >> > > >> > Deleting firefox user data removed the trojan. > >> > >> Nothing is impossible at that complexity. > >> > >> I'd still like to know what Julian saw as you didn't see that. > >> Did it really contain a script which made it fetch random files from the > >> local disk? > > > > I don't know. > > I wrote how I obtained the data patern I saw, in my: > > Fair enough :). > > >> Message-id: <201207050936.q659aWCI016222@fire.js.berklix.net> > >> Date: Thu, 05 Jul 2012 11:36:32 +0200 > > > > Others very welcome to try it. > > Of course. > > >> Julian? > > > >> Which Firefox version? > > > > Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 > > I don't want to be that guy whos says it but that version is old and > may contain widely known holes. Good point. ( Till now I I just built ports in current when odd ports from RELEASE broke, That's too simplistic, Thanks.) > >> I am a little concerned. > > > > Me too ! > > Not had tme to pursued it though. > > & I dont feel like exporting that data public > > in case its already gone too far. > > You don't have to export it at all. > Can you confirm the data within is the same as say the same > file in /etc or ~/.ssh? If that's really the case, it's a problem. No I happily can not confirm that, despite a quick-ish look. ( I wouldn't particularly xpect it, if a trojan took control, it would be pretty easy to store data [hidden or scrambled] in different format.) The string I saw was in file jquery.js: /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage Some machines have more valuable data in user files, than /etc/ passwords. If 'only' /etc/*passwd got harvested, but data beyond did not yet get harvested, waiting for a 2nd pass with trojan, damage would be less. > > I suggest others create a dummy guest account & then accesss URL & do > > page save as I wrote. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:26:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FB25106564A for ; Mon, 9 Jul 2012 22:26:31 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5323F8FC1B for ; Mon, 9 Jul 2012 22:26:31 +0000 (UTC) Received: by yenl8 with SMTP id l8so12338851yen.13 for ; Mon, 09 Jul 2012 15:26:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=p/fUeUHpamMkZfJAZ7ZJHQI9u1Fr0AgsA8uKvxEFGSM=; b=CQhTafaoK4tK8PK1FKo0XfytdnSNTe3m2EGqZ7Hftul8B1c/tMXeYmLY4uQpWMfIsv HUlp8i5egoQjtYYAVs3DHUBcQ6qUAsX29zI0IWulZepZTdwIKJHKrmr5AZXsIbQhlHVX HfP0GSP28xnYFBVwKBdNNhS8NunROHpc78vkRGpG5pUAUabIVhPclBmfjOPrGmjXoCk2 1W/LOrsFzvIW5F/zxY9vRk2wU7Ri+sRrWYeUA91ZZmSdtKj27+IdadSdtSAW00LUNBeP LuZ4Ff3KeDyeIsQSHDMsdlfPkb4BydaZ1x3Mi7hXEekgqECkgCX6pR9is/6aq+ULi6lq uw6g== Received: by 10.236.77.163 with SMTP id d23mr228912yhe.75.1341872784529; Mon, 09 Jul 2012 15:26:24 -0700 (PDT) Received: from papi ([187.59.247.222]) by mx.google.com with ESMTPS id o25sm13234505yhm.14.2012.07.09.15.26.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 15:26:24 -0700 (PDT) Date: Mon, 9 Jul 2012 19:26:59 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Message-ID: <20120709192659.7c0b6c10@papi> In-Reply-To: References: <20120707185250.GA2389@schweikhardt.net> <20120708223356.20801253@gumby.homeunix.com> Organization: BSD X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmLeB5ggyhskV2HGUUZo8Ua4cfXMhjE2/F9jLvEGrFYQLe7K0dEFWHgEAOa7gTs1T5rCmd5 Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:26:31 -0000 On Mon, 9 Jul 2012 00:00:20 +0200 (CEST) Wojciech Puchar wrote: > > > On Sun, 8 Jul 2012, RW wrote: > > > On Sat, 7 Jul 2012 20:52:50 +0200 > > Jens Schweikhardt wrote: > > > >> hello, world\n > >> > >> is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July > >> 7, with all ports compiled from scratch. Qbittorrent (2.9.11) > >> freezes after about 10 to 20 seconds, reacts to mouse clicks only > >> after a minute or so; the window isn't redrawn when it was > >> obscured by other windows and ... > > > > I tried it a few weeks ago on 8.3. I found that it locks-up just > > after the first torrent is added, or if it's started with a torrent > > already loaded. > mosy probably not FreeBSD related. just a buggy program > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Sorry for my last post. Spoke too soon. I found the problem!. It lies inside devel/boost-libs. After you issue make patch, apply this to work/boost_1_48_0/boost/asio/detail/io_control.hpp. I couldn't manage to produce a proper diff file. *** 46,52 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast(FIONBIO); + return static_cast(FIONBIO); *** 96,102 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast(FIONREAD); + return static_cast(FIONREAD); } -Rebuild/reinstall devel/boost-libs -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16 -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16-python -Rebuild/reinstall net-p2p/qbittorrent No more lockups and kernel messages!! :) after I did this, qbittorrent has been up flawlessly for almost 2 hours. I don't know how to get in touch with the boost-lib port mantainer so he/she can fix the port file patch-boost_asio-ioctl to add these changes. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:28:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18329106566B for ; Mon, 9 Jul 2012 22:28:01 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id D132F8FC21 for ; Mon, 9 Jul 2012 22:28:00 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id AA12B471BB5 for ; Mon, 9 Jul 2012 23:54:47 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 37457386A68 for ; Mon, 9 Jul 2012 23:54:48 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Mon, 9 Jul 2012 23:54:44 +0200 Message-Id: <201207092354.AA2187067728@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad " X-Sender: To: X-Mailer: Subject: Can't get plone to run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:28:01 -0000 Following the instructions from "Professional Plone 4 Development" book. (not plone/zope from ports) freebsd 9.0 got pretty far, then: plone# bin/instance fg 2012-07-09 16:49:55 INFO ZServer HTTP server started at Mon Jul 9 16:49:55 2012 Hostname: 0.0.0.0 Port: 8080 2012-07-09 16:49:55 INFO Zope Set effective user to "myname" Traceback (most recent call last): File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 76, in run() File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare() File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare self.startZope() File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py", line 259, in startZope Zope2.startup() File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/__init__.py", line 46, in startup from Zope2.App.startup import startup as _startup File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/Zope2/App/startup.py", line 38, in import OFS.Application File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/OFS/Application.py", line 22, in import App.Product File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/App/Product.py", line 44, in from OFS.Folder import Folder File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/OFS/Folder.py", line 24, in from webdav.Collection import Collection File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/webdav/Collection.py", line 30, in from webdav.Resource import Resource File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/webdav/Resource.py", line 35, in from OFS.event import ObjectClonedEvent File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/OFS/event.py", line 20, in import OFS.interfaces File "/usr/home/myname/eggs/Zope2-2.13.15-py2.7.egg/OFS/interfaces.py", line 19, in from zope.location.interfaces import IPossibleSite ImportError: cannot import name IPossibleSite ideas? Thanks Len From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:35:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9F75106566C for ; Mon, 9 Jul 2012 22:35:32 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A6E8B8FC08 for ; Mon, 9 Jul 2012 22:35:32 +0000 (UTC) Received: by obbun3 with SMTP id un3so1400054obb.13 for ; Mon, 09 Jul 2012 15:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/niIj5LXeZVNZwRQz5ss/XPX/E8smftGV9fIuJmqGCk=; b=qt5VE7Bscr79dDXnEbCOqVNhq2sPLjg6G/Xfy34ZxvcHBa0AwHwYGhalRls6GsroSI 0ZYOv/SCoWKGaVA1+Rau1TRsoRsLBxyWUjDgwyYxiPTLxxRJnoo5vKekEqnV2sBluLGc qJJbTNdppJXIyyW942lz5RpHaY0wF/OP6ZZ08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=/niIj5LXeZVNZwRQz5ss/XPX/E8smftGV9fIuJmqGCk=; b=hmKakZwsmDG4gj8xS48T6sNUyV6ffwbNJ0HnN6W1bo+VT+XT3T84wBnuknnuqBUb3i 168ZHKsfO3sv/R81rQgssoXX3u5F4xRCNMKNhVPHWAd2CvpbAhjwNYXenc01SpW/cAvx crrjhgu/G7hEqiI0Yd5EBJ2AiGJcmW4as4EeTQ6OAlmqgE85dyrUvLRV+ObfdXZEtS4C rrhOtoW23/2LslI6ZyIYWHJWrK4Ez5y03mBe6i9+K4E3jgjRR6QN7VdrScpo9xZDSsUH GyMXA8iQDub37YgxtH1M90FxP7ZKFnjn5MmfZpRp1J4ejRUTN+4kp0HpyTWp4UNgYNnd rOTA== Received: by 10.182.216.99 with SMTP id op3mr17035249obc.30.1341873332064; Mon, 09 Jul 2012 15:35:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.125.70 with HTTP; Mon, 9 Jul 2012 15:35:01 -0700 (PDT) In-Reply-To: <20120709192659.7c0b6c10@papi> References: <20120707185250.GA2389@schweikhardt.net> <20120708223356.20801253@gumby.homeunix.com> <20120709192659.7c0b6c10@papi> From: Eitan Adler Date: Mon, 9 Jul 2012 15:35:01 -0700 Message-ID: To: Mario Lobo Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnN55J6Ws3jQb2uDT4JAHca3Tzx+2BbASxjsOvVYZLiQ+DyrXegEnxan2YCiiyZIYlRh+Sv Cc: freebsd-questions@freebsd.org Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:35:33 -0000 On 9 July 2012 15:26, Mario Lobo wrote: > I don't know how to get in touch with the boost-lib port mantainer so > he/she can fix the port file patch-boost_asio-ioctl to add these > changes. The best way to contact a maintainer for something like this is to submit a PR: http://www.freebsd.org/send-pr.html -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:53:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4DE01065673 for ; Mon, 9 Jul 2012 22:53:52 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gg0-f196.google.com (mail-gg0-f196.google.com [209.85.161.196]) by mx1.freebsd.org (Postfix) with ESMTP id 96DB38FC08 for ; Mon, 9 Jul 2012 22:53:52 +0000 (UTC) Received: by ggnb1 with SMTP id b1so4575193ggn.7 for ; Mon, 09 Jul 2012 15:53:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=o2TcuvLKZdNvrK4eKvfloEF8jUKO8cv6VTV3IHW3ONU=; b=djZAHcY1H1K1htfJIIVlsrHiOA0bxrGhONPdYsBTRfLwgx2oC7giI8Fh7FO6+tx9ws T9OGSsSkqF5IFdC+Xmn2uCLAeIdMv4x5015sRRGqpzMVaoQkHT3WEcDCwv69HRpASMK0 Fl0lNwq3KkihMU0T8ZB0XVmE946GMUWJtMr7BC/yMsLedt+7KDxmHo2HjYm0y6t+XL5r ux2xGMdpPvgt/Zi8Qnn4XM0uchZhkGHzvkaxr6PPwXnwjJXsOkA94qI5gf837Lt7HDkH HeVmp/N95F+2v9IHOvA7kBPfuI0kyXJpuj97SlVWAzR6CUDAFk554/ivp7I5Yaz24+5w Im5g== Received: by 10.236.190.168 with SMTP id e28mr48872907yhn.57.1341874431969; Mon, 09 Jul 2012 15:53:51 -0700 (PDT) Received: from papi ([187.59.247.222]) by mx.google.com with ESMTPS id t22sm31393823anh.20.2012.07.09.15.53.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 15:53:51 -0700 (PDT) Date: Mon, 9 Jul 2012 19:54:26 -0300 From: Mario Lobo To: Eitan Adler Message-ID: <20120709195426.6f73ea72@papi> In-Reply-To: References: <20120707185250.GA2389@schweikhardt.net> <20120708223356.20801253@gumby.homeunix.com> <20120709192659.7c0b6c10@papi> Organization: BSD X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkaz/xNA/seXoiUb8dqXR4K7xNKeOF8ncZsXhmxau95iu/fWKjM4vkuQheBgjFI45xnbAVe Cc: freebsd-questions@freebsd.org Subject: Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:53:53 -0000 On Mon, 9 Jul 2012 15:35:01 -0700 Eitan Adler wrote: > On 9 July 2012 15:26, Mario Lobo wrote: > > I don't know how to get in touch with the boost-lib port mantainer > > so he/she can fix the port file patch-boost_asio-ioctl to add these > > changes. > > The best way to contact a maintainer for something like this is to > submit a PR: http://www.freebsd.org/send-pr.html > > Done it! Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:58:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BFCA1065670 for ; Mon, 9 Jul 2012 22:58:53 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id CC8278FC0C for ; Mon, 9 Jul 2012 22:58:52 +0000 (UTC) Received: from [92.76.69.32] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1SoMuk-00044E-2N; Tue, 10 Jul 2012 00:58:46 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Bosko Radivojevic" References: Date: Tue, 10 Jul 2012 00:58:40 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.00 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/15121/Mon Jul 9 23:45:50 2012) Cc: Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 22:58:53 -0000 Am 09.07.2012, 16:31 Uhr, schrieb Bosko Radivojevic : > Hi all! > > I have a problem installing FreeBSD 9.0 on Fujitsu Primergy RX200 S5 > server with LSI MegaRAID SATA controller (two SATA HDDs in RAID1 > array). When booted from a CD, FreeBSD doesn't recognize RAID Array, > it recognizes HDDs only (ad4 & ad6). On the same server, FreeBSD 8.3 > installation recognizes RAID Array (ar0). > > pciconf -vl on FreeBSD 9.0: > ahci0@pci0:0:31:2: class=0x010400 card=0x11501734 chip=0x3a258086 > rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801JIR (ICH10R) SATA RAID Controller' > class = mass storage > subclass = RAID So it's not an LSI MegaRAID, but an Intel Controller? I found this on the net: quote from: http://serverfault.com/questions/275875/raid-bus-controller-intel-corporation-82801jir-ich10r-sata-raid-controller "ICH10R-based RAID controllers are so called fake- or software-RAID controllers, the OS needs to do all the work." What you have on 8.3 might be a software raid, one way to get it: gmirror label ar0 ad4 gmirror load gmirror insert ar0 ad6 You now have ``/dev/mirror/ar0'' as device node for your software RAID, check: gmirror status > pciconf -vl on FreeBSD 8.3: > atapci0@pci0:0:31:2: class=0x010400 card=0x11501734 chip=0x3a258086 > rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > device = 'SATA RAID Controller' > class = mass storage > subclass = RAID > > dmesg output on FreeBSD 8.3: > # dmesg|grep ar0 > ar0: writing of DDF metadata is NOT supported yet > ar0: 952720MB status: READY > ar0: disk0 READY (master) using ad4 at ata2-master > ar0: disk1 READY (mirror) using ad6 at ata3-master > > As far as I understand (while I don't have that much FreeBSD > experience), amr is the appropriate driver for this controller. Tried > to load it manually (kldload /boot/kernel/amr.ko) but it seems the > driver is already present in kernel. > > What am I missing here? > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 23:55:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 064B01065670 for ; Mon, 9 Jul 2012 23:55:37 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id DDC818FC15 for ; Mon, 9 Jul 2012 23:55:36 +0000 (UTC) Received: from ::ffff:69.12.202.165 ([69.12.202.165]) by holgerdanske.com for ; Mon, 9 Jul 2012 16:55:35 -0700 Message-ID: <4FFB6F76.6040104@holgerdanske.com> Date: Mon, 09 Jul 2012 16:55:34 -0700 From: David Christensen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFAE6F1.7030103@holgerdanske.com> <20120709164347.GE56922@hs1.VERBENA> In-Reply-To: <20120709164347.GE56922@hs1.VERBENA> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 23:55:37 -0000 I wrote: >> https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ On 07/09/2012 09:43 AM, Colin Barnabas wrote: > Perhaps this will help- > http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Thanks for the reply. :-) STFW I already found various manual instructions. I'm looking for something easier/ simpler that is built in to the installer, similar to Debian and Windows. It appears FreeBSD doesn't have that feature. David From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 00:49:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A6C81065670 for ; Tue, 10 Jul 2012 00:49:19 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 378008FC14 for ; Tue, 10 Jul 2012 00:49:19 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6A0nGls064246; Mon, 9 Jul 2012 18:49:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6A0nGol064243; Mon, 9 Jul 2012 18:49:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 9 Jul 2012 18:49:16 -0600 (MDT) From: Warren Block To: dweimer In-Reply-To: <764fd164b77f32257135e1ab4f4fb501@dweimer.net> Message-ID: References: <764fd164b77f32257135e1ab4f4fb501@dweimer.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 09 Jul 2012 18:49:16 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Invalid GPT backup header X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 00:49:19 -0000 On Mon, 9 Jul 2012, dweimer wrote: > I have had a few virtual machine installations come up with "gptboot: invalid > GPT backup header" error message while booting. (some immediately on first > boot after install) They still boot fine, and run without problems, but I > would like to find a way to fix the problem. Does anyone know how you can > write a new GPT backup header to the partition table. See the gpart recover command covered in the RECOVERING section in gpart(8). > I have even gone to the extent of adding a second virtual disk, using > gpart to create a partition table and then add new partitions and > setup bootstrap then use cpio to copy data over and switched the drive > SCSI IDs within the virtual machines configuration to boot from the > second drive instead. Still same error message when booting off the > new drive. I did however leave out the size option when creating the > last UFS partition so it may have filled to the end and overwrote the > backup GPT table. gpart will not overwrite the backup GPT with a partition. Other stuff may not be GPT-aware. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 05:02:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79C95106566C for ; Tue, 10 Jul 2012 05:02:58 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 523248FC0A for ; Tue, 10 Jul 2012 05:02:58 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [216.80.73.130]) by paka.cyberleo.net (Postfix) with ESMTPSA id CFE2929652; Tue, 10 Jul 2012 00:53:59 -0400 (EDT) Message-ID: <4FFBB565.9070805@cyberleo.net> Date: Mon, 09 Jul 2012 23:53:57 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120617 Thunderbird/10.0.4 MIME-Version: 1.0 To: "Julian H. Stacey" References: <201207092225.q69MPBDu047281@fire.js.berklix.net> In-Reply-To: <201207092225.q69MPBDu047281@fire.js.berklix.net> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Cc: Carsten Mattner , freebsd-questions@freebsd.org Subject: Re: FreeBSD vs Hurd what is the differences? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 05:02:58 -0000 On 07/09/2012 05:25 PM, Julian H. Stacey wrote: > The string I saw was in file jquery.js: > /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage This is a part of the jQuery javascript library. The example above is a regular epxression used to pick apart input tags on the page in which jQuery is running, so fun stuff can be done to them. You can see the same code in the development version from the jQuery website itself; any nefarious behaviour therein would presumably be noticed by the extensive community utilizing and modifying said library. http://code.jquery.com/jquery-1.7.2.js just search for the string |password| in that file -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 05:15:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C6CA106564A for ; Tue, 10 Jul 2012 05:15:18 +0000 (UTC) (envelope-from pnz.list@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C45198FC1C for ; Tue, 10 Jul 2012 05:15:17 +0000 (UTC) Received: by obbun3 with SMTP id un3so1927838obb.13 for ; Mon, 09 Jul 2012 22:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=cJF9i/0C22nmluZBLcd3Kp8aA+77jEJ1vldA8U45oVg=; b=B0yDg4xna96XbcX2rkK6Tzo9vU6hiYD4u3VQNKY2qd1DXOrgX/r5/0tMMUgzw9c98n 9RkUQZnhkiqR6qKLiCm4fm8VrOBFzeAgQaKdKJlLZm9xcrlt4rk471eUdboRFYTZl0gr qxAmzGIfOfHC9aP0O7GQVtpWolcDxTr8f3G+cvb2qhXn1fZCewiMIS+ZGzK13rUrrESI ZZyrOfZ5BjY/Q6+BGR18im8vEJn8FnsA/NSqUk/8VVV7mXEKtjmjWZZ7+WSeXdCURCAI mECOxv+L+2uZK5OUus7CAzny9volYFjoRyclpU+9BafCuIQYrsaI1Q6cpuOo5QRPVMXX 8V9g== Received: by 10.60.2.35 with SMTP id 3mr44253981oer.63.1341897317323; Mon, 09 Jul 2012 22:15:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.49.1 with HTTP; Mon, 9 Jul 2012 22:14:47 -0700 (PDT) In-Reply-To: <4FFB6F76.6040104@holgerdanske.com> References: <4FFAE6F1.7030103@holgerdanske.com> <20120709164347.GE56922@hs1.VERBENA> <4FFB6F76.6040104@holgerdanske.com> From: Vladislav Date: Tue, 10 Jul 2012 09:14:47 +0400 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 05:15:18 -0000 On Tue, Jul 10, 2012 at 3:55 AM, David Christensen < dpchrist@holgerdanske.com> wrote: Thanks for the reply. :-) > > > STFW I already found various manual instructions. I'm looking for > something easier/ simpler that is built in to the installer, similar to > Debian and Windows. It appears FreeBSD doesn't have that feature. > > > David > > You can use PC-BSD installer and install FreeBSD with an encrypted ZFS root. I am using this setup on my laptop. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 08:51:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC51F106564A for ; Tue, 10 Jul 2012 08:51:53 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 579068FC17 for ; Tue, 10 Jul 2012 08:51:53 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6A8ppPs046513; Tue, 10 Jul 2012 10:51:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6A8ppPt046510; Tue, 10 Jul 2012 10:51:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 10:51:51 +0200 (CEST) From: Wojciech Puchar To: Michael Ross In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 10:51:52 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Bosko Radivojevic Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 08:51:54 -0000 > quote from: > http://serverfault.com/questions/275875/raid-bus-controller-intel-corporation-82801jir-ich10r-sata-raid-controller > > "ICH10R-based RAID controllers are so called fake- or software-RAID > controllers, the OS needs to do all the work." > It is always better to use gmirror instead of "hardware" RAID. One have full control over what is going on From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 08:55:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 892E4106566B for ; Tue, 10 Jul 2012 08:55:09 +0000 (UTC) (envelope-from carstenmattner@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4C88FC19 for ; Tue, 10 Jul 2012 08:55:09 +0000 (UTC) Received: by yenl8 with SMTP id l8so12729039yen.13 for ; Tue, 10 Jul 2012 01:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PHSQSGvfKsuOqnqblLLQLR0Hz8M3qn3IlY4SNr4W55M=; b=zN1vjsj9OTO8hs23czZatSRtO8IbpuBU7Tpam/WKPHDM8mUgbgNOXKa4R4IWx3QUEh pwWJbODq0wc+bW7tZBo0Z8JiASyyZ9AsHO/QmdyKITYRUX903wBhQIAutM1fk3babo5x VJlwciEa+r4tnJP+y17nF3F0LJ2obzrYeGpeyhsvF0gH4ZNjxG2tNzseqNjD3CpurUuc C2gQfKo61usj/D1fK+FsNhi/b6s/0oxpApYwsVt/paGRxKOcSWyh35Uy8hTlTkXFu5Kd 3j5i6euLxqQRIk33A+GlKzpQgmoKFR6Z4+xw3979rTV+eLxzsIjw9FOB0xZv8g8S75pP T4Mg== MIME-Version: 1.0 Received: by 10.50.208.100 with SMTP id md4mr10602217igc.65.1341910508338; Tue, 10 Jul 2012 01:55:08 -0700 (PDT) Received: by 10.64.9.78 with HTTP; Tue, 10 Jul 2012 01:55:08 -0700 (PDT) In-Reply-To: <4FFBB565.9070805@cyberleo.net> References: <201207092225.q69MPBDu047281@fire.js.berklix.net> <4FFBB565.9070805@cyberleo.net> Date: Tue, 10 Jul 2012 10:55:08 +0200 Message-ID: From: Carsten Mattner To: CyberLeo Kitsana Content-Type: text/plain; charset=ISO-8859-1 Cc: "Julian H. Stacey" , freebsd-questions@freebsd.org Subject: Re: FreeBSD vs Hurd what is the differences? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 08:55:09 -0000 On Tue, Jul 10, 2012 at 6:53 AM, CyberLeo Kitsana wrote: > On 07/09/2012 05:25 PM, Julian H. Stacey wrote: >> The string I saw was in file jquery.js: >> /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage > > This is a part of the jQuery javascript library. The example above is a > regular epxression used to pick apart input tags on the page in which > jQuery is running, so fun stuff can be done to them. > > You can see the same code in the development version from the jQuery > website itself; any nefarious behaviour therein would presumably be > noticed by the extensive community utilizing and modifying said library. > > http://code.jquery.com/jquery-1.7.2.js > > just search for the string |password| in that file Thanks for revealing that. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 08:58:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C762106564A for ; Tue, 10 Jul 2012 08:58:27 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 194DB8FC12 for ; Tue, 10 Jul 2012 08:58:26 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAJTt+0+kD30E/2dsb2JhbAANOIVmtT0BAQEEAQEBICsgCgYLCxgJFgsCAgkDAgECARUBCSYOBQIEAQEBARkEh3epO4ojiQSCQYh/AgMVgmyCCoESA45IgSGDJIM7hDGNI4Fd Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 10 Jul 2012 10:57:19 +0200 Message-ID: <4FFBEE6E.6000906@ulb.ac.be> Date: Tue, 10 Jul 2012 10:57:18 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:12.0) Gecko/20120503 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------040006050303080908080206" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 08:58:27 -0000 This is a multi-part message in MIME format. --------------040006050303080908080206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/10/2012 10:51, Wojciech Puchar wrote: >> quote from: >> http://serverfault.com/questions/275875/raid-bus-controller-intel-corporation-82801jir-ich10r-sata-raid-controller >> >> "ICH10R-based RAID controllers are so called fake- or software-RAID >> controllers, the OS needs to do all the work." >> > It is always better to use gmirror instead of "hardware" RAID. One > have full control over what is going on mmh not always. Nothing replaces a good hardware RAID card with a BBU (battery backup unit). now it's true that it's better to use gmirror in place of "cheap"/false RAID cards .. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------040006050303080908080206-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 09:08:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD441106566B for ; Tue, 10 Jul 2012 09:08:22 +0000 (UTC) (envelope-from abillathicham@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 50E768FC18 for ; Tue, 10 Jul 2012 09:08:22 +0000 (UTC) Received: by weyx56 with SMTP id x56so859053wey.13 for ; Tue, 10 Jul 2012 02:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PutjZ1ywsA/yiUgmVBeeUQ3zFXLrYpmAbAsckNyJS04=; b=xkIm5waRlWWMckv3XhCjOHjrpWlcE7xOtoIiLFv5MZfxCLmE6Vyg+D1xoOBZ3ccPPj JZc5vZOheW1xjArOeuQaITUHp5XYbJ/OKRTrVS4UIkYoLC7VGkLC6cEH126aSNNFu79y BckwBUrO1iv+jd6ANiaaYjuFwm+DP6G4BC1ngqRyYQ/XuWMxSLzjVpIO9qrZPQTzeAfP JKbbjMl9U9Km9oWEI5h03kCmr1JUc6nWODWdgY4z3zzf2CGMFEHoGzxALj3FtoeVxtWb OEi1sffgn5t6MbfLe2q79Yq39P6RGBhOhDUerp1IqZih3WeiPEHXh1ziJ/ft7DVA07ba PH2Q== MIME-Version: 1.0 Received: by 10.216.80.29 with SMTP id j29mr1360787wee.121.1341911301051; Tue, 10 Jul 2012 02:08:21 -0700 (PDT) Received: by 10.216.163.4 with HTTP; Tue, 10 Jul 2012 02:08:21 -0700 (PDT) In-Reply-To: <20120710051528.94819106575D@hub.freebsd.org> References: <20120710051528.94819106575D@hub.freebsd.org> Date: Tue, 10 Jul 2012 12:08:21 +0300 Message-ID: From: Hicham Abillat To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd-questions Digest, Vol 423, Issue 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 09:08:22 -0000 *Your booking tickets on Travelgenio*Thank you for booking with Travelgenio. Your reservation has been taken into account in the system but IT HAS NOT YET BEEN CONFIRMED by the airline. You will receive within 24 hours an e-mail address to confirm your reservation or to propose alternatives. Here is the reservation number (awaiting validation to access the plane): Here is your reservation number: 2451720.Details of flightFlight Departure: Dubai (DXB), Dubai, Minor Outlying Islands U.S. Date: 10/07/2012 - 17:30 H Arrival: Mohamed V (CMN), Casablanca, Morocco 5:30 p.m. H (1 Day) Duration 27H 00m Saudi Arabian Airlines (SV589) Stopover in Jeddah, Saudi Arabia. New Plane Passenger informationPassenger 1 - ADT (Passenger Main)Name:HichamName: abillatNo ID: Information on the reservation holderName:HichamName:abillatMain phone:(+33= ) 0466788221 <%28%2B33%29%20%200466788221> Cancellation insurance Thank you for your insurance with cancellation TravelGenio for the flight to *Dubai* , Time to go: *10/07/2012* , Date back: ** Details of Insured: *abillat, Hesham * The total amounts to EUR *19.00* Euros. To review terms and conditions, click the following link: * http://www.travelgenio.fr/assurance-annulation* Mode of PaymentMethod of Payment:Credit CardName of cardholder:jaoud abilla= t Map:MasterCard CreditNumber:xxxxxxxx4032Expiration date:6/2013Total:314.12 EUR *IDENTITY, PASSPORT and VISAS:* In the case of flights and domestic traffic within the Schengen area, only the identity card is required. For international flights OUT Schengen area, you must present your passport. Some countries require other documents such as medical certificates or visas to enter their territory. Some domestic flights to or from countries in the Schengen area can take off for a given area in OUT of the Schengen area as the terminal T4S in Madrid, for example. The departure of these flights being located OUTSIDE Schengen passengers must present their passports, only valid ID, to access the aircraft. This applies in the lines Madrid-Paris-Frankfurt and Madrid sent by the company LAN Airlines. *IMPORTANT:* The foreign resident card in Spain (NIE) is not valid for access to the aircraft. Foreign residents in Spain do not have Spanish identity card will have to carry a valid passport. For more information on passports, we recommend that you visit the Ministry of on visas, foreign embassies and consulates in France: http://www.mfe.org/index.php/Annuaires/Ambassades-et-consulats-etrangers-en= -France In all cases, the presentation of the necessary documentation and the conditions of access to country of destination are the responsibility of the passenger. *REGULATION:* When issuing tickets, banks can temporarily block the amount of the reservation on your account balance until it is debited. The sum will then be released. It is therefore likely that the amount of the reservation appears twice in the flow temporarily and then be automatically credited to your new bank. This retention will disappear automatically within a period varying from one to two weeks. This process is not an isolated incident. All travel agencies use them in accordance with the directive in force between banks, entities issuing debit and credit and the International Air Transport Association (IATA). Travel agencies transmit the transmission order but these are the organizations mentioned above who are responsible for managing the collection.*FLIGHTS TO DESTINATION OF THE UNITED STATES:* All passengers, regardless of nationality that pass through U.S. territory or traveling to the United States must hold an Electronic Travel Authorisation (ESTA) obtained at least 72 hours before departure. You may request authorization on this websitehttps://esta.cbp.dhs.gov . If in doubt, and for further information, please contact the U.S. Consulate or visithttp://french.france.usembassy.gov . *AIR EUROPA FLIGHTS PERFORMED BY TRAIN:* If you book your ticket via Air Europa has made a train trip, you MUST register online for these trips by TRAIN on the website of the company corresponding railway. *RECOMMENDATIONS FOR YOUR TRIP:* Reconfirm your booking tickets: It is possible that airlines reprogram their flights, change their schedules or departure dates. We recommend that you reconfirm your reservations. To do this, contact the airline by telephone at least 72 hours before departure. This recommendation is valid for all flights, both for the outward and for the return. Presentation at the airport: We recommend you have at least 60 minutes before departure time for domestic flights and 90 minutes in the month for international flights. For flights to the United States, Costa Rica and Nigeria, we recommend you have at least 120 minutes before the scheduled departure time. Thank you for choosing Travelgenio for your reservation and bon voyage! Travelgenio SL C / Santa Leonor, 39, 4 =BA 28037-Madrid Spain Tel.: 0034 902 909 981 Fax: 0034 913 750 128 Mail: info@travelgenio.com Website: http://www.travelgenio.fr From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 09:49:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9E7D1065675 for ; Tue, 10 Jul 2012 09:49:57 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5338FC16 for ; Tue, 10 Jul 2012 09:49:57 +0000 (UTC) Received: by ghbz22 with SMTP id z22so12762741ghb.13 for ; Tue, 10 Jul 2012 02:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=p0uusHlLR5kWYy30aPYd2xTwvtB0gaB6RLCEZxhjsPA=; b=MRc1TxbYisPSvTjpBLQVp35z8vHAcT0BiHRiuZhJ89CKF/SBaWA5IiOhUTeTu5buaK vyrzDZaqYthUcz5nLgTMnIUv8HDy2nJ+hjzvIB2dGP0MXGsUr1BJudSRLgjdsPIiuOK4 q840SdZjB4STokyl/tsRHPL4jJONuiRnThNJtNh6f+pF5CH9LOl3TU3P+3YgYNZFNSk9 ecmKK8ePviaNM0sI5O9+Ny0LT8XbtoFI/ztBpH4GYwGgHzA7Dsy/69kqAkmHCThDUOkF I3Q8m5cavemImvXABJ3jYaDUItZhZn9IV5pV+XZQqQrOaZoSGsNv/TXnZUbexnxPez14 mCpQ== MIME-Version: 1.0 Received: by 10.236.170.199 with SMTP id p47mr50062080yhl.12.1341913796874; Tue, 10 Jul 2012 02:49:56 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Tue, 10 Jul 2012 02:49:56 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 11:49:56 +0200 Message-ID: From: Bosko Radivojevic To: Michael Ross Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 09:49:57 -0000 Hi Michael, thank you for your response. > So it's not an LSI MegaRAID, but an Intel Controller? It is LSI MegaRAID chip but connected to Intel's I/O Controller Hub (southbridge). On FreeBSD 8.3 gmirror is not configured: # gmirror list gmirror: Command 'list' not available. # gmirror status gmirror: Command 'status' not available. It is somehow enabled through some driver in kernel: # grep ar0 /var/run/dmesg.boot ar0: writing of DDF metadata is NOT supported yet ar0: 952720MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master It is probably "soft-RAID", but I prefer to use it though appropriate driver instead of classical software RAID configured through OS. As I said, I'm not that familiar with FreeBSD - how I can check which driver "created" /dev/ar0? Thanks, Bosko From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:00:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB7D106564A for ; Tue, 10 Jul 2012 10:00:30 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8888FC0A for ; Tue, 10 Jul 2012 10:00:30 +0000 (UTC) Received: by yenl8 with SMTP id l8so12782422yen.13 for ; Tue, 10 Jul 2012 03:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/fi4hel4reOAN8vs2O+hj8sqxTHjYJ242iTAo7yuTsU=; b=g006l+OwgQT6ZIy4rr47pJ8OM2z3IiIy9NSKvKUwx1WS1kNm4PX8ok3KogcEphv9Bq VhdFEidU3eTO7V83YnE44PjhbP7vx5NKIwarF1dUUdpZR5Lzwqc7oPj++ox5xl3K/GgC K68FAc8yR0Ywhlsh9AvXrNHEq8u3u/DDEYqO7yAGrzrhvKoxAKxh9rIPz179/cB+cZpd 1OAWMB5pb4Jnv8DM8BtreZqzesQHZlNMU4FKCv2tqo0TGbbrR9N9LieXzC0RPZJQNPub y7vfcaZTN7jP2dLuO6rVopNERZDoYLwsjJiDxqKDPNh1KWSForHIR1kNIYcLinwfpudp yr5A== MIME-Version: 1.0 Received: by 10.236.197.42 with SMTP id s30mr8283087yhn.64.1341914429962; Tue, 10 Jul 2012 03:00:29 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Tue, 10 Jul 2012 03:00:29 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 12:00:29 +0200 Message-ID: From: Bosko Radivojevic To: Michael Ross Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:00:30 -0000 Hi, i just forgot to add following output from FreeBSD 8.3: # atacontrol status ar0 ar0: ATA RAID1 status: READY subdisks: 0 ad4 ONLINE 1 ad6 ONLINE Thanks, Bosko From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:05:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 021B71065670 for ; Tue, 10 Jul 2012 10:05:03 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 87AF08FC1C for ; Tue, 10 Jul 2012 10:05:02 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 10 Jul 2012 12:04:53 +0200 Message-ID: <4FFBFE2F.6010800@ose.nl> Date: Tue, 10 Jul 2012 12:04:31 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:05:03 -0000 On 07/10/2012 11:49 AM, Bosko Radivojevic wrote: > Hi Michael, > > thank you for your response. > >> So it's not an LSI MegaRAID, but an Intel Controller? > It is LSI MegaRAID chip but connected to Intel's I/O Controller Hub > (southbridge). On FreeBSD 8.3 gmirror is not configured: > > # gmirror list > gmirror: Command 'list' not available. > # gmirror status > gmirror: Command 'status' not available. > > It is somehow enabled through some driver in kernel: > > # grep ar0 /var/run/dmesg.boot > ar0: writing of DDF metadata is NOT supported yet > ar0: 952720MB status: READY > ar0: disk0 READY (master) using ad4 at ata2-master > ar0: disk1 READY (mirror) using ad6 at ata3-master > > It is probably "soft-RAID", but I prefer to use it though appropriate > driver instead of classical software RAID configured through OS. > > As I said, I'm not that familiar with FreeBSD - how I can check which > driver "created" /dev/ar0? > > Thanks, > Bosko Hi Wouldn't this be ataraid ? This is still present in 8.3-RELEASE but not anymore in 9-STABLE. Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:11:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F19AE1065670 for ; Tue, 10 Jul 2012 10:11:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6178FC17 for ; Tue, 10 Jul 2012 10:11:25 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6AABODJ046973; Tue, 10 Jul 2012 12:11:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6AABOVI046970; Tue, 10 Jul 2012 12:11:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 12:11:24 +0200 (CEST) From: Wojciech Puchar To: Julien Cigar In-Reply-To: <4FFBEE6E.6000906@ulb.ac.be> Message-ID: References: <4FFBEE6E.6000906@ulb.ac.be> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 12:11:25 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:11:26 -0000 >> It is always better to use gmirror instead of "hardware" RAID. One have >> full control over what is going on > > mmh not always. Nothing replaces a good hardware RAID card with a BBU for real reason i used parantheses for word "hardware". From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:11:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 062471065762 for ; Tue, 10 Jul 2012 10:11:43 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 85EF08FC1F for ; Tue, 10 Jul 2012 10:11:42 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 10 Jul 2012 12:11:39 +0200 Message-ID: <4FFBFFC5.20602@ose.nl> Date: Tue, 10 Jul 2012 12:11:17 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:11:43 -0000 On 07/10/2012 12:00 PM, Bosko Radivojevic wrote: > Hi, > > i just forgot to add following output from FreeBSD 8.3: > > # atacontrol status ar0 > ar0: ATA RAID1 status: READY > subdisks: > 0 ad4 ONLINE > 1 ad6 ONLINE > > Thanks, > Bosko Hi Bosko, For FreeBSD 9.0-RELEASE see the release notes http://www.freebsd.org/releases/9.0R/relnotes.html especially Thegraid(8) GEOM class has been added. This is a replacement of theataraid(4) driver supporting various BIOS-based software RAID.[r219974 ] Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:12:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B3D1106566C for ; Tue, 10 Jul 2012 10:12:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2FB8FC23 for ; Tue, 10 Jul 2012 10:12:25 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6AACPLZ046985; Tue, 10 Jul 2012 12:12:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6AACOKW046982; Tue, 10 Jul 2012 12:12:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 12:12:24 +0200 (CEST) From: Wojciech Puchar To: Bosko Radivojevic In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 12:12:25 +0200 (CEST) Cc: Michael Ross , freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:12:26 -0000 > > # gmirror list > gmirror: Command 'list' not available. > # gmirror status > gmirror: Command 'status' not available. gmirror load > It is probably "soft-RAID", but I prefer to use it though appropriate > driver instead of classical software RAID configured through OS. i would recommend otherwise. Actually it is already strange FreeBSD have "drivers" to nonexistent hardware, duplicating mostly gmirror&gstripe functionality flaky way. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:17:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 173A71065686 for ; Tue, 10 Jul 2012 10:17:55 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF448FC14 for ; Tue, 10 Jul 2012 10:17:54 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 10 Jul 2012 12:17:53 +0200 Message-ID: <4FFC013A.3040903@ose.nl> Date: Tue, 10 Jul 2012 12:17:30 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFBEE6E.6000906@ulb.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:17:55 -0000 On 07/10/2012 12:11 PM, Wojciech Puchar wrote: >>> It is always better to use gmirror instead of "hardware" RAID. One have >>> full control over what is going on >> >> mmh not always. Nothing replaces a good hardware RAID card with a BBU > > for real reason i used parantheses for word "hardware". That's clear to me. These "hardware" raid controllers are not very reliable because they are indeed not real hardware raid controllers, but software based. Maybe for desktop usage it's ok/ good enough? It is better to use the operating systems raid capability linke gmirror instead. Of course real hardware raid controllers with cache and battery backed are a different thing and very reliable. Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:20:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9F691065686 for ; Tue, 10 Jul 2012 10:20:49 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A235C8FC12 for ; Tue, 10 Jul 2012 10:20:49 +0000 (UTC) Received: by ghbz22 with SMTP id z22so12790301ghb.13 for ; Tue, 10 Jul 2012 03:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0EX/B0NE4+qP9Haj56w5ssPjTvNn7x8j7h95VYT5MZ4=; b=yTG3FD+nybz+oE/bmbM5dZr1lcKHVo6yGfvpkDyFaO/vh1rFRSeYz79kxjEsELdvTi mi+FaoiZcqCAxh/4uuSK38bKYjK3XutTBwkC6ew/LCL3FUgxdzsmq5ApTni3n58jpTLz 6IVC4zAUMKkEKNdAV2YDZ5amh6/R+fTJBATzGgy5aCXgpaPlo5f+LehQy9ZvSR372UY8 nz46e+CyWZ5XfKzptX7W0dEscaf0TnFPLVhuXUAiXPwuSDttXj95fB9eCUWUwFRMYEkF Anx9/ZkUE/pJalnShOB6QnZBCTXZmYDSrALq9LrxFW07BGVVOAtMygmnv5sGERKa7UoP 8RWQ== MIME-Version: 1.0 Received: by 10.236.143.4 with SMTP id k4mr5583501yhj.111.1341915649260; Tue, 10 Jul 2012 03:20:49 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Tue, 10 Jul 2012 03:20:49 -0700 (PDT) In-Reply-To: <4FFBFFC5.20602@ose.nl> References: <4FFBFFC5.20602@ose.nl> Date: Tue, 10 Jul 2012 12:20:49 +0200 Message-ID: From: Bosko Radivojevic To: Bas Smeelen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:20:50 -0000 Hi Bas, thank you for response. 'geom disk list' gives me list of disks, but 'geom raid load;geom raid list' doesn't give anything. I've tried 'geom load mirror', but 'geom mirror list' is also empty. What next? :) Thanks! From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:26:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B652106566B for ; Tue, 10 Jul 2012 10:26:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 759448FC1D for ; Tue, 10 Jul 2012 10:26:07 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6AAQ7Lo047129; Tue, 10 Jul 2012 12:26:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6AAQ64c047126; Tue, 10 Jul 2012 12:26:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 12:26:06 +0200 (CEST) From: Wojciech Puchar To: Bas Smeelen In-Reply-To: <4FFC013A.3040903@ose.nl> Message-ID: References: <4FFBEE6E.6000906@ulb.ac.be> <4FFC013A.3040903@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 12:26:07 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:26:08 -0000 > > That's clear to me. > These "hardware" raid controllers are not very reliable because they are > indeed not real hardware raid controllers, but software based. > Maybe for desktop usage it's ok/ good enough? precise what is "desktop" usage is. i don't see a reason for doing mirroring for home use. > It is better to use the operating systems raid capability linke gmirror > instead. > always. > Of course real hardware raid controllers with cache and battery backed are a > different thing and very reliable. if you have workload where battery backed cache will actually improve things (heavy fsync usage) then yes. otherwise no. i've seen many of them, older, newer, and with same disks i always got at least same performance with FreeBSD software solution. Not talking about RAID5 of which i am not interested at all - there is no reason trading performance for available space nowadays with 2-3TB disks. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:26:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE93C1065677 for ; Tue, 10 Jul 2012 10:26:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3D48FC1C for ; Tue, 10 Jul 2012 10:26:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6AAQZhu047135; Tue, 10 Jul 2012 12:26:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6AAQZfh047132; Tue, 10 Jul 2012 12:26:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 12:26:35 +0200 (CEST) From: Wojciech Puchar To: Bosko Radivojevic In-Reply-To: Message-ID: References: <4FFBFFC5.20602@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 12:26:36 +0200 (CEST) Cc: Bas Smeelen , freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:26:36 -0000 > 'geom raid load;geom raid list' doesn't give anything. I've tried > 'geom load mirror', but 'geom mirror list' is also empty. what other do you expect with no mirrors created yet? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:30:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66EFC106566B for ; Tue, 10 Jul 2012 10:30:19 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id ECE7D8FC17 for ; Tue, 10 Jul 2012 10:30:18 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)); Tue, 10 Jul 2012 12:30:17 +0200 Message-ID: <4FFC0422.7060307@ose.nl> Date: Tue, 10 Jul 2012 12:29:54 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Bosko Radivojevic References: <4FFBFFC5.20602@ose.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:30:19 -0000 On 07/10/2012 12:20 PM, Bosko Radivojevic wrote: > Hi Bas, > > thank you for response. 'geom disk list' gives me list of disks, but > 'geom raid load;geom raid list' doesn't give anything. I've tried > 'geom load mirror', but 'geom mirror list' is also empty. > > What next? :) > > Thanks! Hi Bosko, I do not have any experience with these kind of controllers, so I could just guess. What does pciconf -lv produce, looking at the lines for you disk/softraid controller? Look for the device with class = mass storage Maybe it's not fully supported by graid, which would surprise me because graid this is a replacement for ataraid. Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:31:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1F0C1065674 for ; Tue, 10 Jul 2012 10:31:02 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 57B688FC1B for ; Tue, 10 Jul 2012 10:31:02 +0000 (UTC) Received: by ggnm2 with SMTP id m2so12771841ggn.13 for ; Tue, 10 Jul 2012 03:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ccWUK8NHRwWOR2sVgLOQaFeUuKVRUZKcuvj0MdxqO3Y=; b=XkP0wGBeGv6PhF8+lxFgJoJNw2jNj5FwqpXv8YM0NAoB/H2OQNGJ/96amROqA7H2Tw J5fn+LSmbaceoqmi7aucHgOXwnb3DcNjAve/rd0VSiN+1SSyWSjxmDbAcPerZGB5hM45 sjWfI917WBtNNdn/kydsNSleu/j/iuU8r0HFkvpE+lxd0/vsXSDPIwhaeFeHaEmazDV7 APYTlbl2P1oQlhlq8OaQwAUzEMVVHlzMGU9MYlqXoskUnJYr0n7cTmCrMR+pyERnSApP xzMViyzrcCcVFGJCEWgwZpuVHoLQ3DLGbaDPUi8fMV653NMYxcK3ihBOm3iCGWxvGyXl 2tZw== MIME-Version: 1.0 Received: by 10.236.115.138 with SMTP id e10mr4441162yhh.79.1341916261936; Tue, 10 Jul 2012 03:31:01 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Tue, 10 Jul 2012 03:31:01 -0700 (PDT) In-Reply-To: References: <4FFBFFC5.20602@ose.nl> Date: Tue, 10 Jul 2012 12:31:01 +0200 Message-ID: From: Bosko Radivojevic To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: Bas Smeelen , freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:31:02 -0000 On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar wrote: > what other do you expect with no mirrors created yet? But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm trying to replicate behaviour from FreeBSD 8.3 (array created through RAID BIOS, seen as a device in OS). From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:36:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16111106566B for ; Tue, 10 Jul 2012 10:36:30 +0000 (UTC) (envelope-from bosko.radivojevic@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id BED3C8FC08 for ; Tue, 10 Jul 2012 10:36:29 +0000 (UTC) Received: by yenl8 with SMTP id l8so12815054yen.13 for ; Tue, 10 Jul 2012 03:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LdwlwuFJDFW9T1ANo6AYppoxNigdpZPOqGQWdDZzIvY=; b=b/s/6tVHmWeJD4Tw9ULd/Z3qwThpGwRbFFJvmqRxdEfGzt0zsJFGWPHv7syDIQJiSA lmGUpN+Uo7IPwIHWYnVJdu9bkbnAe3ntUbMY3ttDzwBAcLVFw3eTC8a+3Je5VrDDW9Dx Fdl6feg6oo/ZVqsnUQwolfj88/Klg3Nnkl4vBJdirJkqPpwZHG98mmhJHNDWqscp39zL faO+cVfggpyb25ics/ZvvUAxs/VrAKy6Zu8rpUYGO/Pqnp2qqYVw7gDMcTmj37YJwOIU g1MtYMYsB7C82HfzgB32u1NpvfSTZF0ZIiePXYvf2aSll7+Fxr+aUAFVB8PfVD/YfEWv PR0g== MIME-Version: 1.0 Received: by 10.236.143.4 with SMTP id k4mr5635089yhj.111.1341916589280; Tue, 10 Jul 2012 03:36:29 -0700 (PDT) Received: by 10.100.112.7 with HTTP; Tue, 10 Jul 2012 03:36:29 -0700 (PDT) In-Reply-To: References: <4FFBFFC5.20602@ose.nl> Date: Tue, 10 Jul 2012 12:36:29 +0200 Message-ID: From: Bosko Radivojevic To: Bas Smeelen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:36:30 -0000 I proceeded with: "graid label Intel raid RAID1 ada0 ada1". Hope this works what I want :) On Tue, Jul 10, 2012 at 12:31 PM, Bosko Radivojevic wrote: > On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar > wrote: > >> what other do you expect with no mirrors created yet? > > But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm > trying to replicate behaviour from FreeBSD 8.3 (array created through > RAID BIOS, seen as a device in OS). From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 10:39:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CD69106567A for ; Tue, 10 Jul 2012 10:39:59 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 328908FC17 for ; Tue, 10 Jul 2012 10:39:59 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 10 Jul 2012 12:39:56 +0200 Message-ID: <4FFC0665.6040109@ose.nl> Date: Tue, 10 Jul 2012 12:39:33 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFBEE6E.6000906@ulb.ac.be> <4FFC013A.3040903@ose.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 10:39:59 -0000 On 07/10/2012 12:26 PM, Wojciech Puchar wrote: >> >> That's clear to me. >> These "hardware" raid controllers are not very reliable because they are >> indeed not real hardware raid controllers, but software based. >> Maybe for desktop usage it's ok/ good enough? > > precise what is "desktop" usage is. Here at work we just use non raided disks for workstations which run linux. The home directories are on nfs, so when a disk fails it's replaced very fast by doing a basic install on a new disk or just replacing the disk by a preinstalled disk laying on the shelf here. > i don't see a reason for doing mirroring for home use. Me neither, just keep back-ups of important data on a different place/device > >> It is better to use the operating systems raid capability linke gmirror >> instead. >> > always. > >> Of course real hardware raid controllers with cache and battery backed >> are a different thing and very reliable. > > if you have workload where battery backed cache will actually improve > things (heavy fsync usage) then yes. otherwise no. > > i've seen many of them, older, newer, and with same disks i always got at > least same performance with FreeBSD software solution. > > Not talking about RAID5 of which i am not interested at all - there is no > reason trading performance for available space nowadays with 2-3TB disks. I have never tries the FreeBSD raid solution as we always have servers with from past to now acc, amr and mfi controllers with raid1 and raid5 in the past mostly used for databases and perl cgi based web applications. Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 11:22:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8465106566C for ; Tue, 10 Jul 2012 11:22:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 075268FC0A for ; Tue, 10 Jul 2012 11:22:46 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6ABMkFe047316; Tue, 10 Jul 2012 13:22:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6ABMjD5047313; Tue, 10 Jul 2012 13:22:45 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 13:22:45 +0200 (CEST) From: Wojciech Puchar To: Bosko Radivojevic In-Reply-To: Message-ID: References: <4FFBFFC5.20602@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 13:22:46 +0200 (CEST) Cc: Bas Smeelen , freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 11:22:47 -0000 On Tue, 10 Jul 2012, Bosko Radivojevic wrote: > On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar > wrote: > >> what other do you expect with no mirrors created yet? > > But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm if it is RAID10 i assume you have 4 disks. > trying to replicate behaviour from FreeBSD 8.3 (array created through > RAID BIOS, seen as a device in OS). > BIOS raid is not compatible with gmirror RAID. backup and restore. Actually i would recommend creating it as two RAID1 (gmirror) devices and spreading data. it is safer and..if you can spread data well... faster. "BIOS" RAID usually use far too small block sizes, to be "better" on windows benchmarks that shows linear read speed. except specialized uses it is no improvement under unix. What you need is to spread DIFFERENT I/O operations from different task to different heads. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 11:23:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79231065672 for ; Tue, 10 Jul 2012 11:23:36 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2739E8FC22 for ; Tue, 10 Jul 2012 11:23:35 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6ABNZ8J047331; Tue, 10 Jul 2012 13:23:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6ABNZAB047328; Tue, 10 Jul 2012 13:23:35 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 13:23:35 +0200 (CEST) From: Wojciech Puchar To: Bas Smeelen In-Reply-To: <4FFC0422.7060307@ose.nl> Message-ID: References: <4FFBFFC5.20602@ose.nl> <4FFC0422.7060307@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 13:23:36 +0200 (CEST) Cc: freebsd-questions@freebsd.org, Bosko Radivojevic Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 11:23:36 -0000 > Hi Bosko, > > I do not have any experience with these kind of controllers, so I could just > guess. I have a lot ;) but the only thing i always do is to disable "RAID" in BIOS just after receiving new machine. whole experience. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 11:25:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E280106566B for ; Tue, 10 Jul 2012 11:25:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id F19E18FC1E for ; Tue, 10 Jul 2012 11:25:43 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6ABPhlp047367; Tue, 10 Jul 2012 13:25:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6ABPhcA047364; Tue, 10 Jul 2012 13:25:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 13:25:43 +0200 (CEST) From: Wojciech Puchar To: Bas Smeelen In-Reply-To: <4FFC0665.6040109@ose.nl> Message-ID: References: <4FFBEE6E.6000906@ulb.ac.be> <4FFC013A.3040903@ose.nl> <4FFC0665.6040109@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 13:25:43 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 & LSI MegaRAID SATA problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 11:25:44 -0000 >> >> precise what is "desktop" usage is. > > Here at work we just use non raided disks for workstations which run linux. and this is proper way to do this. > The home directories are on nfs, so when a disk fails it's replaced very fast See above. I cannot imagine any other configuration. > Me neither, just keep back-ups of important data on a different place/device Once again - a proper way. rsync is good help. One more step in "proper way" is to use X terminals. Second hand "thin clients" eg. Wyse are here for 25$. just replace it's software with FreeBSD (or even linux) starting Xorg -query >> >> Not talking about RAID5 of which i am not interested at all - there is no >> reason trading performance for available space nowadays with 2-3TB disks. > > I have never tries the FreeBSD raid solution as we always have servers with You should. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 13:05:51 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA76F106566B for ; Tue, 10 Jul 2012 13:05:51 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id 84A168FC16 for ; Tue, 10 Jul 2012 13:05:51 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 4689639822 for ; Tue, 10 Jul 2012 16:05:44 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VQl3T5wu6L_7 for ; Tue, 10 Jul 2012 16:05:39 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id 152783982E; Tue, 10 Jul 2012 16:05:39 +0300 (EEST) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [213.184.43.2]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Tue, 10 Jul 2012 16:05:39 +0300 Message-ID: <20120710160539.102922863js2qjs3@webmail.raad.tartu.ee> Date: Tue, 10 Jul 2012 16:05:39 +0300 From: Toomas Aas To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 213.184.43.2 Cc: Subject: curl error: SSL_write() returned SYSCALL, errno = 32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 13:05:52 -0000 Hello! Recently I upgraded a lot of ports on one of our FreeBSD 7.4 servers. Among others I upgraded curl from 7.19.6 to 7.24.0, and php from 5.2.11 to 5.3.13. PHP's curl extension is also installed. After the upgrade, an application which tries to POST some data over https using PHP's curl_exec() function, is having trouble. curl_error() returns the following after the POST request: SSL_write() returned SYSCALL, errno = 32 Remote end to which the POST is submitted says simply "Invalid POST request" and they have told me that the request is truncated (content-length header does not match the actual content length). curl is installed with SSL support, using the base system OpenSSL. I tried to google for this error, but only thing that turns out is basically 'try to update curl', but I am already on latest. Any ideas on how to fix this or debug further? -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 14:23:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BA611065674 for ; Tue, 10 Jul 2012 14:23:26 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0728FC22 for ; Tue, 10 Jul 2012 14:23:26 +0000 (UTC) Received: by yhfs35 with SMTP id s35so25844yhf.13 for ; Tue, 10 Jul 2012 07:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NyJMpL/EnsNg+Z0do4lfqjG3LuPmq3OIM+GWQdbni7M=; b=z09RhvcKvkkxDCC3jnzt8YhgP/7HVG5sEGgI6XrDN9FW/4Rb6iGyjdj8YGZ5hkb/27 iXTcTvAeuaE4TukzTqfX1MD4BBy/nOXcLcGulM/iZfGpY2Nq0hkxWU2sJqndX8eWn7+Q HXCUYUJLmnlojkbHs2sAq7D+gvGunh98DjfUPTAiTu473j+P7Ng6PL1KVuRFHn/LgxBq 5/RlNrttZ+cONItkKg5b8BYRhbKzy+OYXqv7Ofkm/JgaakC4iyYpQUxbmfIYVX3h2FTa 1oIBJXykjVYTEeC3yPgZ3X1Z9YcNW9+o3dD43F1bCf3S9TgtBimDgkVsH1Jcu+KR9EIf c9Og== MIME-Version: 1.0 Received: by 10.60.3.102 with SMTP id b6mr46217425oeb.35.1341930205546; Tue, 10 Jul 2012 07:23:25 -0700 (PDT) Received: by 10.60.143.104 with HTTP; Tue, 10 Jul 2012 07:23:25 -0700 (PDT) Date: Tue, 10 Jul 2012 10:23:25 -0400 Message-ID: From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: shell scripting: grepping multiple patterns, logically ANDed (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 14:23:26 -0000 On Sat, Jun 30, 2012 at 4:23 PM, Giorgos Keramidas wrote: > > Is there an easier/shorter way to do this? If there are 15 arguments > > supplied on the command line, I don't necessarily want to build 15 if > > statements. > > The solutions proposed so far are ok, if you really *have* to stick to a > shell script. [...] > I'd write this sort of logic in python Thanks to everyone who responded. I think Giorgos' suggestion to move away from a shell script was the most elegant one, and I rewrote my script in Python (plagiarizing most of his code in the meantime) and it works great. Ironically, it runs even faster than the /bin/sh + find(1) version, go figure. Thanks again, Alex From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 14:49:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB251065672 for ; Tue, 10 Jul 2012 14:49:08 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 9E36C8FC15 for ; Tue, 10 Jul 2012 14:49:07 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6AEn2cq001504; Tue, 10 Jul 2012 16:49:02 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6AEn2oj001501; Tue, 10 Jul 2012 16:49:02 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 10 Jul 2012 16:49:02 +0200 (CEST) From: Wojciech Puchar To: Aleksandr Miroslav In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 10 Jul 2012 16:49:03 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: shell scripting: grepping multiple patterns, logically ANDed (solved) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 14:49:08 -0000 > > Ironically, it runs even faster than the /bin/sh + find(1) version, > go figure. true. unix shell was never intended to execute scripts fast, it is usually slower even than python. unix shell is designed to automate things quickly. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 16:50:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D56361065670 for ; Tue, 10 Jul 2012 16:50:45 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6F4EB8FC17 for ; Tue, 10 Jul 2012 16:50:45 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6AGoh0N023514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 10 Jul 2012 11:50:43 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 10 Jul 2012 11:50:43 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: <764fd164b77f32257135e1ab4f4fb501@dweimer.net> Message-ID: <3a0e20d1e64ea86f8271286dd6e5f26c@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Re: Invalid GPT backup header X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 16:50:45 -0000 On 2012-07-09 19:49, Warren Block wrote: > On Mon, 9 Jul 2012, dweimer wrote: > >> I have had a few virtual machine installations come up with >> "gptboot: invalid GPT backup header" error message while booting. >> (some immediately on first boot after install) They still boot fine, >> and run without problems, but I would like to find a way to fix the >> problem. Does anyone know how you can write a new GPT backup header >> to the partition table. > > See the gpart recover command covered in the RECOVERING section in > gpart(8). > >> I have even gone to the extent of adding a second virtual disk, >> using gpart to create a partition table and then add new partitions >> and setup bootstrap then use cpio to copy data over and switched the >> drive SCSI IDs within the virtual machines configuration to boot from >> the second drive instead. Still same error message when booting off >> the new drive. I did however leave out the size option when creating >> the last UFS partition so it may have filled to the end and overwrote >> the backup GPT table. > > gpart will not overwrite the backup GPT with a partition. Other > stuff may not be GPT-aware. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I only used gpart, to create the partitions for the disk. Here is the procedure that I followed except in this case I added labels to the UFS slices just so it was clear what everything was used for. I followed this by mounting each partition under /mnt/ and using "find . -mount -print0 | cpio -0dump /mnt/" from the current mounted partitions. below are the commands I removed the output from all but the gpart show command, da0 is not the original installed drive, but the one I made using this process last time, da1 was the installed drive, but of course now has been rewritten with the new data. fhproxy1-new# dd if=/dev/zero of=/dev/da1 bs=1024 count=1024 fhproxy1-new# gpart create -s GPT da1 fhproxy1-new# gpart show fhproxy1-new# gpart add -s 128 -t freebsd-boot -l boot da1 fhproxy1-new# gpart add -a 2048 -t freebsd-swap -l swap -s 2G da1 fhproxy1-new# gpart add -t freebsd-ufs -l root -s 1G da1 fhproxy1-new# gpart add -t freebsd-ufs -l home -s 1G da1 fhproxy1-new# gpart add -t freebsd-ufs -l tmp -s 1G da1 fhproxy1-new# gpart add -t freebsd-ufs -l var -s 2G da1 fhproxy1-new# gpart add -t freebsd-ufs -l usr da1 fhproxy1-new# gpart show => 34 35651517 da0 GPT (17G) 34 128 1 freebsd-boot (64k) 162 2910 - free - (1.4M) 3072 4194304 2 freebsd-swap (2.0G) 4197376 2097152 3 freebsd-ufs (1.0G) 6294528 2097152 4 freebsd-ufs (1.0G) 8391680 2097152 5 freebsd-ufs (1.0G) 10488832 4194304 6 freebsd-ufs (2.0G) 14683136 20968415 7 freebsd-ufs (10G) => 34 35651517 da1 GPT (17G) 34 128 1 freebsd-boot (64k) 162 1886 - free - (943k) 2048 4194304 2 freebsd-swap (2.0G) 4196352 2097152 3 freebsd-ufs (1.0G) 6293504 2097152 4 freebsd-ufs (1.0G) 8390656 2097152 5 freebsd-ufs (1.0G) 10487808 4194304 6 freebsd-ufs (2.0G) 14682112 20969439 7 freebsd-ufs (10G) fhproxy1-new# newfs -U /dev/gpt/root fhproxy1-new# newfs -U /dev/gpt/home fhproxy1-new# newfs -U /dev/gpt/tmp fhproxy1-new# newfs -U /dev/gpt/var fhproxy1-new# newfs -U /dev/gpt/usr fhproxy1-new# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da1 I will copy the data over and try a reboot again this afternoon and see if maybe this time it works. gpart recover returns that no recovery is needed on both da0 and da1. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 08:11:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88FBA106564A for ; Wed, 11 Jul 2012 08:11:40 +0000 (UTC) (envelope-from miles.kuo@gmail.com) Received: from mail-yw0-f45.google.com (mail-yw0-f45.google.com [209.85.213.45]) by mx1.freebsd.org (Postfix) with ESMTP id 460DB8FC08 for ; Wed, 11 Jul 2012 08:11:40 +0000 (UTC) Received: by yhoo21 with SMTP id o21so1046847yho.18 for ; Wed, 11 Jul 2012 01:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Gmn4O/Tq+VxccyK7tecBGPFE82JlJ+jQDUND5K0qEMQ=; b=Z1NTXwU+3JDNOVbYKuXcYYnbDXe5xxkCTA24E3WHBl9XcHbjSFBo4HJP8nMVqaV1sM HK/BfwgXoD+gqLQ4mGTGqiw3MdFG6hl+4mEnj8XmcTUP8FMaaM9sU5Yhl13CXczuw+1V /uVewTDeVliB805m/vlOLMCm3+7hFU0w71kpwlmpY7LiMpQ954jr0pM8T7dIYMF/e9xk lN6lNocLN6w9CNeoGlqaZrdtJGeP91knpXOJATds613ksBiwwG2ZoriNaxuvJwzqw8M+ c980a7s61QoJ+7bOUu6aMCKR/cp0yPyH3O216ariUXFqOvhFsuErtF9Y8XEAaSxBiyMm DcMA== MIME-Version: 1.0 Received: by 10.66.85.36 with SMTP id e4mr79934124paz.32.1341994299306; Wed, 11 Jul 2012 01:11:39 -0700 (PDT) Received: by 10.67.14.72 with HTTP; Wed, 11 Jul 2012 01:11:39 -0700 (PDT) Date: Wed, 11 Jul 2012 16:11:39 +0800 Message-ID: From: miles kuo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Does the FreeBSD support ServeRAID M5110 (LSI SAS2208 ROC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 08:11:40 -0000 Hi all, I plan to install the FreeBSD on IBM x3550M4 which the RAID Controller is ServeRAID M5110 (LSI SAS2208 ROC). When the FreeBSD 9.0 installing, it shows that the driver load error: mpt0: Port 0x3000-0x30ff mem 0x91d40000-0x91d00000 irg 42 at device 0.0 on pci27 mpt0: soft reset failed: device not running Who knows how to support the adapter on the FreeBSD? It there any plan to support it in the next release? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 08:35:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73D0B106564A for ; Wed, 11 Jul 2012 08:35:41 +0000 (UTC) (envelope-from miles.kuo@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 470418FC0A for ; Wed, 11 Jul 2012 08:35:41 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so1869794pbb.13 for ; Wed, 11 Jul 2012 01:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HpjMMzVbLQ25tWOVwqivV7IcML7u4cm4DOU05fm0EsE=; b=E/M4KDlvSAzJhVdv/rTK2kLj+aEVD5Y8FejBQLLIR6nnlQT4f1nMroycpT0Z4dRwYY 3vhPPlOs8Ft0tc9NoP+QH9gHwxK3A+pkE85Aibwf9o/4DwullCucR04pp8IFNNe2UU9K mx/O8i5oXmwVqilTfb0JmGj8EU4/XJ9K+O1eL+oafD1S80AcwMVoOayFk9h0cEqG5rYP TKXAo9cMTC13Y7Wcj/MUc3p3vIVdSLpDrR7BQtFtjshSIvsl/MGbZxWouT1rlb3tjlEN 8abgn7thRJZIeR01t7o5P0vbe3NBSNCsiiVcoYP1flmy/BXg506JmYCdlYhnuYXB1Hr4 wuww== MIME-Version: 1.0 Received: by 10.68.226.226 with SMTP id rv2mr76321634pbc.101.1341995740839; Wed, 11 Jul 2012 01:35:40 -0700 (PDT) Received: by 10.67.14.72 with HTTP; Wed, 11 Jul 2012 01:35:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jul 2012 16:35:40 +0800 Message-ID: From: miles kuo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Does the FreeBSD support ServeRAID M5110 (LSI SAS2208 ROC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 08:35:41 -0000 I found a SVN commit which seems relative with the ServeRAID M5110. Does it indicated that the ServeRAID M5110 support codes had been merged into the FreeBSD? http://www.mavetju.org/mail/view_thread.php?list=svn-src-vendor&id=3522011&thread=yes *svn commit: r235420 - vendor/pciids/dist**@@ -376,6 +375,8 @@ 0059 MegaRAID SAS 8208ELP/8208ELP 005a SAS1066E PCI-Express Fusion-MPT SAS 005b MegaRAID SAS 2208 [Thunderbolt] + 1014 040b ServeRAID M5110 SAS/SATA Controller + 1014 0412 ServeRAID M5110e SAS/SATA Controller 1028 1f2d PERC H810 Adapter 1028 1f30 PERC H710 Embedded 1028 1f31 PERC H710P Adapter* 2012/7/11 miles kuo > Hi all, > > I plan to install the FreeBSD on IBM x3550M4 which the RAID Controller is > ServeRAID M5110 (LSI SAS2208 ROC). > When the FreeBSD 9.0 installing, it shows that the driver load error: > > mpt0: Port 0x3000-0x30ff mem > 0x91d40000-0x91d00000 irg 42 at device 0.0 on pci27 > mpt0: soft reset failed: device not running > > Who knows how to support the adapter on the FreeBSD? It there any plan to > support it in the next release? > From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 08:44:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C1271065674 for ; Wed, 11 Jul 2012 08:44:07 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 02C038FC0C for ; Wed, 11 Jul 2012 08:44:06 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q6B8i4of009965 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 11 Jul 2012 09:44:06 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FFD3CD4.8090300@unsane.co.uk> Date: Wed, 11 Jul 2012 09:44:04 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Does the FreeBSD support ServeRAID M5110 (LSI SAS2208 ROC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 08:44:07 -0000 you could try one of the snapshot isos at http://pub.allbsd.org/FreeBSD-snapshots/ (RELENG_9 is 9-STABLE which is in the gradual process of becoming 9.1) and see if that behaves better. Depends if you are happy running -STABLE until the next release. Vince On 11/07/2012 09:35, miles kuo wrote: > I found a SVN commit which seems relative with the ServeRAID M5110. Does it > indicated that the ServeRAID M5110 support codes had been merged into the > FreeBSD? > > http://www.mavetju.org/mail/view_thread.php?list=svn-src-vendor&id=3522011&thread=yes > *svn commit: r235420 - vendor/pciids/dist**@@ -376,6 +375,8 @@ > 0059 MegaRAID SAS 8208ELP/8208ELP > 005a SAS1066E PCI-Express Fusion-MPT SAS > 005b MegaRAID SAS 2208 [Thunderbolt] > + 1014 040b ServeRAID M5110 SAS/SATA Controller > + 1014 0412 ServeRAID M5110e SAS/SATA Controller > 1028 1f2d PERC H810 Adapter > 1028 1f30 PERC H710 Embedded > 1028 1f31 PERC H710P Adapter* > > 2012/7/11 miles kuo > >> Hi all, >> >> I plan to install the FreeBSD on IBM x3550M4 which the RAID Controller is >> ServeRAID M5110 (LSI SAS2208 ROC). >> When the FreeBSD 9.0 installing, it shows that the driver load error: >> >> mpt0: Port 0x3000-0x30ff mem >> 0x91d40000-0x91d00000 irg 42 at device 0.0 on pci27 >> mpt0: soft reset failed: device not running >> >> Who knows how to support the adapter on the FreeBSD? It there any plan to >> support it in the next release? >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 09:14:04 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D87A106564A for ; Wed, 11 Jul 2012 09:14:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (unknown [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 764438FC12 for ; Wed, 11 Jul 2012 09:14:03 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6B9Du5u065708 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 11 Jul 2012 10:13:56 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6B9Du5u065708 Authentication-Results: smtp.infracaninophile.co.uk/q6B9Du5u065708; dkim=none (no signature); dkim-adsp=none Message-ID: <4FFD43CA.4040104@FreeBSD.org> Date: Wed, 11 Jul 2012 10:13:46 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: miles.kuo@gmail.com References: <4FFD3CD4.8090300@unsane.co.uk> In-Reply-To: <4FFD3CD4.8090300@unsane.co.uk> X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1EE73528191E4B830D661598" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org, Vincent Hoffman Subject: Re: Does the FreeBSD support ServeRAID M5110 (LSI SAS2208 ROC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 09:14:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EE73528191E4B830D661598 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/07/2012 09:44, Vincent Hoffman wrote: > you could try one of the snapshot isos at > http://pub.allbsd.org/FreeBSD-snapshots/ (RELENG_9 is 9-STABLE which is= > in the gradual process of becoming 9.1) > and see if that behaves better. Depends if you are happy running -STABL= E > until the next release. Indeed. The release process for 9.1 has just begun -- yesterday, in fact. stable/9 has been temporarily relabelled from 9.0-STABLE to 9.1-BETA1 and in a matter of days there will be a 9.1-PRERELEASE. Now is the time to try a stable/9 snapshot and get in your reports about any problems if you want a 9.1-RELEASE that works smoothly on your particular hardware. 9.1-RELEASE is due to be built on 13th August for release on the 17th, so if all goes according to plan[*], there's just one month to get any last niggles sorted. Cheers, Matthew [*] Historically release dates have often slipped: the priority is as good a release as possible rather than sticking precisely to the calendar= =2E --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig1EE73528191E4B830D661598 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/9Q9IACgkQ8Mjk52CukIx7pgCfS0MpBP1KrYe/1lWZ4TDNwG9L ah0AnjCDb1pbMkb40NrzqIlDheyre2gj =owlK -----END PGP SIGNATURE----- --------------enig1EE73528191E4B830D661598-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 09:18:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57BEA106566B for ; Wed, 11 Jul 2012 09:18:57 +0000 (UTC) (envelope-from miles.kuo@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 14B678FC1B for ; Wed, 11 Jul 2012 09:18:57 +0000 (UTC) Received: by ghbz22 with SMTP id z22so1091020ghb.13 for ; Wed, 11 Jul 2012 02:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wPbvgYnwjyVbA3qvAp5oDa+f8wDZIsG9whUt2Mr/qc8=; b=FzIeAbwHYnbOb2upW/6hTA/yJrhcB+HzponUtxCzhadjPTylZRC0Hk0Zu1ETuc1Puy YkESbkXAvAZoHpNqAMRcUrcIQj9o3HxAzgL5cniX8EJKbs4uuwKlcmvN9HK+aElPpNPe ipqP3JvyX3NOVuuiIY2L/q+E5r8jskU64Aei4m6whKeb2xUo6kmeD6h94/Bkuf8231qt LJ9DFM/5rG8DCq8PSlMXWx791FCYZqgXDn2eWzUxWLTH1d+F4VM0QmNu3/8EuyQ6Zq2d geJ25GICpIMwBIZjqx2PhXGRS+a9JZsBI0TmQ0R+U4kGxcBTzaz2qDIVm+pCrCmkvlke uoQA== MIME-Version: 1.0 Received: by 10.66.83.1 with SMTP id m1mr39371302pay.6.1341998336270; Wed, 11 Jul 2012 02:18:56 -0700 (PDT) Received: by 10.67.14.72 with HTTP; Wed, 11 Jul 2012 02:18:56 -0700 (PDT) Date: Wed, 11 Jul 2012 17:18:56 +0800 Message-ID: From: miles kuo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 09:18:57 -0000 Hi all, I have two SAS disks for the FreeBSD install. I want to install the freeBSD on one disk and mirror to another disk. Just like the AIX Mirror. Any changes will sync between the two disks. And if one disk crashed or disconnected, the OS could continue running on another disk. Does the FreeBSD support the disk mirror? How to implement it? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 09:57:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C09A106566C for ; Wed, 11 Jul 2012 09:57:32 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg30.ifdnrg.com (ifdnrg30.ifdnrg.com [193.200.98.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0E5508FC08 for ; Wed, 11 Jul 2012 09:57:31 +0000 (UTC) Received: from [192.168.1.5] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg30.ifdnrg.com (8.14.5/8.14.5) with ESMTP id q6B9fUuX014593 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 11 Jul 2012 10:41:31 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4FFD4A46.80804@ifdnrg.com> Date: Wed, 11 Jul 2012 10:41:26 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 8.3 Memory Leak X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 09:57:32 -0000 Hi, After a binary update to 8.3 i'm seeing wired memory increase steadily over the course of about a week, after which point i need to reboot the machine as it starts swapping. Several other boxes were updated at the same time, and all ports rebuilt post upgrade. FreeBSD x.x.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I have cleanly stopped and restarted all userland applications, but only a reboot resets the wired memory levels. Services: smtp, named, apache, java server. The java server ( Wowza) is the most obvious culprit, but this was a binary install of both wowza and the JVM, diablo-jdk-1.6.0.07.02_19 = up-to-date with index Any hints/tips? thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 10:24:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945EF10657A6 for ; Wed, 11 Jul 2012 10:24:24 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE738FC17 for ; Wed, 11 Jul 2012 10:24:24 +0000 (UTC) Received: by vbmv11 with SMTP id v11so791271vbm.13 for ; Wed, 11 Jul 2012 03:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kadIaxWW8PIIfxIU55eBAX7gUMcIoxuZbtlKtAgV8jQ=; b=Y7CgZ3iXhcjytXndwGpfiIFKurthQhFu6hXKCKhClM82kDBordTQnkUIJee+Cg+dnV TxrSs4kftH9LZTxzlK9wtKT3cXHm/pg0dKykNr8KdHhBfil+IPqklI08kITYSqKrXX27 R4MbyyYbKvn2OpTGj1iD5tCV/0Owc2FGR0GUbYKDLh0JDiNlCTV3saO5w4wbAyj+GUET kl6wMOW5qqs61oGKsktgUsNTMozR2oQiTHd0BV5aefJzxh2WvxLDNbh0j+Esvo9sOoZW TSaYxzxp2aZRMWu9cr1wsgYPNwGClg1FfbGC4gYoNSS6dFlopXCbAcalJ2AwrIvjh/0u X8mw== MIME-Version: 1.0 Received: by 10.52.19.232 with SMTP id i8mr19444013vde.38.1342002258330; Wed, 11 Jul 2012 03:24:18 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Wed, 11 Jul 2012 03:24:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jul 2012 11:24:18 +0100 Message-ID: From: Kaya Saman To: miles kuo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 10:24:24 -0000 On Wed, Jul 11, 2012 at 10:18 AM, miles kuo wrote: > Hi all, > > I have two SAS disks for the FreeBSD install. I want to install the freeBSD > on one disk and mirror to another disk. Just like the AIX Mirror. > > Any changes will sync between the two disks. And if one disk crashed or > disconnected, the OS could continue running on another disk. > > Does the FreeBSD support the disk mirror? How to implement it? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html http://people.freebsd.org/~rse/mirror/ Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 10:33:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BD17106564A for ; Wed, 11 Jul 2012 10:33:11 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 51D1F8FC1D for ; Wed, 11 Jul 2012 10:33:10 +0000 (UTC) Received: (qmail invoked by alias); 11 Jul 2012 10:26:29 -0000 Received: from port-92-206-121-31.dynamic.qsc.de (EHLO Core2Duo) [92.206.121.31] by mail.gmx.net (mp024) with SMTP; 11 Jul 2012 12:26:29 +0200 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX19uW0IHeI5uK/o1KLGUIb10/WmPOVYF523uNJyrRM Vc4Rl1oLWx5IF3 Date: Wed, 11 Jul 2012 12:26:25 +0200 From: Andreas Rudisch To: miles kuo Message-Id: <20120711122625.175736ed4151c2a716e70117@gmx.net> In-Reply-To: References: X-Mailer: Sylpheed 3.2.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__11_Jul_2012_12_26_25_+0200_ngPN20tNvK=WkKPr" X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 10:33:11 -0000 --Signature=_Wed__11_Jul_2012_12_26_25_+0200_ngPN20tNvK=WkKPr Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 11 Jul 2012 17:18:56 +0800 miles kuo wrote: > Does the FreeBSD support the disk mirror? How to implement it? Hi, take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Wed__11_Jul_2012_12_26_25_+0200_ngPN20tNvK=WkKPr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iEUEARECAAYFAk/9VNEACgkQ8P3NNypXNWVlrgCdEQVwLgRds34qfl0VtMpDzeVb Rx4Al2lBJpFpJJcgWOdHbR1EC4Uhou4= =fAy0 -----END PGP SIGNATURE----- --Signature=_Wed__11_Jul_2012_12_26_25_+0200_ngPN20tNvK=WkKPr-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 10:45:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B60EA1065670 for ; Wed, 11 Jul 2012 10:45:53 +0000 (UTC) (envelope-from mike.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id 344CF8FC16 for ; Wed, 11 Jul 2012 10:45:53 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio Connect 7.0.0 patch 1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Wed, 11 Jul 2012 06:15:43 -0400 References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPad Mail (9B206) From: Mikel King Date: Wed, 11 Jul 2012 06:15:24 -0400 To: miles kuo Cc: "freebsd-questions@freebsd.org" Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 10:45:53 -0000 There's an old article on BsdNews About using gmirrior perhaps that's the so= rt of thing you are looking for? -> http://BSDNews.net/index.php/2006/08/31/= working-with-gmirror-on-a-sun-fire-x2100-part-1/ Regards, Mikel King On Jul 11, 2012, at 5:18 AM, miles kuo wrote: > Hi all, >=20 > I have two SAS disks for the FreeBSD install. I want to install the freeBS= D > on one disk and mirror to another disk. Just like the AIX Mirror. >=20 > Any changes will sync between the two disks. And if one disk crashed or > disconnected, the OS could continue running on another disk. >=20 > Does the FreeBSD support the disk mirror? How to implement it? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 11:15:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8EA91065674 for ; Wed, 11 Jul 2012 11:15:37 +0000 (UTC) (envelope-from jedrzejczak.michal@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5A85D8FC0A for ; Wed, 11 Jul 2012 11:15:37 +0000 (UTC) Received: by lbon10 with SMTP id n10so2006763lbo.13 for ; Wed, 11 Jul 2012 04:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SN21Bl4jTnVRI4o95g6vkp1sSC1rE5WzxATN7lmC58M=; b=aeIXdiMSaVV6ypJVZO/y650v4UxnFyr4p0JJDzQv0DUg+6vktdkyBFYCThntr3tWjV Z7RBRX7m0oCC6SGf0He9Y+B6JZWiI+Ne1w0HUvd4n1hdkfjeXYSAAfa47Eov7wxffeXZ VdYFNgD40DU0kCM+k0yVigxHr4JEkb0CuWksulVEsbQ8RfK7nx1z1XuOXuIcA/gAVYUn 9A3eRcC2GZEpCSPp3Q4SvJSew0yoNEjmhxw/l8A0C4gdueGZFGxNw6Oo02nKm2lcpfUs 4F1zMWSLLVQtmOrm6zoE3y4LCQR83yBaz1Hnk/NM78+0E2Wu9Wyht+YN5rgg49CyfRsB EvrA== MIME-Version: 1.0 Received: by 10.112.46.166 with SMTP id w6mr21747367lbm.100.1342005336335; Wed, 11 Jul 2012 04:15:36 -0700 (PDT) Sender: jedrzejczak.michal@gmail.com Received: by 10.114.24.226 with HTTP; Wed, 11 Jul 2012 04:15:36 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jul 2012 13:15:36 +0200 X-Google-Sender-Auth: Mz5qtNX_zE9HinqpaI4RwjoNzbs Message-ID: From: =?ISO-8859-2?Q?Micha=B3_J=EAdrzejczak?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: Fwd: Packet string-matching support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 11:15:37 -0000 Hi all . I've question about packet filtering, in BSD is possible filter packet with string-matching ? I seek something to proxy tcp with check string in packet . In linux is : http://www.symantec.com/connect/articles/iptables-linux-firewall-packet-str= ing-matching-support -- __________________________________ Pozdrawiam Micha=B3 J=EAdrzejczak GaduGadu: 5999 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 11:02:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 162C9106566B for ; Wed, 11 Jul 2012 11:02:35 +0000 (UTC) (envelope-from jedrzejczak.michal@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 83F538FC1C for ; Wed, 11 Jul 2012 11:02:34 +0000 (UTC) Received: by lbon10 with SMTP id n10so1987523lbo.13 for ; Wed, 11 Jul 2012 04:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vBg4G9mQh5qn5cAXauURkcaZDJsSC9fgriDtbxFbVZQ=; b=GGLBVl0r87O8VNr225ZVfoFM+J5ZDPxomn4roJtkeFgUHgdRkCWChj+G3RbR3t6yVh BADeGSxWVX8jDYjzXoYkpsDNvBfL3Ivqhwcwh8zoS60fuk5GXQ0iY8F5FcZwqZHBBzBK tnURKKXm50WiFzrI66/7OKA0J/Z5Kq7hPndtGiRUDjoK3n0BflkmFmKLJsZE8eoSIyMa s6tLvsr3QsHftrt1ckDqDv3tJ+hZWAIdERIm02Qjia2wGbu3NEcoB6ujsfMNSxWLDMbI 1hnKZMGt8xSu13077tCKTEwbigcbEvpTy33QynCa0cqJVC1R/bjy50KJDYiN69o85NT8 5z3Q== MIME-Version: 1.0 Received: by 10.112.85.72 with SMTP id f8mr21649484lbz.65.1342004553153; Wed, 11 Jul 2012 04:02:33 -0700 (PDT) Received: by 10.114.24.226 with HTTP; Wed, 11 Jul 2012 04:02:33 -0700 (PDT) Date: Wed, 11 Jul 2012 13:02:33 +0200 Message-ID: From: =?ISO-8859-2?Q?Micha=B3_J=EAdrzejczak?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 11 Jul 2012 11:38:22 +0000 Subject: Packet string-matching support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 11:02:35 -0000 Hi all . I've question about packet filtering, in BSD is possible filter packet with string-matching ? I seek something to proxy tcp with check string in packet . In linux is : http://www.symantec.com/connect/articles/iptables-linux-firewall-packet-str= ing-matching-support --=20 __________________________________ Pozdrawiam Micha=B3 J=EAdrzejczak GaduGadu: 5999 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 13:16:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DAAB106566C for ; Wed, 11 Jul 2012 13:16:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 385F58FC08 for ; Wed, 11 Jul 2012 13:16:46 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6BDGjXB076581; Wed, 11 Jul 2012 07:16:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6BDGj7P076578; Wed, 11 Jul 2012 07:16:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 11 Jul 2012 07:16:45 -0600 (MDT) From: Warren Block To: Kaya Saman In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 11 Jul 2012 07:16:45 -0600 (MDT) Cc: miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 13:16:46 -0000 On Wed, 11 Jul 2012, Kaya Saman wrote: > On Wed, Jul 11, 2012 at 10:18 AM, miles kuo wrote: >> Hi all, >> >> I have two SAS disks for the FreeBSD install. I want to install the freeBSD >> on one disk and mirror to another disk. Just like the AIX Mirror. >> >> Any changes will sync between the two disks. And if one disk crashed or >> disconnected, the OS could continue running on another disk. >> >> Does the FreeBSD support the disk mirror? How to implement it? > > I am no expert at this however a quick Google search comes up with: > > http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. The release notes mention a workaround: http://www.freebsd.org/releases/9.0R/relnotes-detailed.html#AEN1277 (There's work under way to fix that chapter.) From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 15:19:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B58A1106564A for ; Wed, 11 Jul 2012 15:19:14 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id 5C95D8FC15 for ; Wed, 11 Jul 2012 15:19:14 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 63E4339832 for ; Wed, 11 Jul 2012 18:19:07 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QyuVOrA5YsYL for ; Wed, 11 Jul 2012 18:19:06 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id CE44139850; Wed, 11 Jul 2012 18:19:05 +0300 (EEST) Received: from 76.20.190.90.dyn.estpak.ee (76.20.190.90.dyn.estpak.ee [90.190.20.76]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Wed, 11 Jul 2012 18:19:05 +0300 Message-ID: <20120711181905.38805t0j3nik358o@webmail.raad.tartu.ee> Date: Wed, 11 Jul 2012 18:19:05 +0300 From: Toomas Aas To: freebsd-questions@freebsd.org References: <20120710160539.102922863js2qjs3@webmail.raad.tartu.ee> In-Reply-To: <20120710160539.102922863js2qjs3@webmail.raad.tartu.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 90.190.20.76 Subject: Re: curl error: SSL_write() returned SYSCALL, errno = 32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 15:19:14 -0000 Hello again! > Recently I upgraded a lot of ports on one of our FreeBSD 7.4 > servers. Among others I upgraded curl from 7.19.6 to 7.24.0, and php > from 5.2.11 to 5.3.13. PHP's curl extension is also installed. > > After the upgrade, an application which tries to POST some data over > https using PHP's curl_exec() function, is having trouble. > curl_error() returns the following after the POST request: > > SSL_write() returned SYSCALL, errno = 32 Some modifications in PHP code made everything happy again. 1. Removed the Expect: 100-continue HTTP header from requests sent by curl, by adding empty Expect: header curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect: ')); 2. Made sure CURLOPT_POSTFIELDS is an url-encoded query string instead of being a plain PHP array: curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($myarray)); -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 15:20:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE6861065672 for ; Wed, 11 Jul 2012 15:20:44 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2568FC17 for ; Wed, 11 Jul 2012 15:20:44 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1046806vbm.13 for ; Wed, 11 Jul 2012 08:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gFZ0nejuJUG3DJDZVgft0LqmVo0xaidL34rRo2zs4ZM=; b=Ak5PPOEfk8NqS4g3xP3z3SazBVa30YFTUjku8aBGFHRN5Tji0cFS1+9TJ8p5mJieXT /urQ4BDmKwCgRYSQ9I5UqJGgs+Hq8aSgKwLyfWcllAevbCaW0GUg+X9107LrZcHAP1SS UCGU91qhVTgQSO6BgdR/zBIev1AxDo5Mh1m+r+IMlFaadkgE7yZKsWAGeyWMkE1hpTbL goLRPIJnSU9A7g1Audnf4/t1GbpzmEU7HEJf+WG0jgtUvwoa4gFXb4WRqM2WsFQfQdj4 yb1i93v0tCLJKjdHV063UlEzVcbzncF889p/2zjIMs4Jk4SsvEx/UzRbG+DwrKoYCwkR 9j7g== Received: by 10.43.92.67 with SMTP id bp3mr25277091icc.16.1342020043907; Wed, 11 Jul 2012 08:20:43 -0700 (PDT) Received: from [131.230.191.154] (lenneth.engr.siu.edu. [131.230.191.154]) by mx.google.com with ESMTPS id pb3sm3637049igc.17.2012.07.11.08.20.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jul 2012 08:20:43 -0700 (PDT) Message-ID: <4FFD99C9.60403@gmail.com> Date: Wed, 11 Jul 2012 10:20:41 -0500 From: Joseph Lenox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120704 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lenox.joseph@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 15:20:45 -0000 What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a system snapshot can be quickly restored using just a live CD (do up to step 5, then replace steps 6-7 with a zfs receive of the desired snapshot). On 07/11/2012 04:18 AM, miles kuo wrote: > Hi all, > > I have two SAS disks for the FreeBSD install. I want to install the freeBSD > on one disk and mirror to another disk. Just like the AIX Mirror. > > Any changes will sync between the two disks. And if one disk crashed or > disconnected, the OS could continue running on another disk. > > Does the FreeBSD support the disk mirror? How to implement it? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 15:25:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3315106564A for ; Wed, 11 Jul 2012 15:25:46 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-yw0-f45.google.com (mail-yw0-f45.google.com [209.85.213.45]) by mx1.freebsd.org (Postfix) with ESMTP id 76F398FC0A for ; Wed, 11 Jul 2012 15:25:46 +0000 (UTC) Received: by yhoo21 with SMTP id o21so1499595yho.18 for ; Wed, 11 Jul 2012 08:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=07M+GjruBHqmaNQ3LUpY++GNYNGG4KwyLjoku3kD18g=; b=k1t6NaJ5QhcDiefiPa+FSSUjUGNO/Z85m8ELx5lE3cmdMCn2I3mjwOPXkmQwEIqejU Uuvo/Jo2/5J/OVsanQDS2/LEfYtKwVchsJXmDSbapADU9pVcUQ03qUP0cKOdYhRN26N0 yA+tt5wxsmyaIkAscWwXxbbsDNYb6KOyeSCxwkoaBQZS/cebkJybT92LVW3W8bz2MheW rqD7gmiFmYk2RL7iUP7i5l+hKPTvm7JrMvocVWCRO09qmvMQeztVdxOoP1rXGF6Yf89V cs5VzPei4ux8UyPvoxGSRuzibr8+3ZXFLH3MIS9So/sgshIFAQ/SIryC/JKE/WreahOH lGkw== Received: by 10.50.173.69 with SMTP id bi5mr14916439igc.38.1342020345677; Wed, 11 Jul 2012 08:25:45 -0700 (PDT) Received: from [131.230.191.154] (lenneth.engr.siu.edu. [131.230.191.154]) by mx.google.com with ESMTPS id bp8sm3671702igb.12.2012.07.11.08.25.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jul 2012 08:25:45 -0700 (PDT) Message-ID: <4FFD9AF8.9050208@gmail.com> Date: Wed, 11 Jul 2012 10:25:44 -0500 From: Joseph Lenox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120704 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFAE6F1.7030103@holgerdanske.com> <20120709164347.GE56922@hs1.VERBENA> <4FFB6F76.6040104@holgerdanske.com> In-Reply-To: <4FFB6F76.6040104@holgerdanske.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lenox.joseph@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 15:25:46 -0000 On 07/09/2012 06:55 PM, David Christensen wrote: > I wrote: > >> > https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ > > > On 07/09/2012 09:43 AM, Colin Barnabas wrote: >> Perhaps this will help- >> http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ > > Thanks for the reply. :-) > > > STFW I already found various manual instructions. I'm looking for > something easier/ simpler that is built in to the installer, similar > to Debian and Windows. It appears FreeBSD doesn't have that feature. That's because nobody has decided to implement "that feature" in the installer (which was just completely re-done and simplified). If you wanted to put something together (using the freebsd-installer source as a base) that adds a menu system for queuing up the relevant commands, I don't think anyone will complain. -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 15:48:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0A05106564A for ; Wed, 11 Jul 2012 15:48:17 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC198FC1A for ; Wed, 11 Jul 2012 15:48:17 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q6BFmFR2025778 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 11 Jul 2012 16:48:15 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FFDA03E.3060602@unsane.co.uk> Date: Wed, 11 Jul 2012 16:48:14 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFAE6F1.7030103@holgerdanske.com> <20120709164347.GE56922@hs1.VERBENA> <4FFB6F76.6040104@holgerdanske.com> <4FFD9AF8.9050208@gmail.com> In-Reply-To: <4FFD9AF8.9050208@gmail.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 15:48:18 -0000 On 11/07/2012 16:25, Joseph Lenox wrote: > On 07/09/2012 06:55 PM, David Christensen wrote: >> I wrote: >> >> >> https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ >> >> >> On 07/09/2012 09:43 AM, Colin Barnabas wrote: >>> Perhaps this will help- >>> http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ >> >> Thanks for the reply. :-) >> >> >> STFW I already found various manual instructions. I'm looking for >> something easier/ simpler that is built in to the installer, similar >> to Debian and Windows. It appears FreeBSD doesn't have that feature. > That's because nobody has decided to implement "that feature" in the > installer (which was just completely re-done and simplified). If you > wanted to put something together (using the freebsd-installer source > as a base) that adds a menu system for queuing up the relevant > commands, I don't think anyone will complain. > I seem to recall the pc-bsd installer does some/all of this. and you can use it to just install freebsd if you dont want the pc-bsd desktop stuff. I havent actually every tried it though so YMMV. Vince From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 19:12:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BE3D1065680 for ; Wed, 11 Jul 2012 19:12:37 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 182FA8FC1B for ; Wed, 11 Jul 2012 19:12:37 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q6BJCUqL043055 for ; Wed, 11 Jul 2012 12:12:31 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4FFDD01E.8030308@rawbw.com> Date: Wed, 11 Jul 2012 12:12:30 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120702 Thunderbird/13.0.1 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to make /dev/smb appear? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 19:12:37 -0000 I need to run decode-dimms from i2c-tools and it requires /dev/smb: SMBus device not found Googling the previous topics suggests that 'device smbios' in kernel config should have helped, but it didn't. smbus.ko and smb.ko are both loaded. What should I do to make /deb/smb appear? Thank you, Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 19:32:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C548B106564A for ; Wed, 11 Jul 2012 19:32:41 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 142908FC12 for ; Wed, 11 Jul 2012 19:32:40 +0000 (UTC) Received: (qmail invoked by alias); 11 Jul 2012 19:32:31 -0000 Received: from d018117.adsl.hansenet.de (EHLO FBSD.lokilan) [80.171.18.117] by mail.gmx.net (mp031) with SMTP; 11 Jul 2012 21:32:31 +0200 X-Authenticated: #3333826 X-Provags-ID: V01U2FsdGVkX1/W6kdQOqLWBmNQBix5ceKZvJ0HCnyV34Jlq69p8c F37QszKg711HjG Message-ID: <4FFDD4CE.9040904@gmx.de> Date: Wed, 11 Jul 2012 21:32:30 +0200 From: "lokadamus@gmx.de" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:12.0) Gecko/20120505 Thunderbird/12.0.1 MIME-Version: 1.0 To: Graeme Dargie References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> In-Reply-To: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: "'freebsd-questions@freebsd.org'" Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 19:32:41 -0000 On 07/09/12 18:01, Graeme Dargie wrote: > Hi All, > > I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. No joy Windows insists that the partition is RAW and I need to format it. I can however mount it under FreeBSD without any problems, the directory structure appears to be intact but there are no files in the places I would expect to find them under the Users directory, I am guessing that these have somehow been deleted or perhaps the victim of a partial OEM recovery process. Is there a way to scan the drive for deleted files from the command line or something from the ports tree that anyone can recommend to fulfil this requirement. > > Regards > > Graeme > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You can use testdisk (opensource) http://www.getbackdata.net/ntfs.html (commercial) or http://www.pcinspector.de/ (free) Other programms: http://www.sleuthkit.org/ (opensource i think) http://sfdumper.sourceforge.net/ (opensource i think) http://www.ufsexplorer.de/products.php (commercial) For ufs i found only sfdumper for free, others are commercial. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 20:00:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42CB21065689 for ; Wed, 11 Jul 2012 20:00:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A59FD8FC1A for ; Wed, 11 Jul 2012 20:00:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx01.qsc.de (Postfix) with ESMTP id 2B2833D00A; Wed, 11 Jul 2012 22:00:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q6BK04bG002396; Wed, 11 Jul 2012 22:00:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 11 Jul 2012 22:00:04 +0200 From: Polytropon To: "lokadamus@gmx.de" Message-Id: <20120711220004.cc0ffc29.freebsd@edvax.de> In-Reply-To: <4FFDD4CE.9040904@gmx.de> References: <4C0F7421AA759346AF17299922AD57EB06286449@Mercury.universe.galaxy.lcl> <4FFDD4CE.9040904@gmx.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "'freebsd-questions@freebsd.org'" , Graeme Dargie Subject: Re: NTFS data recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 20:00:14 -0000 On Wed, 11 Jul 2012 21:32:30 +0200, lokadamus@gmx.de wrote: > Other programms: > http://www.sleuthkit.org/ (opensource i think) It is. I've been using it, it's very professional, except that they nowadays keep their (quite good) documentation in some wiki on the web. :-( > http://www.ufsexplorer.de/products.php (commercial) This product also offers a "test mode", i. e. you can run it for free, but functionality is limited. At least you can use it this way to check _if_ there is something to recover, even though for _actually_ recovering it you'd tend to use free UNIX tools. There's another recommendation I'd like to add: R-Studio and R-Studio Emergency. There's also a live CD well suited for diagnostics, but of course you will have to pay for the full (and therefore fully functional) version. So I think it's worth _first_ checking out the free tools on UNIX, especially TSK. You _need_ to understand _what_ you are going to do in order to have a _chance_ of being successful. There basically is no "Joe Q. Sixpack's Click to Recover All The Files" tool for free. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 20:11:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB81A106566B for ; Wed, 11 Jul 2012 20:11:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id A60598FC17 for ; Wed, 11 Jul 2012 20:11:26 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sp3Ft-0002oi-MQ for freebsd-questions@freebsd.org; Wed, 11 Jul 2012 22:11:25 +0200 Received: from pool-173-79-96-198.washdc.fios.verizon.net ([173.79.96.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 22:11:25 +0200 Received: from nightrecon by pool-173-79-96-198.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 22:11:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Wed, 11 Jul 2012 16:11:13 -0400 Lines: 25 Message-ID: References: <4FFDD01E.8030308@rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-96-198.washdc.fios.verizon.net Subject: Re: How to make /dev/smb appear? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 20:11:27 -0000 Yuri wrote: > I need to run decode-dimms from i2c-tools and it requires /dev/smb: > SMBus device not found > > Googling the previous topics suggests that 'device smbios' in kernel > config should have helped, but it didn't. smbus.ko and smb.ko are both > loaded. > > What should I do to make /deb/smb appear? > On an old box I have here this works, and is somewhat chipset specific as in an 865PE with the ICH5 south bridge. I load kernel modules at boot: smb.ko, smbus.ko, and ichsmb.ko. It's probably the last one you're missing, and I don't know how much forward into the ICH versions it supports. It is this last 'connector' module that has to match and support your hardware. It is also dependent upon device pci being present. I believe there exists a couple of modules like this one for other chipsets. If there is one that is supporting your south bridge load it instead. -MIke From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 00:07:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1908E106564A for ; Thu, 12 Jul 2012 00:07:55 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id DBD748FC16 for ; Thu, 12 Jul 2012 00:07:54 +0000 (UTC) Received: from ::ffff:69.12.202.165 ([69.12.202.165]) by holgerdanske.com for ; Wed, 11 Jul 2012 17:07:51 -0700 Message-ID: <4FFE1556.8020701@holgerdanske.com> Date: Wed, 11 Jul 2012 17:07:50 -0700 From: David Christensen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FFAE6F1.7030103@holgerdanske.com> <20120709164347.GE56922@hs1.VERBENA> <4FFB6F76.6040104@holgerdanske.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: encrypted ZFS root and encrypted swap OOTB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 00:07:55 -0000 On 07/09/2012 10:14 PM, Vladislav wrote: > You can use PC-BSD installer and install FreeBSD with an encrypted ZFS > root. Okay. :-) David From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 02:04:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43202106566C for ; Thu, 12 Jul 2012 02:04:38 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id F08E48FC08 for ; Thu, 12 Jul 2012 02:04:37 +0000 (UTC) Received: by ggnm2 with SMTP id m2so2212076ggn.13 for ; Wed, 11 Jul 2012 19:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=DGnjtyv2o+0uDM9Ceq4LJSlf4FH0AXrUqf7skILCHug=; b=PCG9vQx3lWeYH8YAr7Wk9MpBTQiSDy2CvFgU8srwShLMJB1OgVzQDM9WmB/nvEvWAb loLC3lF9fP+RDBZLpULzDQrs6kiDUATh2JM64ayScPBIr4YvY9uPopZlNtM3mHZKJGkR PopfJ2c+2RBQ27t81RAlnKSgY5y+lCbQt0HVQ21uNzOdVzVzWitMzEfk35tFxPCbwfB2 +9qs5hYuNIPYt/JlCrCChWNXwsBB/toz7m4NjFcaJ/9kpJQiAn5qML6AEiVxUjcoRbZo KzLqDoEFrvYUC7he0kZ4jmyeLzxHRhVCmg8JnxCKHthA5DAlz0mk5N4ec0+nHTssS3KF bosg== MIME-Version: 1.0 Received: by 10.50.207.40 with SMTP id lt8mr16130411igc.16.1342058677151; Wed, 11 Jul 2012 19:04:37 -0700 (PDT) Sender: pldrouin@gmail.com Received: by 10.64.168.70 with HTTP; Wed, 11 Jul 2012 19:04:37 -0700 (PDT) Date: Wed, 11 Jul 2012 22:04:37 -0400 X-Google-Sender-Auth: KZ5v5di0Ar9YTov_Z-2vEDe0-go Message-ID: From: Pierre-Luc Drouin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Basic i5/i7 Motherboard Suggestion.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 02:04:38 -0000 Hi, I am looking to build a simple i5 or i7 CPU-based desktop computer that is compatible with FreeBSD. Could someone suggest me a sub $200 motherboard whose chipsets and BIOS works well with FreeBSD? I would prefer to stick with either Intel or Asus if possible... Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 04:24:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 360AD106566C; Thu, 12 Jul 2012 04:24:25 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id D383D8FC16; Thu, 12 Jul 2012 04:24:24 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id BB02D39826; Thu, 12 Jul 2012 07:24:22 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27o-hvB0Wkrk; Thu, 12 Jul 2012 07:24:21 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id AFE6A3983A; Thu, 12 Jul 2012 07:24:20 +0300 (EEST) Received: from 76.20.190.90.dyn.estpak.ee (76.20.190.90.dyn.estpak.ee [90.190.20.76]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Thu, 12 Jul 2012 07:24:20 +0300 Message-ID: <20120712072420.12744mmaroy8sps0@webmail.raad.tartu.ee> Date: Thu, 12 Jul 2012 07:24:20 +0300 From: Toomas Aas To: Jan Beich References: <20120703204245.18341mxlqo3s258g__34909.188692882$1341338060$gmane$org@webmail.raad.tartu.ee> <1Sp9VJ-0009Ur-9e@internal.tormail.org> In-Reply-To: <1Sp9VJ-0009Ur-9e@internal.tormail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 90.190.20.76 Cc: freebsd-gecko@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Building www/libxul fails - 'No such file or directory' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 04:24:25 -0000 Thu, 12 Jul 2012 kirjutas Jan Beich : > > I've seen other people confused by this harmless warning. OMG. All this time the build was actually successful and all I should have done was 'make install', which I did just now and of course it worked. I just assumed that if the last line in build output is error, it must have been failed. -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 07:06:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7B471065670 for ; Thu, 12 Jul 2012 07:06:41 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp2.insight.synacor.com [208.47.185.24]) by mx1.freebsd.org (Postfix) with ESMTP id AD2878FC0C for ; Thu, 12 Jul 2012 07:06:41 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=6fIelGFFIeQ5vqrcW784oR9jni3BtbJdej6BsE5jKTw= c=1 sm=0 a=qDM2K-raKXAA:10 a=jLN7EqiLvroA:10 a=9CXKiIt7AAAA:8 a=Th_zc8y5675wZ9SP510A:9 a=iMd-TH2wDfgA:10 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:47420] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 39/13-01836-A777EFF4; Thu, 12 Jul 2012 03:06:35 -0400 Date: Thu, 12 Jul 2012 03:06:34 -0400 Message-ID: <39.13.01836.A777EFF4@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Cc: Pierre-Luc Drouin Subject: Re: Basic i5/i7 Motherboard Suggestion.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 07:06:42 -0000 from Pierre-Luc Drouin : > I am looking to build a simple i5 or i7 CPU-based desktop computer that is > compatible with FreeBSD. Could someone suggest me a sub $200 motherboard > whose chipsets and BIOS works well with FreeBSD? I would prefer to stick > with either Intel or Asus if possible... MSI is also good with motherboards. I built a new computer from parts June 2011. Motherboard was MSI Z68MA-ED55(B3), has served well so far, and works with FreeBSD much better than NetBSD, though NetBSD's problems could be due to other deficiencies, including lack of USB 3.0 support. CPU is Intel i7 at 2600 MHz. This motherboard has USB 3.0 and UEFI "Click BIOS". MSI would have newer models now. Tom From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 08:50:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E4621065672 for ; Thu, 12 Jul 2012 08:50:01 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 438298FC0C for ; Thu, 12 Jul 2012 08:50:01 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.10]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6C8noMr001901; Thu, 12 Jul 2012 02:49:54 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Thu, 12 Jul 2012 15:49:47 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207121549.48032.erichfreebsdlist@ovitrap.com> Cc: Pierre-Luc Drouin Subject: Re: Basic i5/i7 Motherboard Suggestion.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 08:50:01 -0000 Hi, On Thursday, July 12, 2012 09:04:37 AM Pierre-Luc Drouin wrote: > > I am looking to build a simple i5 or i7 CPU-based desktop computer that is > compatible with FreeBSD. Could someone suggest me a sub $200 motherboard > whose chipsets and BIOS works well with FreeBSD? I would prefer to stick > with either Intel or Asus if possible... I have an i7 wich uses the integrated GPU. I am not so happy about this compared to the nVidea external GPU I use with an AMD CPU. Check carefully the list to find out if you can live with the current status of Intel KMS if you have to use it. I would not consider MSI as they are the people who once delivered motherboards with a short life time. Asus was also my first choice for the motherboard. Erich > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 09:50:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0821065688 for ; Thu, 12 Jul 2012 09:50:24 +0000 (UTC) (envelope-from brentgclarklist@gmail.com) Received: from mail1.dur1.host-h.net (mail1.dur1.host-h.net [196.7.18.227]) by mx1.freebsd.org (Postfix) with ESMTP id 545888FC19 for ; Thu, 12 Jul 2012 09:50:24 +0000 (UTC) Received: from [196.7.147.49] (helo=[192.168.1.86]) by mail1.dur1.host-h.net with esmtpa (Exim 4.72) (envelope-from ) id 1SpFOU-0001Xy-RZ for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 11:09:06 +0200 Message-ID: <4FFE9432.5020801@gmail.com> Date: Thu, 12 Jul 2012 11:09:06 +0200 From: Brent Clark User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Clear (ClamAV 0.97.3/15132/Thu Jul 12 04:13:52 2012) Subject: Why is Gluster not available in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 09:50:24 -0000 Hiya A question I would like to ask, if no one minds. Whys is Gluster not available in FreeBSD? It is that Gluster just cant run on FreeBSD, or no one can port it? Just something I was thinking. Kind Regards Brent Clark From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 10:25:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27A721065676 for ; Thu, 12 Jul 2012 10:25:15 +0000 (UTC) (envelope-from hasse@thorshammare.org) Received: from smtprelay-b12.telenor.se (smtprelay-b12.telenor.se [62.127.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id CEE7E8FC14 for ; Thu, 12 Jul 2012 10:25:14 +0000 (UTC) Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id B182FEBCC2 for ; Thu, 12 Jul 2012 12:25:07 +0200 (CEST) X-SENDER-IP: [83.227.225.121] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AopZAJ6l/k9T4+F5PGdsb2JhbABFg0aGXa1TGQEBAQE3NIJhHGwBKxkMCi2IEZwkoUqOHAEDgjxgA5U5AYESkVWBVg X-IronPort-AV: E=Sophos;i="4.77,574,1336341600"; d="scan'208";a="156924964" Received: from ua-83-227-225-121.cust.bredbandsbolaget.se (HELO odin.thorshammare.org) ([83.227.225.121]) by ipb3.telenor.se with ESMTP; 12 Jul 2012 12:25:07 +0200 Received: from odin.thorshammare.org (hasse@localhost [127.0.0.1]) by odin.thorshammare.org (8.14.5/8.14.5) with ESMTP id q6CAP6qR007109 for ; Thu, 12 Jul 2012 12:25:06 +0200 (CEST) Received: (from hasse@localhost) by odin.thorshammare.org (8.14.5/8.14.5/Submit) id q6CAP61l019200 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 12:25:06 +0200 (CEST) Date: Thu, 12 Jul 2012 12:25:06 +0200 From: Hasse Hansson To: freebsd-questions@freebsd.org Message-ID: <20120712102506.GA27610@odin.thorshammare.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.5 at mailhub3.thorshammare.org X-Virus-Status: Clean Subject: OT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 10:25:15 -0000 Hello all Needed an extra box today for some experimental use, and serarched my storeroom. Found an old Compaq and fired it up. All I changed was the networksettings, and there it was. IPv6 connectivity and all. Amasing, last serving 2003. Those were the days. Last login: Sun Dec 28 22:43:46 2003 from thor.swedehost. Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-RELEASE (LOKE) #0: Sun Dec 28 17:16:47 CET 2003 $ uname -a FreeBSD loke.thorshammare.org 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Dec 28 17:16:47 CET 2003 root@loke.swedehost.com:/usr/obj/usr/src/sys/LOKE i386 Regards Hasse From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 10:27:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8084A1065676 for ; Thu, 12 Jul 2012 10:27:34 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id CDB678FC0A for ; Thu, 12 Jul 2012 10:27:33 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CARMu5002000; Thu, 12 Jul 2012 12:27:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CARM4t001997; Thu, 12 Jul 2012 12:27:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 12:27:22 +0200 (CEST) From: Wojciech Puchar To: miles kuo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 12:27:22 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 10:27:34 -0000 > > I have two SAS disks for the FreeBSD install. I want to install the freeBSD > on one disk and mirror to another disk. Just like the AIX Mirror. man gmirror From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 10:35:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E006A106564A for ; Thu, 12 Jul 2012 10:35:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9CECE8FC17 for ; Thu, 12 Jul 2012 10:35:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CAZgRP087392; Thu, 12 Jul 2012 04:35:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CAZgN2087389; Thu, 12 Jul 2012 04:35:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 04:35:42 -0600 (MDT) From: Warren Block To: Pierre-Luc Drouin In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 04:35:42 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Basic i5/i7 Motherboard Suggestion.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 10:35:52 -0000 On Wed, 11 Jul 2012, Pierre-Luc Drouin wrote: > I am looking to build a simple i5 or i7 CPU-based desktop computer that is > compatible with FreeBSD. Could someone suggest me a sub $200 motherboard > whose chipsets and BIOS works well with FreeBSD? I would prefer to stick > with either Intel or Asus if possible... Gigabyte Z68A-D3H-B3 working well with an i5 here. Using a PCIe Radeon, I have not tried the Intel GPU yet. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 10:47:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96D4D106566B for ; Thu, 12 Jul 2012 10:47:57 +0000 (UTC) (envelope-from mike@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id D76038FC16 for ; Thu, 12 Jul 2012 10:47:56 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id ZNnu1j003516WCc01NnvRP; Thu, 12 Jul 2012 11:47:55 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=GPGK45xK c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=7KdcRa-bOSAA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=D7rCoLxHAAAA:8 a=pR3xYpNkAAAA:8 a=raSIUYZdyLCLf1X2-mgA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.77) (envelope-from ) id 1SpGw0-0000u7-Pj for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 11:47:53 +0100 To: freebsd-questions@freebsd.org Content-Disposition: inline From: Mike Clarke Date: Thu, 12 Jul 2012 11:47:48 +0100 MIME-Version: 1.0 Message-Id: <201207121147.48614.mike@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: mike@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,TW_ZF autolearn=ham version=3.3.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 10:47:57 -0000 On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: > What about a ZFS root? Just make sure both disks are in the BIOS/EFT > boot order. > http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ > > Something else we noticed on our site is that backup of a system > snapshot can be quickly restored using just a live CD (do up to step 5, > then replace steps 6-7 with a zfs receive of the desired snapshot). Since the system is to be restored from the snapshot then I suppose most of steps 8 to 12 wouldn't be needed either. But what about step 5 before the restore: zpool export zroot zpool import -o cachefile=/var/tmp/zpool.cache zroot And then step 10 after running zfs receive cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache Are these steps needed when restoring from a snapshot? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 10:53:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31E141065673 for ; Thu, 12 Jul 2012 10:53:21 +0000 (UTC) (envelope-from corebug@corebug.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 04A538FC0C for ; Thu, 12 Jul 2012 10:53:20 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so3949856pbb.13 for ; Thu, 12 Jul 2012 03:53:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=/VZ3WkTpC6DKj4XQSigiXAO74pvQUSKgs7Q/5cEAzak=; b=HR5jP6ax0l7msB85veCbEdEOklkQnhRK7Ysl1qhnlfuO+LQxOXqBNp8PW28BpieCMF HljPIVCzq9yAdiNeFh1aW2apsaWxqXnEfzX25ekMFuujOs81T6vg7a5lawspkguPZ8iz vALcr0GpOjFz6moUm2s3lkMjiGztrhtDfvba8p82d/oDnpbtWrdsnKbBJLWDW/Gt31Ur OwOxATiPM4NWXCArwRoKV3WTFfvJxAkvS3wgfCOJmNNttSwOY1uIhOFxZC3Xsgq6it96 W+fqleV3LPTnx+jLcdCeAP8Sv8pdzc/Lh7k9xYP0BxJxnsNembZ1QwL07lQFKfJ/tA0z PYpQ== Received: by 10.68.194.6 with SMTP id hs6mr4491660pbc.133.1342090400025; Thu, 12 Jul 2012 03:53:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.85.102 with HTTP; Thu, 12 Jul 2012 03:52:59 -0700 (PDT) X-Originating-IP: [2a01:d0:8396::6923] In-Reply-To: <20120712102506.GA27610@odin.thorshammare.org> References: <20120712102506.GA27610@odin.thorshammare.org> From: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= Date: Thu, 12 Jul 2012 13:52:59 +0300 Message-ID: To: Hasse Hansson Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnWAX46LWa8onMU7WPV8Q4Cq1W6pcY7IpF74mnSMe4rItfYyjT7DflPMGhEaqcJUBW3ggCI Cc: freebsd-questions@freebsd.org Subject: Re: OT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 10:53:21 -0000 2012/7/12 Hasse Hansson : > Hello all > Needed an extra box today for some experimental use, and serarched my storeroom. > Found an old Compaq and fired it up. All I changed was the networksettings, and there it was. > IPv6 connectivity and all. Amasing, last serving 2003. > Those were the days. > > Last login: Sun Dec 28 22:43:46 2003 from thor.swedehost. > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > The Regents of the University of California. All rights reserved. > > FreeBSD 4.9-RELEASE (LOKE) #0: Sun Dec 28 17:16:47 CET 2003 > > $ uname -a > FreeBSD loke.thorshammare.org 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Dec 28 17:16:47 CET 2003 root@loke.swedehost.com:/usr/obj/usr/src/sys/LOKE i386 Huh, cool indeed! Two month ago i've been called to help with a small FreeBSD-based gateway which stopped working after electrical troubles (it was a rainy day before hehe). After i came to the place, the only thing i had to do with a box is just change the dead NIC. The OS there is FreeBSD 5.3-RELEASE, and the box was setup and forgotten just in two or three days after release. It hasn't been touched by anyone since then :) For me this really proves how stable my favourite OS is :) > Regards > Hasse > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- ~~~ WBR, Vitaliy Turovets Systems Administrator Corebug.Net +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 14:05:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C65D1065674 for ; Thu, 12 Jul 2012 14:05:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 42CA28FC08 for ; Thu, 12 Jul 2012 14:05:17 +0000 (UTC) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id F2EFEA72E8D for ; Thu, 12 Jul 2012 10:05:09 -0400 (EDT) Received: (qmail 27091 invoked from network); 12 Jul 2012 14:05:09 -0000 Received: by simscan 1.4.0 ppid: 7045, pid: 22183, t: 0.1296s scanners: clamav: 0.88.2/m:52/d:13495 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jul 2012 14:05:09 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CEF8D33C20; Thu, 12 Jul 2012 10:05:07 -0400 (EDT) From: Lowell Gilbert To: Brent Clark References: <4FFE9432.5020801@gmail.com> Date: Thu, 12 Jul 2012 10:05:07 -0400 In-Reply-To: <4FFE9432.5020801@gmail.com> (Brent Clark's message of "Thu, 12 Jul 2012 11:09:06 +0200") Message-ID: <44pq812hyk.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Why is Gluster not available in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 14:05:17 -0000 Brent Clark writes: > A question I would like to ask, if no one minds. > Whys is Gluster not available in FreeBSD? > > It is that Gluster just cant run on FreeBSD, or no one can port it? http://wiki.freebsd.org/GlusterFS From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 14:21:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 04C81106566B for ; Thu, 12 Jul 2012 14:21:59 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AC7E18FC08 for ; Thu, 12 Jul 2012 14:21:58 +0000 (UTC) Received: by ggnm2 with SMTP id m2so2827530ggn.13 for ; Thu, 12 Jul 2012 07:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type; bh=oPq9Dfo41QxKPPKR8zHmxX7rgNc1S9SiOEiRUlCAZmw=; b=lGtKROAQJqlNzQDjw3DBnvWiV9nfjFzcueTDFS/idREHBqoCMsYCEn9Wg3BM7ogn/+ 5uqplA5WVERmVuGNwC+QBskuAuu8yxike5NrGSWzzfxlbTKidCIb4wsQIzqBsh1PYeQT 95msk1jjAt9/vjbi24nSE52aJZhDndRO9mSATa+sbtBrRKUACtCrn6KgLcUV9AEwxLPN uIBc45RGxFuJ6UBZyDjxTfnUJ6SQEyP2M36W9OZRcjrTttj6vL9KnOq8FaS78rbiWD2N 7ARJRzjcBFsR4i1XEv1LLeotZJh7Xiv92zqxOPdX2HtC4zadmm+sIVu7BxHV3p1vH79i cpdQ== Received: by 10.42.158.10 with SMTP id f10mr27707916icx.51.1342102917734; Thu, 12 Jul 2012 07:21:57 -0700 (PDT) Received: from [131.230.191.154] (lenneth.engr.siu.edu. [131.230.191.154]) by mx.google.com with ESMTPS id k6sm8661953igw.14.2012.07.12.07.21.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 07:21:57 -0700 (PDT) Message-ID: <4FFEDD83.20702@gmail.com> Date: Thu, 12 Jul 2012 09:21:55 -0500 From: Joseph Lenox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120704 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201207121147.48614.mike@milibyte.co.uk> In-Reply-To: <201207121147.48614.mike@milibyte.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lenox.joseph@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 14:21:59 -0000 On 07/12/2012 05:47 AM, Mike Clarke wrote: > On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: >> What about a ZFS root? Just make sure both disks are in the BIOS/EFT >> boot order. >> http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ >> >> Something else we noticed on our site is that backup of a system >> snapshot can be quickly restored using just a live CD (do up to step 5, >> then replace steps 6-7 with a zfs receive of the desired snapshot). > Since the system is to be restored from the snapshot then I suppose most of > steps 8 to 12 wouldn't be needed either. But what about step 5 before the > restore: > > zpool export zroot > zpool import -o cachefile=/var/tmp/zpool.cache zroot > > And then step 10 after running zfs receive > > cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache > > Are these steps needed when restoring from a snapshot? I believe preserving the zpool cache is important, but I haven't tested not doing so. Logically, the zroot is still new, and the restore from snapshot would still populate the cachefile (which would default to writing in the live CD's /var/tmp, not the target system's /var/tmp. Here's my suggested instructions, adapted from http://www.aisecure.net/2012/01/16/rootzfs/ and my own experimentation, for restoring from a snapshot. It can also be used to clone a system configuration from one system to another (very convenient). This is for single-drive, just set up a mirror in the initial steps if you are going that route. 1. Boot from a FreeBSD9 installation DVD or memstick and choose "Live CD". 2. Create the necessary partitions on the disk(s) and add ZFS aware boot code. gpart create -s gpt ada0 gpart add -b 34 -s 94 -t freebsd-boot ada0 gpart add -t freebsd-zfs -l disk0 ada0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 3. Align the Disks for 4K and create the pool. gnop create -S 4096 /dev/gpt/disk0 zpool create -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot /dev/gpt/disk0.nop zpool export zroot gnop destroy /dev/gpt/disk0.nop zpool import -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot 4. Set the bootfs property on zroot. zpool set bootfs=zroot zroot 5. Mount the memory stick containing the snapshot. Most memory sticks are formatted fat32 or ntfs, and the LiveCD will at least read ntfs. mount -t ntfs /da0s1 /media/ * This assumes that the memory stick is NTFS formatted and it ends up as da0 in the system. 6. Receive snapshot. gunzip -dc /media/snapshot_name.gz | zfs receive -vF zroot * snapshot_name.gz is a placeholder for the actual name of the file on the media. I've assumed that the snapshot is gzip'd, otherwise cat the snapshot file. 7. Copy zpool.cache (very important!!!) cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache 8. If this is a clone of another system, edit pre-existing rc.conf and rc.local.conf files to suit new network configuration. * Specifically, the hostname and the IP need to change if the new system is on the network. 9. Reboot * Remember to set the correct boot drive in new system BIOS. -- --Joseph Lenox, BS, MS I'm an engineer. I solve problems. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 14:29:56 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E405B106566B for ; Thu, 12 Jul 2012 14:29:56 +0000 (UTC) (envelope-from david+dated+1342534703.68763f@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 52A4E8FC08 for ; Thu, 12 Jul 2012 14:29:56 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.4/8.14.4) with ESMTP id q6CEINNj007007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Jul 2012 10:18:23 -0400 (EDT) (envelope-from david+dated+1342534703.68763f@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.4/8.14.4/Submit) id q6CEINXF007006 for questions@freebsd.org; Thu, 12 Jul 2012 10:18:23 -0400 (EDT) (envelope-from david+dated+1342534703.68763f@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1342534703.68763f@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Thu, 12 Jul 2012 10:18:23 -0400 Date: Thu, 12 Jul 2012 10:18:22 -0400 To: questions@freebsd.org Message-ID: <20120712141822.GA4009@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning Cc: Subject: ppp connection goes down - requires reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 14:29:57 -0000 Lately I have a problem where the ppp connection goes down. Watching the log I see the following; Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: Connected! Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: opening -> dial Jul 12 09:54:58 3s1 ppp[30841]: tun0: Phase: deflink: dial -> carrier Jul 12 09:55:12 3s1 ppp[31114]: Phase: Using interface: tun0 Jul 12 09:55:12 3s1 ppp[31114]: Phase: deflink: Created in closed state Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: disable ipv6cp Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set dial Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set login Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 209.161.205.12 206.221.248.4 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: add default HISADDR Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: nat enable yes Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set device PPPoE:fxp0 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set mru 1492 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set mtu 1492 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set authname [login was here] Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set authkey ******** Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set log Phase tun command Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: disable ipv6cp Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set dial Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set login Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 209.161.205.12 206.221.248.4 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: add default HISADDR Jul 12 09:55:12 3s1 ppp[31114]: tun0: Command: default: nat enable yes Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: PPP Started (ddial mode). Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: bundle: Establish Jul 12 09:55:12 3s1 ppp[31115]: tun0: Phase: deflink: closed -> opening Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: Connected! Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: opening -> dial Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: dial -> carrier Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Disconnected! Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: carrier -> hangup Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: 0 packets in, 0 packets out Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jul 12 09:55:13 2012 Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: hangup -> opening Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Enter pause (30) for redialing. I shutdown ppp and restart it with no luck. I shutoff modem and reboot it and wait for connection light to go solid - still no go. I called ISP and they say there is no problem. I try to login to the ISP with a windows box and am successful. Having no luck connecting with my server, I reboot, and all is fine. What could it be about rebooting the server that allows connection where otherwise it is not possible? Any ideas where I can look for answers? my ppp.conf follows; default: # or name_of_service_provider set device PPPoE:fxp0 # replace xl1 with your ethernet device set mru 1492 set mtu 1492 set authname *********** set authkey *********** set log Phase tun command # you can add more detailed logging if you wish disable ipv6cp set dial set login set ifaddr 209.161.205.12 206.221.248.4 set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR nat enable yes From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 14:53:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D0081065670 for ; Thu, 12 Jul 2012 14:53:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 756DE8FC0C for ; Thu, 12 Jul 2012 14:53:10 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CEr4Kb002252; Thu, 12 Jul 2012 16:53:04 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CEr4Ae002249; Thu, 12 Jul 2012 16:53:04 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 16:53:04 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 16:53:04 +0200 (CEST) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 14:53:11 -0000 >> >> I am no expert at this however a quick Google search comes up with: >> >> http://www.freebsd.org/doc/handbook/geom-mirror.html > > The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work if you use installer 1) install to first disk 2) gmirror label system /dev/seconddisk 3) bsdlabel -w /dev/mirror/system 4) bsdlabel -e /dev/mirror/system - make partitions as required. 5) bsdlabel -B /dev/mirror/system 6) newfs all created partitions (/dev/mirror/systema etc...) 7) add vfs.root.mountfrom="ufs:mirror/systema" to loader.conf edit /etc/fstab and change all things to new places 8) mount and copy files using tar or dump/restore to new place 9) reboot. system will start from gmirror 10) gmirror insert system /dev/firstdisk all done. if installer is not used but bootable media with complete system, just create gmirror then as usual. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 15:23:43 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44F7C106564A for ; Thu, 12 Jul 2012 15:23:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id E30AC8FC15 for ; Thu, 12 Jul 2012 15:23:42 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.5/8.14.4) with ESMTP id q6CFNfQj009591; Thu, 12 Jul 2012 11:23:42 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4FFEEBFB.9020202@sentex.net> Date: Thu, 12 Jul 2012 11:23:39 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: David Banning References: <20120712141822.GA4009@skytracker.ca> In-Reply-To: <20120712141822.GA4009@skytracker.ca> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 64.7.153.18 Cc: questions@freebsd.org Subject: Re: ppp connection goes down - requires reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 15:23:43 -0000 On 7/12/2012 10:18 AM, David Banning wrote: > Lately I have a problem where the ppp connection goes down. > Watching the log I see the following; > Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: opening -> dial > Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: dial -> carrier > Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Disconnected! > Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: carrier -> hangup > Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out 5 seconds seems like a pretty tight for it to give up. Do you have any other defaults in your ppp.conf not shown below ? also add enable echo disable vjcomp set lqrperiod 10 set cd 10 and when its not working, try tcpdump -nei fxp0 You should see responses to your PADI requests from the remote BAS. Also get rid of the 209.161.205.12 line. Typically your ISP will assign you the static IP out of RADIUS and you dont need to specify it. ---Mike > > I shutdown ppp and restart it with no luck. I shutoff modem and > reboot it and wait for connection light to go solid - still no go. > > > my ppp.conf follows; > > default: # or name_of_service_provider > set device PPPoE:fxp0 # replace xl1 with your ethernet device > set mru 1492 > set mtu 1492 > set authname *********** > set authkey *********** > set log Phase tun command # you can add more detailed logging if you wish > disable ipv6cp > set dial > set login > set ifaddr 209.161.205.12 206.221.248.4 > set ifaddr 10.0.0.1/0 10.0.0.2/0 > add default HISADDR > nat enable yes > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 16:07:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37A0E106564A for ; Thu, 12 Jul 2012 16:07:27 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E38C58FC08 for ; Thu, 12 Jul 2012 16:07:26 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CG7Q8X047562; Thu, 12 Jul 2012 10:07:26 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CG7Qpe047559; Thu, 12 Jul 2012 10:07:26 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 10:07:26 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 10:07:26 -0600 (MDT) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:07:27 -0000 On Thu, 12 Jul 2012, Wojciech Puchar wrote: >>> >>> I am no expert at this however a quick Google search comes up with: >>> >>> http://www.freebsd.org/doc/handbook/geom-mirror.html >> >> The procedure shown there produces a mirror that will not boot on FreeBSD >> 9. > > no idea but my procedure certainly would work if you use installer > > 1) install to first disk > 2) gmirror label system /dev/seconddisk > 3) bsdlabel -w /dev/mirror/system > 4) bsdlabel -e /dev/mirror/system - make partitions as required. > 5) bsdlabel -B /dev/mirror/system > 6) newfs all created partitions (/dev/mirror/systema etc...) > 7) add > > vfs.root.mountfrom="ufs:mirror/systema" > > to loader.conf > > edit /etc/fstab and change all things to new places > 8) mount and copy files using tar or dump/restore to new place > 9) reboot. system will start from gmirror > 10) gmirror insert system /dev/firstdisk > > all done. > > if installer is not used but bootable media with complete system, just create > gmirror then as usual. The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 16:23:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B437A1065670 for ; Thu, 12 Jul 2012 16:23:36 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF3A8FC08 for ; Thu, 12 Jul 2012 16:23:36 +0000 (UTC) Received: by vcbf1 with SMTP id f1so1931021vcb.13 for ; Thu, 12 Jul 2012 09:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ydFMrgEzEIeL+KhL1gKuRQRvPLchOuNoqmgmEO5IXoA=; b=SG33kPMgn+Kb9cT9IxM1etPJyiWpS8h8wTPTVVkSKZ+i+ZRpUMeBcgivRHk3yYqSR5 5YIyTRJDu/U9rq9Cd0veXPyfhfSNQ0RtuCDE0CI/55OGJm2NjEggs00346oA0CRtC6De WuIcqI0ST1oRM8Urf6fKox30FhKoUKnlxJCdSTw63fqm8Zvr+B5MxQKkkPMrYLZCGLPB 3xH+VZMk5D/TybjaRszQOdVz5w+AlFECzRuIvlJbJ+vhpJ29oB5busseegZeTeMGj/19 DNOHR/P+C7cVpyJR7j3RgpitA1QgXLxQc9rPhOdIBSSJK+AoAqeAf20AFmhl6WBUuD2I z/xw== MIME-Version: 1.0 Received: by 10.52.27.72 with SMTP id r8mr11070956vdg.14.1342110209785; Thu, 12 Jul 2012 09:23:29 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 09:23:29 -0700 (PDT) Date: Thu, 12 Jul 2012 17:23:29 +0100 Message-ID: From: Kaya Saman To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:23:36 -0000 Hi, I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. At present they are running a whole bunch of CentOS based boxes and VM's which of course can be run through port 80 when using YUM. How does one get round this issue as my superiors are telling me that opening up FTP is a security risk and therefor don't want to proceed? I would like to use ports specifically and not the pkg_add tool to get software. Can anyone sugget anything? Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 16:33:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7946B106566C for ; Thu, 12 Jul 2012 16:33:44 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3FCCA8FC12 for ; Thu, 12 Jul 2012 16:33:44 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with ESMTP id q6CGXU0M011704 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 12 Jul 2012 11:33:38 -0500 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.283.3; Thu, 12 Jul 2012 11:33:01 -0500 MIME-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: Date: Thu, 12 Jul 2012 09:33:03 -0700 Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Kaya Saman X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.260, 0.0.0000 definitions=2012-07-12_05:2012-07-12, 2012-07-12, 1970-01-01 signatures=0 Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:33:44 -0000 On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: > Hi, >=20 > I am trying to introduce FreeBSD into my office and it's been looked > at with quite a bit of enthusiasm however, what makes it look bad is > our companies 'security' policy to block FTP. >=20 > At present they are running a whole bunch of CentOS based boxes and > VM's which of course can be run through port 80 when using YUM. >=20 >=20 > How does one get round this issue as my superiors are telling me that > opening up FTP is a security risk and therefor don't want to proceed? >=20 >=20 > I would like to use ports specifically and not the pkg_add tool to get so= ftware. >=20 >=20 > Can anyone sugget anything? >=20 env ftp_proxy=3Dhost:port where is your normal command, such as "fetch". For a full list of environment variables you can use,=85 $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings -= n 7 | grep _proxy=20 fetch_no_proxy_match fetch_default_proxy_port http_proxy ftp_proxy no_proxy --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 16:43:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBF7A1065675; Thu, 12 Jul 2012 16:43:05 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 73FA78FC14; Thu, 12 Jul 2012 16:43:05 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2082602vbm.13 for ; Thu, 12 Jul 2012 09:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QEPdLz4eZtOA/ZvOmdobGz3ql3OgB+oJpxwnnr5pyEw=; b=Pf2Zx+R4f+7sH6ctsiCvhPw3PnLIwSsOP6T0QWRssslSjEE7VVZE9w8g3zGlUCFo0N DimJCgZmlElcLGFKKpdMaVRa8Ekw4q4x9OVBV3ta78iCw60FCGeaNGqF4YY9WqAflikL TglyO2j/FRgvtRQVtve8kjseqYboj01Fojt9hrwutwErDGw42Bn1SWd+EbhTOcoqOKBj wz2beZdiki3F/tJjpckvHE09fd4iybHR/SOSqsX7oOZ8ypVQVedex4z+uDDx5U5Ig+mN yOIJtt5wSgYImF8vo5owjXLQr2udNtCzoPA28MzvTszKsirB20qcPulyHc1BNjo4HxqL 6u7A== MIME-Version: 1.0 Received: by 10.52.25.70 with SMTP id a6mr21515587vdg.78.1342111379092; Thu, 12 Jul 2012 09:42:59 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 09:42:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 17:42:59 +0100 Message-ID: From: Kaya Saman To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:43:05 -0000 On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske wr= ote: > > On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: > >> Hi, >> >> I am trying to introduce FreeBSD into my office and it's been looked >> at with quite a bit of enthusiasm however, what makes it look bad is >> our companies 'security' policy to block FTP. >> >> At present they are running a whole bunch of CentOS based boxes and >> VM's which of course can be run through port 80 when using YUM. >> >> >> How does one get round this issue as my superiors are telling me that >> opening up FTP is a security risk and therefor don't want to proceed? >> >> >> I would like to use ports specifically and not the pkg_add tool to get s= oftware. >> >> >> Can anyone sugget anything? >> > > env ftp_proxy=3Dhost:port > > where is your normal command, such as "fetch". > > For a full list of environment variables you can use,=85 > > $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings= -n 7 | grep _proxy > fetch_no_proxy_match > fetch_default_proxy_port > http_proxy > ftp_proxy > no_proxy > > -- > Devin > > _____________ > The information contained in this message is proprietary and/or confident= ial. If you are not the intended recipient, please: (i) delete the message = and all copies; (ii) do not disclose, distribute or use the message in any = manner; and (iii) notify the sender immediately. In addition, please be awa= re that any message addressed to our domain is subject to archiving and rev= iew by persons other than the intended recipient. Thank you. Thanks Devin for this however, setenv ftp_proxy ftp://: indicates that FTP is being proxied out. We simply have it banned on a Juniper firewall. So http is being proxied by a web appliance but that's it... nothing else. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 16:47:46 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CFA4106566B for ; Thu, 12 Jul 2012 16:47:46 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 642C68FC12 for ; Thu, 12 Jul 2012 16:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=6MhP97DCsGdtRfnolckNN53gZLuBb+awoSrfn9b/FUQ=; b=NK7tbRDkFZ62G3Dq5oI+gSiF21rrTzMfmh8InAI3096EkyRsHgB3QO8CaogTWVq8hN55UKz9V/xaNSTMRYlQ71bWPEzfo+WDicYX3kYL+ztxBvVR2tdwmRhb/HBvpqV9; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SpMYL-000O6Q-FX for freebsd-questions@FreeBSD.org; Thu, 12 Jul 2012 11:47:46 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1342111659-94480-94479/5/109; Thu, 12 Jul 2012 16:47:39 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-questions@FreeBSD.org References: Date: Thu, 12 Jul 2012 11:47:39 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/12.00 (FreeBSD) X-SA-Score: -1.5 Cc: Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:47:46 -0000 On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman wrote: > > I would like to use ports specifically and not the pkg_add tool to get > software. Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your own local mirror (net/cvsup-mirror) as well. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:00:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0427106564A for ; Thu, 12 Jul 2012 17:00:02 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF878FC12 for ; Thu, 12 Jul 2012 17:00:02 +0000 (UTC) Received: by vcbf1 with SMTP id f1so1965156vcb.13 for ; Thu, 12 Jul 2012 10:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=x6ScKKA8SJnYj1wWiSd26RZxQQumihXrf/0uhSpQJUY=; b=vvLpozH1Kh7llxA/U6BHPK0LRUXI7mvaqfdi2aGt8CnTfmL6H0GJ5UBMduVgCq73GX XbBh1X3dpr447aaTE8+y1lCFPwX5glPcl4FSA98It2mDmF9NLLFvonBsK/BtTmeNU1Za iKYPP3zXii4WSq6asY2rf9SVvUr9GTaZT0Tb4jhbjHEOCU1heDBfeBi73hqCf0BNd5tP 0nMfrv1jBine+YClyiq0c4cIl2pPH0aAjASp67KdOjQoWTFJ3ANpqic38m6eMalZqgMU ySjXFAQlwP5tNMpqWP2rGL9dEccHeqHI6o2oFqCivpTgxNL3OickRyqE6rZ9LCMDg7z+ 16AA== MIME-Version: 1.0 Received: by 10.221.12.81 with SMTP id ph17mr25556929vcb.47.1342112401657; Thu, 12 Jul 2012 10:00:01 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 10:00:01 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 18:00:01 +0100 Message-ID: From: Kaya Saman To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:00:02 -0000 On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder wrote: > On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman wrote: > >> >> I would like to use ports specifically and not the pkg_add tool to get >> software. > > > Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your > own local mirror (net/cvsup-mirror) as well. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Yeah, this is a good idea.... I was actually thinking about this. I've never done it so I'd need to google around a bit and do some testing but it is probably what we would want to do! Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:02:08 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80127106566B for ; Thu, 12 Jul 2012 17:02:08 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5344D8FC08 for ; Thu, 12 Jul 2012 17:02:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:Cc:To:Content-Type; bh=J4eMSDomzbCZaLU2cq8NCsBQmABzr3z2iaFO4qdxHy4=; b=V5e1ZRgQHSAnRYuBN2OC65g6TDUWRjFcS8UK25w0Ivl9mpa3QtmAyPzxTeTOFdkXKfGtafeSgQCmjpQ1+Eq/xVaP+UQmVQVjG5kAldq6xZF6IUCFdmWpLrYvX9oL4N0M; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SpMmF-000Obe-CC; Thu, 12 Jul 2012 12:02:07 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1342112521-94480-94479/5/110; Thu, 12 Jul 2012 17:02:01 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-questions@FreeBSD.org References: Date: Thu, 12 Jul 2012 12:02:00 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/12.00 (FreeBSD) X-SA-Score: -1.5 Cc: Kaya Saman Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:02:08 -0000 On Thu, 12 Jul 2012 12:00:01 -0500, Kaya Saman wrote: > > Yeah, this is a good idea.... I was actually thinking about this. > > I've never done it so I'd need to google around a bit and do some > testing but it is probably what we would want to do! > Install the port, run the setup script, answer something like four questions, and you're done -- it will begin mirroring automatically. It might tell you to add a one-liner to cron but that's it. *Magic* :-) From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:03:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F7F51065676 for ; Thu, 12 Jul 2012 17:03:57 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay0.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id 053E68FC24 for ; Thu, 12 Jul 2012 17:03:57 +0000 (UTC) Received: from [192.168.111.147] (unknown [62.244.179.66]) by relay0.exonetric.net (Postfix) with ESMTP id 59FE857003; Thu, 12 Jul 2012 18:04:39 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Mark Blackman In-Reply-To: Date: Thu, 12 Jul 2012 18:03:18 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Kaya Saman X-Mailer: Apple Mail (2.1278) Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:03:57 -0000 On 12 Jul 2012, at 17:23, Kaya Saman wrote: > How does one get round this issue as my superiors are telling me that > opening up FTP is a security risk and therefor don't want to proceed? >=20 >=20 > I would like to use ports specifically and not the pkg_add tool to get = software. >=20 >=20 > Can anyone sugget anything? The usual solution appears to be to add MASTER_SORT_REGEX =3D ^http to your /etc/make.conf file see = http://lists.freebsd.org/pipermail/freebsd-questions/2011-January/226342.h= tml - Mark From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:15:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EA891065670; Thu, 12 Jul 2012 17:15:57 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 937A68FC0A; Thu, 12 Jul 2012 17:15:55 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa07.fnfis.com (8.14.4/8.14.4) with ESMTP id q6CHFacF025907 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 12 Jul 2012 12:15:54 -0500 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.283.3; Thu, 12 Jul 2012 12:15:41 -0500 MIME-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: Date: Thu, 12 Jul 2012 10:15:43 -0700 Content-Transfer-Encoding: quoted-printable Message-ID: <314F6471-1EC7-4A73-803E-A0B0370757EB@fisglobal.com> References: To: Kaya Saman X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.260, 0.0.0000 definitions=2012-07-12_05:2012-07-12, 2012-07-12, 1970-01-01 signatures=0 Cc: Devin Teske , freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:15:57 -0000 On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote: > On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske = wrote: >>=20 >> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: >>=20 >>> Hi, >>>=20 >>> I am trying to introduce FreeBSD into my office and it's been looked >>> at with quite a bit of enthusiasm however, what makes it look bad is >>> our companies 'security' policy to block FTP. >>>=20 >>> At present they are running a whole bunch of CentOS based boxes and >>> VM's which of course can be run through port 80 when using YUM. >>>=20 >>>=20 >>> How does one get round this issue as my superiors are telling me that >>> opening up FTP is a security risk and therefor don't want to proceed? >>>=20 >>>=20 >>> I would like to use ports specifically and not the pkg_add tool to get = software. >>>=20 >>>=20 >>> Can anyone sugget anything? >>>=20 >>=20 >> env ftp_proxy=3Dhost:port >>=20 >> where is your normal command, such as "fetch". >>=20 >> For a full list of environment variables you can use,=85 >>=20 >> $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs string= s -n 7 | grep _proxy >> fetch_no_proxy_match >> fetch_default_proxy_port >> http_proxy >> ftp_proxy >> no_proxy >>=20 >> -- >> Devin >>=20 >> _____________ >> The information contained in this message is proprietary and/or confiden= tial. If you are not the intended recipient, please: (i) delete the message= and all copies; (ii) do not disclose, distribute or use the message in any= manner; and (iii) notify the sender immediately. In addition, please be aw= are that any message addressed to our domain is subject to archiving and re= view by persons other than the intended recipient. Thank you. >=20 > Thanks Devin for this however, >=20 > setenv ftp_proxy ftp://: indicates that FTP is being proxied ou= t. >=20 > We simply have it banned on a Juniper firewall. So http is being > proxied by a web appliance but that's it... nothing else. >=20 >=20 Yep. It's up to your proxy server whether it's going to handle FTP or only = HTTP (and/or HTTPS). I use squid a lot and it handles FTP great. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:19:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9E6106564A for ; Thu, 12 Jul 2012 17:19:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD3F8FC0C for ; Thu, 12 Jul 2012 17:19:58 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id A72D8A72AD2 for ; Thu, 12 Jul 2012 13:19:57 -0400 (EDT) Received: (qmail 16315 invoked from network); 12 Jul 2012 17:19:57 -0000 Received: by simscan 1.4.0 ppid: 23440, pid: 31716, t: 0.1626s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jul 2012 17:19:56 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 414BC33C20; Thu, 12 Jul 2012 13:19:56 -0400 (EDT) From: Lowell Gilbert To: Kaya Saman References: Date: Thu, 12 Jul 2012 13:19:56 -0400 In-Reply-To: (Kaya Saman's message of "Thu, 12 Jul 2012 18:00:01 +0100") Message-ID: <44k3y83nib.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:19:58 -0000 Kaya Saman writes: > On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder wrote: >> On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman wrote: >> >>> >>> I would like to use ports specifically and not the pkg_add tool to get >>> software. >> >> >> Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your >> own local mirror (net/cvsup-mirror) as well. > Yeah, this is a good idea.... I was actually thinking about this. > > I've never done it so I'd need to google around a bit and do some > testing but it is probably what we would want to do! It's quite easy. It does require letting cvsup through the firewall, though. Getting the ports tree through HTTP is best done with portsnap, but once you get it inside your network you can run a cvsup server, NFS mount it on the other machines, or even run your own internal ports build server. As for fetching the distfiles, most of them are available through HTTP URLs as well as FTP. For ones that aren't, (and assuming the rather silly security policies won't allow for an external web-based FTP proxy) you may need to bring them in by offline media. Good luck. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:22:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 350F41065670; Thu, 12 Jul 2012 17:22:05 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C84618FC0C; Thu, 12 Jul 2012 17:22:04 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2119294vbm.13 for ; Thu, 12 Jul 2012 10:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4jGj/FouqG5KdAabPIzf+8EFORg+hAShrC/1anqflbE=; b=AxIDr9iffJ6m/keTRP1IWRENfmZPnjwDZwslXf8duEJS26j9EseEKJTUQVECHbh2H0 4rJBmFWSwhYfomFRzKKWPeGzqN2kFewdnDk2Md67AcSyUiCXzpdPK08lXHn4aA7k2doh Q68uzFU5MzFFWf5UAcliJDlq/gJnlxVip5M1z2fknHJ8RYuT1Q+voCdT+qvKIZiRFi6s XQvxFopP5NwgNwpCg6CIsJGF3o5tGJxbo3LCcLsKTTgEp6XxPeP/RjhNwv/6tBOu9XHa 3OE9Scqn3NExizddqyM17CPTByiBiD807gWXavgmG8JLqBSTefJ2XL7JjPYhZsEkC4mC K3Xw== MIME-Version: 1.0 Received: by 10.52.25.70 with SMTP id a6mr21672907vdg.78.1342113724317; Thu, 12 Jul 2012 10:22:04 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 10:22:04 -0700 (PDT) In-Reply-To: <314F6471-1EC7-4A73-803E-A0B0370757EB@fisglobal.com> References: <314F6471-1EC7-4A73-803E-A0B0370757EB@fisglobal.com> Date: Thu, 12 Jul 2012 18:22:04 +0100 Message-ID: From: Kaya Saman To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:22:05 -0000 On Thu, Jul 12, 2012 at 6:15 PM, Devin Teske wr= ote: > > On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote: > >> On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske = wrote: >>> >>> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote: >>> >>>> Hi, >>>> >>>> I am trying to introduce FreeBSD into my office and it's been looked >>>> at with quite a bit of enthusiasm however, what makes it look bad is >>>> our companies 'security' policy to block FTP. >>>> >>>> At present they are running a whole bunch of CentOS based boxes and >>>> VM's which of course can be run through port 80 when using YUM. >>>> >>>> >>>> How does one get round this issue as my superiors are telling me that >>>> opening up FTP is a security risk and therefor don't want to proceed? >>>> >>>> >>>> I would like to use ports specifically and not the pkg_add tool to get= software. >>>> >>>> >>>> Can anyone sugget anything? >>>> >>> >>> env ftp_proxy=3Dhost:port >>> >>> where is your normal command, such as "fetch". >>> >>> For a full list of environment variables you can use,=85 >>> >>> $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strin= gs -n 7 | grep _proxy >>> fetch_no_proxy_match >>> fetch_default_proxy_port >>> http_proxy >>> ftp_proxy >>> no_proxy >>> >>> -- >>> Devin >>> >>> _____________ >>> The information contained in this message is proprietary and/or confide= ntial. If you are not the intended recipient, please: (i) delete the messag= e and all copies; (ii) do not disclose, distribute or use the message in an= y manner; and (iii) notify the sender immediately. In addition, please be a= ware that any message addressed to our domain is subject to archiving and r= eview by persons other than the intended recipient. Thank you. >> >> Thanks Devin for this however, >> >> setenv ftp_proxy ftp://: indicates that FTP is being proxied o= ut. >> >> We simply have it banned on a Juniper firewall. So http is being >> proxied by a web appliance but that's it... nothing else. >> >> > > Yep. It's up to your proxy server whether it's going to handle FTP or onl= y HTTP (and/or HTTPS). > > I use squid a lot and it handles FTP great. > -- > Devin > > _____________ > The information contained in this message is proprietary and/or confident= ial. If you are not the intended recipient, please: (i) delete the message = and all copies; (ii) do not disclose, distribute or use the message in any = manner; and (iii) notify the sender immediately. In addition, please be awa= re that any message addressed to our domain is subject to archiving and rev= iew by persons other than the intended recipient. Thank you. We have an 'appliance' based proxy and as company policy FTP should be restricted, ie. not active on this as it's a security risk. Thats my major issue..... I will try the suggested method of: MASTER_SORT_REGEX =3D ^http for the time being to see if that helps before setting up our own repositor= y. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:41:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 918CC106566C for ; Thu, 12 Jul 2012 17:41:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id E48E38FC08 for ; Thu, 12 Jul 2012 17:41:27 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CHfMUh002817; Thu, 12 Jul 2012 19:41:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CHfM49002814; Thu, 12 Jul 2012 19:41:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 19:41:21 +0200 (CEST) From: Wojciech Puchar To: Kaya Saman In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 19:41:22 +0200 (CEST) Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:41:28 -0000 > I am trying to introduce FreeBSD into my office and it's been looked > at with quite a bit of enthusiasm however, what makes it look bad is > our companies 'security' policy to block FTP. do you work FOR that company. Ask administrator to unblock if for you as you need it for work. Do you do your private things at worktime? Then stop it. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:42:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7414106564A for ; Thu, 12 Jul 2012 17:42:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id E8C318FC16 for ; Thu, 12 Jul 2012 17:42:22 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CHgIpZ002824; Thu, 12 Jul 2012 19:42:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CHgH9F002821; Thu, 12 Jul 2012 19:42:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 19:42:17 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 19:42:18 +0200 (CEST) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:42:23 -0000 > > The current Handbook procedure avoids the copy by using the existing disk > as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! > If that last block is already part of an MBR partition, the more strict checking stops > booting in 9.0. not making MBR partition would not make problems. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:44:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40DB3106566B for ; Thu, 12 Jul 2012 17:44:59 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED8F98FC1A for ; Thu, 12 Jul 2012 17:44:58 +0000 (UTC) Received: by vcbf1 with SMTP id f1so2006560vcb.13 for ; Thu, 12 Jul 2012 10:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=atJA/INqFMQ1mLWRH04D/nQ8HUrQsXGfKlan7f5E9Fg=; b=DIaUJHtVp87z72Nsf835vBKdPhMac+4G+YH5MHJiJlSPsDqeIEqH66SYf2mTubRGT2 oYzmlVDQJSEWw2i73l/E1F9j6BOmUPqusRy+TXwYGM6dDNj4VMpUhfzkjiefEZ6yaWHM Axm0G4q4uohkfu7z0DzfpH8yaVBaNbUFKUHWKPVbj6EXdpv4MuO1/aTsuZa9PliPliLi OpXNi+OCIhk/yd8+70hWXCDus7LN5bmMHqtw/7KpMkj6TwYNzkZQALpANgHMEjyvjL41 kpCM8VFZt+oZfgxRS45VGZ4z0hFLXz1+j3E7TFmzoyzO51mdgTixzA5YTaMdA1PIbhbj +Cpg== MIME-Version: 1.0 Received: by 10.52.88.234 with SMTP id bj10mr21904017vdb.48.1342115096655; Thu, 12 Jul 2012 10:44:56 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 10:44:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 18:44:56 +0100 Message-ID: From: Kaya Saman To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:44:59 -0000 On Thu, Jul 12, 2012 at 6:41 PM, Wojciech Puchar wrote: >> I am trying to introduce FreeBSD into my office and it's been looked >> at with quite a bit of enthusiasm however, what makes it look bad is >> our companies 'security' policy to block FTP. > > > do you work FOR that company. Ask administrator to unblock if for you as you > need it for work. > > Do you do your private things at worktime? Then stop it. I do infact work for this company and additionally I am one of the administrators of the company. The information comes straight down from the IT director who will **not** change his mind on this as I have asked several times in the past. Basically without getting too distracted and off-topic: I open the ports on the firewall - tomorrow I am not employed anymore From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:51:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FA441065670 for ; Thu, 12 Jul 2012 17:51:59 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 179E98FC0C for ; Thu, 12 Jul 2012 17:51:59 +0000 (UTC) Received: from localhost (politkovskaja.torservers.net [77.247.181.165]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 5983B5B41 for ; Thu, 12 Jul 2012 21:41:55 +0400 (MSK) Date: Thu, 12 Jul 2012 21:41:40 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120712174139.GA10822@external.screwed.box> References: <44k3y83nib.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44k3y83nib.fsf@be-well.ilk.org> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:51:59 -0000 Hello. 2012/07/12 13:19:56 -0400 Lowell Gilbert => To Kaya Saman : LG> URLs as well as FTP. For ones that aren't, (and assuming the rather LG> silly security policies won't allow for an external web-based FTP proxy) LG> you may need to bring them in by offline media. I believe there should be the way of using the passive ftp (and any other protocol) via the HTTP CONNECT method to the ftp (or any other port needed for other protocol/app) port and then handling the both control and data connections through the consequent copmmands and data exhange. As far as I remember this can be done at least via the http://delegate.org software, certainly available in the ports collection. Kaya, if your http proxy handles HTTP CONNECT to the port 21/ftp this can be the workaround for you about the freebsd ports requiring ftp download ability. Most surprise for me is why no one is interested about what kind of a danger the ftp protocol can ever be? i. e. skype is much more vicious in comparison to ftp and s much harder to be restricted by a packet filter if even possoible. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:53:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 146C71065700 for ; Thu, 12 Jul 2012 17:53:36 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBF88FC20 for ; Thu, 12 Jul 2012 17:53:35 +0000 (UTC) Received: from [89.204.137.251] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SpKJX-0005Fe-IW for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 16:24:20 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6CEOHMh001647 for ; Thu, 12 Jul 2012 16:24:17 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6CEOG8Z001646 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 16:24:16 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 12 Jul 2012 16:24:16 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120712142415.GA1624@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.137.251 Subject: IPv6 && getaddrinfo(3C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:53:36 -0000 Hello, I'm playing around with IPv6 code on a FreeBSD 9 system and can't get getaddrinfo(3C) to do what it should do as stated in its man page: accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form: $ ./a.out ::1 host: ::1 read: SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 $ ./a.out 127.0.0.1 host: 127.0.0.1 ssh: getaddrinfo failed code 8: hostname nor servname provided, or not known $ telnet 127.0.0.1 22 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 the used C-code is attached below; what I'm doing wrong in the code? Thanks matthias /* IPv6 client code using getaddrinfo */ #include #include #include #include #include #include #include main(argc, argv) /* client side */ int argc; char *argv[]; { struct addrinfo req, *ans; int code, s, n; char buf[1024]; memset(&req, 0, sizeof(req)); req.ai_flags = AI_ADDRCONFIG|AI_NUMERICHOST; req.ai_family = AF_INET6; /* Same as AF_INET6. */ req.ai_socktype = SOCK_STREAM; /* */ /* Use default protocol (in this case tcp) */ /* */ req.ai_protocol = 0; printf("host: %s\n", argv[1]); if ((code = getaddrinfo(argv[1], "ssh", &req, &ans)) != 0) { fprintf(stderr, "ssh: getaddrinfo failed code %d: %s\n", code, gai_strerror(code)); exit(1); } /* */ /* ans must contain at least one addrinfo, use */ /* the first. */ /* */ s = socket(ans->ai_family, ans->ai_socktype, ans->ai_protocol); if (s < 0) { perror("ssh: socket"); exit(3); } /* Connect does the bind for us */ if (connect(s, ans->ai_addr, ans->ai_addrlen) < 0) { perror("ssh: connect"); exit(5); } n = read(s, buf, 1024); printf ("read: %s", buf); /* */ /* Free answers after use */ /* */ freeaddrinfo(ans); exit(0); } -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:53:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 607371065705 for ; Thu, 12 Jul 2012 17:53:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 17AF08FC21 for ; Thu, 12 Jul 2012 17:53:42 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CHrfrk048165; Thu, 12 Jul 2012 11:53:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CHren6048162; Thu, 12 Jul 2012 11:53:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 11:53:40 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 11:53:41 -0600 (MDT) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:53:42 -0000 On Thu, 12 Jul 2012, Wojciech Puchar wrote: >> >> The current Handbook procedure avoids the copy by using the existing disk >> as-is and just writing the gmirror metadata to the last block. > Exactly what i do doing instalations manually! > >> If that last block is already part of an MBR partition, the more strict >> checking stops booting in 9.0. > > not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of partitioning scheme, the metadata should not be inside the data area. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:01:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 747CF1065672 for ; Thu, 12 Jul 2012 18:01:16 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2830E8FC08 for ; Thu, 12 Jul 2012 18:01:16 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2154392vbm.13 for ; Thu, 12 Jul 2012 11:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=temtbfnbB68ZT5LFNhk24GfDLdfygSDwxnBOGy42BHI=; b=k7227yJjGGNMoRDkpjLerjLnd5LIA3Z7MQGITb8HDqc5kig4BfrzjROoMl5BfgLWRo SzwXP3QVidbtcXdskLkB6rCtifqG41x1Au0+k2rcH0TcHaYrU420GHOHDaWciGbRM3BA BdjUyzYahCtUxo4JyNyMonXjYxVQm9x4gYLYXYRxUBCDvs8zmK+9VxIVJCIuPDG20xow MnGCeQpCCix1MKmDhCi0v9cUBChZoEbfupENpnXatk19IXCFfD2qrxoFxX6+h1YM+gL5 B+pfp5TPQxuppO1tszeVxODm0QQ5jCnFwXyCvq4B36NsXhUh2v9XD9pD5kSnT601tWCo 40WA== MIME-Version: 1.0 Received: by 10.52.95.171 with SMTP id dl11mr21539236vdb.120.1342116075371; Thu, 12 Jul 2012 11:01:15 -0700 (PDT) Received: by 10.58.154.169 with HTTP; Thu, 12 Jul 2012 11:01:15 -0700 (PDT) In-Reply-To: <20120712174139.GA10822@external.screwed.box> References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> Date: Thu, 12 Jul 2012 19:01:15 +0100 Message-ID: From: Kaya Saman To: Peter Vereshagin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:01:16 -0000 On Thu, Jul 12, 2012 at 6:41 PM, Peter Vereshagin wrote: > Hello. > > 2012/07/12 13:19:56 -0400 Lowell Gilbert => To Kaya Saman : > LG> URLs as well as FTP. For ones that aren't, (and assuming the rather > LG> silly security policies won't allow for an external web-based FTP proxy) > LG> you may need to bring them in by offline media. > > I believe there should be the way of using the passive ftp (and any other > protocol) via the HTTP CONNECT method to the ftp (or any other port needed for > other protocol/app) port and then handling the both control and data > connections through the consequent copmmands and data exhange. > > As far as I remember this can be done at least via the http://delegate.org > software, certainly available in the ports collection. > > Kaya, if your http proxy handles HTTP CONNECT to the port 21/ftp this can be > the workaround for you about the freebsd ports requiring ftp download ability. > > Most surprise for me is why no one is interested about what kind of a danger > the ftp protocol can ever be? i. e. skype is much more vicious in comparison to > ftp and s much harder to be restricted by a packet filter if even possoible. > > -- > Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Thanks Peter for the advise. Our system is totally locked down with hardly any ports open on our NAT, only the necessary ones. I'm not sure if the Proxy would support the HTTP CONNECT as it's an appliance which my superior has control over. I will check it out however and see if that method is best, however CVSup would be the best way for us and I'm already looking at this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html which should be enough to get a demo up and running. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:35:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4471065672 for ; Thu, 12 Jul 2012 18:35:49 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 66ACF8FC0A for ; Thu, 12 Jul 2012 18:35:48 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CIZhgX002994; Thu, 12 Jul 2012 20:35:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CIZhuu002991; Thu, 12 Jul 2012 20:35:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 20:35:42 +0200 (CEST) From: Wojciech Puchar To: Kaya Saman In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 20:35:43 +0200 (CEST) Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:35:49 -0000 > The information comes straight down from the IT director who will > **not** change his mind on this as I have asked several times in the > past. I just told about solution to a problem. Not a workaround. How you can make your work if your director actively prevent it!? > Basically without getting too distracted and off-topic: I open the > ports on the firewall - tomorrow I am not employed anymore Do not change anything in config if you got fired. It is not the clever and polite. Spent your time for starting out your own business or at least choose better employee, instead of revenge. PS. Start out using real private e-mail not @gmail.com if you want to be treated more seriously and not hurt yourself anymore. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:37:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C270C106566B for ; Thu, 12 Jul 2012 18:37:00 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 324A08FC14 for ; Thu, 12 Jul 2012 18:36:59 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CIatld003000; Thu, 12 Jul 2012 20:36:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CIatN4002997; Thu, 12 Jul 2012 20:36:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 20:36:55 +0200 (CEST) From: Wojciech Puchar To: Peter Vereshagin In-Reply-To: <20120712174139.GA10822@external.screwed.box> Message-ID: References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 20:36:55 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:37:00 -0000 > Most surprise for me is why no one is interested about what kind of a danger > the ftp protocol can ever be? i. e. skype is much more vicious in comparison to As in lots of companies where idiots are directors (common case) the danger is because it is something that "doesn't exist". As we all know only WWW do exist ;) From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:37:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD5DD106564A for ; Thu, 12 Jul 2012 18:37:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 4107B8FC1F for ; Thu, 12 Jul 2012 18:37:33 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CIbS7N003006; Thu, 12 Jul 2012 20:37:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CIbS32003003; Thu, 12 Jul 2012 20:37:28 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 20:37:28 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 20:37:28 +0200 (CEST) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:37:33 -0000 >>> If that last block is already part of an MBR partition, the more strict >>> checking stops booting in 9.0. >> >> not making MBR partition would not make problems. > > There's no guarantee that bsdlabel checking won't be made more strict. No > matter what type of partitioning scheme, the metadata should not be > inside the data area. > gmirror puts it's metadata at the end of disk. bsdlabel is at the beginning. what a problem? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:44:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 903831065670 for ; Thu, 12 Jul 2012 18:44:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 4BFBB8FC12 for ; Thu, 12 Jul 2012 18:44:51 +0000 (UTC) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 6FD65A729E6 for ; Thu, 12 Jul 2012 14:44:50 -0400 (EDT) Received: (qmail 7331 invoked from network); 12 Jul 2012 18:44:49 -0000 Received: by simscan 1.4.0 ppid: 7460, pid: 13018, t: 0.1724s scanners: clamav: 0.88.2/m:52/d:10739 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jul 2012 18:44:49 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id DA1D333C20; Thu, 12 Jul 2012 14:44:48 -0400 (EDT) From: Lowell Gilbert To: Peter Vereshagin , Kaya Saman References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> Date: Thu, 12 Jul 2012 14:44:48 -0400 In-Reply-To: <20120712174139.GA10822@external.screwed.box> (Peter Vereshagin's message of "Thu, 12 Jul 2012 21:41:40 +0400") Message-ID: <44bojk3jkv.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:44:51 -0000 Peter Vereshagin writes: > 2012/07/12 13:19:56 -0400 Lowell Gilbert => To Kaya Saman : > LG> URLs as well as FTP. For ones that aren't, (and assuming the rather > LG> silly security policies won't allow for an external web-based FTP proxy) > LG> you may need to bring them in by offline media. > > I believe there should be the way of using the passive ftp (and any other > protocol) via the HTTP CONNECT method to the ftp (or any other port needed for > other protocol/app) port and then handling the both control and data > connections through the consequent copmmands and data exhange. You've just described an FTP proxy. That's already been ruled out. > Most surprise for me is why no one is interested about what kind of a danger > the ftp protocol can ever be? i. e. skype is much more vicious in comparison to > ftp and s much harder to be restricted by a packet filter if even possoible. Unfortunately, it's common. Often it's a reaction to the idea that FTP is an insecure protocol -- which is true, in a sense, because authentication information is passed in the clear, but irrelevant to anonymous use. This is silly, yes, but it's fairly popular among the types of "IT" people who think that NAT is a security service. Or possibly Nothing But HTTP is allowed through the firewall (which is, at least, a rational response to not knowing much about TCP/IP). Be well. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 18:54:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70EFB1065674 for ; Thu, 12 Jul 2012 18:54:14 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 266EF8FC08 for ; Thu, 12 Jul 2012 18:54:14 +0000 (UTC) Received: from localhost (tor20.anonymizer.ccc.de [31.172.30.3]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 6BAC85B32 for ; Thu, 12 Jul 2012 22:54:12 +0400 (MSK) Date: Thu, 12 Jul 2012 22:54:00 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120712185400.GB10822@external.screwed.box> References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 18:54:14 -0000 Hello. Why don't you use a portsnap? it's over http... 2012/07/12 19:01:15 +0100 Kaya Saman => To Peter Vereshagin : KS> I will check it out however and see if that method is best, however KS> CVSup would be the best way for us and I'm already looking at this: KS> KS> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html 1. cvsup is not about comparison to ftp. cvsup is a way to obtain fresh port for the program distribution, ie set of patches, list of package's files, sample configuration files for the particular program(s) those are not the part of the base system but supplied with taking the OS specs in mind. ftp is a way to obtain a distfile, ie what the 3rd party software developer use to distribute. For FreeBSD ports cvsup and ftp are not competent in the daiy use as they have different purposes. Some 3rd party software is released and published authoritatively on ftp only. And that is the only problem possible for you on ftp usage by freebsd ports. But I believe there is only a few of them you need if any at all. I guess you may want to download the initial ports tree tarball, the ports.tgz, via the ftp. But it's certainly a) available over there via the http and b) is outdated and is needed to be updated via the portsnap and/or cvsup. 2. Use csup from the base system, don't use cvsup from ports if you use its protocol. And, portsnap seems to be even more recommended since some days. KS> which should be enough to get a demo up and running. A Demo? Am I invited for the show? ;-) -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:00:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD591065672 for ; Thu, 12 Jul 2012 19:00:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3B18FC15 for ; Thu, 12 Jul 2012 19:00:15 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CJ0EPs048588; Thu, 12 Jul 2012 13:00:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CJ0ExW048585; Thu, 12 Jul 2012 13:00:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 13:00:14 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 13:00:14 -0600 (MDT) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:00:15 -0000 On Thu, 12 Jul 2012, Wojciech Puchar wrote: >>>> If that last block is already part of an MBR partition, the more strict >>>> checking stops booting in 9.0. >>> >>> not making MBR partition would not make problems. >> >> There's no guarantee that bsdlabel checking won't be made more strict. No >> matter what type of partitioning scheme, the metadata should not be >> inside the data area. >> > gmirror puts it's metadata at the end of disk. > bsdlabel is at the beginning. what a problem? It's not the label, it's what the label declares for the partitions. If the last partition includes the block of gmirror metadata, that's an error. Pardon the ASCII diagrams. Wrong: partition table partition 1------- | | ----------------- ... partition n------- | | |gmirror metadata | ----------------- Right: partition table partition 1----- | | --------------- ... partition n----- | | --------------- gmirror metadata | | --------------- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:08:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD707106566B for ; Thu, 12 Jul 2012 19:08:21 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 416368FC19 for ; Thu, 12 Jul 2012 19:08:21 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CJ8G9A003130; Thu, 12 Jul 2012 21:08:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CJ8GjZ003127; Thu, 12 Jul 2012 21:08:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 21:08:15 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 21:08:16 +0200 (CEST) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:08:21 -0000 > last partition includes the block of gmirror metadata, that's an error. no it doesn't i do this 2 ways: method 1) i FIRST do gmirror on whole disk THEN partition it, so partition sizes sums up to gmirror size which is 1 sector less disk size. then bsdlabel -B method 2) i make same disklabel on both disk, then bsdlabel -B, them gmirror each partitions separately. often i do not mirror all partitions, ew. i do not for squid proxy data if used. both method results in system bootable from both drives and proper disklabels. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:08:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 259C31065698 for ; Thu, 12 Jul 2012 19:08:58 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id CE2918FC1E for ; Thu, 12 Jul 2012 19:08:57 +0000 (UTC) Received: from localhost (bouazizi.torservers.net [74.120.13.132]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 152735B32 for ; Thu, 12 Jul 2012 23:08:52 +0400 (MSK) Date: Thu, 12 Jul 2012 23:08:40 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120712190840.GC10822@external.screwed.box> References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <44bojk3jkv.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44bojk3jkv.fsf@be-well.ilk.org> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:08:58 -0000 Hello. 2012/07/12 14:44:48 -0400 Lowell Gilbert => To Peter Vereshagin : LG> Peter Vereshagin writes: LG> LG> > 2012/07/12 13:19:56 -0400 Lowell Gilbert => To Kaya Saman : LG> > LG> URLs as well as FTP. For ones that aren't, (and assuming the rather LG> > LG> silly security policies won't allow for an external web-based FTP proxy) LG> > LG> you may need to bring them in by offline media. LG> > LG> > I believe there should be the way of using the passive ftp (and any other LG> > protocol) via the HTTP CONNECT method to the ftp (or any other port needed for LG> > other protocol/app) port and then handling the both control and data LG> > connections through the consequent copmmands and data exhange. LG> LG> You've just described an FTP proxy. That's already been ruled out. But I thought the squid-like http proxy while serving the FTP URLs is what the ftp proxy is? It's a different matter at least because it's a nothing about HTTP's CONNECT method. Can you point me to a definition of 'ftp proxy' please? Wikipedia and Google have nothing on this. What I described is mentioned as 'http tunneling' in delegate's docs and isn't specific for ftp at all. LG> > Most surprise for me is why no one is interested about what kind of a danger LG> > the ftp protocol can ever be? i. e. skype is much more vicious in comparison to LG> > ftp and s much harder to be restricted by a packet filter if even possoible. LG> LG> Unfortunately, it's common. Often it's a reaction to the idea that FTP LG> is an insecure protocol -- which is true, in a sense, because LG> authentication information is passed in the clear, but irrelevant to LG> anonymous use. This is silly, yes, but it's fairly popular among the LG> types of "IT" people who think that NAT is a security service. Or LG> possibly Nothing But HTTP is allowed through the firewall (which is, at LG> least, a rational response to not knowing much about TCP/IP). Management is always the same on both sides of Earth, right. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:33:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BC5A106566B for ; Thu, 12 Jul 2012 19:33:57 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C8B478FC18 for ; Thu, 12 Jul 2012 19:33:56 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2705863bkc.13 for ; Thu, 12 Jul 2012 12:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=s/xRverAzY5OupRCXTQtjrxara/HVMV8zLcB9YjpXEg=; b=Bf/9u5hx9kjbB1WcsAfhezhpWRtXioURF+iV15Sal1OMz5ko6ir5fbnV8ze5J6zeoz 3tHEtunY9mvSNgndlvhb/MluYilmJz0EjR9+kBUEE6DD7zUqpH63T5YBcJC/NAvr7jHQ 8V3EPV8B5X5THwUaaLiQnAbq8q4hQJiciBVsGZwSA6/nXsGUZJ8st9AXMZN4e3Ppmsk+ kNb19MRhEm1CA7OSClTJ3gtdC2tutQGlPoGEtRIl3VAYnqRlslXHXQV9QXy5VZGe/3xf x5e4V7GuW/9q1BGC3Nan8NKYL2Zi6CuLV10HFxmt4AdT/Zx3z2+HpLb0Ewy0o8zzj8M3 hy9w== Received: by 10.204.154.215 with SMTP id p23mr8099296bkw.53.1342121635733; Thu, 12 Jul 2012 12:33:55 -0700 (PDT) Received: from [192.168.1.3] (93-127-96-97.static.vega-ua.net. [93.127.96.97]) by mx.google.com with ESMTPS id n17sm3659060bks.6.2012.07.12.12.33.54 (version=SSLv3 cipher=OTHER); Thu, 12 Jul 2012 12:33:55 -0700 (PDT) Message-ID: <4FFF269F.406@gmail.com> Date: Thu, 12 Jul 2012 22:33:51 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20120626 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: re: Patch failed to apply cleanly [chromium-20.0.1132.57] FreeBSD 9.0-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:33:57 -0000 When attempting to upgrade chromium-19.0.1084.56_1 to chromium-20.0.1132.57 on FreeBSD9.0 (FreeBSD box2 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386), one of the patches failed to apply: -------------------------------------- ===> Applying extra patch /usr/ports/www/chromium/files/extra-patch-gcc ===> Applying FreeBSD patches for chromium-20.0.1132.57 patch: **** malformed patch at line 15: #if PLATFORM(CHROMIUM) => Patch patch-third_party__WebKit__Source__WebCore__config.h failed to apply cleanly. -------------------------------------- There seems to be a patch available that has been reported as having worked on a 9.0-RELEASE/amd64: http://www.mail-archive.com/freebsd-chromium@freebsd.org/msg00340.html ----------------------------- www/chromium/files/patch-third_party__WebKit__Source__WebCore__config.h.orig 2012-07-12 09:19:26.000000000 +0000 +++ www/chromium/files/patch-third_party__WebKit__Source__WebCore__config.h 2012-07-12 10:49:20.000000000 +0000 @@ -1,6 +1,6 @@ ---- third_party/WebKit/Source/WebCore/config.h.orig 2012-05-30 10:05:35.000000000 +0300 -+++ third_party/WebKit/Source/WebCore/config.h 2012-06-05 22:32:48.000000000 +0300 -@@ -127,6 +127,11 @@ +--- third_party/WebKit/Source/WebCore/config.h.orig 2012-07-10 07:52:48.000000000 +0000 ++++ third_party/WebKit/Source/WebCore/config.h 2012-07-12 10:48:15.000000000 +0000 +@@ -127,6 +127,14 @@ #define WTF_USE_NEW_THEME 1 #endif // PLATFORM(MAC) ------------------------------------- Is there a patch available to an x86 based system? Thanks. Alexander Kapshuk. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:48:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B93E106567E for ; Thu, 12 Jul 2012 19:48:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C29CF8FC18 for ; Thu, 12 Jul 2012 19:47:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6CJlx2m048812; Thu, 12 Jul 2012 13:47:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6CJlxLd048809; Thu, 12 Jul 2012 13:47:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Jul 2012 13:47:59 -0600 (MDT) From: Warren Block To: Wojciech Puchar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 12 Jul 2012 13:47:59 -0600 (MDT) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:48:00 -0000 On Thu, 12 Jul 2012, Wojciech Puchar wrote: >> last partition includes the block of gmirror metadata, that's an error. > > no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. > i do this 2 ways: > > method 1) i FIRST do gmirror on whole disk > > THEN partition it, so partition sizes sums up to gmirror size which is 1 > sector less disk size. > > then bsdlabel -B > > method 2) i make same disklabel on both disk, then bsdlabel -B, them gmirror > each partitions separately. > often i do not mirror all partitions, ew. i do not for squid proxy data if > used. > > > both method results in system bootable from both drives and proper > disklabels. Yes, these are the same methods that can be used with MBR partitions. The second works with GPT partitioning also. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:57:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94CA6106566B for ; Thu, 12 Jul 2012 19:57:01 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id DDAFC8FC17 for ; Thu, 12 Jul 2012 19:57:00 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CJut2B003574; Thu, 12 Jul 2012 21:56:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CJutkt003571; Thu, 12 Jul 2012 21:56:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 21:56:55 +0200 (CEST) From: Wojciech Puchar To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 21:56:55 +0200 (CEST) Cc: Kaya Saman , miles kuo , freebsd-questions@freebsd.org Subject: Re: How to mirror the FreeBSD OS on two disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:57:01 -0000 >> >> no it doesn't > > You appear to be agreeing with me, but saying that your method does not > produce that problem. sorry - possibly i missed something. >> both method results in system bootable from both drives and proper >> disklabels. > > Yes, these are the same methods that can be used with MBR partitions. The > second works with GPT partitioning also. > true. first doesn't. for now i use only second method in spite of not using GPT. being able to de-mirror selectively a partition or not mirror some partitions at all is quite a big adventage. definitely not possible with "hardware" RAID. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:00:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F02A106564A for ; Thu, 12 Jul 2012 20:00:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 8940A8FC15 for ; Thu, 12 Jul 2012 20:00:04 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CJxxMw003585; Thu, 12 Jul 2012 21:59:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CJxx6l003581; Thu, 12 Jul 2012 21:59:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 21:59:59 +0200 (CEST) From: Wojciech Puchar To: kpneal@pobox.com In-Reply-To: <20120712191306.GA24943@neutralgood.org> Message-ID: References: <20120712191306.GA24943@neutralgood.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 21:59:59 +0200 (CEST) Cc: Kaya Saman , freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:00:05 -0000 > Does your IT director understand the active/passive distinction? If not >From what he described his director is plain moron. He required him to block things that HE needs to work, leaving port 80 open so things that are best in distracting from work (youtube, facebook...) works, as well as major virus source. In places i work i was requested to a) block some websites (facebook always first on list - very good). b) block most things EXCEPT the ones needed for work, full access only for some people. So some ports and some targets do work, rest does not. This is normal IMHO. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:26:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE35E106564A for ; Thu, 12 Jul 2012 20:26:22 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 585A68FC14 for ; Thu, 12 Jul 2012 20:26:22 +0000 (UTC) Received: by eabm6 with SMTP id m6so988890eab.13 for ; Thu, 12 Jul 2012 13:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lVLqrMMpJvG14xiVE8Q8ONNEpZM8DaDYFSKbOV4oIbA=; b=PCdG0gYhTmZgvkBN/e8afXAoGx2XQwtwkulMWV0/CNBVjzlZolNPildl7OOtO58AB3 l5mTrDhW8voTX+b4kaCkPvpLriIu6ZypOs+DPSIZBA6bmqCs7xxucQSs56zbmDj4eL7u iGmXS5J6By3ygQImc/KOn8CmN50RFwixt6+oiNk6CMAIXVTAelSjNHTWF3tTnrEnSiwP jReQBk+KdttCY1043lk9MHKK56Yerm1gPZG3RWH4eyiNTAKlrJtYkOrhpL05PJb6FQVP ui79n26E9TJc9Qu04hZAOhErcoo8WJmdWki2EiesOZzhOYWHLrLC/wV/heSLeLyGFhOt IdiQ== Received: by 10.14.98.68 with SMTP id u44mr13162385eef.85.1342124781000; Thu, 12 Jul 2012 13:26:21 -0700 (PDT) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id y11sm12005858eea.13.2012.07.12.13.26.19 (version=SSLv3 cipher=OTHER); Thu, 12 Jul 2012 13:26:20 -0700 (PDT) Message-ID: <4FFF32EE.2030700@gmail.com> Date: Thu, 12 Jul 2012 21:26:22 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> In-Reply-To: <20120712185400.GB10822@external.screwed.box> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:26:23 -0000 On 07/12/2012 07:54 PM, Peter Vereshagin wrote: > Hello. > > Why don't you use a portsnap? it's over http... > > 2012/07/12 19:01:15 +0100 Kaya Saman => To Peter Vereshagin : > KS> I will check it out however and see if that method is best, however > KS> CVSup would be the best way for us and I'm already looking at this: > KS> > KS> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > 1. cvsup is not about comparison to ftp. cvsup is a way to obtain fresh port > for the program distribution, ie set of patches, list of package's files, > sample configuration files for the particular program(s) those are not the part > of the base system but supplied with taking the OS specs in mind. > > ftp is a way to obtain a distfile, ie what the 3rd party software developer use > to distribute. For FreeBSD ports cvsup and ftp are not competent in the daiy > use as they have different purposes. > > Some 3rd party software is released and published authoritatively on ftp only. > And that is the only problem possible for you on ftp usage by freebsd ports. > But I believe there is only a few of them you need if any at all. > > I guess you may want to download the initial ports tree tarball, the ports.tgz, > via the ftp. But it's certainly a) available over there via the http and b) is > outdated and is needed to be updated via the portsnap and/or cvsup. > > 2. Use csup from the base system, don't use cvsup from ports if you use its > protocol. And, portsnap seems to be even more recommended since some days. > > KS> which should be enough to get a demo up and running. > > A Demo? Am I invited for the show? ;-) > > -- > Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi Peter, portsnap works fine :-) My issues start coming into play when building the actual port itself. Ie. fetching the distfile, as you suggested above. As soon as I start running portmaster -a or a 'make install clean' on certain ports, the progress just bombs out totally. It would be really cool if I could find a way to centrally manage all of this. So perhaps in conjunction with CVSup..... Something like a Linux repo server if you will - though I mention the term very loosely. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:28:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C39106566B for ; Thu, 12 Jul 2012 20:28:54 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 223228FC0A for ; Thu, 12 Jul 2012 20:28:53 +0000 (UTC) Received: by eekc4 with SMTP id c4so611355eek.13 for ; Thu, 12 Jul 2012 13:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Tltdscr6E+5bH+n8z8g//0rjSc/JDNHbWQwuWCOmx9g=; b=FhE7tDOOP2BlDNo2vIjm8zCb09kQj2hxmcAbB1MSqAxPkOhZKDG/JCAcjUCqi620o1 2SgS7IyfyegyPrA8IXVIEyYjpljDw/l7T8yO2mrxPSH8kxShpxpLS8cHkGNvQrmtO7jG +xd/4HPNyFu0EI6ZSpb7F5PvgyJPlGMyIKHx2gjlwQ98+F3go57tWx8sFBb9H2GLy4wu 8ABWjFVgTwP5Y8tfl/c0VgQhaMXIiAB8YRvwovXUMJ/fDeaiZzOznfktCXRUcF9+t3VM Majikh1il/HY44qaAHT7TDKcIQU2kb/6AbS8rI63lBIVJEyEymzOGDd+eWsc50SQxo+Y cgdA== Received: by 10.14.37.141 with SMTP id y13mr1254278eea.80.1342124932212; Thu, 12 Jul 2012 13:28:52 -0700 (PDT) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id e48sm18732630eea.12.2012.07.12.13.28.50 (version=SSLv3 cipher=OTHER); Thu, 12 Jul 2012 13:28:51 -0700 (PDT) Message-ID: <4FFF3386.1060109@gmail.com> Date: Thu, 12 Jul 2012 21:28:54 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: kpneal@pobox.com References: <20120712191306.GA24943@neutralgood.org> In-Reply-To: <20120712191306.GA24943@neutralgood.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:28:54 -0000 On 07/12/2012 08:13 PM, kpneal@pobox.com wrote: > On Thu, Jul 12, 2012 at 06:44:56PM +0100, Kaya Saman wrote: >> I do infact work for this company and additionally I am one of the >> administrators of the company. >> >> The information comes straight down from the IT director who will >> **not** change his mind on this as I have asked several times in the >> past. >> >> >> Basically without getting too distracted and off-topic: I open the >> ports on the firewall - tomorrow I am not employed anymore > So called "active" ftp requires having the server open a connection back > to the client. This will be blocked by a firewall unless the firewall > has special support for it. I can see having a firewall not allow > those connections into your network. > > With "passive" ftp with or without a proxy all connections are opened from > your end. No opening up of the firewall is required. Plus, if you don't > touch your filewall then attempted use of active ftp will just result in > a hung network connection. > > I believe active ftp was the default and perhaps only option for a number > of years. > > Does your IT director understand the active/passive distinction? If not > then perhaps you could explain it in a way that acknowledges that his > concerns have some merit but those concerns are not relevant to passive > ftp. > > Yes, this is very easy for me to suggest since I don't know any of the > relevant people and my paycheck is not on the line. And my suggestion > may be worth what you paid for it. ;) > Hi, of course everything is known but still it is preferred to keep a total lock-down on outbound ports. We handle a lot of highly sensitive information and that's the need for the severe lock-down. Even the web-proxy is restricted to the sites accessible meaning that we need to request access if we need to go somewhere not governed by that proxy. Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:44:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501E7106564A for ; Thu, 12 Jul 2012 20:44:32 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id AF9E38FC08 for ; Thu, 12 Jul 2012 20:44:31 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6CKiQm5003794; Thu, 12 Jul 2012 22:44:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6CKiQt2003791; Thu, 12 Jul 2012 22:44:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 12 Jul 2012 22:44:26 +0200 (CEST) From: Wojciech Puchar To: Kaya Saman In-Reply-To: <4FFF32EE.2030700@gmail.com> Message-ID: References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> <4FFF32EE.2030700@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 12 Jul 2012 22:44:26 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:44:32 -0000 > > My issues start coming into play when building the actual port itself. Ie. > fetching the distfile, as you suggested above. > > > As soon as I start running portmaster -a or a 'make install clean' on certain > ports, the progress just bombs out totally. > as you've said it is not a problem at all tomorrow. > > It would be really cool if I could find a way to centrally manage all of > this. So perhaps in conjunction with CVSup..... What you mean? common /usr/ports/distfiles ? You may mirror it all if you wish and then NFS export. But if you want to install lots of ports to many computers i would recommend building on one and then just make binary packages. >Something like a Linux repo server if you will no idea what it is. have not use linux for 9 years, and before that few years using my own manual distro as anything else wasn't usable. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:46:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DC42106566B for ; Thu, 12 Jul 2012 20:46:35 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 22C1E8FC0C for ; Thu, 12 Jul 2012 20:46:35 +0000 (UTC) Received: from localhost (jn-tor-relay.jellyfishnetworks.com [67.23.181.237]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 0EE2A5A94 for ; Fri, 13 Jul 2012 00:46:31 +0400 (MSK) Date: Fri, 13 Jul 2012 00:46:17 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120712204617.GD10822@external.screwed.box> References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> <4FFF32EE.2030700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4FFF32EE.2030700@gmail.com> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:46:35 -0000 Hello. 2012/07/12 21:26:22 +0100 Kaya Saman => To freebsd-questions@freebsd.org : KS> > A Demo? Am I invited for the show? ;-) KS> Something like a Linux repo server if you will - though I mention the KS> term very loosely. SHould you try with a ixsystems's pcbsd.org then? http://pcbsd.org If you need to install a program from a freebsd port then pcbsd allows it,too. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 20:46:37 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5712F106566B for ; Thu, 12 Jul 2012 20:46:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id AA5A78FC12 for ; Thu, 12 Jul 2012 20:46:36 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q6CKkWQo001199 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 12 Jul 2012 21:46:32 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q6CKkWQo001199 Authentication-Results: smtp.infracaninophile.co.uk/q6CKkWQo001199; dkim=none (no signature); dkim-adsp=none Message-ID: <4FFF37A1.5050906@FreeBSD.org> Date: Thu, 12 Jul 2012 21:46:25 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Kaya Saman References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> <4FFF32EE.2030700@gmail.com> In-Reply-To: <4FFF32EE.2030700@gmail.com> X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB33AA9BC365623BC083488E6" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 20:46:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB33AA9BC365623BC083488E6 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 12/07/2012 21:26, Kaya Saman wrote: > My issues start coming into play when building the actual port itself. > Ie. fetching the distfile, as you suggested above. >=20 >=20 > As soon as I start running portmaster -a or a 'make install clean' on > certain ports, the progress just bombs out totally. >=20 >=20 > It would be really cool if I could find a way to centrally manage all o= f > this. So perhaps in conjunction with CVSup..... >=20 >=20 > Something like a Linux repo server if you will - though I mention the > term very loosely. Have you played with pkgng at all? It's a bit new to use in production just yet, although reports from testers have been pretty positive so far, and it's perfectly fine for evaluation purposes. It will solve your main problem of not being allowed FTP traffic, as you can select a package repository accessible through HTTP -- like the main test repository http://pkgbeta.freebsd.org/freebsd-9-amd64/lates= t See http://wiki.freebsd.org/pkgng Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigB33AA9BC365623BC083488E6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk//N6gACgkQ8Mjk52CukIzJpgCgldirzRzNmUsqmFHjoB8MJHew TVEAmgOdL00RbhqQT9O0ElJdiF/qkUny =3s5W -----END PGP SIGNATURE----- --------------enigB33AA9BC365623BC083488E6-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 21:01:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A37B11065670; Thu, 12 Jul 2012 21:01:44 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 08AA08FC0C; Thu, 12 Jul 2012 21:01:43 +0000 (UTC) Received: by eabm6 with SMTP id m6so992833eab.13 for ; Thu, 12 Jul 2012 14:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WilUW2YRdA34D+oPllbgAgxbrLhViKGDdiIRpOiBuCo=; b=wWtAB28+bQO16+Y84+2j4ABH5ATGWbAyKTbpu1pzoSQ6gsduZdJSjzKGKwp+sUhmo3 28MKHhnG20QfRC9wAsPrBcKgludntagOt1pAUuZFayleENCM+9k+1EbiA8FL+m+OLush Kcki3OiOYqksCG69DigABIpimTpIK2JYxkXhz9F/IzWPLiPuHwX8K68ubzbyYwgaoEbC ikluHScCqH5AQXeVxQcuOUW5BEwX1ppO7Pi/fAtDtE3Nmc6SWuGfkv31GIdrll/nATYo NAKTtQG973j8vLJjpvXd2vAYSh2rvSZ9Gpm9RkY4MNxw3ykHChye8W85AHCKnYTQV2Qz igig== Received: by 10.14.29.14 with SMTP id h14mr1712052eea.90.1342126896778; Thu, 12 Jul 2012 14:01:36 -0700 (PDT) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id y54sm18937291eef.10.2012.07.12.14.01.35 (version=SSLv3 cipher=OTHER); Thu, 12 Jul 2012 14:01:35 -0700 (PDT) Message-ID: <4FFF3B32.2080803@gmail.com> Date: Thu, 12 Jul 2012 22:01:38 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Matthew Seaman References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> <4FFF32EE.2030700@gmail.com> <4FFF37A1.5050906@FreeBSD.org> In-Reply-To: <4FFF37A1.5050906@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 21:01:44 -0000 On 07/12/2012 09:46 PM, Matthew Seaman wrote: > On 12/07/2012 21:26, Kaya Saman wrote: >> My issues start coming into play when building the actual port itself. >> Ie. fetching the distfile, as you suggested above. >> >> >> As soon as I start running portmaster -a or a 'make install clean' on >> certain ports, the progress just bombs out totally. >> >> >> It would be really cool if I could find a way to centrally manage all of >> this. So perhaps in conjunction with CVSup..... >> >> >> Something like a Linux repo server if you will - though I mention the >> term very loosely. > Have you played with pkgng at all? It's a bit new to use in production > just yet, although reports from testers have been pretty positive so > far, and it's perfectly fine for evaluation purposes. > > It will solve your main problem of not being allowed FTP traffic, as you > can select a package repository accessible through HTTP -- like > the main test repository http://pkgbeta.freebsd.org/freebsd-9-amd64/latest > > See http://wiki.freebsd.org/pkgng > > Cheers, > > Matthew > Thanks Matthew I will give this a go, although currently I have 2x FreeBSD machines in 'almost' full production as testing will cease quite shortly. It might actually be quite useful in conjunction with Puppet and Cobbler (not sure if is for FreeBSD too). Regards, Kaya From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 21:17:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E26106566C for ; Thu, 12 Jul 2012 21:17:47 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD7A8FC12 for ; Thu, 12 Jul 2012 21:17:47 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q6CLHeRm087233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 12 Jul 2012 16:17:40 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 12 Jul 2012 16:17:40 -0500 From: dweimer To: Organization: dweimer.net Mail-Reply-To: In-Reply-To: <4FFF32EE.2030700@gmail.com> References: <44k3y83nib.fsf@be-well.ilk.org> <20120712174139.GA10822@external.screwed.box> <20120712185400.GB10822@external.screwed.box> <4FFF32EE.2030700@gmail.com> Message-ID: <0c416ad2fc639e984ad7a0f95f3ade10@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8-rc Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 21:17:47 -0000 On 2012-07-12 15:26, Kaya Saman wrote: > On 07/12/2012 07:54 PM, Peter Vereshagin wrote: >> Hello. >> >> Why don't you use a portsnap? it's over http... >> >> 2012/07/12 19:01:15 +0100 Kaya Saman => To >> Peter Vereshagin : >> KS> I will check it out however and see if that method is best, >> however >> KS> CVSup would be the best way for us and I'm already looking at >> this: >> KS> >> KS> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html >> >> 1. cvsup is not about comparison to ftp. cvsup is a way to obtain >> fresh port >> for the program distribution, ie set of patches, list of package's >> files, >> sample configuration files for the particular program(s) those are >> not the part >> of the base system but supplied with taking the OS specs in mind. >> >> ftp is a way to obtain a distfile, ie what the 3rd party software >> developer use >> to distribute. For FreeBSD ports cvsup and ftp are not competent in >> the daiy >> use as they have different purposes. >> >> Some 3rd party software is released and published authoritatively on >> ftp only. >> And that is the only problem possible for you on ftp usage by >> freebsd ports. >> But I believe there is only a few of them you need if any at all. >> >> I guess you may want to download the initial ports tree tarball, the >> ports.tgz, >> via the ftp. But it's certainly a) available over there via the http >> and b) is >> outdated and is needed to be updated via the portsnap and/or cvsup. >> >> 2. Use csup from the base system, don't use cvsup from ports if you >> use its >> protocol. And, portsnap seems to be even more recommended since some >> days. >> >> KS> which should be enough to get a demo up and running. >> >> A Demo? Am I invited for the show? ;-) >> >> -- >> Peter Vereshagin (http://vereshagin.org) pgp: >> A0E26627 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > Hi Peter, > > portsnap works fine :-) > > My issues start coming into play when building the actual port > itself. Ie. fetching the distfile, as you suggested above. > > > As soon as I start running portmaster -a or a 'make install clean' on > certain ports, the progress just bombs out totally. > > > It would be really cool if I could find a way to centrally manage all > of this. So perhaps in conjunction with CVSup..... > > > Something like a Linux repo server if you will - though I mention the > term very loosely. > > > Regards, > > > Kaya > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" If the volume of machines you have isn't very high I would consider asking the Director if you could have a machine in the DMZ that would be able to use FTP, and cvsup to get outbound. Install Squid on that, and allow Squid to use FTP then allow only SSH from the inside systems to that machine. From there you can use SSH on the inside systems to tunnel the cvsup data outbound for source updates, and to tunnel the Squid connection outbound to be able to use FTP for the port updates via the SSH tunnel using Squids FTP connect over HTTP. This method would eliminate the need to setup your own local cvsup mirror, but does still allow FTP, but it doesn't leave any internal connections possible except when intended. It doesn't open it up to any users without SSH access into the DMZ machine so it can be controlled who has access to it. As the goto guy at my company for internet security I understand the need to lock things down and sadly wish my boss would allow me to lock down ours more than it is, though I don't see blocking outbound FTP as a requirement (though we only allow passive). Its interesting to see this from the side of the other guy who's stuff doesn't work due to the restrictions in place. I deal all the time with employees trying to do online conferences or file downloads with other companies using obscure tools that won't work through an HTTP proxy, use some random high port like 10000 and want me to open up the port through the firewall right then so they can do the conference or get the file without any time to make sure the application is actually safe. Of course the main response to no I can't do that, is why does it work for everyone else on the conference. Can't seem to make them understand that the other people might not have to explain to the bank why they weren't following the PCI (payment card industry) guidelines they signed a document stating we would adhere to. And its my job on the line and not theirs if my allowing the port through the firewall for them allows the security breach. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 21:21:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80A42106566C for ; Thu, 12 Jul 2012 21:21:41 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0898FC08 for ; Thu, 12 Jul 2012 21:21:41 +0000 (UTC) Received: from [10.0.1.2] (pool-98-112-217-228.lsanca.fios.verizon.net [98.112.217.228]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id q6CLLcaR028350; Thu, 12 Jul 2012 14:21:40 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Doug Hardie In-Reply-To: <20120712142415.GA1624@tiny.Sisis.de> Date: Thu, 12 Jul 2012 14:21:38 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <80BE761E-42B1-4111-ACEC-0C31E43D105D@lafn.org> References: <20120712142415.GA1624@tiny.Sisis.de> To: Matthias Apitz X-Mailer: Apple Mail (2.1278) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: IPv6 && getaddrinfo(3C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 21:21:41 -0000 On 12 July 2012, at 07:24, Matthias Apitz wrote: >=20 > Hello, >=20 > I'm playing around with IPv6 code on a FreeBSD 9 system and can't get > getaddrinfo(3C) to do what it should do as stated in its man page: > accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form: >=20 > $ ./a.out ::1 > host: ::1 > read: SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 > $ ./a.out 127.0.0.1 > host: 127.0.0.1 > ssh: getaddrinfo failed code 8: hostname nor servname provided, or not = known > $ telnet 127.0.0.1 22 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 >=20 > the used C-code is attached below; what I'm doing wrong in the code? >=20 > Thanks >=20 > matthias >=20 > /* IPv6 client code using getaddrinfo */ >=20 > #include > #include > #include > #include > #include > #include > #include >=20 >=20 > main(argc, argv) /* client side */ > int argc; > char *argv[]; > { >=20 > struct addrinfo req, *ans; > int code, s, n; > char buf[1024]; >=20 > memset(&req, 0, sizeof(req)); > req.ai_flags =3D AI_ADDRCONFIG|AI_NUMERICHOST; > req.ai_family =3D AF_INET6; /* Same as AF_INET6. */ > req.ai_socktype =3D SOCK_STREAM; >=20 > /* */ > /* Use default protocol (in this case tcp) */ > /* */ >=20 > req.ai_protocol =3D 0; >=20 > printf("host: %s\n", argv[1]); > if ((code =3D getaddrinfo(argv[1], "ssh", &req, &ans)) !=3D 0) { > fprintf(stderr, "ssh: getaddrinfo failed code %d: %s\n", = code, gai_strerror(code)); > exit(1); > } > =20 > =20 > /* */ > /* ans must contain at least one addrinfo, use */ > /* the first. */ > /* */=20 > =09 > s =3D socket(ans->ai_family, ans->ai_socktype, = ans->ai_protocol); > if (s < 0) { > perror("ssh: socket"); > exit(3); > } >=20 > /* Connect does the bind for us */ > =09 > if (connect(s, ans->ai_addr, ans->ai_addrlen) < 0) { > perror("ssh: connect"); > exit(5); > } >=20 > n =3D read(s, buf, 1024); > printf ("read: %s", buf); > =09 > /* */ > /* Free answers after use */ > /* */=20 > freeaddrinfo(ans); >=20 > exit(0); > } >=20 > =20 I won't claim to be an expert on this, but I have used getaddrinfo = successfully in servers. The only thing I see that might be an issue is = the use of zero for ai_protocol. The comment in the man page implies = that value is for servers and not clients. I suspect you have to set = the specific protocol you want. You haven't included AI_PASSIVE so I = suspect its expecting you to use the address to contact a server. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 22:31:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1D981065672 for ; Thu, 12 Jul 2012 22:31:39 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 96DAC8FC14 for ; Thu, 12 Jul 2012 22:31:39 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SpRv2-0004Xk-7y for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:31:32 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SpRv1-0007CW-Qw for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:31:32 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6CMVVfs063615 for ; Thu, 12 Jul 2012 23:31:31 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6CMVVmn063613 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:31:31 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Thu, 12 Jul 2012 23:31:31 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 22:31:40 -0000 While updating my port (math/slatec) to use the new OPTIONS framework, I did some experiments with the profiling library. I don't know much about this, so what surprised me is that the profiling library is smaller: # ls -al lib*a -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a -rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a # while it adds .mcount symbol to each object file: # nm libslatec.a > nm # nm libslatec_p.a > nmp # wc nm nmp 16436 36675 373033 nm 17885 39573 413605 nmp 34321 76248 786638 total # grep -c mcount nmp 1449 # expr 16436 + 1449 17885 # Using diff I can confirm that the only difference between the 2 libs is the .mcount symbol for each object file in the profiling library. So how can the profiling library be smaller? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 22:52:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01CB5106566B for ; Thu, 12 Jul 2012 22:52:26 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A976E8FC16 for ; Thu, 12 Jul 2012 22:52:25 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SpSF9-0001gj-9B for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:52:19 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SpSF8-0007RD-S1 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:52:19 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6CMqIOR069030 for ; Thu, 12 Jul 2012 23:52:18 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6CMqIb8069029 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 23:52:18 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Thu, 12 Jul 2012 23:52:18 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120712225218.GA69013@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 22:52:26 -0000 On Thu, Jul 12, 2012 at 11:31:31PM +0100, Anton Shterenlikht wrote: > While updating my port (math/slatec) to use > the new OPTIONS framework, I did some > experiments with the profiling library. > > I don't know much about this, so what surprised me > is that the profiling library is smaller: > > # ls -al lib*a > -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a > -rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a > # > > while it adds .mcount symbol to each object file: > > # nm libslatec.a > nm > # nm libslatec_p.a > nmp > # wc nm nmp > 16436 36675 373033 nm > 17885 39573 413605 nmp > 34321 76248 786638 total > # grep -c mcount nmp > 1449 > # expr 16436 + 1449 > 17885 > # > > Using diff I can confirm that the only difference > between the 2 libs is the .mcount symbol for > each object file in the profiling library. > > So how can the profiling library be smaller? > Also, the library compiled on amd64 has lots more symbols than if compiled on ia64. For example: amd64: zbesy.o: 0000000000000000 r .LC0 0000000000000008 r .LC1 0000000000000010 r .LC11 0000000000000020 r .LC12 0000000000000028 r .LC13 0000000000000030 r .LC14 0000000000000010 r .LC2 0000000000000018 r .LC5 0000000000000000 r .LC6 U cos U d1mach_ U exp U i1mach_ U sin U zbesh_ 0000000000000000 T zbesy_ and ia64: zbesy.o: U cos U d1mach_ U exp U i1mach_ U sin U zbesh_ 0000000000000000 T zbesy_ Why the difference? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 02:00:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BED561065673 for ; Fri, 13 Jul 2012 02:00:49 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 75AB48FC0A for ; Fri, 13 Jul 2012 02:00:49 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6D21oTp045911 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 21:01:50 -0500 (CDT) Date: Thu, 12 Jul 2012 21:01:50 -0500 (CDT) From: Robert Bonomi Message-Id: <201207130201.q6D21oTp045911@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <80BE761E-42B1-4111-ACEC-0C31E43D105D@lafn.org> Subject: Re: IPv6 && getaddrinfo(3C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 02:00:49 -0000 > From: Doug Hardie > Date: Thu, 12 Jul 2012 14:21:38 -0700 > Subject: Re: IPv6 && getaddrinfo(3C) > > On 12 July 2012, at 07:24, Matthias Apitz wrote: > > > Hello, > > > > I'm playing around with IPv6 code on a FreeBSD 9 system and can't get > > getaddrinfo(3C) to do what it should do as stated in its man page: > > accept an IPv6 and IPv4 IP addr, it only works with the IPv6 form: > > > > $ ./a.out ::1 > > host: ::1 read: SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 > > $ ./a.out 127.0.0.1 > > host: 127.0.0.1 ssh: getaddrinfo failed code 8: hostname nor servname > > provided, or not known > > $ telnet 127.0.0.1 22 > > Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. > > SSH-2.0-OpenSSH_5.6p1 FreeBSD-20101111 > > > > the used C-code is attached below; what I'm doing wrong in the code? > > > > Thanks > > > > matthias > > > > /* IPv6 client code using getaddrinfo */ > > > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > > > > > main(argc, argv) /* client side */ > > int argc; char *argv[]; > > { > > > > struct addrinfo req, *ans; int code, s, n; char buf[1024]; > > > > memset(&req, 0, sizeof(req)); > > req.ai_flags = AI_ADDRCONFIG|AI_NUMERICHOST; > > req.ai_family = AF_INET6; /* Same as AF_INET6. */ Isn't the setting of 'req.ai_family', above, going to guarantee that something that "looks like" an IPv4 address will not be considered valid? After all, what *POSSIBLE* _IPv6_info_ is there about an IPv4 address? Per the manpage example, try PF_UNSPEC. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 02:11:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D431106566C for ; Fri, 13 Jul 2012 02:11:24 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id ECA468FC0A for ; Fri, 13 Jul 2012 02:11:23 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6D2CWAU046010 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 21:12:32 -0500 (CDT) Date: Thu, 12 Jul 2012 21:12:32 -0500 (CDT) From: Robert Bonomi Message-Id: <201207130212.q6D2CWAU046010@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 02:11:24 -0000 > From owner-freebsd-questions@freebsd.org Thu Jul 12 17:34:12 2012 > Date: Thu, 12 Jul 2012 23:31:31 +0100 > From: Anton Shterenlikht > To: freebsd-questions@freebsd.org > Subject: profiling library smaller than non-profiling, > while it contains more symbols. Why? > > While updating my port (math/slatec) to use > the new OPTIONS framework, I did some > experiments with the profiling library. > > I don't know much about this, so what surprised me > is that the profiling library is smaller: > > # ls -al lib*a > -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a > -rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a > # It it possible that libslatac.a has debggingn symbols, and the profiling library does not? Or that the profiling library was compiled with a lower degree of optimization ? (many of the 'higher'-level optimizations cause _larger_, albeit faster, code to be generated) Any other differences in compilation flags? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 02:24:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76CEA106566B for ; Fri, 13 Jul 2012 02:24:24 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 18ABB8FC1A for ; Fri, 13 Jul 2012 02:24:23 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6D2PWvE046140 for freebsd-questions@freebsd.org; Thu, 12 Jul 2012 21:25:32 -0500 (CDT) Date: Thu, 12 Jul 2012 21:25:32 -0500 (CDT) From: Robert Bonomi Message-Id: <201207130225.q6D2PWvE046140@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120712225218.GA69013@mech-cluster241.men.bris.ac.uk> Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 02:24:24 -0000 > Date: Thu, 12 Jul 2012 23:52:18 +0100 > From: Anton Shterenlikht > Subject: Re: profiling library smaller than non-profiling, > while it contains more symbols. Why? > > Also, the library compiled on amd64 has lots more > symbols than if compiled on ia64. This is _not_ unexpected with different processor architectures, and thus different instruction sets. Speculation: the values lfor the .LC* variables look like bit-masks -- it may be that ia64 has opcodes that allow immediate operannds, obviating the need for a 'data' consntat in memory. "Something" in the source causes different processor-specific code to be generated -- one processor uses 'data' constants, the other doesn't. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 09:16:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24863106566B for ; Fri, 13 Jul 2012 09:16:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 702048FC17 for ; Fri, 13 Jul 2012 09:16:05 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6D9FjWe023521; Fri, 13 Jul 2012 11:15:45 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6D9FjTF023518; Fri, 13 Jul 2012 11:15:45 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 13 Jul 2012 11:15:45 +0200 (CEST) From: Wojciech Puchar To: Anton Shterenlikht In-Reply-To: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 13 Jul 2012 11:15:45 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 09:16:06 -0000 > -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a > -rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a > # > profile library or -fpic library? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 09:46:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E26381065670 for ; Fri, 13 Jul 2012 09:46:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 73FF98FC0C for ; Fri, 13 Jul 2012 09:46:07 +0000 (UTC) Received: from [89.204.130.223] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SpcRq-0007sC-0q for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 11:46:06 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6D9k6UN001306 for ; Fri, 13 Jul 2012 11:46:07 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6D9k6LF001305 for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 11:46:06 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 13 Jul 2012 11:46:05 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120713094604.GA1282@tiny.Sisis.de> References: <80BE761E-42B1-4111-ACEC-0C31E43D105D@lafn.org> <201207130201.q6D21oTp045911@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201207130201.q6D21oTp045911@mail.r-bonomi.com> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.223 Subject: Re: IPv6 && getaddrinfo(3C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 09:46:08 -0000 El día Thursday, July 12, 2012 a las 09:01:50PM -0500, Robert Bonomi escribió: > > > req.ai_flags = AI_ADDRCONFIG|AI_NUMERICHOST; > > > req.ai_family = AF_INET6; /* Same as AF_INET6. */ > > Isn't the setting of 'req.ai_family', above, going to guarantee that > something that "looks like" an IPv4 address will not be considered valid? > > After all, what *POSSIBLE* _IPv6_info_ is there about an IPv4 address? > > Per the manpage example, try PF_UNSPEC. With PF_UNSPEC it works fine now, thanks for the hint; I'm attaching the code for the client and as well one for a server creating LISTEN on IPv6 and IPv4 at the same time and handling the connections on both ports; HIH matthias /* IPv6 client code using getaddrinfo */ #include #include #include #include #include #include #include main(int argc, char **argv) { struct addrinfo req, *ans; int code, s, n; char buf[1024]; memset(&req, 0, sizeof(req)); req.ai_flags = 0; /* may be restricted to AI_ADDRCONFIG|AI_NUMERICHOST|... */ /* req.ai_family = AF_INET6; /* validates only AF_INET6 */ /* req.ai_family = AF_INET; /* validates only AF_INET, i.e. IPv4 */ req.ai_family = PF_UNSPEC; /* validates IPv4 and IPv6. */ req.ai_socktype = SOCK_STREAM; /* Use protocol TCP */ req.ai_protocol = IPPROTO_TCP; /* 0: any, IPPROTO_UDP: UDP */ printf("host: %s\n", argv[1]); if ((code = getaddrinfo(argv[1], "ssh", &req, &ans)) != 0) { fprintf(stderr, "ssh: getaddrinfo failed code %d: %s\n", code, gai_strerror(code)); exit(1); } /* 'ans' must contain at least one addrinfo, use the first */ s = socket(ans->ai_family, ans->ai_socktype, ans->ai_protocol); if (s < 0) { perror("ssh: socket"); exit(3); } /* Connect does the bind for us */ if (connect(s, ans->ai_addr, ans->ai_addrlen) < 0) { perror("ssh: connect"); exit(5); } /* just for test: read in SSH' good morning message */ n = read(s, buf, 1024); printf ("read: %s", buf); /* Free answers after use */ freeaddrinfo(ans); exit(0); } /* IPv6 server code using getaddrinfo */ #include #include #include #include #include #include #include #include #include #include #include void doit() { printf("child forked end ended\n"); } main(int argc, char **argv) { struct sockaddr_in6 from; struct addrinfo req, *ans, *ans2; int code, sockFd1, sockFd2, len; /* Set ai_flags to AI_PASSIVE to indicate that return addres s is suitable for bind() */ memset(&req, 0, sizeof(req)); req.ai_flags = AI_PASSIVE; req.ai_family = PF_UNSPEC; /* IPv6+IPv4: PF_UNSPEC, IPv4: PF_INET */ req.ai_socktype = SOCK_STREAM; req.ai_protocol = IPPROTO_TCP; #define SLNP "3025" if ((code = getaddrinfo(NULL, SLNP, &req, &ans)) != 0) { fprintf(stderr, "SLNP (%s): getaddrinfo failed code %d: %s\n", SLNP, code, gai_strerror(code)); exit(1); } /* 'ans' must contain at least one addrinfo and we use the first. */ /* it seems(!) that 1st one is the IPv6 when we use PF_UNSPEC */ if( (sockFd1 = socket(ans->ai_family, ans->ai_socktype, ans->ai_protocol)) < 0) { perror("socket"); exit(-1); } if (bind(sockFd1, ans->ai_addr, ans->ai_addrlen) < 0) { perror("bind"); close(sockFd1); exit(-1); } /* create the 1st LISTEN */ printf("1st (IPv6) LISTEN...\n"); listen(sockFd1, 5); /* if there is a 2nd addrinfo provided by getaddrinfo(3C) and we will create 2nd socket... */ ans2 = NULL; if( ans->ai_next != NULL ) ans2 = ans->ai_next; sockFd2 = -1; /* set to -1 to be used as this in poll, see below */ if( ans2 != NULL ) { if( (sockFd2 = socket(ans2->ai_family, ans2->ai_socktype, ans2->ai_protocol)) < 0) { perror("socket"); exit(-1); } if (bind(sockFd2, ans2->ai_addr, ans2->ai_addrlen) < 0) { perror("bind"); close(sockFd2); exit(-1); } printf("2nd (IPv4) LISTEN...\n"); listen(sockFd2, 5); } for (;;) { int newsockFd, len = sizeof(from), readyFd, polled; struct pollfd fds[2]; /* we poll both fds for events and accept the one which is ready */ fds[0].fd = sockFd1; fds[0].events = POLLIN | POLLPRI; fds[0].revents = 0; fds[1].fd = sockFd2; /* will not be poll'ed if -1 */ fds[1].events = POLLIN | POLLPRI; fds[1].revents = 0; polled = poll(fds, 2, INFTIM); printf("poll fds ready: (IPv6) %d (IPv4) %d\n", fds[0].revents, fds[1].revents); /* this is rather dirty, because both fds could be ready and this would always prefer the 2nd fd */ if( fds[0].revents ) readyFd = fds[0].fd; if( fds[1].revents ) readyFd = fds[1].fd; newsockFd = accept(readyFd, (struct sockaddr *)&from, &len); if (newsockFd < 0) { perror("accept"); exit(-1); } if (fork() == 0) { close(readyFd); (void) doit(newsockFd, &from); exit(0); } close(newsockFd); } /* Free answers after use */ freeaddrinfo(ans); exit(0); } -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 09:58:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5672106566B for ; Fri, 13 Jul 2012 09:58:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6F88FC0C for ; Fri, 13 Jul 2012 09:58:29 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6D9wOU2023700; Fri, 13 Jul 2012 11:58:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6D9wOEm023697; Fri, 13 Jul 2012 11:58:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 13 Jul 2012 11:58:24 +0200 (CEST) From: Wojciech Puchar To: Kaya Saman In-Reply-To: <4FFF3386.1060109@gmail.com> Message-ID: References: <20120712191306.GA24943@neutralgood.org> <4FFF3386.1060109@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 13 Jul 2012 11:58:25 +0200 (CEST) Cc: freebsd-questions , kpneal@pobox.com Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 09:58:30 -0000 > We handle a lot of highly sensitive information and that's the need for the > severe lock-down. Even the web-proxy is restricted to the sites accessible > meaning that we need to request access if we need to go somewhere not > governed by that proxy. this make sense. just blocking everything except 80 is pure nonsense. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 10:16:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED050106564A for ; Fri, 13 Jul 2012 10:16:18 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 83A598FC08 for ; Fri, 13 Jul 2012 10:16:18 +0000 (UTC) Received: by yenl8 with SMTP id l8so3904915yen.13 for ; Fri, 13 Jul 2012 03:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=qYEQVg7pGbtEdRHP+7jv6bjTTgiz9/lSv6pjsaGTUb4=; b=HebaSpcYs+XoR0c70QQ9y7bp0UrBP2n7P8z7/3zWAvK+nZw+1F2eqACWs6isKF62ss urJeQJCwyk9T2SWrbxwP0q5wm+IltC+mmoCdaRiYKU9Wcj14F93B23OXIR1stLnQdZ/o bgsVirGc54dl22+GzVwzDw9K0uwu4MfeEFgrg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=qYEQVg7pGbtEdRHP+7jv6bjTTgiz9/lSv6pjsaGTUb4=; b=YxNE3oSl3TtYDfCWkzlTmTKuLCE5icoeUCHbbFRE0bfHUCsX6RJf4PS4eh9kg8z/lj qozFT7SbraaqiCBVQYvi+NwBepBs5N44PvrEFuyriFW4IUNY89aiw9OLq8ErjvrTeSYN INi3nhLSERzaIuuDWGV0PRf5TMv6l8AU3U8UPAv0zJJnzLzhBgx4CazfDYMnjRW45qrP j4sIo90BzQJLhlgN/Ju/P37lDzunzJdkXqBarD69q7bk5GWxsUt1ZcbusvTRCyJI8jl2 vzWd6RQtldTbYxyZyyVhQHrjWry05v1sa1EGxNT11hOiyjIHCuzwC1/KPXDE09hHogaO BTkA== Received: by 10.236.185.198 with SMTP id u46mr503700yhm.33.1342174577853; Fri, 13 Jul 2012 03:16:17 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id b8sm6948881anm.4.2012.07.13.03.16.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jul 2012 03:16:17 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WYVKW0L39z2CG4F for ; Fri, 13 Jul 2012 06:16:15 -0400 (EDT) Date: Fri, 13 Jul 2012 06:16:14 -0400 From: Jerry To: FreeBSD Message-ID: <20120713061614.4fb43bd3@scorpio> In-Reply-To: References: <20120712191306.GA24943@neutralgood.org> <4FFF3386.1060109@gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmfLMxpPpSYhtDYpamL7GKZAM1kj/7gh2VxbEOP0rVSgwW9DyRJ62XWRfb+yp+xKhos5o0Z Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 10:16:19 -0000 On Fri, 13 Jul 2012 11:58:24 +0200 (CEST) Wojciech Puchar articulated: > > We handle a lot of highly sensitive information and that's the need > > for the severe lock-down. Even the web-proxy is restricted to the > > sites accessible meaning that we need to request access if we need > > to go somewhere not governed by that proxy. > this make sense. > > just blocking everything except 80 is pure nonsense. Not if that is specifically what the OP is attempting to accomplish. Whether or not you feel it is nonsense is about as relative to the problem as tits on a bull. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 11:08:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEF591065673 for ; Fri, 13 Jul 2012 11:08:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7509F8FC16 for ; Fri, 13 Jul 2012 11:08:35 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Spdje-00052w-Oz; Fri, 13 Jul 2012 12:08:34 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Spdjd-00071a-Rx; Fri, 13 Jul 2012 12:08:34 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6DB8XlW084649; Fri, 13 Jul 2012 12:08:33 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6DB8WFD084648; Fri, 13 Jul 2012 12:08:32 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 13 Jul 2012 12:08:32 +0100 From: Anton Shterenlikht To: Robert Bonomi Message-ID: <20120713110832.GA84618@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Robert Bonomi , freebsd-questions@freebsd.org References: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> <201207130212.q6D2CWAU046010@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201207130212.q6D2CWAU046010@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 11:08:35 -0000 On Thu, Jul 12, 2012 at 09:12:32PM -0500, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Jul 12 17:34:12 2012 > > Date: Thu, 12 Jul 2012 23:31:31 +0100 > > From: Anton Shterenlikht > > To: freebsd-questions@freebsd.org > > Subject: profiling library smaller than non-profiling, > > while it contains more symbols. Why? > > > > While updating my port (math/slatec) to use > > the new OPTIONS framework, I did some > > experiments with the profiling library. > > > > I don't know much about this, so what surprised me > > is that the profiling library is smaller: > > > > # ls -al lib*a > > -rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a > > -rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a > > # > > It it possible that libslatac.a has debggingn symbols, and the profiling > library does not? > > Or that the profiling library was compiled with a lower degree of > optimization ? (many of the 'higher'-level optimizations cause > _larger_, albeit faster, code to be generated) > > Any other differences in compilation flags? No, the compilation is very straightforward for this library: ===> Building for slatec-4.1 Warning: Object directory not changed from original /usr/ports/math/slatec/work/src gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -c aaaaaa.f *skip ~1400 other files* gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -c zwrsk.f building static slatec library /usr/local/bin/ranlib libslatec.a gfortran46 -pg -O -Wl,-rpath=/usr/local/lib/gcc46 -o aaaaaa.po -c aaaaaa.f *skip ~1400 other files* gfortran46 -pg -O -Wl,-rpath=/usr/local/lib/gcc46 -o zwrsk.po -c zwrsk.f building profiled slatec library /usr/local/bin/ranlib libslatec_p.a gfortran46 -fpic -DPIC -O -Wl,-rpath=/usr/local/lib/gcc46 -o aaaaaa.So -c aaaaaa.f *skip ~1400 other files* gfortran46 -fpic -DPIC -O -Wl,-rpath=/usr/local/lib/gcc46 -o zwrsk.So -c zwrsk.f building shared library libslatec.so.1 # That's all there is. As I mentioned in the original email, the only difference, according to nm(1), between the non-profiling and the profiling library, is that the profiling library contains symbol .mcount (or _mcount, depending on the arch) for each object file. All other symbols are identical. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 11:09:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 042C21065780 for ; Fri, 13 Jul 2012 11:09:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A76208FC0A for ; Fri, 13 Jul 2012 11:09:36 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Spdkd-00058d-Qx; Fri, 13 Jul 2012 12:09:35 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Spdkd-0000vR-My; Fri, 13 Jul 2012 12:09:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6DB9ZFV084658; Fri, 13 Jul 2012 12:09:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6DB9Zm2084657; Fri, 13 Jul 2012 12:09:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 13 Jul 2012 12:09:35 +0100 From: Anton Shterenlikht To: Wojciech Puchar Message-ID: <20120713110935.GB84618@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Wojciech Puchar , Anton Shterenlikht , freebsd-questions@freebsd.org References: <20120712223130.GA58047@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: profiling library smaller than non-profiling, while it contains more symbols. Why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 11:09:37 -0000 On Fri, Jul 13, 2012 at 11:15:45AM +0200, Wojciech Puchar wrote: > >-rw-r--r-- 1 root wheel 6582354 Jul 12 22:56 libslatec.a > >-rw-r--r-- 1 root wheel 6555122 Jul 12 23:02 libslatec_p.a > ># > > > > profile library or -fpic library? I think profile: ===> Building for slatec-4.1 Warning: Object directory not changed from original /usr/ports/math/slatec/work/src gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -c aaaaaa.f *skip ~1400 other files* gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -c zwrsk.f building static slatec library /usr/local/bin/ranlib libslatec.a gfortran46 -pg -O -Wl,-rpath=/usr/local/lib/gcc46 -o aaaaaa.po -c aaaaaa.f *skip ~1400 other files* gfortran46 -pg -O -Wl,-rpath=/usr/local/lib/gcc46 -o zwrsk.po -c zwrsk.f building profiled slatec library /usr/local/bin/ranlib libslatec_p.a gfortran46 -fpic -DPIC -O -Wl,-rpath=/usr/local/lib/gcc46 -o aaaaaa.So -c aaaaaa.f *skip ~1400 other files* gfortran46 -fpic -DPIC -O -Wl,-rpath=/usr/local/lib/gcc46 -o zwrsk.So -c zwrsk.f building shared library libslatec.so.1 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 11:32:50 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54AF0106564A for ; Fri, 13 Jul 2012 11:32:50 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id DDA9E8FC12 for ; Fri, 13 Jul 2012 11:32:49 +0000 (UTC) Received: from vhoffman-macbooklocal.local (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q6DBWm6l026371 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 13 Jul 2012 12:32:48 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <50000760.5060904@unsane.co.uk> Date: Fri, 13 Jul 2012 12:32:48 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: "FreeBSD-Questions@freebsd.org" X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: anyone here use poudriere ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 11:32:50 -0000 I've been playing with poudriere and pkg as per http://fossil.etoilebsd.net/poudriere/doc/trunk/doc/pkgng_repos.wiki in the hope that it will be an easier way to maintain a custom internal package repository for work not I'va managed to get a few FreeBSD boxes into service there. I'm liking it lots more than the traditional package build but I am having some problems working out how to set custom build options for ports. Does anyone else use poudriere for this and if so how do they handle this. Thanks, Vince From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 13:10:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AFA4106566B for ; Fri, 13 Jul 2012 13:10:51 +0000 (UTC) (envelope-from ronnyma@volatile.no) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF6388FC1B for ; Fri, 13 Jul 2012 13:10:50 +0000 (UTC) Received: by vcbf1 with SMTP id f1so2690519vcb.13 for ; Fri, 13 Jul 2012 06:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=volatile.no; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=LzxvUBAyGdNwT0iC7ytOsDVtVL+gvuB/16JIxG10FxI=; b=3OY7wObO2mb+xjEnPEbUQR4ffqVIcGamTniaO0zlO0LxpNBU1mYyN9n/afnvYb+HMg yf5e6FWbQMca6l1qRymAeuwNvQvjBSC01bs61xn/BcEELzgS2TsKPsbAMs2qE5ZSs908 by2CW0YExd6MhTU1783mftZKEAgwLcmTwlLRA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=LzxvUBAyGdNwT0iC7ytOsDVtVL+gvuB/16JIxG10FxI=; b=KslDok9xwqQvNPhPohsEqPntX+WwNiHJZzdMdD5pkzgNBUH/t8/RFvjfCTHjJPO913 BTFCMfEPv95q8gQ46ukYE4Vh9HaWCRihZlj0ydqEkv4Lf1Qqv/Lw3l1eAhsIsRaUZiUe /aPJdpZV15gjexzXQW+qmH6sQiL2A1G2Q3Ri7gcoutQ/JOqqYTuA30yTFWU/1AtS9OLI hxKEIvEnq5sC6SrVU/n2YPfvG90u2wgF9ztjZtTC77hU8+RRNQIZIcxaL2hW9C8sEMR0 NiQwr5voikeCEKY2t/ClMPlXrS/RyO2fnQ2fRnQDaXscayxHRpJcmrRkMWkhIgJQyCLj UfPA== MIME-Version: 1.0 Received: by 10.52.75.194 with SMTP id e2mr507163vdw.27.1342185050241; Fri, 13 Jul 2012 06:10:50 -0700 (PDT) Received: by 10.220.18.210 with HTTP; Fri, 13 Jul 2012 06:10:50 -0700 (PDT) Date: Fri, 13 Jul 2012 15:10:50 +0200 Message-ID: From: Ronny Mandal To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn1JR6FcijqGXUwjhUgSlliGxivUJdOYgcvV1peKmxDn97+Bnokzg2C/d4xmVwOrNTLvt7E Subject: 9.0 w/ACPI enabled, excluding NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 13:10:51 -0000 Hi, I am running a small personal file server. To ensure constant network access, had to disable the ACPI, hence no power saving at all. The CPU gets very warm as everything (presumably) is running at full throttle. Is there any way to disable the ACPI partially, i.e. allow spin-down for disks etc, but keep the NICs running? Hope that this question was understandable. Thanks. Regards, Ronny Mandal From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 13:33:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C118A106567A for ; Fri, 13 Jul 2012 13:33:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE278FC12 for ; Fri, 13 Jul 2012 13:33:40 +0000 (UTC) Received: from [89.204.130.223] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Spg02-0007qV-RQ for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 15:33:39 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6DDXaqh001869 for ; Fri, 13 Jul 2012 15:33:37 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6DDXadX001868 for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 15:33:36 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 13 Jul 2012 15:33:35 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120713133335.GA1843@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.223 Subject: syntax check of mail addr (RFC 3696) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 13:33:40 -0000 Hello, Do we have anything in the portswhich could do a strong syntax check of mail addrs as described in RFC 3696 (...)? Thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 13:52:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9D0D106564A for ; Fri, 13 Jul 2012 13:52:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8FF8FC16 for ; Fri, 13 Jul 2012 13:52:16 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6DDq39R024595; Fri, 13 Jul 2012 15:52:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6DDq3pS024592; Fri, 13 Jul 2012 15:52:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 13 Jul 2012 15:52:03 +0200 (CEST) From: Wojciech Puchar To: Ronny Mandal In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 13 Jul 2012 15:52:05 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: 9.0 w/ACPI enabled, excluding NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 13:52:17 -0000 > I am running a small personal file server. To ensure constant network > access, had to disable the ACPI, hence no power saving at all. The CPU why you "had to" disable ACPI. i never ever seen network problems with ACPI. basically it works, or it doesn't at all. > gets very warm as everything (presumably) is running at full throttle. > Is there any way to disable the ACPI partially, i.e. allow spin-down > for disks etc, but keep the NICs running? This is IMHO not about FreeBSD support of ACPI but possible BIOS settings that turn on some kind of hibernation. > > Hope that this question was understandable. Thanks. > > > Regards, > > Ronny Mandal > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 14:02:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1EDB1065784 for ; Fri, 13 Jul 2012 14:02:37 +0000 (UTC) (envelope-from me@che78-3-82-246-30-233.fbx.proxad.net) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9108FC08 for ; Fri, 13 Jul 2012 14:02:34 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp4-g21.free.fr (Postfix) with ESMTP id B2A314C8032 for ; Fri, 13 Jul 2012 16:02:29 +0200 (CEST) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id 7197528468; Fri, 13 Jul 2012 16:02:28 +0200 (CEST) Date: Fri, 13 Jul 2012 16:02:28 +0200 From: Harald Weis To: freebsd-questions@freebsd.org Message-ID: <20120713140228.GA6144@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120629131327.GA7237@pollux.local.net> <20120629215459.bf2cb6f9.freebsd@edvax.de> <20120701103203.GA2153@pollux.local.net> <20120704203421.GA20650@pollux.local.net> <20120704232744.5dd08e33@gumby.homeunix.com> <20120706155537.GB5515@pollux.local.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120706155537.GB5515@pollux.local.net> User-Agent: Mutt/1.4.2.3i Subject: Re: video buffer location X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 14:02:37 -0000 On Fri, Jul 06, 2012 at 05:55:37PM +0200, Harald Weis wrote: > On Wed, Jul 04, 2012 at 11:27:44PM +0100, RW wrote: > > On Wed, 4 Jul 2012 22:34:21 +0200 > > > Actually Opera already has a setting: "Enable plug-ins only on > > demand" (under preferences->advanced->content). It disables all > > plugins by default and you can click on an individual placeholder to > > enable a plug-in for a specific object, so you can watch a flash > > movie or turn on a flash navigation menu without having to turn-on any > > flash adverts on the same page. > > Trying it out on www.spiegel.de. > > But I cannot find the "individual placeholder". Where is it ? > > -- > Harald Weis > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Alright, I just found it. On my system the placeholders are here: Tools -> Advanced -> Plug-ins Thanks again, Harald From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 14:51:49 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FAAB1065677 for ; Fri, 13 Jul 2012 14:51:49 +0000 (UTC) (envelope-from david+dated+1342623098.665e12@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id D7CB18FC08 for ; Fri, 13 Jul 2012 14:51:48 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.4/8.14.4) with ESMTP id q6DEpdIf056539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Jul 2012 10:51:40 -0400 (EDT) (envelope-from david+dated+1342623098.665e12@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.4/8.14.4/Submit) id q6DEpcVr056527 for questions@freebsd.org; Fri, 13 Jul 2012 10:51:38 -0400 (EDT) (envelope-from david+dated+1342623098.665e12@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1342623098.665e12@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Fri, 13 Jul 2012 10:51:38 -0400 Date: Fri, 13 Jul 2012 10:51:37 -0400 To: questions@freebsd.org Message-ID: <20120713145137.GA53674@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning Cc: Subject: mod_rewrite problem with tilde X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 14:51:49 -0000 I am migrating to a new server location which right now has no domain name, so the ip address is being used. The ISP gives an address for the apache directory like so; http://184.154.230.2/~smartst2/ A simple redirect works, such as this one which directs to another site; Options +FollowSymLinks rewriteEngine on rewriteRule ^test\.html$ http://www.somesite.com/index.php [R=301,L] but a redirect within the site does not work. I wonder if it has to do with the tilde ~ character that the ISP has configured. I presently have the following .htaccess; RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^[^/]*\.php$ / RewriteRule ^[^/]*\.html$ index.php Which does not work. If anyone is aware of problems using mod_rewrite with the ~ character or could contribute any pointers as to how I could gain more information on - for instance -where- mod_rewrite is -attempting- to redirect (considering my above .htaccess. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 15:04:21 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6F8F106566B for ; Fri, 13 Jul 2012 15:04:21 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id AAC998FC08 for ; Fri, 13 Jul 2012 15:04:21 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 87E62FAA2CCB; Fri, 13 Jul 2012 17:04:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 3888B2CEC75; Fri, 13 Jul 2012 17:04:19 +0200 (CEST) Date: Fri, 13 Jul 2012 17:04:18 +0200 From: Patrick Lamaiziere To: Vincent Hoffman Message-ID: <20120713170418.64c53304@davenulle.org> In-Reply-To: <50000760.5060904@unsane.co.uk> References: <50000760.5060904@unsane.co.uk> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: anyone here use poudriere ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 15:04:22 -0000 Le Fri, 13 Jul 2012 12:32:48 +0100, Vincent Hoffman a écrit : > I've been playing with poudriere and pkg as per > http://fossil.etoilebsd.net/poudriere/doc/trunk/doc/pkgng_repos.wiki > in the hope that it will be an easier way to maintain a custom > internal package repository for work not I'va managed to get a few > FreeBSD boxes into service there. > > I'm liking it lots more than the traditional package build but I am > having some problems working out how to set custom build options for > ports. Does anyone else use poudriere for this and if so how do they > handle this. You can copy options into your jail (see man poudriere). But I agree there is a lack of an interactive mode into poudriere. When I install a new port, I don't know which options are available and I would like to choose them once time. Regards. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 15:33:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEFD6106566B for ; Fri, 13 Jul 2012 15:33:16 +0000 (UTC) (envelope-from ronnyma@volatile.no) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 45CB88FC1F for ; Fri, 13 Jul 2012 15:33:16 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3448144bkc.13 for ; Fri, 13 Jul 2012 08:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=volatile.no; s=google; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=AolvMUU+FZeOoWuKbc2pVf8vBzyTuc8zoOZt76ZCASM=; b=XnEYtGzJxSIX7pZwvCRJuCizzbERSVXg0G2PIcQwdhPr4U/j+XlHb0hsKdZwVNV7xm UkyUIlz5U4WrmM5ASWFGWlUrgEP7UC9F3+myCEas3kxbJsivcluFRXUbNbuLG5m3djvq fGQvVMQi2uBwstB2u3wqVXzNEIt0+r1zADz/c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=AolvMUU+FZeOoWuKbc2pVf8vBzyTuc8zoOZt76ZCASM=; b=mcASPZyvSncCcqZU93sZmkKwa2pxsONIJURP+jws8Roz/5+buZdBN/9ITv5F8Y8PUj xer/tpOxRjTJUBs8DA3/g0fIcv2rONnPDxIjAMG8Yu82qTDlauTqxV6Fsvf5ptC3R8Oe J5fCfjW/IRS7SEEsmRIvAkku8FlT7PlvcKY0AnuDfLVaeFpcjoC+NhqhJwU1s/VWVlBv b3/qrN/MZF+k3LXK56wQoLAhJODQUXgjpyo1UEYAwh/qJAzBpx0H2w2p6V0MfPvyVhTb TcnpfXx6KyLBCyiiRD4787RYzKoHRvKR3+xSFBxmqn38d61ygvhZrh/E1Q7OPaTlY7Kh EnuA== Received: by 10.152.132.233 with SMTP id ox9mr1846211lab.25.1342193595220; Fri, 13 Jul 2012 08:33:15 -0700 (PDT) Received: from [192.168.1.217] (231.113.45.31.customer.cdi.no. [31.45.113.231]) by mx.google.com with ESMTPS id j5sm1842406lbg.1.2012.07.13.08.33.13 (version=SSLv3 cipher=OTHER); Fri, 13 Jul 2012 08:33:14 -0700 (PDT) Message-ID: <50003FBB.4010907@volatile.no> Date: Fri, 13 Jul 2012 17:33:15 +0200 From: Ronny Mandal User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkbVomteAzDqOlr95vzSfUeuUB0+RLd5C2AXlQIqIjB0zhnvepgSQemBcfL3jiD3OiCvgxF Subject: Re: 9.0 w/ACPI enabled, excluding NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 15:33:16 -0000 On 13.07.2012 15:52, Wojciech Puchar wrote: >> I am running a small personal file server. To ensure constant network >> access, had to disable the ACPI, hence no power saving at all. The CPU > > why you "had to" disable ACPI. i never ever seen network problems with > ACPI. basically it works, or it doesn't at all. > When the server is idle with ACPI enabled, it did not respond to ping after a short period. With ACPI disabled, this was alleviated. So, basically, it will stop working after a while. My guess is that ACPI will shut down the power for the NIC. But that is only a guess. Furthermore, when ACPI is disabled, no network problem arises. This suggests, at least to me, that ACPI is somehow involved. >> gets very warm as everything (presumably) is running at full throttle. >> Is there any way to disable the ACPI partially, i.e. allow spin-down >> for disks etc, but keep the NICs running? > > This is IMHO not about FreeBSD support of ACPI but possible BIOS > settings that turn on some kind of hibernation. Each and every power saving function in the BIOS is disabled. Nevertheless, I believe that a selective ACPI configuration should resolve this issue, >> >> Hope that this question was understandable. Thanks. >> >> >> Regards, >> >> Ronny Mandal >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 15:36:03 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02C0D106567E for ; Fri, 13 Jul 2012 15:36:03 +0000 (UTC) (envelope-from crtb@cape.com) Received: from pop.cape.com (pop.cape.com [209.213.66.10]) by mx1.freebsd.org (Postfix) with ESMTP id CA28A8FC16 for ; Fri, 13 Jul 2012 15:36:02 +0000 (UTC) Received: from webmail.cape.com (pop.cape.com [127.0.0.1]) by pop.cape.com (Postfix) with ESMTP id DAF6E1890F17; Fri, 13 Jul 2012 11:27:45 -0400 (EDT) Received: from 209.213.65.17 (SquirrelMail authenticated user crtb) by webmail.cape.com with HTTP; Fri, 13 Jul 2012 11:27:45 -0400 (EDT) Message-ID: <16909.209.213.65.17.1342193265.squirrel@webmail.cape.com> Date: Fri, 13 Jul 2012 11:27:45 -0400 (EDT) From: "Chuck Bacon" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: crtb@cape.com Subject: Jabber mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 15:36:03 -0000 FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 MoBo M7A475-TC-(?) 5% jabber. Successful boot until RE0 (ethernet) hits switch, then jabber. UnPlugging,Replugging, then boot continues. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 16:00:12 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14E57106564A for ; Fri, 13 Jul 2012 16:00:11 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 82D408FC14 for ; Fri, 13 Jul 2012 16:00:11 +0000 (UTC) Received: from vincemacbook.unsane.co.uk (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q6DG09u6058868 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 13 Jul 2012 17:00:09 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <50004609.4030705@unsane.co.uk> Date: Fri, 13 Jul 2012 17:00:09 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Patrick Lamaiziere References: <50000760.5060904@unsane.co.uk> <20120713170418.64c53304@davenulle.org> In-Reply-To: <20120713170418.64c53304@davenulle.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: "FreeBSD-Questions@freebsd.org" Subject: Re: anyone here use poudriere ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 16:00:12 -0000 On 13/07/2012 16:04, Patrick Lamaiziere wrote: > Le Fri, 13 Jul 2012 12:32:48 +0100, > Vincent Hoffman a écrit : > >> I've been playing with poudriere and pkg as per >> http://fossil.etoilebsd.net/poudriere/doc/trunk/doc/pkgng_repos.wiki >> in the hope that it will be an easier way to maintain a custom >> internal package repository for work not I'va managed to get a few >> FreeBSD boxes into service there. >> >> I'm liking it lots more than the traditional package build but I am >> having some problems working out how to set custom build options for >> ports. Does anyone else use poudriere for this and if so how do they >> handle this. > You can copy options into your jail (see man poudriere). > > But I agree there is a lack of an interactive mode into poudriere. When > I install a new port, I don't know which options are available and I > would like to choose them once time. /FACEPALM I could swear I read the man page properly, obviously not. Thank you Vince > Regards. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 16:46:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BF70106564A for ; Fri, 13 Jul 2012 16:46:11 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 288928FC21 for ; Fri, 13 Jul 2012 16:46:11 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1017220wgb.31 for ; Fri, 13 Jul 2012 09:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6S5sGdlh0t1LeyjQK5Agwe7HNvtoRCkCpDXIyKRlvbI=; b=ycAOClJJtdMLs/NoWQ+JI4b6thr4UY3Pl63tG+a5L9wejJlQxVrB7mvheW2b7OtZq+ io+/dkDrECgI53XjCyug51BaZNBZ+N5Fz3CCnTpemDa16jWOyDp0DiiSdpWi/KHBAnjs QmMo4/9A468sltWkdDyu94ueyi1Q4t8lqdq1zoWiwMtXT/voWa0tEfV3/PXnbL9A8QhG PuSyoNv8Iz8jv8g1IJ73Sly5L004+J/RkVNwXee8fY2eVE+4XZiJaBsul1amlZswf4LN v53gHAB9I53LH8Ugm9ZCjiyXzG3SmUN3LC46qmGdoON0lv9lPu7IbFCLshns8urFyTGg XhbA== MIME-Version: 1.0 Received: by 10.216.231.208 with SMTP id l58mr905237weq.138.1342197970215; Fri, 13 Jul 2012 09:46:10 -0700 (PDT) Received: by 10.216.133.141 with HTTP; Fri, 13 Jul 2012 09:46:10 -0700 (PDT) Received: by 10.216.133.141 with HTTP; Fri, 13 Jul 2012 09:46:10 -0700 (PDT) In-Reply-To: <50003FBB.4010907@volatile.no> References: <50003FBB.4010907@volatile.no> Date: Fri, 13 Jul 2012 09:46:10 -0700 Message-ID: From: Waitman Gobble To: Ronny Mandal Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 9.0 w/ACPI enabled, excluding NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 16:46:11 -0000 On Jul 13, 2012 8:34 AM, "Ronny Mandal" wrote: > > On 13.07.2012 15:52, Wojciech Puchar wrote: >>> >>> I am running a small personal file server. To ensure constant network >>> access, had to disable the ACPI, hence no power saving at all. The CPU >> >> >> why you "had to" disable ACPI. i never ever seen network problems with ACPI. basically it works, or it doesn't at all. >> > When the server is idle with ACPI enabled, it did not respond to ping after a short period. With ACPI disabled, this was alleviated. So, basically, it will stop working after a while. My guess is that ACPI will shut down the power for the NIC. But that is only a guess. Furthermore, when ACPI is disabled, no network problem arises. This suggests, at least to me, that ACPI is somehow involved. > > >>> gets very warm as everything (presumably) is running at full throttle. >>> Is there any way to disable the ACPI partially, i.e. allow spin-down >>> for disks etc, but keep the NICs running? >> >> >> This is IMHO not about FreeBSD support of ACPI but possible BIOS settings that turn on some kind of hibernation. > > Each and every power saving function in the BIOS is disabled. Nevertheless, I believe that a selective ACPI configuration should resolve this issue, > > > >>> >>> Hope that this question was understandable. Thanks. >>> >>> >>> Regards, >>> >>> Ronny Mandal >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" >>> > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" A =ABband-aid=BB type fix could be to ping gw (once) using cron 0-59/5 or something.... Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 18:42:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 470811065670 for ; Fri, 13 Jul 2012 18:42:37 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 00A7B8FC1A for ; Fri, 13 Jul 2012 18:42:37 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Spkoz-0008SY-BM for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 20:42:33 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 20:42:33 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 20:42:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Fri, 13 Jul 2012 18:42:18 +0000 (UTC) Lines: 55 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 18:42:37 -0000 Kaya Saman gmail.com> writes: > > Hi, > > I am trying to introduce FreeBSD into my office and it's been looked > at with quite a bit of enthusiasm however, what makes it look bad is > our companies 'security' policy to block FTP. > > At present they are running a whole bunch of CentOS based boxes and > VM's which of course can be run through port 80 when using YUM. > > How does one get round this issue as my superiors are telling me that > opening up FTP is a security risk and therefor don't want to proceed? > > I would like to use ports specifically and not the pkg_add tool to get > software. > > Can anyone sugget anything? > > Regards, > > Kaya Hi, > ... > We simply have it [ed: FTP] banned on a Juniper firewall. So http is being > proxied by a web appliance but that's it... nothing else. > ... > Yep. It's up to your proxy server whether it's going to handle FTP or only > HTTP (and/or HTTPS). > ... > We have an 'appliance' based proxy and as company policy FTP should be > restricted, ie. not active on this as it's a security risk. Regardless of whether your corporate proxy can not handle FTP by its limited capability or by company's policy, there is a solution called "proxy chaining". http://www.freeproxy.ru/en/free_proxy/faq/index.htm How to bypass corporate proxy? What is HTTP proxy server? ... HTTP Proxy Chaining What is proxy chaining (proxy to proxy)? FTP through a proxy server: problems and solutions jb From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 18:48:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A2791065670 for ; Fri, 13 Jul 2012 18:48:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 70C908FC19 for ; Fri, 13 Jul 2012 18:48:24 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6DImIp7037823; Fri, 13 Jul 2012 20:48:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6DImIAJ037820; Fri, 13 Jul 2012 20:48:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 13 Jul 2012 20:48:18 +0200 (CEST) From: Wojciech Puchar To: jb In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Fri, 13 Jul 2012 20:48:19 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 18:48:25 -0000 > http://www.freeproxy.ru/en/free_proxy/faq/index.htm > > How to bypass corporate proxy? go away from corporation. A side effect is saving your mental health on the long run. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 19:18:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED2CE106564A for ; Fri, 13 Jul 2012 19:18:18 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.101]) by mx1.freebsd.org (Postfix) with ESMTP id A8CDD8FC0A for ; Fri, 13 Jul 2012 19:18:18 +0000 (UTC) Received: from [78.35.148.244] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SplIi-0003UI-6J; Fri, 13 Jul 2012 21:13:16 +0200 Date: Fri, 13 Jul 2012 21:12:50 +0200 From: Fabian Keil To: David Banning Message-ID: <20120713211250.0021cb76@fabiankeil.de> In-Reply-To: <20120713145137.GA53674@skytracker.ca> References: <20120713145137.GA53674@skytracker.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/7tQ2uWLB3ngbRdbydgwJsVm"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-questions@freebsd.org Subject: Re: mod_rewrite problem with tilde X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 19:18:19 -0000 --Sig_/7tQ2uWLB3ngbRdbydgwJsVm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable David Banning wrote: > I am migrating to a new server location which right now > has no domain name, so the ip address is being used. > The ISP gives an address for the apache directory like so; >=20 > http://184.154.230.2/~smartst2/ >=20 > A simple redirect works, such as this one which directs to another > site; >=20 > Options +FollowSymLinks > rewriteEngine on > rewriteRule ^test\.html$ http://www.somesite.com/index.php [R=3D301,L] > > but a redirect within the site does not work. I wonder if it has to=20 > do with the tilde ~ character that the ISP has configured. >=20 > I presently have the following .htaccess; >=20 > RewriteEngine on > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-l > RewriteRule ^[^/]*\.php$ / > RewriteRule ^[^/]*\.html$ index.php >=20 > Which does not work. If anyone is aware of problems using=20 > mod_rewrite with the ~ character or could contribute any pointers > as to how I could gain more information on - for instance -where- > mod_rewrite is -attempting- to redirect (considering my above=20 > .htaccess.=20 If you access your server with "curl -v" it will show you were the response redirects to (if you get a redirect at all). Checking the Apache logs would be another option, but it may require fiddling with the log levels first. Without knowing the URL you use for testing it's hard to tell where the problem is, but my guess is that you are matching against a text that contains one or more slashes which your patterns don't allow. Fabian --Sig_/7tQ2uWLB3ngbRdbydgwJsVm Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAAc0sACgkQBYqIVf93VJ3SgACfWUPBaVkgBGDy2I2CmHQkYivT WBIAn1NYHtUO4g5Lc4DrVMIsp+cP9yim =Axy9 -----END PGP SIGNATURE----- --Sig_/7tQ2uWLB3ngbRdbydgwJsVm-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 20:05:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFE4D106566C for ; Fri, 13 Jul 2012 20:05:33 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 86A138FC08 for ; Fri, 13 Jul 2012 20:05:33 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Spm7I-0008Ue-Cs for freebsd-questions@freebsd.org; Fri, 13 Jul 2012 22:05:32 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 22:05:32 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 22:05:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Fri, 13 Jul 2012 20:05:22 +0000 (UTC) Lines: 23 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1) Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 20:05:33 -0000 Wojciech Puchar wojtek.tensor.gdynia.pl> writes: > > > http://www.freeproxy.ru/en/free_proxy/faq/index.htm > > > > How to bypass corporate proxy? > > go away from corporation. A side effect is saving your mental health on > the long run. Well, judging by > "I am trying to introduce FreeBSD into my office ..." and this work environment description > "We handle a lot of highly sensitive information and that's the need for > the severe lock-down. Even the web-proxy is restricted to the sites > accessible meaning that we need to request access if we need to go > somewhere not governed by that proxy." there is no chance for fooling around or trying to bypass policy, in particular if you are not in charge. She has to play by the rules, if she is the person holding the hat in her hands. Period. jb From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 20:58:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61635106566C for ; Fri, 13 Jul 2012 20:58:34 +0000 (UTC) (envelope-from emmakhaze@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5A2C8FC0C for ; Fri, 13 Jul 2012 20:58:33 +0000 (UTC) Received: by lbon10 with SMTP id n10so6495193lbo.13 for ; Fri, 13 Jul 2012 13:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=b7uAWZomx8zRATZDYf/8NkV0AQL/09KWGVtN1fmhsWw=; b=AMgcG/ADYEFH1E1ErjvfofX1EnPuXuWPiOXfP4H0OYoFtEqoSXkg82tvMG5xv2XD80 nlf78aHnsajUnVp708yIJ7CqyzYpbEdd2Sy1GdUGZU0O0FMOWf5C++4FRYB/x2Vm6l0s JlPxMeZRUJE3k23gDXJD40akQeLea/W8wTwPlOXWhZgo4XQnCp5T7R2QSFhK6zNPCAJQ srSXO1f6ajtggABQFa6sM1DBRJUPaXZWlRMgOCgvIYfo4voKWHrGUjzJeQn5iAM4IJZe dMa/UO4wxqYm5NagaUGN1qwfZ7trYpk/KngV5BGSt37u2bUg+grYLrDih0mBF15mdexw tLAw== Received: by 10.152.106.233 with SMTP id gx9mr2782900lab.48.1342213112789; Fri, 13 Jul 2012 13:58:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.44.166 with HTTP; Fri, 13 Jul 2012 13:57:52 -0700 (PDT) In-Reply-To: References: From: Emma Haze Date: Sat, 14 Jul 2012 04:57:52 +0800 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Broken link on your website X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 20:58:34 -0000 Hi! I just wanted to follow up with you regarding the email I had sent you about the broken link I found on your website. Please let me know if you had the chance to look at both the broken link and my suggested replacement. It would be great if my resource was used. Please let me know what you think! Best Regards, Emma On Tue, Jun 26, 2012 at 4:21 AM, Emma Haze wrote: > Hi! > > Wanted to touch base real quick and see if you have had already looked > into my suggested resource and decide if it's a good replacement for the > broken link on your page? > > Let me know what you think! > > Emma > > > > On Sun, May 6, 2012 at 1:37 AM, Emma Haze wrote: > >> Hi There, >> >> Sorry, I'm not sure whether I've already contacted you about this, so I >> apologize if I'm notifying you a second time. But I had noticed that you >> have a broken link on your page at cybershade.us/freebsd/www/securitylinking to >> http://www.shmoo.com/securecode/, so I wanted to inform you in case you >> are not aware of this. And if you are still updating your website, I've >> included a similar resource on Secure Programming that you can replace the >> broken link with if you are interested. Thanks for maintaining a great site! >> >> Link: http://www.onlineitdegree.net/resources/secure-programming/ >> >> Best Regards, >> Emma >> >> >> >> >> >> > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 01:43:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7EA4106564A for ; Sat, 14 Jul 2012 01:43:43 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBEE8FC0A for ; Sat, 14 Jul 2012 01:43:43 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q6E1iphx061729; Fri, 13 Jul 2012 20:44:51 -0500 (CDT) Date: Fri, 13 Jul 2012 20:44:51 -0500 (CDT) From: Robert Bonomi Message-Id: <201207140144.q6E1iphx061729@mail.r-bonomi.com> To: emmakhaze@gmail.com, freebsd-questions@freebsd.org In-Reply-To: Cc: Subject: Re: Broken link on your website X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 01:43:44 -0000 > From owner-freebsd-questions@freebsd.org Fri Jul 13 16:00:15 2012 > From: Emma Haze > Date: Sat, 14 Jul 2012 04:57:52 +0800 > To: freebsd-questions@freebsd.org > Subject: Re: Broken link on your website > > Hi! > > I just wanted to follow up with you regarding the email I had sent you > about the broken link I found on your website. Please let me know if you > had the chance to look at both the broken link and my suggested > replacement. It would be great if my resource was used. People looked. A *permanent* decisionwas made _NOT_ to use anything from your phoney diploma-mill website. > Please let me know what you think! We think you are an imbecilic spammer who couldn't catch a clue even if you doused yourself in clue musk, and did the clue-mating dance in the middle of a field full of randy clues, at the height of the clue-rutting season. How could _anyone_ possibly come to that conclusion, you ask? Hint #1: *NOBODY* at the address you have repeatedly spammed has anything to do with the site you found. Hint #2: What you found was a _copy_ -- a sadly out-of-date (four years or so) one -- of the official website. Hint #3: The _official_ website removed that broken link *YEARS* ago. Hint #4: Under no circumstances would the official site consider using anything fom someone who is incapable of figuring out the _correct_ contact address for the webmaster, and bombards a user-support mailing-list instead. Hint #5: There is no way that the *unmaintained* 'copy' site would ever use your 'resource'. If they were ever to update things, they would simply pull a newer copy of the official website. Which eliminates the out-of-date link. Now, *PLEASE* stop bombarding the innocent users of the support mailing-list with your ignorant, ill-informed, impossible-of-fullfilment nonsense. Continued spamming off the mailing-list might well result in numerous people deciding to forward all their junk email to you, as 'thanks' for wasting their time. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 07:25:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00E6E106566C for ; Sat, 14 Jul 2012 07:25:42 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp1.insight.synacor.com [208.47.185.23]) by mx1.freebsd.org (Postfix) with ESMTP id B7A598FC16 for ; Sat, 14 Jul 2012 07:25:41 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=XWowQdyIMfqru62OumTfvD3piWpxoHs/l9J/gJiSyR0= c=1 sm=0 a=jLN7EqiLvroA:10 a=pGLkceISAAAA:8 a=9eU-Wpb2yEqwyH-K0bgA:9 a=MSl-tDqOz04A:10 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:57463] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 5B/ED-09693-EEE11005; Sat, 14 Jul 2012 03:25:35 -0400 Date: Sat, 14 Jul 2012 03:25:34 -0400 Message-ID: <5B.ED.09693.EEE11005@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Cc: Robert Bonomi Subject: Re: Broken link on your website X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 07:25:42 -0000 Snippet from Robert Bonomi regarding spam from Emma Haze : > Now, *PLEASE* stop bombarding the innocent users of the support mailing-list > with your ignorant, ill-informed, impossible-of-fullfilment nonsense. > Continued spamming off the mailing-list might well result in numerous people > deciding to forward all their junk email to you, as 'thanks' for wasting their > time. One problem with this is that spammers typically use phony email addresses: either somebody else's or a nonexistent email address. Tom From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 08:09:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24B76106566B for ; Sat, 14 Jul 2012 08:09:09 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (cruwe.de [188.40.164.98]) by mx1.freebsd.org (Postfix) with ESMTP id C9A7E8FC12 for ; Sat, 14 Jul 2012 08:09:08 +0000 (UTC) Received: from cruwe.de (unknown [127.0.0.4]) by cruwe.de (Postfix) with ESMTP id 5430BDF12 for ; Sat, 14 Jul 2012 08:00:11 +0000 (UTC) Received: by cruwe.de (Postfix, from userid 65534) id 392EEDF11; Sat, 14 Jul 2012 08:00:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.cruwe.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 Received: from dijkstra.cruwe.de (p5B37B00C.dip.t-dialin.net [91.55.176.12]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by cruwe.de (Postfix) with ESMTPSA id 33305DF0D for ; Sat, 14 Jul 2012 08:00:09 +0000 (UTC) Date: Sat, 14 Jul 2012 09:59:55 +0200 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20120714095955.5b3b9f21@dijkstra.cruwe.de> In-Reply-To: <50000760.5060904@unsane.co.uk> References: <50000760.5060904@unsane.co.uk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/2.=70CJdfPAiKe3FpEM4ZBM"; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV on mail.cruwe.de using ClamSMTP Subject: Re: anyone here use poudriere ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 08:09:09 -0000 --Sig_/2.=70CJdfPAiKe3FpEM4ZBM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 13 Jul 2012 12:32:48 +0100 Vincent Hoffman wrote: > I've been playing with poudriere and pkg as per > http://fossil.etoilebsd.net/poudriere/doc/trunk/doc/pkgng_repos.wiki > in the hope that it will be an easier way to maintain a custom > internal package repository for work not I'va managed to get a few > FreeBSD boxes into service there. >=20 > I'm liking it lots more than the traditional package build but I am > having some problems working out how to set custom build options for > ports. Does anyone else use poudriere for this and if so how do they > handle this. >=20 >=20 > Thanks, > Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I use a combination of PORTSDIR, DISTDIR and PORT_DBDIR in make.conf to set the actual ports tree to poudiriere. Have a look at man ports. You can then use the make config-recursive target to set the configuration in advance. Using portmaster should also work then. Cheers --=20 Christopher TZ: GMT + 2h --Sig_/2.=70CJdfPAiKe3FpEM4ZBM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQAScCAAoJEJTIKW/o3iwUP7cP/005evJEAvorh1p7uHDQXNSv QuXP9QtiMkidsfGfWQHvFNGNGAhi+iMHnkRVDIyQzlv9ST9fgcojvp6ECprYooE8 Qu2haP/LyFiUa6K/maVPvryHVp79rdx8oxPkI4iRtkAPlgpn/35UYxfm8FqoCefv 4pPM4OwQ06FFnSRD6uqm9zdpCcXcPtQ/deFGSvbHTLFUi9j7npzQho+GXGvCMC7m FziIkJN9THLCpSO+ytHwbqYrAGWjj5VF1YoZRqxBNKtTIiJ3xILdUwjd7grOrc5J InAvqBCan7QWT34Ta5kB76UkU1x8qeV/e20vRtDFJhOOULKuggcWoHOfjaKz0/xr 3nAQQQkxCYhgvZcvxyBCNtqDvpc//TtZG7Movd3NG0NFh0xJgfdRvPmyAPCZTyCK dddBDfFY40Dyss0qHhE82sT8JaLiBJBwFbqQ8TyFwLhnj1JN5ysGd8e1QBsj3SFZ Bsdq2P3r5CMmPVD4RRXUkby7EQXZJF+e6ijCrgnSwUz+bNpRPOdCh8ffbzu8Vvym laspHNqjxmMguU68Dtc1mkgiN9jPmyEdq7pG/snlBQk53rLwvyp3koKrP1TS52WL XZpSI+bGXxZqU4Os7CLj5WC8Ir2XYRuFft469vV/7jbQD8Vfc4QCdSfp4BWI1Nyp dlfrRbzFXTEdmay1K+LQ =mnpk -----END PGP SIGNATURE----- --Sig_/2.=70CJdfPAiKe3FpEM4ZBM-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 11:58:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61DE0106566B for ; Sat, 14 Jul 2012 11:58:38 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id BE3118FC08 for ; Sat, 14 Jul 2012 11:58:37 +0000 (UTC) Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.3]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120714115829.WLNN15330.mtaout03-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net> for ; Sat, 14 Jul 2012 12:58:29 +0100 Received: from [94.168.171.147] (helo=Mercury.universe.galaxy.lcl) by know-smtpout-1.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1Sq0zL-0002kD-Cr for freebsd-questions@freebsd.org; Sat, 14 Jul 2012 12:58:19 +0100 Received: from Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced]) by Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced%11]) with mapi; Sat, 14 Jul 2012 12:58:17 +0100 From: Graeme Dargie To: "freebsd-questions@freebsd.org" Thread-Topic: Squid issue Thread-Index: Ac1htwZeY2H7KPmMQlyuC+j+GZtnuA== Date: Sat, 14 Jul 2012 11:58:14 +0000 Message-ID: <4C0F7421AA759346AF17299922AD57EB06295C1D@Mercury.universe.galaxy.lcl> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-Cloudmark-Analysis: v=1.1 cv=GaEGOwq9FwezmTggA+b6yC6zDZF2HYaK6RN/tSqdnVA= c=1 sm=0 a=OMdUhd4NiskA:10 a=xqWC_Br6kY4A:10 a=B5F6KseQMz3GyipohHMA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Squid issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 11:58:38 -0000 Firstly I know this is a bit off topic for this list, please accept my apol= ogies in advance. I have tried asking in more relevant circles but I have h= ad no responses at all. Under pfSense I have openVPN running and Squid, the vpn has rules to route = traffic on ports 119 and 563 via the VPN connection and everything else sho= uld route via the normal WAN connection and this works as expected until I = introduced Squid to the mix, now web traffic is being routed via the VPN an= d I can see no obvious options in Squid to force it to use the WAN gateway.= If anyone has any ideas or solutions feel free to contact me off list. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 14:14:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11E14106566C for ; Sat, 14 Jul 2012 14:14:54 +0000 (UTC) (envelope-from news@sdihr.com) Received: from sg2nlvphout02.shr.prod.sin2.secureserver.net (sg2nlvphout02.shr.prod.sin2.secureserver.net [182.50.132.196]) by mx1.freebsd.org (Postfix) with SMTP id EC16C8FC12 for ; Sat, 14 Jul 2012 14:14:52 +0000 (UTC) Received: (qmail 29398 invoked from network); 14 Jul 2012 11:59:37 -0000 Received: from unknown (HELO JOBAY.home) (118.139.160.102) by sg2nlvphout02.shr.prod.sin2.secureserver.net (182.50.132.196) with ESMTP; 14 Jul 2012 11:59:12 -0000 Received: from four54-PC ([116.71.172.107]) by home with MailEnable ESMTP; Sat, 14 Jul 2012 19:14:04 +0500 Organization: Sources development International Message-ID: From: "News @sdihr" To: Date: Sat, 14 Jul 2012 18:44:59 +0500 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: July HR Recruitments X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: corporate@sdihr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 14:14:54 -0000 July Newsletter | Sources Development International (SDI) | Pakistan = Manpower Employment Promoter=20 About=A0=A0=A0=A0 Our Services=A0=A0=A0=A0 Saudi Visa=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=A0July Newsletter =A0=A0=A0 for more details visit: sdihr.com your HR partner Sources Development International-Pakistan OEP License# MPD/2650/LHR = SDIhr.com=20 is a Pakistan-based workforce providing organization which helps people = and=20 organizations to create their futures. Providing resources in the Middle = East=20 region, we fully comprehend that a highly skilled and capable workforce = is=20 critical to business performance and adds vital value to the economic = vitality=20 of the region=2E In this manner, we also help employees to reach their potential. Our = recruitment/employment=20 trainings, practicums, consultancies and internships are offered = nationwide,=20 where the skills and experiences of the people are best utilized in their = desired=20 fields and industries=2E The mission of SDIhr.com is to build an integrated workforce development = system=20 for jobseekers and employers by analyzing market needs, effectively and = efficiently=20 coordinating the delivery of resources, programs and services, and = evaluating=20 the results for accountability. We provide employers with customized = solutions=20 for their current and future workforce requirements, where our liable and = permanent=20 staffing solutions help the employers and recruiters to succeed by = matching=20 the right people with the right mixture of skills and experiences to the = business.=20 Blog UAE-Oman-Libya-Qatar-Saudi Arabia-Malaysia-Iraq-Bahrain for more = details visit:=20 sdihr.com Manpower Specialists Construction, Engineering & Design Building services Managers = Construction=20 Planners/Programmers Electrical Engineers (Design & Execution) = Environmental/Water=20 Engineers Land Surveyors Landscape Architects Mechanical Engineers = (Design=20 & Execution) Project Engineers Quantity Surveyors Structural Engineers = Skilled=20 and Semi-skilledLaborersOil & Gas Procurement Health & Safety Contract = Management=20 Procurement BankingIT & TelecomsHealthcare FMCG Financial Services = Project=20 / Program Management Data Warehousing / Business Intelligence Analysis HR = Administration=20 Organizational Development/Planning Accountants (Qualified & Part = Qualified)=20 Chief Financial Officers Management AccountantsTransportation Fleet = Managers=20 Drivers (All Categories GCC and PAK experienced) Auto Mechanics=20 for Quick information: Corporate@sdihr.com July 20th, 1433AH Ramadan Kareem Ramadan is the ninth month of the Islamic calendar. Islam uses a lunar = calendar-that=20 is, each month begins with the sighting of the new moon. Because the = lunar=20 calendar is about 11 days shorter than the solar calendar used elsewhere, = Islamic=20 holidays "move" each year. In 2012, Ramadan begins at sundown on July = 19th=2E Muslims practice sawm, Rozaa or fasting, for the entire month of Ramadan. = This=20 means that they may eat or drink nothing, including water, while the sun = shines.=20 Fasting is one of the Five Pillars (duties) of Islam. As with other = Islamic=20 duties, all able Muslims take part in sawm from about age twelve=2E SDI-Pakistan Offices business hours during the month of Holy Ramadan are = from=20 08:00 AM to 03:00 PM (+5 GMT) read more=A0=A0=20 =20 GCC Workers Website links Employers Job Seekers Saudi Visa Social Media (Facebook) Social Media (Linkedin) Contact Us Sources Development International (SDI) Lahore Region: 2nd Floor Mian Plaza, 118-G.T. Road Opposite UET Gate # 06, Lahore (54920) TEL: +92 42 36820682FAX: +92 42 36830683 email: info@sdihr.com Web: = www.sdihr.com Islamabad Region: Office # 203, Second Floor Chinab Centre, Jinnah Avenue, Blue Area, = Islamabad TEL: +92 51 2804104FAX: +92 51 2273142 email: info@sdihr.com Web: = www.sdihr.com Overseas Caller: +92 300 4567878 email: corporate@sdihr.com Web: = www.sdihr.com Unsubscribe sdihr.com|Powered by eBOOT Systems Is this email not displaying correctly/need Translation in more than 50+ = languages? Go to web version. =A0 =A0 From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 14:51:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 057791065673 for ; Sat, 14 Jul 2012 14:51:54 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D02BE8FC08 for ; Sat, 14 Jul 2012 14:51:53 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so7903957pbb.13 for ; Sat, 14 Jul 2012 07:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=avzYpG7DdmmALV0jQzBFRoGx/iI3Xj67yJSHt/xs+gA=; b=N/Lw0OUy3pxIsy6ottGtRaJKrEmVSoozF1OglxmDrdWTlzqFWFKG71ug6Hl5+U7XyG AS6ApnplAGnuXaJtmCYgoQ++HZ7EMps3ZLteYdqWS4XQVViIgt8921BkELP0YaGpDJLh aqIlhiRSQz+V1ZnOsX0Ti1bel4W4Epp5qaq/1OnB06ABQLe9c4fS7CyYQeilV5Uiby/D 3DYSz1mByYNwmY0zs1BWMp1asoYizwyLtLL4NEc2dKGvbejlpZlEUDkWDbsJpWyOP8QY PNDkkHzo44ACa18Z1fS6wPNczzI8twuX3BAqlfgrsWwHjrfpAWz/19lQUGTC7giHYnsk akgQ== Received: by 10.68.189.135 with SMTP id gi7mr12071323pbc.68.1342277512952; Sat, 14 Jul 2012 07:51:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.108.8 with HTTP; Sat, 14 Jul 2012 07:51:30 -0700 (PDT) In-Reply-To: <20120714095955.5b3b9f21@dijkstra.cruwe.de> References: <50000760.5060904@unsane.co.uk> <20120714095955.5b3b9f21@dijkstra.cruwe.de> From: n j Date: Sat, 14 Jul 2012 16:51:30 +0200 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: anyone here use poudriere ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 14:51:54 -0000 On Sat, Jul 14, 2012 at 9:59 AM, Christopher J. Ruwe wrote: > On Fri, 13 Jul 2012 12:32:48 +0100 > Vincent Hoffman wrote: > >> I've been playing with poudriere and pkg as per >> ... Btw, is there any chance poudriere (or sth like it) will one day work on UFS, not just ZFS? -- Nino From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 17:58:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9385106566C for ; Sat, 14 Jul 2012 17:58:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 282658FC0A for ; Sat, 14 Jul 2012 17:58:37 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6EHwWVf001647; Sat, 14 Jul 2012 19:58:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6EHwWFx001644; Sat, 14 Jul 2012 19:58:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 14 Jul 2012 19:58:32 +0200 (CEST) From: Wojciech Puchar To: Graeme Dargie In-Reply-To: <4C0F7421AA759346AF17299922AD57EB06295C1D@Mercury.universe.galaxy.lcl> Message-ID: References: <4C0F7421AA759346AF17299922AD57EB06295C1D@Mercury.universe.galaxy.lcl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 14 Jul 2012 19:58:32 +0200 (CEST) Cc: "freebsd-questions@freebsd.org" Subject: Re: Squid issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 17:58:38 -0000 > Firstly I know this is a bit off topic for this list, please accept my apologies in advance. I have tried asking in more relevant circles but I have had no responses at all. > > Under pfSense I have openVPN running and Squid, the vpn has rules to route traffic on ports 119 and 563 via the > VPN connection and everything else should route via the normal WAN > connection and this works as expected until I introduced Squid to the > mix, now web traffic is being routed via the VPN and I can see no obvious >options in Squid to force it to use the WAN gateway. If anyone has any > ideas or solutions feel free to contact me off list. tcpdump is your friend and check tcp_outgoing_address in squid config. it may make difference. For sure SOMETHING is wrong with your firewall rules, not in squid. i don't use pfSense (don't even know what it is), but ipfw and mpd, so i cannot help you more From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 19:23:57 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53843106564A for ; Sat, 14 Jul 2012 19:23:57 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C694C8FC0C for ; Sat, 14 Jul 2012 19:23:56 +0000 (UTC) Received: by lbon10 with SMTP id n10so7459043lbo.13 for ; Sat, 14 Jul 2012 12:23:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:x-gm-message-state; bh=EbM/6jDTZud0LKNZOQsDq0yesfg8jX2S2GH2i0p4yyU=; b=DUH/WzziisDagWZwQgpN7Hgp5Fy3z+SBWyf/Y1rTSEwI7JeNVKW5gabnPp0PIDmUQX SUFiLX+FRZHLaeR+hQvW1WBmUJTGrMU0uaFfC77lcnPGkX6kiDpWmW+ryy397swvK3MP DnMK5tH+IWiIRoxLFg3Ogh6ycJqoZE+GsHdi7nGDZbqPHWQtj8Xy2GBgmuo/dkZNiqUs F1JaLGOTCkkkob/4uyWJmBAETrS9+sr6IyLDgZvUs+l+GpgPGRmsnnGnhUCtGleXhvGT iD/LWy7WWWhyi9Ie6F6X4d2/A7rcbi/38ESCF9jOD/j+gwRjrBoXd6WFCgTGoQ5FrAMH 6Xtw== MIME-Version: 1.0 Received: by 10.152.104.47 with SMTP id gb15mr5766908lab.45.1342293835376; Sat, 14 Jul 2012 12:23:55 -0700 (PDT) Sender: gautham@lisphacker.org Received: by 10.114.24.34 with HTTP; Sat, 14 Jul 2012 12:23:55 -0700 (PDT) Date: Sat, 14 Jul 2012 20:23:55 +0100 X-Google-Sender-Auth: my8SbEE0Yj8rPqeidrep2uE8nw0 Message-ID: From: Gautham Ganapathy To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlZzWRSStTksgI1mvhO75zRV4KchopHfOrckLU1HY8l9Gf5kScKKF1fvZW9ofPElThzTie8 Cc: Subject: Support for Bigfoot Networks Killer 1103 support in ath(4) ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 19:23:57 -0000 Hi I have the Killer 1103 wireless card with a AR9380 chipset on my laptop. Will this be supported under freebsd-9-*? The freebsd wiki (http://wiki.freebsd.org/dev/ath%284%29/80211n) mentioned support for the AR9280, AR9285 and AR9287 in -HEAD. Cheers Gautham