From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 00:09: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 D1EEB106564A for ; Sun, 9 Sep 2012 00:09:55 +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 60DB68FC08 for ; Sun, 9 Sep 2012 00:09:54 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so641062wgb.31 for ; Sat, 08 Sep 2012 17:09:54 -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=AW7r07wgphdKUqIH9zZguWf/N5ofhCKy5ZlmU3c8B9E=; b=LTXD4vaa5xwEY1/1TwQZM+E0lzTuls1V8duXeSOs0ZofJI+2CRT8z+qRQ1xghTISfr NG/PgJ3EahAFjXtCpyPaWGkcL5+EnhGn5gnOCkXX1D1/0AfEr3XrQ3UGmQzrkY3ITCWC QHnZeK3ipQZC8OcIF3ff5jZ0v0jXkd7tOnrEiCisYYYlpQrr70VNqkCWMtIJYw2ULcFI Yk7Z/1jA57iI9h0WzxUfj7UOBVXzjKpzNEp16nUS2qs9bUZtozHPzse0WSEE6El8XbAR E1FaJcXs5P8PbVIRsD+RtK/yYnpCpH2jHNxHXuChNyif3bafM26o/Txy4CQYzOSCCDfe /B8w== MIME-Version: 1.0 Received: by 10.216.233.95 with SMTP id o73mr5787165weq.59.1347149394131; Sat, 08 Sep 2012 17:09:54 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Sat, 8 Sep 2012 17:09:54 -0700 (PDT) In-Reply-To: <20120908210049.1dadfde2.freebsd@edvax.de> References: <1347116905.578461.8570.23750@saddam3.rambler.ru> <20120908210049.1dadfde2.freebsd@edvax.de> Date: Sat, 8 Sep 2012 17:09:54 -0700 Message-ID: From: Waitman Gobble To: =?KOI8-R?B?ydfBziDL1drOxcPP1w==?= , freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ports 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, 09 Sep 2012 00:09:55 -0000 On Sat, Sep 8, 2012 at 12:00 PM, Polytropon wrote: > On Sat, 8 Sep 2012 19:08:25 +0400, =C9=D7=C1=CE =CB=D5=DA=CE=C5=C3=CF=D7 = wrote: > > > > > > i was download 135g distfiles from russian mirror on usb hdd, > > and i have no room on laptop for this files.how to setup apps > > from it,how to build pbi files? i was read some articles but i > > cant. > > I assume it's better to ask PBI-related questions in PC-BSD's > web forum as those are not exactly "native FreeBSD things". > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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'm not sure how building PBI files is going to help with your 135G of files from Russia that won't seem to fit on your drive, however there is some pbi software in ports for you to check out.. ports-mgmt/pbi-manager sysutils/pbimaker x11-fm/pbi-thumbnailer sysutils/easypbi I've experimented a bit with the software on FreeBSD 10.0-CURRENT and PC-BSD 9 machine - but I'm not an authority on the subject ;-) ... pbi could prove to be a good way to test out stuff that needs newer glib, gtk, etc, to avoid royally dorking up your system, like for example GIMP development sources from cvs, as an alternative to building in a jail and running the display through an X 'remote' connection. Here's a wiki page i found to be a good reference. http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 03:28: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 EC470106564A for ; Sun, 9 Sep 2012 03:28:31 +0000 (UTC) (envelope-from corebug@corebug.net) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A12D8FC0A for ; Sun, 9 Sep 2012 03:28:30 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1768336vbm.13 for ; Sat, 08 Sep 2012 20:28:30 -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:content-transfer-encoding :x-gm-message-state; bh=b2WLGiCnXbRfrTvSJV204RcBipX1wdVplF8NAaTHUXc=; b=fJZ5sPaSHzC29FsprTe+8Rix/fVBB3iXsUJd5r14ToUWnIWy/xpool4y7VssrmXGSU yAZOi9+IgGsy6lNkUJ9fmZqISazbfFF56ALD/FGzHxbBOPTjgt9xn7DaW/KHGmcSdcH4 8LifP7oLCtqRGQPRfeiVKYXmbCYKk/iKpnz97pPaFz/Woi1ZHYmVGJs+kWb5Ggn+WsWv kW00jM1fyxriKL375CPJWE2AraBHyCymo8GUO/E15hvn0sUsbu7gLd8j9P1Y5NRtV3y0 i8QNqNMNpe30yabNqdky9DqgNcCsiGiY+q+HlKokIaQMnAxrP1CC1yeHYMlIkDwVL25a rmHw== Received: by 10.52.99.135 with SMTP id eq7mr10795369vdb.8.1347161310313; Sat, 08 Sep 2012 20:28:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.249.138 with HTTP; Sat, 8 Sep 2012 20:28:10 -0700 (PDT) X-Originating-IP: [176.113.162.13] In-Reply-To: References: <1347116905.578461.8570.23750@saddam3.rambler.ru> <20120908210049.1dadfde2.freebsd@edvax.de> From: =?KOI8-R?B?98nUwczJyiD01dLP18XD?= Date: Sun, 9 Sep 2012 06:28:10 +0300 Message-ID: To: Waitman Gobble Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn3aYkYHdrqL/vjb/70pf+J+11ao0peqEN0MsMGfKJd27uuGaYnCct5yqhNMBPDybvKNDrL Cc: =?KOI8-R?B?ydfBziDL1drOxcPP1w==?= , freebsd-questions@freebsd.org Subject: Re: ports 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, 09 Sep 2012 03:28:32 -0000 2012/9/9 Waitman Gobble : > On Sat, Sep 8, 2012 at 12:00 PM, Polytropon wrote: > >> On Sat, 8 Sep 2012 19:08:25 +0400, =C9=D7=C1=CE =CB=D5=DA=CE=C5=C3=CF=D7= wrote: >> > >> > >> > i was download 135g distfiles from russian mirror on usb hdd, >> > and i have no room on laptop for this files.how to setup apps >> > from it,how to build pbi files? i was read some articles but i >> > cant. >> >> I assume it's better to ask PBI-related questions in PC-BSD's >> web forum as those are not exactly "native FreeBSD things". >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> _______________________________________________ >> 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'm not sure how building PBI files is going to help with your 135G of > files from Russia that won't seem to fit on your drive, however there is > some pbi software in ports for you to check out.. > > ports-mgmt/pbi-manager > sysutils/pbimaker > x11-fm/pbi-thumbnailer > sysutils/easypbi > > > I've experimented a bit with the software on FreeBSD 10.0-CURRENT and > PC-BSD 9 machine - but I'm not an authority on the subject ;-) ... pbi > could prove to be a good way to test out stuff that needs newer glib, gtk= , > etc, to avoid royally dorking up your system, like for example GIMP > development sources from cvs, as an alternative to building in a jail and > running the display through an X 'remote' connection. > > > Here's a wiki page i found to be a good reference. > > http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide > > Waitman Gobble > San Jose California > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" Sorry for offtopic, but for Ivan to know three things: 1) building software (and/or packaging it using PBI/tbz) is WAY more complicated then just downloading distfiles from some mirror. 2) PC-BSD is BASED on but not EQUAL to FreeBSD and has it's own mailing lists which can easily be found here - http://lists.pcbsd.org/mailman/listinfo . Please do not think i'm trying to be rude or get rid of new member, but sometimes one needs to know the better way to find necessary information. 3) PC-BSD is based on FreeBSD since this deep knowledge of it basically (i suppose) should begin with FreeBSD's Handbook which carefully explains what ports are and how to use them. This page is a good start (it's in Russian ;) ) -http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ . Ports specific information can be easily found here - http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ports.html Cheers! --=20 ~~~ 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 Sun Sep 9 04:40:56 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 8B137106566C for ; Sun, 9 Sep 2012 04:40:56 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 12F698FC17 for ; Sun, 9 Sep 2012 04:40:55 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so567423wgb.1 for ; Sat, 08 Sep 2012 21:40:54 -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=TngImReOtTaX5MA7WMc2WXVf8NdGC2qV4hbOQZInTZI=; b=JIO4sdC7QuVKRBDqESeIKOaxePVpsvomoxS08QQ/PQNu1fKWukggbLgEvTYPhaZAFf OW61D7lYmOOVau1g+j1Lz1Vw7yp9ikumV/gnE3R8F6t7AYQpnubbZH6txCaJbkvhPvK5 m2w6wJhjMTmswAtZoyRKO+9dFm68n+6LEBrKXF4piVrvLCDJvQ7biFC5QqpqlNKT2Yyo GlZEnjJGCkNSnm16AS+wBgzIeuS5pYTMf/NoEWt97lgqzQ/dYkbz8oAAfhBGrLZcY25t A3K+ftVtLTyHj6TWkaxc0Agpaml3X97r3GJY5YVOrwyNUnktKfwOGZRTr40CPOyGyO+p VTwA== MIME-Version: 1.0 Received: by 10.216.233.95 with SMTP id o73mr6066496weq.59.1347165654435; Sat, 08 Sep 2012 21:40:54 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Sat, 8 Sep 2012 21:40:54 -0700 (PDT) In-Reply-To: References: <1347116905.578461.8570.23750@saddam3.rambler.ru> <20120908210049.1dadfde2.freebsd@edvax.de> Date: Sat, 8 Sep 2012 21:40:54 -0700 Message-ID: From: Waitman Gobble To: =?KOI8-R?B?98nUwczJyiD01dLP18XD?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?KOI8-R?B?ydfBziDL1drOxcPP1w==?= , freebsd-questions@freebsd.org Subject: Re: ports 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, 09 Sep 2012 04:40:56 -0000 On Sat, Sep 8, 2012 at 8:28 PM, =F7=C9=D4=C1=CC=C9=CA =F4=D5=D2=CF=D7=C5=C3= wrote: > 2012/9/9 Waitman Gobble : > > On Sat, Sep 8, 2012 at 12:00 PM, Polytropon wrote: > > > >> On Sat, 8 Sep 2012 19:08:25 +0400, =C9=D7=C1=CE =CB=D5=DA=CE=C5=C3=CF= =D7 wrote: > >> > > >> > > >> > i was download 135g distfiles from russian mirror on usb hdd, > >> > and i have no room on laptop for this files.how to setup apps > >> > from it,how to build pbi files? i was read some articles but i > >> > cant. > >> > >> I assume it's better to ask PBI-related questions in PC-BSD's > >> web forum as those are not exactly "native FreeBSD things". > >> > >> > >> -- > >> Polytropon > >> Magdeburg, Germany > >> Happy FreeBSD user since 4.0 > >> Andra moi ennepe, Mousa, ... > >> _______________________________________________ > >> 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'm not sure how building PBI files is going to help with your 135G of > > files from Russia that won't seem to fit on your drive, however there i= s > > some pbi software in ports for you to check out.. > > > > ports-mgmt/pbi-manager > > sysutils/pbimaker > > x11-fm/pbi-thumbnailer > > sysutils/easypbi > > > > > > I've experimented a bit with the software on FreeBSD 10.0-CURRENT and > > PC-BSD 9 machine - but I'm not an authority on the subject ;-) ... pbi > > could prove to be a good way to test out stuff that needs newer glib, > gtk, > > etc, to avoid royally dorking up your system, like for example GIMP > > development sources from cvs, as an alternative to building in a jail a= nd > > running the display through an X 'remote' connection. > > > > > > Here's a wiki page i found to be a good reference. > > > > http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide > > > > Waitman Gobble > > San Jose California > > _______________________________________________ > > 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 offtopic, but for Ivan to know three things: > 1) building software (and/or packaging it using PBI/tbz) is WAY more > complicated then just downloading distfiles from some mirror. > 2) PC-BSD is BASED on but not EQUAL to FreeBSD and has it's own > mailing lists which can easily be found here - > http://lists.pcbsd.org/mailman/listinfo . Please do not think i'm > trying to be rude or get rid of new member, but sometimes one needs to > know the better way to find necessary information. > > 3) PC-BSD is based on FreeBSD since this deep knowledge of it > basically (i suppose) should begin with FreeBSD's Handbook which > carefully explains what ports are and how to use them. This page is a > good start (it's in Russian ;) ) > -http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ . Ports > specific information can be easily found here - > http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ports.html > > Cheers! > > > -- > > > > > ~~~ > WBR, > Vitaliy Turovets > Systems Administrator > Corebug.Net > +38(093)265-70-55 > VITU-RIPE > X-NCC-RegID: ua.tv > I have installed PC-BSD on a netbook. I have not played around on it a whole bunch, so I'm definitely not an expert. They really did a good job with it, PC-BSD has a more compelling visual experience. For a novice computer user it's a great way to have the experience of true Unix without ending up resorting to angry language on the mailing lists. For more experienced users it seems like it would be a robust platform for such as scientific research, medical systems developers, manufacturing control, process coordination and shop floor machine operation. On my Eee Pc Netbook I had some difficulty with the X configuration tool, which must be run in order to launch the desktop. I chose to install the Xfce desktop suite of the several choices available in the selection. The prompt display was pristine, yet the X test suffered some malfunction no matter which setting I tried. When I was able to launch the desktop, the display was off kilter and extremely difficult to navigate. This obstacle was overcome by manually updating the X configuration file. There are numerous resources available online for troubleshooting these kinds of problems. The system seems to be solid, so I'd be surprised if it offers the thrill of compiling your own operating system. But there are compiling tools available so one could presumably pull the source and do a build. Building a PBI package does indeed seem to be much more involved than making a package. A package build is straightforward and takes little effort to create a Makefile in the case that your intended software does not happen to already be in the ports collection. Also, the package system offers a way to easily synchronize software updates across many machines. After a package is built and verified on one machine it can be rapidly transferred to machines in a large global cluster. I found the idea intriguing as a method of creating 'system-safe' packages of bleeding-edge development snapshots for experimentation. The PBI requires more configuration, and as I understand creates larger distribution files. However, the PBI package is designed to run self-contained. Libraries which are not part of the standard system are compacted into the PBI package, and are installed within the PBI application jail. This could lend to increased application security, since system files cannot be updated from the PBI install. A package system may have full control of the system files. Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 10:37: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 2421B106566C for ; Sun, 9 Sep 2012 10:37:14 +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 D27528FC0C for ; Sun, 9 Sep 2012 10:37:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TAet9-000759-Fu for freebsd-questions@freebsd.org; Sun, 09 Sep 2012 12:37:15 +0200 Received: from p4fc54614.dip.t-dialin.net ([79.197.70.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 12:37:15 +0200 Received: from jumper99 by p4fc54614.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 12:37:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Sun, 9 Sep 2012 10:37:03 +0000 (UTC) Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc54614.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:00000059 X-Antivirus: avast! (VPS 120909-0, 09.09.2012), Outbound message X-Antivirus-Status: Clean Subject: svn and/or portsnap 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, 09 Sep 2012 10:37:14 -0000 Hi, I'm running a custom kernel so I (guess I) need svn in future to fetch sources instead of cvsup. Should I still use portsnap then for ports or also fetch them via svn? Thanks, Helmut From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 11:06: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 AFC6C106566B for ; Sun, 9 Sep 2012 11:06:19 +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 6EDFC8FC16 for ; Sun, 9 Sep 2012 11:06:19 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id 813DA276F7; Sun, 9 Sep 2012 13:06:12 +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 q89B6BHh010217; Sun, 9 Sep 2012 13:06:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 9 Sep 2012 13:06:11 +0200 From: Polytropon To: "Helmut Schneider" Message-Id: <20120909130611.da2409e4.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-questions@freebsd.org Subject: Re: svn and/or portsnap 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, 09 Sep 2012 11:06:19 -0000 On Sun, 9 Sep 2012 10:37:03 +0000 (UTC), Helmut Schneider wrote: > Hi, > > I'm running a custom kernel so I (guess I) need svn in future to fetch > sources instead of cvsup. Should I still use portsnap then for ports or > also fetch them via svn? Ports and system sources are managed independently. You can use whatever tool you want. Note that portsnap _might_ not deliver the most current ports tree for a given point in time. For "short time deltas", CVS has often proven to be the better tool, but of course portsnap has significant advantages (e. g. faster for longer pauses between ports tree updates, better integration with "make update" target). Depending on your updating habits, choose the tool that works best for you. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 11:27:04 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 88764106564A for ; Sun, 9 Sep 2012 11:27:04 +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 406478FC0C for ; Sun, 9 Sep 2012 11:27:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TAffM-0007jp-99 for freebsd-questions@freebsd.org; Sun, 09 Sep 2012 13:27:04 +0200 Received: from p4fc54614.dip.t-dialin.net ([79.197.70.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 13:27:04 +0200 Received: from jumper99 by p4fc54614.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 13:27:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Sun, 9 Sep 2012 11:26:50 +0000 (UTC) Lines: 27 Message-ID: References: <20120909130611.da2409e4.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc54614.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000005A X-Antivirus: avast! (VPS 120909-0, 09.09.2012), Outbound message X-Antivirus-Status: Clean Subject: Re: svn and/or portsnap 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, 09 Sep 2012 11:27:04 -0000 Polytropon wrote: > On Sun, 9 Sep 2012 10:37:03 +0000 (UTC), Helmut Schneider wrote: > > Hi, > > > > I'm running a custom kernel so I (guess I) need svn in future to > > fetch sources instead of cvsup. Should I still use portsnap then > > for ports or also fetch them via svn? > > Ports and system sources are managed independently. You can > use whatever tool you want. The question should read: If I need to install svn anyway, is there an advantage of portsnap over svn to fetch ports. > Note that portsnap might not deliver the most current ports tree > for a given point in time. For "short time deltas", CVS has often > proven to be the better tool, but of course portsnap has significant > advantages (e. g. faster for longer pauses between ports > tree updates, better integration with "make update" target). > Depending on your updating habits, choose the tool that > works best for you. Currently I'm updating ports and src twice a day so I will keep using svn for both. Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 11:39:33 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 05BC9106564A for ; Sun, 9 Sep 2012 11:39: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 B979D8FC0C for ; Sun, 9 Sep 2012 11:39:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id 10904279FE for ; Sun, 9 Sep 2012 13:39:31 +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 q89BdVkw010915 for ; Sun, 9 Sep 2012 13:39:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 9 Sep 2012 13:39:31 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20120909133931.2b094d9e.freebsd@edvax.de> In-Reply-To: References: <20120909130611.da2409e4.freebsd@edvax.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 Subject: Re: svn and/or portsnap 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, 09 Sep 2012 11:39:33 -0000 On Sun, 9 Sep 2012 11:26:50 +0000 (UTC), Helmut Schneider wrote: > Polytropon wrote: > > > On Sun, 9 Sep 2012 10:37:03 +0000 (UTC), Helmut Schneider wrote: > > > Hi, > > > > > > I'm running a custom kernel so I (guess I) need svn in future to > > > fetch sources instead of cvsup. Should I still use portsnap then > > > for ports or also fetch them via svn? > > > > Ports and system sources are managed independently. You can > > use whatever tool you want. > > The question should read: If I need to install svn anyway, is there an > advantage of portsnap over svn to fetch ports. As I said, it depends. If you don't update regularly (in short time spans), portsnap might be faster than SVN (to incorporate all the deltas). If you feel comfortable with this approach, you can keep using it. I don't see a general advantage here. > > Note that portsnap might not deliver the most current ports tree > > for a given point in time. For "short time deltas", CVS has often > > proven to be the better tool, but of course portsnap has significant > > advantages (e. g. faster for longer pauses between ports > > tree updates, better integration with "make update" target). > > Depending on your updating habits, choose the tool that > > works best for you. > > Currently I'm updating ports and src twice a day so I will keep using > svn for both. Good choice, in that case you won't have any advantage using portsnap as smaller amounts of deltas are no big deal when using SVN (or traditional CVS). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 13:00: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 EF09E106566B for ; Sun, 9 Sep 2012 13:00:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id B38C08FC14 for ; Sun, 9 Sep 2012 13:00:43 +0000 (UTC) Received: by iebc12 with SMTP id c12so2036439ieb.13 for ; Sun, 09 Sep 2012 06:00:42 -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:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=PshylbP8A0VcTjjH1Fojd5+tbE/WRQ28+0FQo37CEpc=; b=dQVTE+4iadw9eBxvER2YM+tobQFyHxlmPY6uHF5uS7PYCC9vMqmdQzX+0YUISwUGSu 4/dw3mTrS8TdDxffkgTmZxvqnXX28cywU/ZzFITnZrnxuHjiZmyPhVPAchEIrpfjHrId 7G96AVKlPuzFrDa6qUuYPnG89qwm+PAJvq2R03x4dnHOhPEVzpU90AufVr1+JP1SiK3i FilvCIb6BuEmcEDOq1JDlGHm7iXArJX/0pFQJ4n+rzNkY+MpoXnou4cow0evkX5ApkaJ rsD1k3/OIN0YvDkBPTLygoN8qp3AcN0XW1UezFyReByhd343MOXgbGKkLrnnpi+06yVa 56Nw== MIME-Version: 1.0 Received: by 10.50.207.39 with SMTP id lt7mr7090464igc.39.1347195642707; Sun, 09 Sep 2012 06:00:42 -0700 (PDT) Received: by 10.64.136.11 with HTTP; Sun, 9 Sep 2012 06:00:42 -0700 (PDT) X-Originating-IP: [93.221.169.196] In-Reply-To: References: <20120909130611.da2409e4.freebsd@edvax.de> Date: Sun, 9 Sep 2012 15:00:42 +0200 Message-ID: From: "C. P. Ghost" To: Helmut Schneider Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlG/LBkvKAKJfRajNG0LPpW/lsc1Sh9bMc7N3fbKm6bYllLpSuSJvZR4+PWB1rRYTR7/VnV Cc: freebsd-questions@freebsd.org Subject: Re: svn and/or portsnap 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, 09 Sep 2012 13:00:44 -0000 On Sun, Sep 9, 2012 at 1:26 PM, Helmut Schneider wrote: > Currently I'm updating ports and src twice a day so I will keep using > svn for both. While you certainly can, isn't it a bit excessive to update so frequently? Remember, it's not just fetching the sources and ports, you must also compile world _and_ ports if you want to stay current. I highly doubt that you want to do this twice a day, even on a very fast machine. And if you don't compile twice a day, it may be better to keep sources (and ports) with the installed binaries in sync. Just in case you need to investigate security breaches or buggy programs -- then you'll be glad to have the _corresponding_ sources available instead of some sources for binaries you have not installed yet. > Thanks. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 13:22: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 1F1C4106566B for ; Sun, 9 Sep 2012 13:22:40 +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 CABA38FC0C for ; Sun, 9 Sep 2012 13:22:39 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TAhT8-00056r-2P for freebsd-questions@freebsd.org; Sun, 09 Sep 2012 15:22:34 +0200 Received: from p4fc54614.dip.t-dialin.net ([79.197.70.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 15:22:34 +0200 Received: from jumper99 by p4fc54614.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Sep 2012 15:22:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Sun, 9 Sep 2012 13:22:20 +0000 (UTC) Lines: 16 Message-ID: References: <20120909130611.da2409e4.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc54614.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000005B X-Antivirus: avast! (VPS 120909-0, 09.09.2012), Outbound message X-Antivirus-Status: Clean Subject: Re: svn and/or portsnap 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, 09 Sep 2012 13:22:40 -0000 C. P. Ghost wrote: > On Sun, Sep 9, 2012 at 1:26 PM, Helmut Schneider > wrote: > > Currently I'm updating ports and src twice a day so I will keep > > using svn for both. > > While you certainly can, isn't it a bit excessive to update so > frequently? Remember, it's not just fetching the sources and ports, > you must also compile world and ports if you want to stay current. I > highly doubt that you want to do this twice a day, even on a very > fast machine. I meant I fetch sources for src and ports twice a day. While ports helps me to track most recent changes src indeed might not require an update twice a day. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 19:43: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 53789106564A for ; Sun, 9 Sep 2012 19:43:44 +0000 (UTC) (envelope-from mrsam@courier-mta.com) Received: from www.courier-mta.com (www.courier-mta.com [216.254.115.190]) by mx1.freebsd.org (Postfix) with ESMTP id D342E8FC12 for ; Sun, 9 Sep 2012 19:43:43 +0000 (UTC) Received: from monster.email-scan.com (monster.email-scan.com [::ffff:192.168.0.2]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by www.courier-mta.com with ESMTPS; Sun, 09 Sep 2012 15:43:43 -0400 id 0000000000060198.00000000504CF16F.00007A63 Received: from monster.email-scan.com (localhost [127.0.0.1]) (IDENT: uid 1000) by monster.email-scan.com with ESMTP; Sun, 09 Sep 2012 15:43:42 -0400 id 0000000000040906.00000000504CF16E.00004C2A Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Sam Varshavchik To: freebsd-questions@freebsd.org Date: Sun, 09 Sep 2012 15:43:42 -0400 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_monster.email-scan.com-17725-1347219822-0003"; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: How to detect unconnected AF_UNIX sockets 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, 09 Sep 2012 19:43:44 -0000 This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_monster.email-scan.com-17725-1347219822-0003 Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit I'm porting existing code from Linux where a connect() to an AF_UNIX socket that exists, but does not have a listener, fails with ECONNREFUSED. This is quite agreeable with the comparable scenario in AF_INET, with a connection attempt to a port without a listener on it. So the same code handles both situations, immediately reporting an error, and without caring much about the type of the socket. But on FreeBSD, according to truss, it seems that a connect() to an AF_UNIX socket without a listener still succeeds. A subsequent write() also succeeds, and read() blocks. The fall-out is quite unfortunate, and I was hoping for a way to detect that my allegedly connected socket is lying to me, and it's not really connected to anything. How would I go about doing that? I tried using the LOCAL_CONNWAIT option as documented in unix(4), but that does not appear to make any difference, in this situation. --=_monster.email-scan.com-17725-1347219822-0003 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlBM8W4ACgkQx9p3GYHlUOIbZgCeKBKMVKMOApXOkIb2R0eY6zWM sv4An0sJM2aIYhXOgEZ30FuIuN+gMDH5 =H0nQ -----END PGP SIGNATURE----- --=_monster.email-scan.com-17725-1347219822-0003-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 00:47:45 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 CC150106564A for ; Mon, 10 Sep 2012 00:47:45 +0000 (UTC) (envelope-from kob6558@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 5C0108FC16 for ; Mon, 10 Sep 2012 00:47:45 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1190653wgb.31 for ; Sun, 09 Sep 2012 17:47:44 -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=HM6kYxL04wNZVC5jVPGUQ9zs6CAYqudy7YqswGy21gY=; b=rawPCnpEUOmWWIsC6W+chDN2mn+F3ufeZvD0ow4iVWt+rO3OIUFX7OtVLQHuoK8qW7 p3xkPEpWuj/VH+fLb4HtNWUwrQzbjwqAaAonPCxZwUn/Sm+eJewhbwMhYV70abjww7jm mBW3rkNlACrzqj8vlkakNUKV84B7opWAW9aFb1WfqtayF7Erb4w3UKXZePMNIdyT1pda SctSzk6TRvP8BLTOghQ9BgC/wUoc/V+hhMuq2SVff+j6hYkhviZ4Dd0j93HIigM1iZP4 LLfXDmzY3LbAsgesJIw11OWUGUTTvYuOjArGmfzfzI0SZ7gi1uhOC6H+gp6xrLS5R3na k6gw== MIME-Version: 1.0 Received: by 10.180.106.130 with SMTP id gu2mr13159582wib.20.1347238064167; Sun, 09 Sep 2012 17:47:44 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Sun, 9 Sep 2012 17:47:43 -0700 (PDT) Date: Sun, 9 Sep 2012 17:47:43 -0700 Message-ID: From: Kevin Oberman To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Removing UFS label from root 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, 10 Sep 2012 00:47:45 -0000 I added a label to my root fs some time ago. I really prefer the gpt label and I have added it, but I can't figure out how to remove the ufs label. I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an "unable to write superblock" error. This is before mounting the drive RW, but it is, of course, mounted RO. I tried setting the "allow foot-shooting" debug flag, but it did not help. Is my only hope to boot a live system? (I have no CD, so I guess I could try a a thumb drive.) -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 01:03:26 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 BEAB91065675 for ; Mon, 10 Sep 2012 01:03:26 +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 6F9058FC14 for ; Mon, 10 Sep 2012 01:03:26 +0000 (UTC) Received: from X220.ovitrap.com ([122.129.201.5]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q8A13N8h028497; Sun, 9 Sep 2012 19:03:24 -0600 Date: Mon, 10 Sep 2012 08:03:22 +0700 From: Erich Dollansky To: Kevin Oberman Message-ID: <20120910080322.14343605@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 01:03:26 -0000 Hi, On Sun, 9 Sep 2012 17:47:43 -0700 Kevin Oberman wrote: > I added a label to my root fs some time ago. I really prefer the gpt > label and I have added it, but I can't figure out how to remove the > ufs label. > > I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an > "unable to write superblock" error. This is before mounting the drive > RW, but it is, of course, mounted RO. I tried setting the "allow > foot-shooting" debug flag, but it did not help. > > Is my only hope to boot a live system? (I have no CD, so I guess I > could try a a thumb drive.) as media size is growing, I started to make now every backup copy bootable. Big devices get then the full FreeBSD system. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 01:48:27 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 428F2106567E for ; Mon, 10 Sep 2012 01:48: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 F283F8FC0A for ; Mon, 10 Sep 2012 01:48:26 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q8A1mQQZ059659; Sun, 9 Sep 2012 19:48: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 q8A1mQKI059656; Sun, 9 Sep 2012 19:48:26 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Sep 2012 19:48:26 -0600 (MDT) From: Warren Block To: Kevin Oberman 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]); Sun, 09 Sep 2012 19:48:26 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 01:48:27 -0000 On Sun, 9 Sep 2012, Kevin Oberman wrote: > I added a label to my root fs some time ago. I really prefer the gpt > label and I have added it, but I can't figure out how to remove the > ufs label. > > I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an > "unable to write superblock" error. This is before mounting the drive > RW, but it is, of course, mounted RO. This worked in a VM when I tested it just now. Maybe running fsck on that filesystem first will help. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 01:49:08 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 85CDC106564A for ; Mon, 10 Sep 2012 01:49:08 +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 412978FC0C for ; Mon, 10 Sep 2012 01:49:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q8A1n7Ge059665; Sun, 9 Sep 2012 19:49:07 -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 q8A1n73k059662; Sun, 9 Sep 2012 19:49:07 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Sep 2012 19:49:07 -0600 (MDT) From: Warren Block To: Kevin Oberman 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]); Sun, 09 Sep 2012 19:49:07 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 01:49:08 -0000 On Sun, 9 Sep 2012, Warren Block wrote: > On Sun, 9 Sep 2012, Kevin Oberman wrote: > >> I added a label to my root fs some time ago. I really prefer the gpt >> label and I have added it, but I can't figure out how to remove the >> ufs label. >> >> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an >> "unable to write superblock" error. This is before mounting the drive >> RW, but it is, of course, mounted RO. > > This worked in a VM when I tested it just now. Maybe running fsck on that > filesystem first will help. Alternative thought: is ada1p2 actually a UFS filesystem? From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 02:50:25 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 4958D106566C for ; Mon, 10 Sep 2012 02:50:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id CB74D8FC08 for ; Mon, 10 Sep 2012 02:50:24 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so1016092wgb.1 for ; Sun, 09 Sep 2012 19:50: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:date:message-id:subject:from:to :cc:content-type; bh=oZ/VDjReB3KffZjFHVrTJfulNKTw3UqFSCDFN0qUiy0=; b=tqfcpzaTbnTpr3+CW6rZZB60h2k1xNOj6xiCg51Qhs5S7ZdJB3i6mv0gqB+ggMChqy j7+XYCXPNbzbIkyQwSLGQnEloBtcV9ZprDbgQFJ5AC+Ri3LHgVXCDdQKB0pboH7/0AH4 buseaw7bwC8kGliV0NRHk1i3qYlcRXY5Oy/NQIBzujW9wa2EiFN1cJ8x39CurQd+vKcK GYk0bjWFgKdOU3OPERvYl3jTk/qbDQLzo8gEitx2syv2fGAbC1qxaHIi15z+04gBh/Ru D++Xl5f6HK45sOoxVw28gMM+FQaqPibk3dUDZBWPwtBKjQCaE59ZEebAvYEH007IRwGB eL5w== MIME-Version: 1.0 Received: by 10.180.96.3 with SMTP id do3mr13816554wib.5.1347245417853; Sun, 09 Sep 2012 19:50:17 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Sun, 9 Sep 2012 19:50:17 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Sep 2012 19:50:17 -0700 Message-ID: From: Kevin Oberman To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 02:50:25 -0000 On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wrote: > On Sun, 9 Sep 2012, Warren Block wrote: > >> On Sun, 9 Sep 2012, Kevin Oberman wrote: >> >>> I added a label to my root fs some time ago. I really prefer the gpt >>> label and I have added it, but I can't figure out how to remove the >>> ufs label. >>> >>> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an >>> "unable to write superblock" error. This is before mounting the drive >>> RW, but it is, of course, mounted RO. >> >> >> This worked in a VM when I tested it just now. Maybe running fsck on that >> filesystem first will help. Already tried that. I know I was able to label it originally, so it does seem like something must have changed, but I don't know what. I did use gpart to expand my /usr partition and then used growfs to expand the FS, but I did nothing to root and I was able to remove the labels on all of the other partitions. > Alternative thought: is ada1p2 actually a UFS filesystem? Well, the fact that it has a ufs label, fstab show ufs and fsck runs fsck_ufs are strong hints. 2. Name: ada1p2 Mediasize: 1073741824 (1.0G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e2 rawuuid: 43f0eafd-ba3a-11e0-b70a-f0def166a11e rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: root length: 1073741824 offset: 86016 type: freebsd-ufs index: 2 end: 2097319 start: 168 -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 03:00:22 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 3A32C106566B for ; Mon, 10 Sep 2012 03:00:22 +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 E89878FC14 for ; Mon, 10 Sep 2012 03:00:21 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q8A30LHu001253; Sun, 9 Sep 2012 21:00:21 -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 q8A30LP7001250; Sun, 9 Sep 2012 21:00:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Sep 2012 21:00:21 -0600 (MDT) From: Warren Block To: Kevin Oberman 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]); Sun, 09 Sep 2012 21:00:21 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 03:00:22 -0000 On Sun, 9 Sep 2012, Kevin Oberman wrote: > On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wrote: >> On Sun, 9 Sep 2012, Warren Block wrote: >> >>> On Sun, 9 Sep 2012, Kevin Oberman wrote: >>> >>>> I added a label to my root fs some time ago. I really prefer the gpt >>>> label and I have added it, but I can't figure out how to remove the >>>> ufs label. >>>> >>>> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an >>>> "unable to write superblock" error. This is before mounting the drive >>>> RW, but it is, of course, mounted RO. >>> >>> >>> This worked in a VM when I tested it just now. Maybe running fsck on that >>> filesystem first will help. > > Already tried that. > > I know I was able to label it originally, so it does seem like > something must have changed, but I don't know what. I did use gpart to > expand my /usr partition and then used growfs to expand the FS, but I > did nothing to root and I was able to remove the labels on all of the > other partitions. Might there be a duplicate filesystem label of "root" on ada0 or another disk? From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 03:32:33 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 8E1E1106564A for ; Mon, 10 Sep 2012 03:32:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 174CC8FC08 for ; Mon, 10 Sep 2012 03:32:32 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1185527wib.13 for ; Sun, 09 Sep 2012 20:32: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:date:message-id:subject:from:to :cc:content-type; bh=6rbqhlZSLuxDb2mKI6euTOGgIG/GiYRFaVuLVRMIeK8=; b=Mu9Nh6sKSIdXOz1pMLjTzn5E02wsHc1dQDAXTEjyiajeJLlUPqYGNM+u+Dj6GeIRUq SiFKB+dx3zUvA5PGv5SyxaYgjmC73HzihWIx9x2aWp7zbDu9A+6+E+L6D41GDsrvNNUR wGDwtfoRkZqBFGjL/bH+Nc5A8qeJePvnPZ9VOTRURWk7W1Q6TLVaK3xyMsNJUrw8ACHo yHJ5/Rhp7IRVFJUAy0UnWGBKewgVh/y8p/3UNDX2woAKJhdkYuBgw37XCxMK5v5jY1rH Bk9LXjwl4umA2NvEcPSlW3JPwg/oXmXRBkE3kKjrq5BBlsQP5h+qxS91CkZ4WqyYVqfY Rd3Q== MIME-Version: 1.0 Received: by 10.216.226.21 with SMTP id a21mr6928040weq.181.1347247952117; Sun, 09 Sep 2012 20:32:32 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Sun, 9 Sep 2012 20:32:32 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Sep 2012 20:32:32 -0700 Message-ID: From: Kevin Oberman To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: Removing UFS label from root 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, 10 Sep 2012 03:32:33 -0000 On Sun, Sep 9, 2012 at 8:00 PM, Warren Block wrote: > On Sun, 9 Sep 2012, Kevin Oberman wrote: > >> On Sun, Sep 9, 2012 at 6:49 PM, Warren Block wrote: >>> >>> On Sun, 9 Sep 2012, Warren Block wrote: >>> >>>> On Sun, 9 Sep 2012, Kevin Oberman wrote: >>>> >>>>> I added a label to my root fs some time ago. I really prefer the gpt >>>>> label and I have added it, but I can't figure out how to remove the >>>>> ufs label. >>>>> >>>>> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an >>>>> "unable to write superblock" error. This is before mounting the drive >>>>> RW, but it is, of course, mounted RO. >>>> >>>> >>>> >>>> This worked in a VM when I tested it just now. Maybe running fsck on >>>> that >>>> filesystem first will help. >> >> >> Already tried that. >> >> I know I was able to label it originally, so it does seem like >> something must have changed, but I don't know what. I did use gpart to >> expand my /usr partition and then used growfs to expand the FS, but I >> did nothing to root and I was able to remove the labels on all of the >> other partitions. > > > Might there be a duplicate filesystem label of "root" on ada0 or another > disk? No joy. I checked all ufs partitions and none are "root" except for /dev/ada1p2. All partitions on ada0 are ntfs. (It's my Windows disk.) But, thanks for trying, Warren. I appreciate it. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 09:25: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 4EC0C106567B for ; Mon, 10 Sep 2012 09:25:35 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id D96068FC1F for ; Mon, 10 Sep 2012 09:25:33 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.80,396,1344204000"; d="asc'?scan'208";a="4273769" Received: from unknown (HELO [172.26.15.24]) ([172.26.15.24]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 10 Sep 2012 11:24:23 +0200 Message-ID: <1347268974.4141.65.camel@pc437.embl.fr> From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: freebsd-questions@freebsd.org Date: Mon, 10 Sep 2012 11:22:54 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-DRf5w5/xGxVaE7qa+pzF" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Subject: Swapped memory limited to about 500MB for a process ? 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, 10 Sep 2012 09:25:35 -0000 --=-DRf5w5/xGxVaE7qa+pzF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I was impacted by a memory leak that has been fixed by this patch: http://people.freebsd.org/~rmacklem/namei-leak.patch What I noticed when the server was paging is that it seems that only about 500MB of my 4GB swap partition was used before crashing. I was wondering why it didn't take the whole 4GB up to the crash of the server because of lake of memory (that would let me more time to react). Is there such king of setting that prevent a process to put more then 500MB of data in swap ? Thanks in advance for your answers, Micka=C3=ABl Can=C3=A9vet --=-DRf5w5/xGxVaE7qa+pzF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlBNsW4ACgkQZjBmN5Hi/YbbEwCeLSsK1DTG+m84tUYu2CnHM3jr bO8AniG9F7DpMQI1AkGt7g9XOQSBzPEB =02hf -----END PGP SIGNATURE----- --=-DRf5w5/xGxVaE7qa+pzF-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 11:10: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 CFAAE10656EB for ; Mon, 10 Sep 2012 11:10:12 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.bzerk.org [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 524818FC1A for ; Mon, 10 Sep 2012 11:10:12 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.4/8.14.4) with ESMTP id q8AAxJGX039862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Sep 2012 12:59:19 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.4/8.14.4/Submit) id q8AAxI2E039861; Mon, 10 Sep 2012 12:59:18 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Mon, 10 Sep 2012 12:59:18 +0200 From: Ruben de Groot To: carlopmart Message-ID: <20120910105918.GA39171@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , carlopmart , freebsd-questions@freebsd.org References: <504B8A2B.6090007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <504B8A2B.6090007@gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-12.9 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY, BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ei.bzerk.org Cc: freebsd-questions@freebsd.org Subject: Re: Binding IP adress to opensmtpd 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, 10 Sep 2012 11:10:12 -0000 On Sat, Sep 08, 2012 at 08:10:51PM +0200, carlopmart typed: > Hi all, > > I have installed opensmtpd on my FreeBSD 8.3. All works ok, except I > can't bind smtpd to specific IP address ... In this box, I am using 3 ip > aliases, but smtpd sends all emails using the first IP. > > Is it possible to configure this?? I have tried to fix with hostname > option, without result ... You could run smtpd inside a jail(8) with that IP address. -- Ruben From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 11:48:27 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 0952A106566B for ; Mon, 10 Sep 2012 11:48:27 +0000 (UTC) (envelope-from info@improve-yourself.co.cc) Received: from improve-yourself.co.cc (improve-yourself.co.cc [64.111.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id D089B8FC0C for ; Mon, 10 Sep 2012 11:48:26 +0000 (UTC) Received: from improve-yourself.co.cc (improve-yourself.co.cc [64.111.29.210]) by improve-yourself.co.cc (Postfix) with ESMTP id F3A822522F4C for ; Mon, 10 Sep 2012 15:16:27 +0400 (MSD) To: questions@freebsd.org Message-ID: <25f8d975f5907e3c84e202d94f54f2a4@improve-yourself.co.cc> Date: Sun, 09 Sep 2012 08:45:05 +0400 From: "WODIA Training Institute" MIME-Version: 1.0 X-Mailer-LID: 2 X-Mailer-RecptId: 37481 X-Mailer-SID: 4 X-Mailer-Sent-By: 2 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Training on Improving Women's Administrative Competence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: support@thewodia.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 11:48:27 -0000 WOMEN DEVELOPMENT INTERNATIONAL ASSOCIATION (WODIA) Expanding Opportunities, Enriching Lives--- investment in Women is our goal ! THE BOAT HOUSE, 21, Ogunnusi Road, Ogba, Ikeja, Lagos. Website http://improve-yourself.co.cc/mailer/link.php?M=37481&N=4&L=1&F=T Email: invitation@thewodia.org Tel: +234 802 307 9485; +234 813 3754 358. Women are dependable Human Resources, Invest in them --- Subsidized Management Training on : "Improving Women's Administrative Competence" Aims are to provide professional management training that will improve the Administrative Competence of Women for achieving and surpassing set Targets. INVITATION to Management Training Program for Women holding in Abuja Nigeria: Topic: "IMPROVING WOMEN'S ADMINISTRATIVE COMPETENCE" Date: - September 12-13, 2012 ( Two Days) Fee: - N10, 000.00 ( Ten Thousand Naira Only) per head ( subsidized by WODIA). Venue : Harmonia Hotel , Plot 896, Gimbiya Street, Garki Area 11, Abuja, Nigeria. Time : 9.00a.m- 4.30pm Participation on First Come, First Served Basis. FEES include Tuition, Course Materials, Resource Materials, Group Photograph, Refreshments, Lunch and Certificate of Participation. PARTICIPATION: Please do not pay into the bank until you have confirmed SPACE AVAILABILITY. Kindly confirm space availability from us by calling : 0802 307 9485OR 0813 375 4358. You could also send an email to : support@thewodia.org PAYMENT : After confirmation of available spaces, payment should be made before program into any branch of Zenith Bank Account Number 1012416876 in favour of : WODIA Training Institute (WOTI). COURSE OUTLINES: •Effective Delegation and Performance Management •Time Management •Leadership and Team Building Skills •Stress and Anger Management •Effective Communication Skills that promote Productivity. WHO CAN ATTEND : Attendance open to Women and Ladies holding Administrative and Management Positions in various organizations including Public, Corporate, Religious, Educational, Voluntary and Private Establishments Program Description and Objectives: The two-day intensive Management Training Program On "IMPROVING WOMEN'S ADMINISTRATIVE COMPETENCE" will Improve the Performance Appraisal, Communication, Power Delegation, Time Management and Team Building Skills of Women for Improved Productivity, Effective and Prompt Realization of Organizational Goals. At the end of the Training Program, Participants will lean how to : -develop sound Time Management Skills that will enhance job performance without lagging behind in any assignment; -conduct Performance Appraisals for Adjustment where need be; -utilize the strength of Power Delegation to get jobs done on schedule; -motivate people to perform "above and beyond" without spending extra resources; -Improve organization’s productivity by over 100 per cent; -conduct effective self-assessment and improve on weak areas; -handle employee confrontations in a calm and professional manner without stress or uncontrolled anger; -speak up powerfully and confidently at meetings; -give crystal clear instructions that employees will understand - the first time ; -develop listening skills that will lead to conflict resolutions; and - utilize stress and anger management skills for effective Team Building and higher productivity. RESOURCE PERSONS are WODIA Training Consultants and Experts to be invited from other Top National and International Training Consultancy Agencies in relevant fields. METHODOLOGIES: include Lecture, Role Play, Case Study, Discussion, Demonstration amongst others, designed to suit the audience and make learning user friendly. TRAINING AIDS: Training Aids to be used include projector and screen, flip charts, magic boards, computers and other multi-media to facilitate learning. ACCREDITATION : WODIA is an Accredited Management Training Institution Certified by the Centre for Management Development (CMD), Nigeria. Dr. Omobosola Aderonke E., Program Director, Women Development International Association (WODIA), The Boat House, 21, Ogunnusi Road, Ogba, Ikeja, Lagos. Website : www.thewodia.org Email : invitation@thewodia.org, support@thewodia.org. Telephone : 0802 307 9485; 08133754358. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 12:41: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 3390A106566C for ; Mon, 10 Sep 2012 12:41: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 21CD98FC14 for ; Mon, 10 Sep 2012 12:41:35 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TB3J2-0000Zy-VU for freebsd-questions@freebsd.org; Mon, 10 Sep 2012 14:41:37 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Sep 2012 14:41:36 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Sep 2012 14:41:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 10 Sep 2012 12:41:19 +0000 (UTC) Lines: 47 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.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; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1) Subject: Re: How to detect unconnected AF_UNIX sockets 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, 10 Sep 2012 12:41:37 -0000 Sam Varshavchik courier-mta.com> writes: > > I'm porting existing code from Linux where a connect() to an AF_UNIX socket > that exists, but does not have a listener, fails with ECONNREFUSED. This is > quite agreeable with the comparable scenario in AF_INET, with a connection > attempt to a port without a listener on it. So the same code handles both > situations, immediately reporting an error, and without caring much about > the type of the socket. > > But on FreeBSD, according to truss, it seems that a connect() to an AF_UNIX > socket without a listener still succeeds. A subsequent write() also > succeeds, and read() blocks. > > The fall-out is quite unfortunate, and I was hoping for a way to detect that > my allegedly connected socket is lying to me, and it's not really connected > to anything. How would I go about doing that? I tried using the > LOCAL_CONNWAIT option as documented in unix(4), but that does not appear to > make any difference, in this situation. > > It seems to work here: $ uname -a ... FreeBSD 9.1-RC1 #0 ... $ ls -al /tmp/server srwxr-xr-x 1 jb wheel 0 Sep 10 14:22 /tmp/server $ ps auxww |grep -i server-af_unix $ ./client-af_unix client af_unix: connect() errno = 61 connect() failed: No such file or directory $ grep 61 /usr/include/errno.h #define ECONNREFUSED 61 /* Connection refused */ $ Client code: ... rc = connect(sd, (struct sockaddr *)&serveraddr, SUN_LEN(&serveraddr)); if (rc < 0) { printf("client af_unix: connect() errno = %d\n", errno); perror("connect() failed"); ... jb From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 12:56: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 0284D1065688 for ; Mon, 10 Sep 2012 12:56:29 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id B60258FC12 for ; Mon, 10 Sep 2012 12:56:29 +0000 (UTC) Received: by iebc12 with SMTP id c12so3783206ieb.13 for ; Mon, 10 Sep 2012 05:56: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 :content-type; bh=P+LC6xeYUh/taxBwGw4rK0ISl5d1vnynvDqcNM3PCH0=; b=lNgqlfFvIojjNe7LTITv/z/bpSgZuES/vZE873VAEvdwpYvFeSsdI8WYfNq0K7sTNv vCtUtKE55w6aD9mjzpHX7Q2OyfLXetfLG8ixXK+AEzmangik2LILXOTHwNubVPatvLhJ u/LSR6VNXqICQVzPd87XdkavfAf/8IIaJOCUXGItxpvSsF6i/+74r2y26C7v0hIGA9pl HFs5PSzUyw9OPKFFXaIYz2HFnWygmkvRvoWNC/M6bwpRQF8CqpN9+x+n9dZIp+r8jY+/ 6eyrkX6cpgxXCRMVRcb0L05uUcSze/G0KZEG5EGN05+oRSxY4NlgL/uNk5ZAQOeVF9cK scrQ== MIME-Version: 1.0 Received: by 10.50.168.105 with SMTP id zv9mr10943336igb.73.1347281789045; Mon, 10 Sep 2012 05:56:29 -0700 (PDT) Received: by 10.64.55.73 with HTTP; Mon, 10 Sep 2012 05:56:29 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Sep 2012 08:56:29 -0400 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: Re: portsnap Generating a "Bad file descriptor" Error Message 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, 10 Sep 2012 12:56:30 -0000 On Tue, Sep 4, 2012 at 10:14 AM, Pierre-Luc Drouin wrote: > Hi, > > so I have been having problems using portsnap lately. I always get a "Bad > file descriptor" message when trying using it on one of my i386 machine: > > Looking up portsnap5.freebsd.org mirrors... none found. > Fetching snapshot tag from portsnap5.freebsd.org... done. > Fetching snapshot metadata... done. > Fetching snapshot generated at Mon Sep 3 20:04:44 EDT 2012: > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949 0% of 67 MB 0 Bps > fetch: > http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: > Bad file descriptor > fetch: > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: Bad > file descriptor > > I tried fsck -y the /var, /tmp and /usr partitions and everything seems > fine. What could the problem be? > > Thanks! > Hi, Anyone has an idea about what could be causing this problem? Thank you! From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 13:13:28 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 28BE71065674 for ; Mon, 10 Sep 2012 13:13:28 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id E45988FC18 for ; Mon, 10 Sep 2012 13:13:27 +0000 (UTC) Received: by iebc12 with SMTP id c12so3829466ieb.13 for ; Mon, 10 Sep 2012 06:13:27 -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=mCbn+a42rityqaSS5N5FQNNjj54reH94dmVXN9l95g4=; b=F8hQ+CL0Fi85rtAQ1zs3pwX3c4qIn87cIUuBI2Y6SFKOAHjlvasHjXwnte/aasF6zq d84GAUmLGKAJxMq/BjVeksKTQSTU+c+rfqpl0AR51qtWX6yU/Bu2Ef1aMzNW+Uua+nDS i1lKu127B28TGUWZ9iKtSN//PkGzaIJMLb02gIfuQsBK0FZC4UFYfAtWUcTVaIpv2DZe bj3EOaV2nSvuVrdIhKPKV5u1gEcn2QJwDvhb2FWE/pNARO1GFP2E8HnlyvterPR4F/Tj 3HlfaU9f8en9BQpLrFSV8Wt/YEd6MoSwI6/zjMrs5VpzxBbv5wOTOEoKUYPr9pVUkfXX S9WQ== MIME-Version: 1.0 Received: by 10.43.97.8 with SMTP id ci8mr17337536icc.28.1347282807546; Mon, 10 Sep 2012 06:13:27 -0700 (PDT) Received: by 10.64.55.73 with HTTP; Mon, 10 Sep 2012 06:13:27 -0700 (PDT) Date: Mon, 10 Sep 2012 09:13:27 -0400 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: ftp2.ca.freebsd.org out of date? 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, 10 Sep 2012 13:13:28 -0000 Hi, it seems that the ftp2.ca.freebsd.org mirror has not been updating since August 3rd. At least this is the case for the files in ftp://ftp.freebsd.org/pub/FreeBSD/CTM/src-9 From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 13:20: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 C86EC106566B for ; Mon, 10 Sep 2012 13:20:47 +0000 (UTC) (envelope-from carlopmart@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 9DEFE8FC14 for ; Mon, 10 Sep 2012 13:20:47 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so2527128pbb.13 for ; Mon, 10 Sep 2012 06:20:47 -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=Nc4HoCmW8dPOW8lllUUaFaxqmONPzh975pfMO+NrD4E=; b=LT+1j7NnkGnx1N4yUY4GN9Y52OjvyEYmZEnyvJ6NF7wGpHIc0RZeXy/Y7whrcuB/C3 GdejGX0uHbn0Wc1i560jYLyo8SdwR+MKgmxRiATzDIDunkgdwiVkzGK65PLEssg0Wmdi 7mgQYM+flj7Oa1waz/SC4HFyiij0GHxzXviKPfYcpzpgoogkQ0IhPK9hW9leDv9ARpOs JmEM2xp7s1FKcqcUEfVkEhvEtcZLk/ZvRMG9FTRDpW3ewHIwXbP7RWyevuO7OgASUDfY 7nbL3HKaMwvTlHekVh9Yn6cerjnnCJ2XEtwvE+PILKjbAY8st9QeWI+grpmiX1/N8UdD YXjg== MIME-Version: 1.0 Received: by 10.68.242.42 with SMTP id wn10mr6036272pbc.105.1347283247446; Mon, 10 Sep 2012 06:20:47 -0700 (PDT) Received: by 10.68.41.42 with HTTP; Mon, 10 Sep 2012 06:20:47 -0700 (PDT) In-Reply-To: <20120910105918.GA39171@ei.bzerk.org> References: <504B8A2B.6090007@gmail.com> <20120910105918.GA39171@ei.bzerk.org> Date: Mon, 10 Sep 2012 13:20:47 +0000 Message-ID: From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: Binding IP adress to opensmtpd 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, 10 Sep 2012 13:20:47 -0000 On Mon, Sep 10, 2012 at 10:59 AM, Ruben de Groot wrote: > On Sat, Sep 08, 2012 at 08:10:51PM +0200, carlopmart typed: >> Hi all, >> >> I have installed opensmtpd on my FreeBSD 8.3. All works ok, except I >> can't bind smtpd to specific IP address ... In this box, I am using 3 ip >> aliases, but smtpd sends all emails using the first IP. >> >> Is it possible to configure this?? I have tried to fix with hostname >> option, without result ... > > You could run smtpd inside a jail(8) with that IP address. > > -- Yes it is an option, but too fat option ... This is a vm under ESXi with only 512 MB RAM ... From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 13: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 528EA106566B for ; Mon, 10 Sep 2012 13:43:43 +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 0E5538FC18 for ; Mon, 10 Sep 2012 13:43:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx01.qsc.de (Postfix) with ESMTP id 3D1423CD45; Mon, 10 Sep 2012 15:43:36 +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 q8ADhZ2g003091; Mon, 10 Sep 2012 15:43:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 10 Sep 2012 15:43:35 +0200 From: Polytropon To: Pierre-Luc Drouin Message-Id: <20120910154335.ebb08b66.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 Questions Subject: Re: portsnap Generating a "Bad file descriptor" Error Message 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, 10 Sep 2012 13:43:43 -0000 On Mon, 10 Sep 2012 08:56:29 -0400, Pierre-Luc Drouin wrote: > On Tue, Sep 4, 2012 at 10:14 AM, Pierre-Luc Drouin wrote: > > > Hi, > > > > so I have been having problems using portsnap lately. I always get a "Bad > > file descriptor" message when trying using it on one of my i386 machine: > > > > Looking up portsnap5.freebsd.org mirrors... none found. > > Fetching snapshot tag from portsnap5.freebsd.org... done. > > Fetching snapshot metadata... done. > > Fetching snapshot generated at Mon Sep 3 20:04:44 EDT 2012: > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949 0% of 67 MB 0 Bps > > fetch: > > http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: > > Bad file descriptor > > fetch: > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: Bad > > file descriptor > > > > I tried fsck -y the /var, /tmp and /usr partitions and everything seems > > fine. What could the problem be? > > > > Thanks! > > > > Hi, > > Anyone has an idea about what could be causing this problem? I'm not familiar enough with portsnap (I use CVS) so I can just throw some guesses around: The message "Bad file descriptor" is issued by fetch and seems to be for _your_ side of the connection, and I assume it is regarding the place where the requested file will be fetched to. I don't exactly know _where_ that is. It could be in the ports tree or in a temporary location (from where the results are then written to /usr/ports). The manpage mentions a default workdir of /var/db/portsnap which is on the /var partition. You checked that, no errors. Just check what /var/db/portsnap contains. In worst case, remove portsnap/ and recreate that directory. I have no idea what it is supposed to contain, maybe make a copy of it. You could also try to manually create the file, e. g. by issuing # touch /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz Look if the file is there. Use # stat /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz to check if everything is okay. You could also try to manually fetch the file using fetch or maybe even wget, just to see if it can be downloaded and written properly, to a different location, e. g. # cd /tmp # fetch http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz or # cd /tmp # wget http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz That should be _no_ problem (with the correct file name of course). Again, "Bad file descriptor" is often seen in relation to file system trouble. I've seen that in the past myself. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 14:19: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 DBB72106566B for ; Mon, 10 Sep 2012 14:19:11 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2B88FC12 for ; Mon, 10 Sep 2012 14:19:11 +0000 (UTC) Received: by iebc12 with SMTP id c12so4017945ieb.13 for ; Mon, 10 Sep 2012 07:19:11 -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=e2ffpbksGe3dH05Y+ccB/Gcrxan43BEOFwDaoxd69oM=; b=jA140jYyixo1G5PjG0EaedzvHqGkoeNPSFDiMSAKsul2F0z8FTpAU/3E4DqgStv1GF pRIn2V5Bfgsq6PhCpoOXGCpk6pfcKpKb/6bHj7uLM65ivBwHDbod4HujlcG1fZ5ub62g 4wFsiM3InILAyeM9uqgZG5QEKZo0rb51argTTV8vPV59lI3ZLiBCeOUQq9J3uEg3/6ko goPaABt6XBjYEZjayw3pVYdU55lJFddLvSPn5oPRZfBnrGoUG+c2nzfz07QE5o2FLFfG 3FH8VjSIUSpI4s8vC5wrH5XwCMfByUtwWeI4qsAci0ZICEJkm921mzzh2S80so8RY4I0 gsDg== MIME-Version: 1.0 Received: by 10.50.155.129 with SMTP id vw1mr11424527igb.11.1347286750854; Mon, 10 Sep 2012 07:19:10 -0700 (PDT) Received: by 10.64.55.73 with HTTP; Mon, 10 Sep 2012 07:19:10 -0700 (PDT) In-Reply-To: <20120910154335.ebb08b66.freebsd@edvax.de> References: <20120910154335.ebb08b66.freebsd@edvax.de> Date: Mon, 10 Sep 2012 10:19:10 -0400 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: Re: portsnap Generating a "Bad file descriptor" Error Message 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, 10 Sep 2012 14:19:12 -0000 Hi, Yes, files are written to the /var filesystem. I have tried fetching the file manually and I have even tried to newfs the partition again and to copy the files back. I also tried to delete the portsnap directory completely. None of this fixed the error. Note that I access the web through a proxy, but I tried untaring the file 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgzand I did not get any error from tar, so I guess the file I got is not corrupted. On Mon, Sep 10, 2012 at 9:43 AM, Polytropon wrote: > On Mon, 10 Sep 2012 08:56:29 -0400, Pierre-Luc Drouin wrote: > > On Tue, Sep 4, 2012 at 10:14 AM, Pierre-Luc Drouin >wrote: > > > > > Hi, > > > > > > so I have been having problems using portsnap lately. I always get a > "Bad > > > file descriptor" message when trying using it on one of my i386 > machine: > > > > > > Looking up portsnap5.freebsd.org mirrors... none found. > > > Fetching snapshot tag from portsnap5.freebsd.org... done. > > > Fetching snapshot metadata... done. > > > Fetching snapshot generated at Mon Sep 3 20:04:44 EDT 2012: > > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949 0% of 67 MB 0 Bps > > > fetch: > > > > http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz > : > > > Bad file descriptor > > > fetch: > > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: > Bad > > > file descriptor > > > > > > I tried fsck -y the /var, /tmp and /usr partitions and everything seems > > > fine. What could the problem be? > > > > > > Thanks! > > > > > > > Hi, > > > > Anyone has an idea about what could be causing this problem? > > I'm not familiar enough with portsnap (I use CVS) so I can just > throw some guesses around: > > The message "Bad file descriptor" is issued by fetch and seems > to be for _your_ side of the connection, and I assume it is > regarding the place where the requested file will be fetched > to. I don't exactly know _where_ that is. It could be in > the ports tree or in a temporary location (from where the > results are then written to /usr/ports). The manpage mentions > a default workdir of /var/db/portsnap which is on the /var > partition. You checked that, no errors. > > Just check what /var/db/portsnap contains. In worst case, > remove portsnap/ and recreate that directory. I have no > idea what it is supposed to contain, maybe make a copy of > it. You could also try to manually create the file, e. g. > by issuing > > # touch > /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz > > Look if the file is there. Use > > # stat > /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz > > to check if everything is okay. > > You could also try to manually fetch the file using fetch or > maybe even wget, just to see if it can be downloaded and > written properly, to a different location, e. g. > > # cd /tmp > # fetch > http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz > > or > > # cd /tmp > # wget > http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz > > That should be _no_ problem (with the correct file name of course). > > Again, "Bad file descriptor" is often seen in relation to file > system trouble. I've seen that in the past myself. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 15:20: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 0EC741065670 for ; Mon, 10 Sep 2012 15:20:10 +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 6A0E68FC0C for ; Mon, 10 Sep 2012 15:20:08 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBFF41.dip.t-dialin.net [217.251.255.65]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q8AFK6OM073961; Mon, 10 Sep 2012 15:20:07 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q8AFJttf083733; Mon, 10 Sep 2012 17:19:55 +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 q8AFJhBZ019442; Mon, 10 Sep 2012 17:19:49 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201209101519.q8AFJhBZ019442@fire.js.berklix.net> To: Pierre-Luc Drouin 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 "Mon, 10 Sep 2012 09:13:27 EDT." Date: Mon, 10 Sep 2012 17:19:43 +0200 Sender: jhs@berklix.com Cc: FreeBSD Questions Subject: Re: ftp2.ca.freebsd.org out of date? 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, 10 Sep 2012 15:20:10 -0000 Hi, Reference: > From: Pierre-Luc Drouin > Date: Mon, 10 Sep 2012 09:13:27 -0400 > Message-id: Pierre-Luc Drouin wrote: > Hi, > > it seems that the ftp2.ca.freebsd.org mirror has not been updating since > August 3rd. At least this is the case for the files in > ftp://ftp.freebsd.org/pub/FreeBSD/CTM/src-9 To find who is ftp master for that domain, try contacting probably in this order eg ftp@ftp2.ca.freebsd.org ftp-bugs@ftp2.ca.freebsd.org ftpmaster@ftp2.ca.freebsd.org (*) root@ftp2.ca.freebsd.org hostmaster@ftp2.ca.freebsd.org ftp@ca.freebsd.org ftp-bugs@ca.freebsd.org ftpmaster@ca.freebsd.org (*) root@ca.freebsd.org hostmaster@ca.freebsd.org See also (from 8.3-release/src/etc/mail/aliases ) RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES AND FUNCTIONS', May 1997 http://tools.ietf.org/html/rfc2142 (*) ftpmaster@ is not normal, far as I know, but I added it to my domains to be analagous to webmaster@ so maybe others do similar) Alternately & probably less usefuly there is a list for discussions, (not error reports such as this) for all global FreeBSD mirror admins You can find it via mailman, but that will get you lots of other admins who aren't responsible for the server you want to report, In case your admin is on holiday, or otherwise absent, try top @ addresses first, cos if that admin. is on hol, their stand in colleague may be getting a copy of their host error mails, but not a copy of freebsd subscription mails. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 15:35: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 E7BF5106564A for ; Mon, 10 Sep 2012 15:35:31 +0000 (UTC) (envelope-from sivareddy.obili@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 7423A8FC0A for ; Mon, 10 Sep 2012 15:35:31 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id x56so1528811wey.13 for ; Mon, 10 Sep 2012 08:35:31 -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=6apEo5xxbIhFO6QXBHafzJvgX8nPQu7s0d2tNINsGg0=; b=hLAnktOMrTNvgrFK5RM+yJJe+szXMW9iAVFWhsEVeJ9RtxVXbsvdaEdon+mtRZLT/t 9xk+ar9fxwHIO/cZ/YZWNTE6zI7LxSG0Xe8svj30nfSt+hvCuh70R42YAkrakpLSqIE2 9kX9/3oAb0aFF4ZwajTgDnC2qthYOOrVauEiYJhEpkvasI55QQWc4DOEAqX3CnXdjsCq 3N+htmUBmpe/NeSJALrx0cSIz47nWK5CK0hboKF94kTdMt5A65GxPAn4DbD1cUS8MTNA p18GldIUk3QwZ20zPpbpuF+ZceHjV/wBhjBn8Uj7arqoyEu7aXrwx+ksksVh+vPJImk1 U5AA== MIME-Version: 1.0 Received: by 10.216.204.99 with SMTP id g77mr7983444weo.165.1347291331041; Mon, 10 Sep 2012 08:35:31 -0700 (PDT) Received: by 10.227.200.198 with HTTP; Mon, 10 Sep 2012 08:35:30 -0700 (PDT) In-Reply-To: <20120906173028.4448600f@mr129166> References: <20120906173028.4448600f@mr129166> Date: Mon, 10 Sep 2012 21:05:30 +0530 Message-ID: From: SivaReddy Obili To: Patrick Lamaiziere 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: RFC 2385 TCP MD5 support on FreeBSD8.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: Mon, 10 Sep 2012 15:35:32 -0000 Thank you very much for the quick reply. Can you please point me to the link where I can download the /usr/src tarball to download the code. Thank you again. On Thu, Sep 6, 2012 at 9:00 PM, Patrick Lamaiziere w= rote: > Le Thu, 6 Sep 2012 20:46:53 +0530, > SivaReddy Obili a =E9crit : > > Hello, > > > Recently I've downloaded the FreeBSD 8.3 Release ISO Image > > (FreeBSD-8.3-RELEASE-i386-dvd1 (1).iso) and installed in our machine. > > Actually our requirement is to check the TCP MD5 support on > > FreeBSD8.3 . > > > > But we were not able to configure BGP MD5 on that machine. > > I've used TCP-MD5 signature for bgp between a FreeBSD 8.x and OpenBSD, > using setkey(8) to enforce the signature between the peers. That > worked (of course, then you shouldn't use tcp-md5 in openbgd). > > setkey(8): > add -4 peer1 peer2 tcp 0x1000 -A tcp-md5 "PASSWORD"; > add -4 peer2 peer1 tcp 0x1000 -A tcp-md5 "PASSWORD"; > > kernconf: > # In order to enable IPSEC you MUST also add device crypto to > # your kernel configuration > options IPSEC #IP security (requires device crypto) > device crypto > options TCP_SIGNATURE #include support for RFC 2385 > > You should check that the signature is checked (ie if the signature is > bad, bgpd rejects the connection), I've not test this. > > HTH. > Regards. > From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 17:56: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 9A6A3106564A for ; Mon, 10 Sep 2012 17:56:49 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7058FC12 for ; Mon, 10 Sep 2012 17:56:48 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by x.it.okstate.edu (8.14.5/8.14.5) with ESMTP id q8AHugOr011272 for ; Mon, 10 Sep 2012 12:56:42 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201209101756.q8AHugOr011272@x.it.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11270.1347299802.1@dc.cis.okstate.edu> Date: Mon, 10 Sep 2012 12:56:42 -0500 From: Martin McCormick Subject: mhonarc 64-bit Package for mhonarc6.18 is stale. 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, 10 Sep 2012 17:56:49 -0000 mhonarc is a mime message archiver that is used with nmh and possibly other applications. I used pkg_add -r mhonarc to install it on a new system I was building and then discovered that attempts to reply to messages produced no quoted output and a spew of perl warnings about "defined" being deprecated. The messages tell you what line and in what application the offending directives live and one must then edit out the word defined from those lines. The current port of mhonarc, however, is fine so I first did make deinstall in the /usr/ports/www/mhonarc directory and then did make install from the port and things are now perking along nicely. If there is a better place to send this message, I will certainly be glad to send it. All somebody needs to do is create the mhonarc.tbz package from the most current port for both 32 and 64-bit systems. Who knows; I may be the only one in the world who is still using nmh, but it is useful when you want scripts to send mail, etc. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 19:25:42 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 41EAC106566C for ; Mon, 10 Sep 2012 19:25:42 +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 CF7F68FC14 for ; Mon, 10 Sep 2012 19:25:41 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8AJNxZJ081642 for freebsd-questions@freebsd.org; Mon, 10 Sep 2012 14:23:59 -0500 (CDT) Date: Mon, 10 Sep 2012 14:23:59 -0500 (CDT) From: Robert Bonomi Message-Id: <201209101923.q8AJNxZJ081642@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: trouble building 'ndis' device driver into stripped-down custom kernel. 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, 10 Sep 2012 19:25:42 -0000 Enviorment is FreeBSD 8.3, i386 I'm currently running a stipped-down custom kernal with all superfluous devices/options removed. I'm trying to add the 'ndis' device back in, but when I follow the directions on the ndis(4) manpage, and add: options NDISAPI device ndis and try to re-compile the kernel (config, cd, make depend, make), linking fails, with: if_ndis.o(.text+0x1104): In function 'ndis_detach': : undefined reference to 'ndis_free_amem' if_ndis.o(.text+0x1194): In function 'ndis_attach': : undefined reference to 'ndis_alloc_amem' Obviously, the config file is missing 'something' -- does anybody have any ideat _what_ that something is? From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 19:42: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 2041A1065674 for ; Mon, 10 Sep 2012 19:42:58 +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 C5AE78FC18 for ; Mon, 10 Sep 2012 19:42:57 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8AJhBJD081802; Mon, 10 Sep 2012 14:43:11 -0500 (CDT) Date: Mon, 10 Sep 2012 14:43:11 -0500 (CDT) From: Robert Bonomi Message-Id: <201209101943.q8AJhBJD081802@mail.r-bonomi.com> To: gardnerbell@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: trouble building 'ndis' device driver into stripped-down custom kernel. 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, 10 Sep 2012 19:42:58 -0000 > Date: Mon, 10 Sep 2012 15:32:30 -0400 > Subject: Re: trouble building 'ndis' device driver into stripped-down custom kernel. > From: Gardner Bell > > On 10 September 2012 15:23, Robert Bonomi > wrote: > > > > Enviorment is FreeBSD 8.3, i386 > > > > I'm currently running a stipped-down custom kernal with all superfluous > > devices/options removed. > > > > I'm trying to add the 'ndis' device back in, but when I follow the > > directions on the ndis(4) manpage, and add: > > options NDISAPI device ndis > > Is device wlan still part of your config ? Yup. I'm just changing which wireless card I'm using. Thanks for the thought. > > and try to re-compile the kernel (config, cd, make depend, make), > > linking fails, with: > > if_ndis.o(.text+0x1104): In function 'ndis_detach': > > : undefined reference to 'ndis_free_amem' > > if_ndis.o(.text+0x1194): In function 'ndis_attach': > > : undefined reference to 'ndis_alloc_amem' > > > > Obviously, the config file is missing 'something' -- does anybody have > > any ideat _what_ that something is? From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 20:55: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 1A7FC1065686; Mon, 10 Sep 2012 20:55:27 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from h1907788.stratoserver.net (h1907788.stratoserver.net [85.214.252.129]) by mx1.freebsd.org (Postfix) with ESMTP id 945318FC14; Mon, 10 Sep 2012 20:55:27 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by h1907788.stratoserver.net (Postfix) with ESMTP id 2D8F2401C001; Mon, 10 Sep 2012 22:55:25 +0200 (CEST) Received: from h1907788.stratoserver.net ([127.0.0.1]) by localhost (h1907788.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f1+fXavWWt47; Mon, 10 Sep 2012 22:55:23 +0200 (CEST) Received: from compaq (p579D2878.dip.t-dialin.net [87.157.40.120]) by h1907788.stratoserver.net (Postfix) with ESMTP id 983F439EF42B; Mon, 10 Sep 2012 22:55:23 +0200 (CEST) Date: Mon, 10 Sep 2012 22:55:22 +0200 From: Matthias Petermann To: freebsd-questions@freebsd.org Message-Id: <20120910225522.71a6bf57.matthias@d2ux.net> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Scalable Opengroupware (SOGo) in FreeBSD ports tree 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, 10 Sep 2012 20:55:28 -0000 Hello, I am thinking about creating a port for SOGo[1]. Is there already someone working on it? Kind regards, Matthias [1] http://www.sogo.nu/english.html -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 21:04: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 AF59C106566B; Mon, 10 Sep 2012 21:04:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9326D8FC18; Mon, 10 Sep 2012 21:04:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8AL4aXp088667; Mon, 10 Sep 2012 21:04:36 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8AL4aT4088621; Mon, 10 Sep 2012 21:04:36 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Mon, 10 Sep 2012 23:04:32 +0200 From: Baptiste Daroussin To: Matthias Petermann Message-ID: <20120910210432.GA38485@ithaqua.etoilebsd.net> References: <20120910225522.71a6bf57.matthias@d2ux.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20120910225522.71a6bf57.matthias@d2ux.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Scalable Opengroupware (SOGo) in FreeBSD ports tree 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, 10 Sep 2012 21:04:36 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 10, 2012 at 10:55:22PM +0200, Matthias Petermann wrote: > Hello, >=20 > I am thinking about creating a port for SOGo[1]. Is there already someone= working on it? >=20 > Kind regards, > Matthias >=20 >=20 > [1] http://www.sogo.nu/english.html >=20 > --=20 > Matthias Petermann > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" I have done:=20 http://people.freebsd.org/~bapt/sogo.tar.gz and http://people.freebsd.org/~bapt/sope.tar.gz One year ago. I have given up working on it :) Feel free to use it, or start from scratch. Regards, Bapt --envbJBWh7q8WU6mo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBOVeAACgkQ8kTtMUmk6EzWOACgjT6KXnbO525WXzOrdQyAVfvi CTQAoKJTlcnbG8QAu6xMrh+9a3PbKkid =gHyN -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 23:24: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 D1632106564A for ; Mon, 10 Sep 2012 23:24:47 +0000 (UTC) (envelope-from kgc@corp.sonic.net) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA3C8FC08 for ; Mon, 10 Sep 2012 23:24:47 +0000 (UTC) Received: from meno.noc.sonic.net (meno.noc.sonic.net [64.142.18.2]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id q8AMB4qe012925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Sep 2012 15:11:04 -0700 Message-ID: <504E6577.9020200@corp.sonic.net> Date: Mon, 10 Sep 2012 15:11:03 -0700 From: Kelsey Cummings User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120910 Thunderbird/15.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: firefox menu backup color/transparency 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, 10 Sep 2012 23:24:47 -0000 After a upgrading to 15, and subsequently firefox-15.0.1,1 this morning, all menus (menu bar, right click context menu, etc) have a fully transparent background rendering it nearly useless. I've tried starting with a new profile and that doesn't fix it as well as with qt4/gtk2 to now avail. The system is running kde-4.8.4 desktop. Anyone have any suggestions on how to fix? I was planning to migrate to chrome anyway but would like to have a functional firefox. The last 14.x release in the ports tree worked fine. -Kelsey From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 00:30: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 1D05E106564A for ; Tue, 11 Sep 2012 00:30:25 +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 C3D398FC16 for ; Tue, 11 Sep 2012 00:30:24 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8B0Ub0G083363 for freebsd-questions@freebsd.org; Mon, 10 Sep 2012 19:30:37 -0500 (CDT) Date: Mon, 10 Sep 2012 19:30:37 -0500 (CDT) From: Robert Bonomi Message-Id: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Where are the mechancs of config(8) descibed 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, 11 Sep 2012 00:30:25 -0000 (This is probably a bit techical for 'questions' -- I'd welcome a suggesstion of a more appopriae forum.) Is there a detailed description anywhere of the mechanics of *how* config(8) does what it doess? I'm looking fo the gory detail of how, sayi, 'device bpf' causes the creation of the file 'opt_bpf.h' containing '#define DEV_BPF 1" _Part_ of the magic is the sys/conf/files* and sys/conf/options* files, but their format/content isn't defined anywhee I've found. rerason for asking -- I want to addd a cutom device driver into the kernel. I have sources, and can build the .o, if i convert it to a .ko, it loads and run. *BUT* I want to embed it in the kernel at build time. "Somewhere", I have do define 'device foo', specify that that name adds 'myfoo_sys.o' to the kernel object-files list, and that myfoo_sys.o depends on a list of source files, and requires a particular sequence of commands to build from those shources. I know the 'what', just not the 'where' or 'how'. Any pointers appreciated. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 03:11: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 B3141106566C for ; Tue, 11 Sep 2012 03:11:53 +0000 (UTC) (envelope-from amvandemore@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 6E3F58FC0A for ; Tue, 11 Sep 2012 03:11:53 +0000 (UTC) Received: by obbun3 with SMTP id un3so76627obb.13 for ; Mon, 10 Sep 2012 20:11:52 -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=UG9XdLZdyz/K7uNgwaVhBaV8taRrIZBXmEAMFvFT+Ck=; b=nfNsQ0k/3Nx94RrPkAlKtj97dLOm3e9oMQN4z+ymBQWgFmYS4CnBB5Ue4QYbfPe8X0 kExCsFLWuB08wEXPIZ6/s4Wb6uIe0JH7zvCW7nCjxNQiTxMzRK5GNW41iY0OvGf3+jze mPqqbEiNYX6FNaCcopEpl5uoptPsh526B0UC8cjBvjGoVqlmHaGyV4Ux2TvslJ08qIj7 M1bO6y+2jRcWZH39N49GOyZG6Z1fdYqLRmvpOXPDLf+SGLtyTMl/d4YsYtQG8X7bWA4p kdP2/JrC6qHFNzih5xxDC9/C5/7ca+amsmQHOEj23S8TuS/56YrHiz5pT9RPxW/BZVAu Vrzg== MIME-Version: 1.0 Received: by 10.60.20.69 with SMTP id l5mr16058333oee.114.1347333112648; Mon, 10 Sep 2012 20:11:52 -0700 (PDT) Received: by 10.76.83.130 with HTTP; Mon, 10 Sep 2012 20:11:52 -0700 (PDT) In-Reply-To: <201209101923.q8AJNxZJ081642@mail.r-bonomi.com> References: <201209101923.q8AJNxZJ081642@mail.r-bonomi.com> Date: Mon, 10 Sep 2012 22:11:52 -0500 Message-ID: From: Adam Vande More To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: trouble building 'ndis' device driver into stripped-down custom kernel. 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, 11 Sep 2012 03:11:53 -0000 On Mon, Sep 10, 2012 at 2:23 PM, Robert Bonomi wrote: > > Enviorment is FreeBSD 8.3, i386 > > I'm currently running a stipped-down custom kernal with all superfluous > devices/options removed. > > I'm trying to add the 'ndis' device back in, but when I follow the > directions > on the ndis(4) manpage, and add: > options NDISAPI > device ndis > and try to re-compile the kernel (config, cd, make depend, make), linking > fails, with: > if_ndis.o(.text+0x1104): In function 'ndis_detach': > : undefined reference to 'ndis_free_amem' > if_ndis.o(.text+0x1194): In function 'ndis_attach': > : undefined reference to 'ndis_alloc_amem' > > Obviously, the config file is missing 'something' -- does anybody have > any ideat _what_ that something is? > > It seems you need device pccard and whatever that depends upon if anything. Another solution is here: http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042586.html although it seems only lines 1083/4 need to go in my version. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 06:04:03 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 030CB106564A for ; Tue, 11 Sep 2012 06:04: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 81EBE8FC12 for ; Tue, 11 Sep 2012 06:04: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, 11 Sep 2012 08:04:00 +0200 Message-ID: <504ED443.1050604@ose.nl> Date: Tue, 11 Sep 2012 08:03:47 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SOLVED: Re: Error after upgrading to php 5.4.6 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, 11 Sep 2012 06:04:03 -0000 This is now solved after an update to pecl-APC-3.1.13 Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 08:15: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 8D200106564A for ; Tue, 11 Sep 2012 08:15:33 +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 4E7458FC0A for ; Tue, 11 Sep 2012 08:15:31 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=lvVElpBz8pbVbuzRh0tsqaRZvAmArRh4UXzQjPcvUnY= c=1 sm=0 a=jLN7EqiLvroA:10 a=i_cvo_QHd1sn7eRaeH8A:9 a=AcdsImxJPJ9Yo6Ye3TGm+Q==: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.34.76 as permitted sender) Received: from [74.134.34.76] ([74.134.34.76:49190] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 45/E0-00499-C13FE405; Tue, 11 Sep 2012 04:15:25 -0400 Date: Tue, 11 Sep 2012 04:15:24 -0400 Message-ID: <45.E0.00499.C13FE405@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Cc: Polytropon , Helmut Schneider Subject: Re: svn and/or portsnap 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, 11 Sep 2012 08:15:33 -0000 On Sun, 9 Sep 2012 10:37:03 +0000 (UTC), Helmut Schneider wrote: > Hi, > I'm running a custom kernel so I (guess I) need svn in future to fetch > sources instead of cvsup. Should I still use portsnap then for ports or > also fetch them via svn? Polytropon responded: > Ports and system sources are managed independently. You can > use whatever tool you want. Note that portsnap _might_ not > deliver the most current ports tree for a given point in > time. For "short time deltas", CVS has often proven to be > the better tool, but of course portsnap has significant > advantages (e. g. faster for longer pauses between ports > tree updates, better integration with "make update" target). > Depending on your updating habits, choose the tool that > works best for you. One question comes up that I didn't think of immediately. How do you use svn on a fresh install of FreeBSD, no ports yet? svn/subversion is not part of the base system. How do you get the ports tree or svn in that case if not using portsnap? Tom From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 08:17: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 2CA1C1065689 for ; Tue, 11 Sep 2012 08:17:52 +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 76D7D8FC1F for ; Tue, 11 Sep 2012 08:17:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8B8I63n086935; Tue, 11 Sep 2012 03:18:06 -0500 (CDT) Date: Tue, 11 Sep 2012 03:18:06 -0500 (CDT) From: Robert Bonomi Message-Id: <201209110818.q8B8I63n086935@mail.r-bonomi.com> To: amvandemore@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: trouble building 'ndis' device driver into stripped-down custom kernel. 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, 11 Sep 2012 08:17:53 -0000 Adam Vande More wrote: > > On Mon, Sep 10, 2012 at 2:23 PM, Robert Bonomi > wrote: > > > > > Enviorment is FreeBSD 8.3, i386 > > > > I'm currently running a stipped-down custom kernal with all superfluous > > devices/options removed. > > > > I'm trying to add the 'ndis' device back in, but when I follow the > > directions on the ndis(4) manpage, and add: > > options NDISAPI device ndis and try to re-compile the kernel > > (config, cd, make depend, make), linking fails, with: > > if_ndis.o(.text+0x1104): In function 'ndis_detach': > > : undefined reference to 'ndis_free_amem' > > if_ndis.o(.text+0x1194): In function 'ndis_attach': > > : undefined reference to 'ndis_alloc_amem' > > > > Obviously, the config file is missing 'something' -- does anybody have > > any ideat _what_ that something is? > > > > > It seems you need > > device pccard > > and whatever that depends upon if anything. This was also pointed out to me privately by another respondant. Adding just 'device pccard' did solve the problem. I've filed a bug report on the code in question -- the _run-time_ check for a PCMCIA/Cardbus/PC-card device should be bracketed with a COMPILE-TIME check for pccard support in the kernel. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 08:34: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 28862106564A for ; Tue, 11 Sep 2012 08:34:21 +0000 (UTC) (envelope-from christer.solskogen@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 DB9AC8FC17 for ; Tue, 11 Sep 2012 08:34:20 +0000 (UTC) Received: by obbun3 with SMTP id un3so456730obb.13 for ; Tue, 11 Sep 2012 01:34:19 -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 :cc:content-type; bh=KA3a3VG8T+z1H2bca0r/VM9gjlddbC6RX9mdXro01ok=; b=xCK5EQuq5r1twu61wqJ7DZQmYA/TENjW2dLsCJBLNuJbKL9UsjlYwFZ4pcfSdhIWXI 9lsUxUN4wDCaGzT6OQwTyKWbvXU7pBjBdmq7uY45yP+CLpcm/EGu97nbdBhSzDj42m0E nCuxxZ8QQ2XH2gdTywWfjFmyw7yKzkZY2kEK+G8hbuILTRjztMZehDmSA0BwIivbeRei +RDggBWbxaw1m0ozRnWo69ZqiqxkALhqipIfc8n4mqBpNq702JpAf5FVCh5LVtl7ygRF gDANcW+SqY2qPcHlJeJAzXJgSUO0chm1AE1Z8VwGjRJ/VuQADFrSSGHTvVXnsbwfV5w5 GUgg== Received: by 10.182.188.41 with SMTP id fx9mr16599760obc.92.1347352459098; Tue, 11 Sep 2012 01:34:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.32.141 with HTTP; Tue, 11 Sep 2012 01:33:58 -0700 (PDT) In-Reply-To: <45.E0.00499.C13FE405@smtp02.insight.synacor.com> References: <45.E0.00499.C13FE405@smtp02.insight.synacor.com> From: Christer Solskogen Date: Tue, 11 Sep 2012 10:33:58 +0200 Message-ID: To: Thomas Mueller Content-Type: text/plain; charset=UTF-8 Cc: Polytropon , freebsd-questions@freebsd.org, Helmut Schneider Subject: Re: svn and/or portsnap 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, 11 Sep 2012 08:34:21 -0000 On Tue, Sep 11, 2012 at 10:15 AM, Thomas Mueller wrote: > How do you get the ports tree or svn in that case if not using portsnap? You use pkg_add (or the youngest newcomer pkg) -- chs, From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 08:36: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 E93DF10656A5 for ; Tue, 11 Sep 2012 08:36:52 +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 A49E88FC14 for ; Tue, 11 Sep 2012 08:36:52 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TBLxd-0002xG-Pt for freebsd-questions@freebsd.org; Tue, 11 Sep 2012 10:36:45 +0200 Received: from p4fc54b76.dip.t-dialin.net ([79.197.75.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2012 10:36:45 +0200 Received: from jumper99 by p4fc54b76.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2012 10:36:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Tue, 11 Sep 2012 08:36:29 +0000 (UTC) Lines: 33 Message-ID: References: <45.E0.00499.C13FE405@smtp02.insight.synacor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc54b76.dip.t-dialin.net User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:00000047 Subject: Re: svn and/or portsnap 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, 11 Sep 2012 08:36:53 -0000 Thomas Mueller wrote: > On Sun, 9 Sep 2012 10:37:03 +0000 (UTC), Helmut Schneider wrote: > > Hi, > > > I'm running a custom kernel so I (guess I) need svn in future to > > fetch sources instead of cvsup. Should I still use portsnap then > > for ports or also fetch them via svn? > > Polytropon responded: > > > Ports and system sources are managed independently. You can > > use whatever tool you want. Note that portsnap might not > > deliver the most current ports tree for a given point in > > time. For "short time deltas", CVS has often proven to be > > the better tool, but of course portsnap has significant > > advantages (e. g. faster for longer pauses between ports > > tree updates, better integration with "make update" target). > > Depending on your updating habits, choose the tool that > > works best for you. > > One question comes up that I didn't think of immediately. > > How do you use svn on a fresh install of FreeBSD, no ports yet? You install ports from CD/DVD. Or use pkg_add -r subversion. :) > svn/subversion is not part of the base system. > > How do you get the ports tree or svn in that case if not using > portsnap? ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 09:16: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 892DE106564A for ; Tue, 11 Sep 2012 09:16:44 +0000 (UTC) (envelope-from suseuser04@lajt.hu) Received: from mailout1.bwave.pl (mailout1.bwave.pl [37.233.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id 44BEF8FC0C for ; Tue, 11 Sep 2012 09:16:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=drone-mailout1) by mailout1.bwave.pl with esmtp (Exim 4.76) (envelope-from ) id 1TBMZv-0002gD-Du for freebsd-questions@freebsd.org; Tue, 11 Sep 2012 11:16:24 +0200 Received: from [10.2.1.186] (helo=[127.0.0.1]) by drone-mailout1 with esmtp (Exim 4.76) (envelope-from ) id 1TBMZv-0002g8-6B for freebsd-questions@freebsd.org; Tue, 11 Sep 2012 11:16:19 +0200 From: suseuser04@lajt.hu To: freebsd-questions@freebsd.org Mime-Version: 1.0 Message-ID: <6cf057a0.48cac116.504f0146.1805c@lajt.hu Date: Tue, 11 Sep 2012 11:15:50 +0200 X-Originator: 109.61.56.57 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: kinternet alternative 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: Tue, 11 Sep 2012 09:16:44 -0000 Hello=20FreeBSD=20users: I=20am=20new=20to=20FreeBSD.=20I've=20been=20using=20openSUSE=20for=208=20= years=20but=20would like=20to=20try=20something=20different. I=20have=20installed=20FreeBSD=209.0-RELEASE=20from=20DVD=20and=20configu= red KDE3.=20I=20also=20configured=20DSL=20(pppoe)=20connection=20that=20autom= atically connects=20the=20computer=20to=20the=20network. In=20openSUSE=20I=20have=20kinternet=20(and=20its=20alternative=20qintern= et),=20an=20application which=20incorporates=20into=20KDE=20system=20tray=20and=20indicates=20whe= ther=20network connection=20is=20active=20or=20not.=20It=20can=20also=20be=20used=20by=20= the=20desktop=20user=20to disconnect=20and=20connect=20from/to=20the=20network=20(eg.=20for=20getti= ng=20new=20dynamic IP=20address=20or=20test=20downloaded=20web=20pages=20offline). Is=20there=20a=20similar=20program=20in=20FreeBSD?=20I=20could=20not=20fi= nd=20kinternet=20or=20qinternet in=20ports=20database=20or=20by=20googling. Thanks=20in=20advance, Istvan From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 09:34:13 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 8302E106566C for ; Tue, 11 Sep 2012 09:34:13 +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 B467A8FC0A for ; Tue, 11 Sep 2012 09:34:10 +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 q8B9XtGe006179 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 11 Sep 2012 10:34:00 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <504F0582.3080703@unsane.co.uk> Date: Tue, 11 Sep 2012 10:33:54 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Robert Bonomi References: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com> In-Reply-To: <201209110030.q8B0Ub0G083363@mail.r-bonomi.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Where are the mechancs of config(8) descibed 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, 11 Sep 2012 09:34:13 -0000 On 11/09/2012 01:30, Robert Bonomi wrote: > (This is probably a bit techical for 'questions' -- I'd welcome a suggesstion > of a more appopriae forum.) If you dont get any joy, try freebsd-hackers@freebsd.org Vince > Is there a detailed description anywhere of the mechanics of *how* config(8) > does what it doess? > > I'm looking fo the gory detail of how, sayi, 'device bpf' causes the > creation of the file 'opt_bpf.h' containing '#define DEV_BPF 1" > > _Part_ of the magic is the sys/conf/files* and sys/conf/options* files, > but their format/content isn't defined anywhee I've found. > > > rerason for asking -- I want to addd a cutom device driver into the > kernel. I have sources, and can build the .o, if i convert it to > a .ko, it loads and run. *BUT* I want to embed it in the kernel at > build time. > > "Somewhere", I have do define 'device foo', specify that that name > adds 'myfoo_sys.o' to the kernel object-files list, and that > myfoo_sys.o depends on a list of source files, and requires a > particular sequence of commands to build from those shources. > > I know the 'what', just not the 'where' or 'how'. > > Any pointers appreciated. > > > > _______________________________________________ > 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 Tue Sep 11 12:14: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 BCE86106566C for ; Tue, 11 Sep 2012 12:14:19 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 676738FC0A for ; Tue, 11 Sep 2012 12:14:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id F23633A3883 for ; Tue, 11 Sep 2012 19:14:16 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1347365656; x=1349180056; bh=8VQ/cUH/H Ak3/EAeYBjZbBqgu5fK1+hrm0Or1QTL5bo=; b=eJESzd+qQVdb+B5wHrZae5gro l98Vt+Jy7GybQfzHtoMO3Tjm4zZ2khZ84YK8UEDHNNYflc7Z7dFnTP61Xr9P2XkX 7utW5DTULSScEej2ufeBdQf8fZKyt0oWwTfrisjEuryOrBzaMTQnn0NSNXmtAwiq YPi413gBCEoUeKfRKc= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AWgaw2qTI5VJ for ; Tue, 11 Sep 2012 19:14:16 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 92A5D3A387A for ; Tue, 11 Sep 2012 19:14:16 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id q8BCEG0t002333; Tue, 11 Sep 2012 19:14:16 +0700 (ICT) (envelope-from on) Date: Tue, 11 Sep 2012 19:14:16 +0700 (ICT) Message-Id: <201209111214.q8BCEG0t002333@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Upgrade to 8.3 broke pam_ldap 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, 11 Sep 2012 12:14:19 -0000 Hi, After upgrading from 7.3 o 8.3 pam_ldap stopped working. LDAP server has been running on a different machine for ages, it is still running. Connection to the server is still there: when I enter a wrong password I get a distinct error message. When I enter the correct password, I get: Sep 11 18:05:00 ufo2 login: pam_acct_mgmt(): error in service module I recompiled openldap_client, pam_ldap and nss_ldap, but not to avail. Any help is most welcome. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 12:44: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 C3868106564A for ; Tue, 11 Sep 2012 12:44:46 +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 81DCF8FC24 for ; Tue, 11 Sep 2012 12:44:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id 8731C24826; Tue, 11 Sep 2012 14:44:38 +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 q8BCib2f001993; Tue, 11 Sep 2012 14:44:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 11 Sep 2012 14:44:37 +0200 From: Polytropon To: "Thomas Mueller" Message-Id: <20120911144437.0468925a.freebsd@edvax.de> In-Reply-To: <45.E0.00499.C13FE405@smtp02.insight.synacor.com> References: <45.E0.00499.C13FE405@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: Helmut, Polytropon , freebsd-questions@freebsd.org, Schneider Subject: Re: svn and/or portsnap 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: Tue, 11 Sep 2012 12:44:46 -0000 On Tue, 11 Sep 2012 04:15:24 -0400, Thomas Mueller wrote: > One question comes up that I didn't think of immediately. > > How do you use svn on a fresh install of FreeBSD, no ports yet? > > svn/subversion is not part of the base system. > > How do you get the ports tree or svn in that case if not using portsnap? As this is an O(1) kind of problem, I'd suggest the easiest way: Use the package for svn. Install svn via # pkg_add -r svn (or however the svn package is called) and then use it to incorporate the full ports tree (and maybe also bring your OS sources to the branch you want, patched RELEASE, STABLE or HEAD). Afterwards, upgrade svn with the version from the ports tree which will possibly be newer. Then continue using ports to install software as usual. When CVS was not part of the OS, I went the same way by installing cvsup-without-x11 (or how the package was called) to be able to update ports and sources via CVS. Today this is not needed anymore, as CVS (as csup) is part of the OS. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 12:56: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 E6BC11065670 for ; Tue, 11 Sep 2012 12:56:08 +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 A6B6E8FC14 for ; Tue, 11 Sep 2012 12:56:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id B728727624; Tue, 11 Sep 2012 14:56: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 q8BCu7IA002030; Tue, 11 Sep 2012 14:56:07 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 11 Sep 2012 14:56:07 +0200 From: Polytropon To: suseuser04@lajt.hu Message-Id: <20120911145607.172592eb.freebsd@edvax.de> In-Reply-To: <6cf057a0.48cac116.504f0146.1805c@lajt.hu> References: <6cf057a0.48cac116.504f0146.1805c@lajt.hu> 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: kinternet alternative in FreeBSD 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: Tue, 11 Sep 2012 12:56:09 -0000 On Tue, 11 Sep 2012 11:15:50 +0200, suseuser04@lajt.hu wrote: > Hello FreeBSD users: > > I am new to FreeBSD. I've been using openSUSE for 8 years but would > like to try something different. > I have installed FreeBSD 9.0-RELEASE from DVD and configured > KDE3. I also configured DSL (pppoe) connection that automatically > connects the computer to the network. > In openSUSE I have kinternet (and its alternative qinternet), an application > which incorporates into KDE system tray and indicates whether network > connection is active or not. It can also be used by the desktop user to > disconnect and connect from/to the network (eg. for getting new dynamic > IP address or test downloaded web pages offline). > Is there a similar program in FreeBSD? I could not find kinternet or qinternet > in ports database or by googling. I'm not aware of a tool that integrates both with KDE _and_ the FreeBSD operating system. KDE is quite Linux-centric, and FreeBSD is a different operating system. A PPPoE connection can be controlled via userland ppp tools (e. g. "ppp> dial" by the user) to control the connection. And checking the connectivity of the respective interface should also be possible. So it might be that there is some KDE component that can help. Maybe kppp? As I've never really used KDE for such things, sorry... I can't provide better suggestions. However, there was some tool mainly aiming at wireless LAN use which was considered an abomination. I sadly cannot remember its name... networkmanager??? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 13:26: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 342741065670 for ; Tue, 11 Sep 2012 13:26:41 +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 B69798FC12 for ; Tue, 11 Sep 2012 13:26:39 +0000 (UTC) Received: from [89.204.139.253] (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 1TBQTz-0004d9-U5; Tue, 11 Sep 2012 15:26:29 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q8BDQOrC002188; Tue, 11 Sep 2012 15:26:25 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q8BDQN0n002187; Tue, 11 Sep 2012 15:26:23 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 11 Sep 2012 15:26:22 +0200 From: Matthias Apitz To: Polytropon Message-ID: <20120911132622.GA2102@tiny.Sisis.de> References: <6cf057a0.48cac116.504f0146.1805c@lajt.hu> <20120911145607.172592eb.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120911145607.172592eb.freebsd@edvax.de> 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.139.253 Cc: suseuser04@lajt.hu, freebsd-questions@freebsd.org Subject: Re: kinternet alternative in FreeBSD 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: Tue, 11 Sep 2012 13:26:41 -0000 El día Tuesday, September 11, 2012 a las 02:56:07PM +0200, Polytropon escribió: > On Tue, 11 Sep 2012 11:15:50 +0200, suseuser04@lajt.hu wrote: > > Hello FreeBSD users: > > > > I am new to FreeBSD. I've been using openSUSE for 8 years but would > > like to try something different. > > I have installed FreeBSD 9.0-RELEASE from DVD and configured > > KDE3. I also configured DSL (pppoe) connection that automatically > > connects the computer to the network. > > In openSUSE I have kinternet (and its alternative qinternet), an application > > which incorporates into KDE system tray and indicates whether network > > connection is active or not. It can also be used by the desktop user to > > disconnect and connect from/to the network (eg. for getting new dynamic > > IP address or test downloaded web pages offline). > > Is there a similar program in FreeBSD? I could not find kinternet or qinternet > > in ports database or by googling. > > I'm not aware of a tool that integrates both with KDE _and_ > the FreeBSD operating system. KDE is quite Linux-centric, > and FreeBSD is a different operating system. ... FreeBSD (as Linux) is a OS, while KDE is just a desktop which works fine on FreeBSD and SuSE; I'm using kde-3.5.10 and tested kde-4.x (which did not do what I expected; that's why I stay with 3.5.10 which is now unmaintained, but still compiling as a port; the OP did not say in which KDE version he used 'kinternet', but it seems that the component is not in the port; the best way would be to check in openSUSE what 'kinternet' is (i.e. where the sources come from) and check in the FreeBSD KDE project the status of a port; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 14:55: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 5BA4C1065673 for ; Tue, 11 Sep 2012 14:55:09 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4349E8FC15 for ; Tue, 11 Sep 2012 14:55:09 +0000 (UTC) Received: from [10.0.10.3] ([173.88.198.112]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Sep 2012 07:55:01 -0700 Message-ID: <504F50C2.6020805@a1poweruser.com> Date: Tue, 11 Sep 2012 10:54:58 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Sep 2012 14:55:01.0829 (UTC) FILETIME=[6BB0CF50:01CD902D] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Subject: [ FYI ] New version of PF now SMP-scalable 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, 11 Sep 2012 14:55:09 -0000 [HEADS UP] merging projects/pf into head -------------------------------------------------------------------------------- Some good news: http://lists.freebsd.org/pipermail/freebsd-pf/2012-September/006740.html From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 17:05: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 C13161065670 for ; Tue, 11 Sep 2012 17:05:44 +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 8F4688FC08 for ; Tue, 11 Sep 2012 17:05:44 +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 5A542A71496 for ; Tue, 11 Sep 2012 13:05:38 -0400 (EDT) Received: (qmail 8973 invoked from network); 11 Sep 2012 17:05:37 -0000 Received: by simscan 1.4.0 ppid: 15278, pid: 429, t: 0.1446s 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 ; 11 Sep 2012 17:05:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3B8A333C25; Tue, 11 Sep 2012 13:05:37 -0400 (EDT) From: Lowell Gilbert To: =?iso-8859-1?Q?Micka=EBl_Can=E9vet?= References: <1347268974.4141.65.camel@pc437.embl.fr> Date: Tue, 11 Sep 2012 13:05:36 -0400 In-Reply-To: <1347268974.4141.65.camel@pc437.embl.fr> (=?iso-8859-1?Q?=22M?= =?iso-8859-1?Q?icka=EBl_Can=E9vet=22's?= message of "Mon, 10 Sep 2012 11:22:54 +0200") Message-ID: <44k3w0ij6n.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? 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: Tue, 11 Sep 2012 17:05:44 -0000 Micka=EBl Can=E9vet writes: > I was impacted by a memory leak that has been fixed by this patch: > http://people.freebsd.org/~rmacklem/namei-leak.patch > > What I noticed when the server was paging is that it seems that only > about 500MB of my 4GB swap partition was used before crashing. I was > wondering why it didn't take the whole 4GB up to the crash of the server > because of lake of memory (that would let me more time to react). > > Is there such king of setting that prevent a process to put more then > 500MB of data in swap ? limits(1)? From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 17:59: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 B8FE3106566B for ; Tue, 11 Sep 2012 17:59:00 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) by mx1.freebsd.org (Postfix) with ESMTP id 4C81A8FC08 for ; Tue, 11 Sep 2012 17:59:00 +0000 (UTC) Received: from 91-157-164-122.elisa-laajakaista.fi ([91.157.164.122] helo=[192.168.255.133]) by mail.kapsi.fi with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TBUji-00052l-L3 for freebsd-questions@freebsd.org; Tue, 11 Sep 2012 20:58:58 +0300 Message-ID: <504F7BDE.9090106@kapsi.fi> Date: Tue, 11 Sep 2012 20:58:54 +0300 From: Arto Pekkanen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 91.157.164.122 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Subject: GELI provider and trim (BIO_DELETE) 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, 11 Sep 2012 17:59:00 -0000 I have an SSD driver, rather new, and "camcontrol identify" reports it supports data set management (TRIM). I set up the disk so, that there is one slice. On this slice I put two BSD labes a and b with geli providers. On these geli providers I did newfs -t to enable trim. Does the trim BIO_DELETE commands fall thru to the SSD, if the filesystem decides a sector inside the geli provider is free to be reused? In short: does UFS -t and thus BIO_DELETE work with geli as expected? I have checked dmesg but did not catch any errors, so I have no way of knowing. -- Arto Pekkanen, säätäjä ksym@IRCnet From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 21:40: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 A7AE9106566B for ; Tue, 11 Sep 2012 21:40:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from m1plsmtpa01-08.prod.mesa1.secureserver.net (m1plsmtpa01-08.prod.mesa1.secureserver.net [64.202.165.187]) by mx1.freebsd.org (Postfix) with ESMTP id 8AECF8FC0C for ; Tue, 11 Sep 2012 21:40:41 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by m1plsmtpa01-08.prod.mesa1.secureserver.net with id xxe41j0084XeM0101xe52m; Tue, 11 Sep 2012 14:38:05 -0700 Date: Tue, 11 Sep 2012 14:38:04 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20120911213804.GA9817@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: cksum entire dir?? 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, 11 Sep 2012 21:40:41 -0000 I'm trying to checksum directories as I move them around. ive read the man page for sum and cksum ... or maybe skimmed them. no joy. anybody know of a utility to do this? I've got files that are decades old... tx, guys. gary From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 23:14: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 B2374106564A for ; Tue, 11 Sep 2012 23:14:46 +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 71BD48FC0C for ; Tue, 11 Sep 2012 23:14:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id 9DEDA278A6; Wed, 12 Sep 2012 01:14:44 +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 q8BNEhE0003436; Wed, 12 Sep 2012 01:14:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 12 Sep 2012 01:14:43 +0200 From: Polytropon To: Gary Kline Message-Id: <20120912011443.5df17cf2.freebsd@edvax.de> In-Reply-To: <20120911213804.GA9817@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> 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 Mailing List Subject: Re: cksum entire dir?? 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: Tue, 11 Sep 2012 23:14:46 -0000 On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > I'm trying to checksum directories as I move them around. > ive read the man page for sum and cksum ... or maybe skimmed > them. no joy. anybody know of a utility to do this? I've > got files that are decades old... Maybe it's possible to tar the directory (without compression of course) and obtain a checksum of the tar archive? % tar cf - | cksum But I also tried cksum directly with a directory like % cksum and could obtain a checksum - so it _seems_ to work. After alteration of one file within the hierarchy a different result was printed. Tested on OS version 8.2-STABLE/i386, one year old. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 00:26: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 EF476106566C for ; Wed, 12 Sep 2012 00:26:45 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-02.prod.phx3.secureserver.net (p3plsmtpa06-02.prod.phx3.secureserver.net [173.201.192.103]) by mx1.freebsd.org (Postfix) with ESMTP id CBDFF8FC0A for ; Wed, 12 Sep 2012 00:26:45 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-02.prod.phx3.secureserver.net with id y0Q81j0044XeM01010Q80E; Tue, 11 Sep 2012 17:24:09 -0700 Date: Tue, 11 Sep 2012 17:24:08 -0700 From: Gary Kline To: Polytropon Message-ID: <20120912002408.GA10496@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912011443.5df17cf2.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 00:26:46 -0000 On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > I'm trying to checksum directories as I move them around. > > ive read the man page for sum and cksum ... or maybe skimmed > > them. no joy. anybody know of a utility to do this? I've > > got files that are decades old... > > Maybe it's possible to tar the directory (without > compression of course) and obtain a checksum of > the tar archive? > > % tar cf - | cksum > > But I also tried cksum directly with a directory > like > > % cksum > > and could obtain a checksum - so it _seems_ to work. > After alteration of one file within the hierarchy a > different result was printed. > > Tested on OS version 8.2-STABLE/i386, one year old. > I think I tried something like your second example last night. I think I did % cksum foodir/* and had to compare each file from another file I was copying from. it was tiresome to check each of dozens of files tho. I was here at desk for something obscene -- over 12 hrs. getting my new [slightly used:)] computer back to normal. if there isn't anything that can compare entire dirs, it looks like it's time to hack a small program. tx, polyt. gary > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 00:49:03 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 986D91065674 for ; Wed, 12 Sep 2012 00:49:03 +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 577998FC17 for ; Wed, 12 Sep 2012 00:49:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx01.qsc.de (Postfix) with ESMTP id BE68A3CD81; Wed, 12 Sep 2012 02:48: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 q8C0msbO004119; Wed, 12 Sep 2012 02:48:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 12 Sep 2012 02:48:54 +0200 From: Polytropon To: Gary Kline Message-Id: <20120912024854.1a79d0b3.freebsd@edvax.de> In-Reply-To: <20120912002408.GA10496@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> 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 Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 00:49:03 -0000 On Tue, 11 Sep 2012 17:24:08 -0700, Gary Kline wrote: > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > > > I'm trying to checksum directories as I move them around. > > > ive read the man page for sum and cksum ... or maybe skimmed > > > them. no joy. anybody know of a utility to do this? I've > > > got files that are decades old... > > > > Maybe it's possible to tar the directory (without > > compression of course) and obtain a checksum of > > the tar archive? > > > > % tar cf - | cksum > > > > But I also tried cksum directly with a directory > > like > > > > % cksum > > > > and could obtain a checksum - so it _seems_ to work. > > After alteration of one file within the hierarchy a > > different result was printed. > > > > Tested on OS version 8.2-STABLE/i386, one year old. > > > > > I think I tried something like your second example last night. > I think I did > > % cksum foodir/* That lets the shell expand * to the content of foodir, making a final command line like "cksum foodir/file1 foodir/file2" and so on. If you omit the /* part, the directory will be checksummed entirely. If you then remove a file or change it, a different checksum will be printed. At least that is my interpretation of what I've tested. > if there isn't anything that can compare entire dirs, it looks like > it's time to hack a small program. tx, polyt. The Midnight Commander has a function to compare directories which will also identify _which_ files have changed (unlike the command "cksum foodir" that will tell you _that_ a file has been changed) and use the "mark file" function to highlight those files. It can be accessed by putting one directory into the left, the other one into the right panel, and then F9 C C (or Ctrl-X D). You are then presented a selection: +---------------- Compare directories -----------------+ | Select compare method: | | | | [ Quick ] [ Size only ] [ Thorough ] [ Cancel ] | +------------------------------------------------------+ Quick = file names, Size only = file sizes, Thorough = file content. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 01:00: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 01A1F1065670 for ; Wed, 12 Sep 2012 01:00:17 +0000 (UTC) (envelope-from noeldude@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 ABE278FC08 for ; Wed, 12 Sep 2012 01:00:16 +0000 (UTC) Received: by yenl7 with SMTP id l7so271291yen.13 for ; Tue, 11 Sep 2012 18:00:09 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=HL6FctXCDtvBaleq2aDR236MarNu5pIgmt6oKaT0tNo=; b=GoBlXClkEq8DrI9ujQJGDeoidkPr+q38aYpvqKoBIpyb6bIKlo/mRosdYQ/1PNs7Eo pm9aWU3fgCxsYm17RTCaB8WxHvsoSmAnsZKaDvWJJfGucQSpf3UMv0p6FsLJw+lSidh9 i5fk47hxtp67YipjpCNUabHFaidysv24+4YVOa2kFAywJP7PJMOYcm+K5jXStlnOxaQl xPf+A/AwkVLdPOyJ/7yVPkioSHNeHiNEkcd0FeJb9c5o7ca7D5DkntXAy99QEDfL0cHC 0h9c1vuzS8nhJTFVbAmT5FXYmHY9KRDUpEDPdSpa1fG8GrG/gyOdER1szA/h7/7MXJZ+ No2w== Received: by 10.236.191.233 with SMTP id g69mr17793770yhn.113.1347411609155; Tue, 11 Sep 2012 18:00:09 -0700 (PDT) Received: from [192.168.5.122] (adsl-98-87-90-108.bna.bellsouth.net. [98.87.90.108]) by mx.google.com with ESMTPS id x4sm33166181yhh.2.2012.09.11.18.00.07 (version=SSLv3 cipher=OTHER); Tue, 11 Sep 2012 18:00:08 -0700 (PDT) Message-ID: <504FDE96.50209@gmail.com> Date: Tue, 11 Sep 2012 20:00:06 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912024854.1a79d0b3.freebsd@edvax.de> In-Reply-To: <20120912024854.1a79d0b3.freebsd@edvax.de> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: cksum entire dir?? 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, 12 Sep 2012 01:00:17 -0000 On 9/11/2012 7:48 PM, Polytropon wrote: > > I think I tried something like your second example last night. > I think I did > > % cksum foodir/* > That lets the shell expand * to the content of foodir, making > a final command line like "cksum foodir/file1 foodir/file2" > and so on. If you omit the /* part, the directory will be > checksummed entirely. If you then remove a file or change > it, a different checksum will be printed. At least that is > my interpretation of what I've tested. I think that command checksums the *directory block*, not the same as a combined checksum of all the files, and probably not useful for verifying if all files have been copied/moved correctly to a different directory. > The Midnight Commander has a function to compare directories > which will also identify _which_ files have changed (unlike Yes, much more promising. -- Noel Jones From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 01:16: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 A5C70106564A for ; Wed, 12 Sep 2012 01:16:34 +0000 (UTC) (envelope-from colin.barnabas@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 76F9C8FC12 for ; Wed, 12 Sep 2012 01:16:34 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so1700662pbb.13 for ; Tue, 11 Sep 2012 18:16:28 -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=pmzeRba+R0OkiZetzg1yLwT7FBjx0ULV5D6l5ONUfbw=; b=PiVBW0it0nG1AScZ5oC6839l8f006JRei023CslsdEoo2JtbAwxVdtNLiwpQgQ0PAL YcIC+Zf/ULui7SA/7cEGYJ5IuYWyK/IGjK2/8I5buEev08tGVap6jgcxVxfiMiSwys6O aSC4S3U9+radEuc6AVpZONu5HZWnozL48JpjH5PTJDPQGhsFtDVsoRPd/78ZLEzu4tTl MCUvFZl1/h3e+O3xpySYuWB4FVez9BOEttnqmwN1Ucm6IY3Q/aYBKDgxrk/cwwAhplgE SXBVRT/HiCR0xd1PTjFTPDyheqm0GJDt8h8TqzFf22yBQxOl6J6KUSjOcaRrHtJcWQg+ n1lA== Received: by 10.68.218.196 with SMTP id pi4mr13778379pbc.128.1347412588107; Tue, 11 Sep 2012 18:16:28 -0700 (PDT) Received: from localhost (ip68-98-76-182.ph.ph.cox.net. [68.98.76.182]) by mx.google.com with ESMTPS id io1sm10620284pbc.43.2012.09.11.18.16.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Sep 2012 18:16:23 -0700 (PDT) Date: Tue, 11 Sep 2012 18:17:25 -0700 From: Colin Barnabas To: Gary Kline Message-ID: <20120912011725.GG3066@hs1.VERBENA> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912002408.GA10496@ethic.thought.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Questions Subject: Re: cksum entire dir?? 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, 12 Sep 2012 01:16:34 -0000 On Tue, Sep 11, 2012 at 05:24:08PM -0700, Gary Kline wrote: > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > > > I'm trying to checksum directories as I move them around. > > > ive read the man page for sum and cksum ... or maybe skimmed > > > them. no joy. anybody know of a utility to do this? I've > > > got files that are decades old... > > > > Maybe it's possible to tar the directory (without > > compression of course) and obtain a checksum of > > the tar archive? > > > > % tar cf - | cksum > > > > But I also tried cksum directly with a directory > > like > > > > % cksum > > > > and could obtain a checksum - so it _seems_ to work. > > After alteration of one file within the hierarchy a > > different result was printed. > > > > Tested on OS version 8.2-STABLE/i386, one year old. > > > > > I think I tried something like your second example last night. > I think I did > > % cksum foodir/* > > and had to compare each file from another file I was copying from. > it was tiresome to check each of dozens of files tho. I was here at > desk for something obscene -- over 12 hrs. getting my new [slightly > used:)] computer back to normal. > > if there isn't anything that can compare entire dirs, it looks like > it's time to hack a small program. tx, polyt. > > gary > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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" This works for me: $ find foo/ -type f -print0 | xargs -0 md5 >> foo.md5 Maybe for you as well? Hope I could help. -- Colin Barnabas _ ( ) ACII Ribbon Campaign - www.asciiribbon.org X No HTML/RTF in E-mail / \ Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 02:10: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 9446E106564A for ; Wed, 12 Sep 2012 02:10:29 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-03.prod.phx3.secureserver.net (p3plsmtpa08-03.prod.phx3.secureserver.net [173.201.193.104]) by mx1.freebsd.org (Postfix) with SMTP id 6EA308FC0C for ; Wed, 12 Sep 2012 02:10:28 +0000 (UTC) Received: (qmail 5199 invoked from network); 12 Sep 2012 02:03:48 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa08-03.prod.phx3.secureserver.net (173.201.193.104) with ESMTP; 12 Sep 2012 02:03:47 -0000 Date: Tue, 11 Sep 2012 19:03:47 -0700 From: Gary Kline To: Polytropon Message-ID: <20120912020347.GC10496@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912024854.1a79d0b3.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912024854.1a79d0b3.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:10:29 -0000 On Wed, Sep 12, 2012 at 02:48:54AM +0200, Polytropon wrote: > On Tue, 11 Sep 2012 17:24:08 -0700, Gary Kline wrote: > > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > > > > > I'm trying to checksum directories as I move them around. > > > > ive read the man page for sum and cksum ... or maybe skimmed > > > > them. no joy. anybody know of a utility to do this? I've > > > > got files that are decades old... > > > > > > Maybe it's possible to tar the directory (without > > > compression of course) and obtain a checksum of > > > the tar archive? > > > > > > % tar cf - | cksum > > > > > > But I also tried cksum directly with a directory > > > like > > > > > > % cksum > > > > > > and could obtain a checksum - so it _seems_ to work. > > > After alteration of one file within the hierarchy a > > > different result was printed. > > > > > > Tested on OS version 8.2-STABLE/i386, one year old. > > > > > > > > > I think I tried something like your second example last night. > > I think I did > > > > % cksum foodir/* > > That lets the shell expand * to the content of foodir, making > a final command line like "cksum foodir/file1 foodir/file2" > and so on. If you omit the /* part, the directory will be > checksummed entirely. If you then remove a file or change > it, a different checksum will be printed. At least that is > my interpretation of what I've tested. > > > > > if there isn't anything that can compare entire dirs, it looks like > > it's time to hack a small program. tx, polyt. > > The Midnight Commander has a function to compare directories > which will also identify _which_ files have changed (unlike > the command "cksum foodir" that will tell you _that_ a file > has been changed) and use the "mark file" function to highlight > those files. It can be accessed by putting one directory into > the left, the other one into the right panel, and then F9 C C > (or Ctrl-X D). You are then presented a selection: > > +---------------- Compare directories -----------------+ > | Select compare method: | > | | > | [ Quick ] [ Size only ] [ Thorough ] [ Cancel ] | > +------------------------------------------------------+ > > Quick = file names, Size only = file sizes, Thorough = file > content. > I'm not concerned about a file having been changed, just whether % cp -rp /home/klinebak/foodir /home/kline/ is 100% reliable. down to the bit! a friend has volunteered to take over my system admin chores. he left my drive fragmented and while I am going over /home/klinebak with extreme caution-- getting rid of dross while coping everything valid to my new /home/ dir. im hoping that the cp utility is flawless and/or that the drive to this duo/dual-CPU computer is good. I'm buying a new Dell 4-CPU new. Should have everything setup in a couple weeks. Oh, and in addition to klinebak, there are fragments of my backup systems all over the place. Higgsbo, give me strength! > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 Sep 12 02:15: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 F39791065670 for ; Wed, 12 Sep 2012 02:15:52 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B0E108FC0C for ; Wed, 12 Sep 2012 02:15:52 +0000 (UTC) Received: by obbun3 with SMTP id un3so2364447obb.13 for ; Tue, 11 Sep 2012 19:15:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=E9MV/1qsP7DSpNB4TxoqnFYXBWBWF4QiShDtVSytx1w=; b=Ay4f9jXTwnbe5IoZm6bdbGwu4jYnAXFzwU7LxBc3d2dZArtWPab3ou9qpdS21jHJ46 lCqOqYtAaDIczm6ojVmdJLuhhziVD4cjymIZJQO1qoiIgDKtUEI2egLyq0mSOeLmnZvv WecvYdDeg/3rTkx86mBsdqP68VVhoT2dgXmH7m9GFSfyXc5OYQeKzuagUSFaGOuRdbRD m5ETJCB7jjqaovqDUwnLyGym4b5Qk5kbioEVZwvg0hEOY+jCd3wTAfynIIrtlu6+dD+U DIkaJtcmY/jRVBdp2tFrHBOu0ViIStgx/KNSQd+SvNANgyS+3n3JOPG6QYjwNeKEDa4/ rW8w== MIME-Version: 1.0 Received: by 10.60.169.75 with SMTP id ac11mr20547831oec.12.1347416146022; Tue, 11 Sep 2012 19:15:46 -0700 (PDT) Received: by 10.60.147.138 with HTTP; Tue, 11 Sep 2012 19:15:45 -0700 (PDT) In-Reply-To: <20120912011813.GA2305@neutralgood.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011813.GA2305@neutralgood.org> Date: Tue, 11 Sep 2012 22:15:45 -0400 Message-ID: From: Paul Kraus To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkK2/BWtIyV1HxRKV4VLboSOmomb53UMOtfuP3shjAc5Yps8L+V1vnY9POFLh7HV+sbuBpr Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:15:53 -0000 On Tue, Sep 11, 2012 at 9:18 PM, wrote: > It's a real shame Unix doesn't have a really good tool for comparing > two directory trees. You can use 'diff -r' (even on binaries), but that > fails if you have devices, named pipes, or named sockets in the > filesystem. And diff or cksum don't tell you if symlinks are different. > Plus you may care about file ownership, and that's where the stat > command comes in handy. Solaris and a least a few versions of Linux have a "dircmp" command that is in reality a wrapper for diff that handles special files. The problem with it is that it tends to be slow (I had to validate millions of files). -- {--------1---------2---------3---------4---------5---------6---------7---------} Paul Kraus -> Principal Consultant, Business Information Technology Systems -> Deputy Technical Director, LoneStarCon 3 (http://lonestarcon3.org/) -> Sound Coordinator, Schenectady Light Opera Company ( http://www.sloctheater.org/ ) -> Technical Advisor, Troy Civic Theatre Company -> Technical Advisor, RPI Players From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 02:19: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 50334106564A for ; Wed, 12 Sep 2012 02:19:27 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0E87B8FC0A for ; Wed, 12 Sep 2012 02:19:26 +0000 (UTC) Received: by oagm1 with SMTP id m1so853964oag.13 for ; Tue, 11 Sep 2012 19:19:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=EzEP7UqYpDaaZsuSPsKAC7HB8VhfV81f4bMVPkoh8jw=; b=M048zptz7Di+df5bkcp5ZPrsUbn9x/j0etnS1lzFj0hqqv18ixduaRqreEWnNO3lHr XsKgxihZ4vsg8zu8mes4UcNBLVwqelihU3SeK9PObVdSU9Ug9luUnSmYZQYUGR3JLfCF op559Kpe0i12QRXijAPdCIdwMZSNyL22moAEpTaVkRywWuH8x26Bg64qHxj7p2r3pP9F yGnXKzeAuAlcvUVwtogP1bhrbH8r4/kTVG+OqPJFs3L6IDxGDKCNvFlQ0j+YELm2Whxa 3pTcupAbAV2DMWn2BdVJ+o0rZ1e4DuknKltuT91ibwcpmUOodG7zjrOpkSbZYR7j/vYc zy2Q== MIME-Version: 1.0 Received: by 10.182.154.70 with SMTP id vm6mr20971416obb.50.1347416366135; Tue, 11 Sep 2012 19:19:26 -0700 (PDT) Received: by 10.60.147.138 with HTTP; Tue, 11 Sep 2012 19:19:26 -0700 (PDT) In-Reply-To: <20120912020347.GC10496@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912024854.1a79d0b3.freebsd@edvax.de> <20120912020347.GC10496@ethic.thought.org> Date: Tue, 11 Sep 2012 22:19:26 -0400 Message-ID: From: Paul Kraus To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlBQC8qqdrV7Av5DzEjsXGg6t2xB6t1RYwMBGnZ4P4V4dpAn6svguDnUlDvK3xVc4gCr5+2 Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:19:27 -0000 On Tue, Sep 11, 2012 at 10:03 PM, Gary Kline wrote: > I'm not concerned about a file having been changed, just whether > > % cp -rp /home/klinebak/foodir /home/kline/ > > is 100% reliable. down to the bit! If "cp" is not reliable (down to the bit), then you have much bigger problems. On the other hand, hard drives do have uncorrectable errors and they report the read operation as valid even though they returned bad data. That is part of why ZFS was created and ported to FreeBSD, it checksums the data so a bad bit coming from a drive does not corrupt a file. -- {--------1---------2---------3---------4---------5---------6---------7---------} Paul Kraus -> Principal Consultant, Business Information Technology Systems -> Deputy Technical Director, LoneStarCon 3 (http://lonestarcon3.org/) -> Sound Coordinator, Schenectady Light Opera Company ( http://www.sloctheater.org/ ) -> Technical Advisor, Troy Civic Theatre Company -> Technical Advisor, RPI Players From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 02:23:39 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 5AD02106564A for ; Wed, 12 Sep 2012 02:23:39 +0000 (UTC) (envelope-from markham_breitbach@ssimicro.com) Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by mx1.freebsd.org (Postfix) with ESMTP id 23C548FC08 for ; Wed, 12 Sep 2012 02:23:38 +0000 (UTC) Received: from markhams-macbook-pro-113.local (rageous.ssimicro.com [64.247.134.200]) (authenticated bits=0) by mail.ssimicro.com (8.14.4/8.14.4) with ESMTP id q8C2Nahx045158 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Tue, 11 Sep 2012 20:23:37 -0600 (MDT) Message-ID: <504FF228.4090908@ssimicro.com> Date: Tue, 11 Sep 2012 20:23:36 -0600 From: markham breitbach User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Gary Kline References: <20120911213804.GA9817@ethic.thought.org> In-Reply-To: <20120911213804.GA9817@ethic.thought.org> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:23:39 -0000 As long as you are not moving files across mount points, you could always do something like this: cd $SOURCE_DIR && find . -print | cpio -dplm $DEST_DIR rm -rf $SOURCE_DIR That will create hard links from one directory to the other so you don't have to worry about any file corruption since the data is never actually moved around on the disk. It should also be a whole lot faster than actually moving or copying the data and you don't have to worry about running out of disk space half way through a copy. -M On 12-09-11 3:38 PM, Gary Kline wrote: > I'm trying to checksum directories as I move them around. > ive read the man page for sum and cksum ... or maybe skimmed > them. no joy. anybody know of a utility to do this? I've > got files that are decades old... > > tx, guys. > > gary > > > _______________________________________________ > 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 Sep 12 02:53: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 5B90C106564A for ; Wed, 12 Sep 2012 02:53:04 +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 16E6E8FC16 for ; Wed, 12 Sep 2012 02:53:03 +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 0D5A6A71323 for ; Tue, 11 Sep 2012 22:53:02 -0400 (EDT) Received: (qmail 9225 invoked from network); 12 Sep 2012 02:53:02 -0000 Received: by simscan 1.4.0 ppid: 23960, pid: 6423, t: 0.1762s 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 Sep 2012 02:53:02 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id BFD6033C23; Tue, 11 Sep 2012 22:52:56 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 1F87C39822; Tue, 11 Sep 2012 22:52:56 -0400 (EDT) From: Lowell Gilbert To: Paul Kraus References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011813.GA2305@neutralgood.org> Date: Tue, 11 Sep 2012 22:52:56 -0400 In-Reply-To: (Paul Kraus's message of "Tue, 11 Sep 2012 22:15:45 -0400") Message-ID: <44a9wwar5j.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:53:04 -0000 Paul Kraus writes: > On Tue, Sep 11, 2012 at 9:18 PM, wrote: > >> It's a real shame Unix doesn't have a really good tool for comparing >> two directory trees. You can use 'diff -r' (even on binaries), but that >> fails if you have devices, named pipes, or named sockets in the >> filesystem. And diff or cksum don't tell you if symlinks are different. >> Plus you may care about file ownership, and that's where the stat >> command comes in handy. > > Solaris and a least a few versions of Linux have a "dircmp" command > that is in reality a wrapper for diff that handles special files. The > problem with it is that it tends to be slow (I had to validate > millions of files). It's not clear what the danger profile is supposed to be here; dircmp (and recursing 'diff' applications) can handle many cases, but mtree(8) (with appropriate options) covers more pathological problems. Even so, analysis of changes in file nodes like named sockets will usually require some understanding of the application. I suspect that either a recursive diff or an mtree specification is a good solution for the original poster's problem, but we don't have enough information to be more sure than that. Be well. Lowell From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 02:55: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 A57AD106564A for ; Wed, 12 Sep 2012 02:55: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 4DE8E8FC0C for ; Wed, 12 Sep 2012 02:55:23 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8C2tXvY092152; Tue, 11 Sep 2012 21:55:33 -0500 (CDT) Date: Tue, 11 Sep 2012 21:55:33 -0500 (CDT) From: Robert Bonomi Message-Id: <201209120255.q8C2tXvY092152@mail.r-bonomi.com> To: kline@thought.org In-Reply-To: <20120912002408.GA10496@ethic.thought.org> Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 02:55:24 -0000 > Date: Tue, 11 Sep 2012 17:24:08 -0700 > From: Gary Kline > Subject: Re: cksum entire dir?? > > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > > > I'm trying to checksum directories as I move them around. > > > ive read the man page for sum and cksum ... or maybe skimmed > > > them. no joy. anybody know of a utility to do this? I've > > > got files that are decades old... > > > > Maybe it's possible to tar the directory (without > > compression of course) and obtain a checksum of > > the tar archive? > > > > % tar cf - | cksum > > > > But I also tried cksum directly with a directory > > like > > > > % cksum > > > > and could obtain a checksum - so it _seems_ to work. > > After alteration of one file within the hierarchy a > > different result was printed. > > > > Tested on OS version 8.2-STABLE/i386, one year old. > > > > > I think I tried something like your second example last night. > I think I did > > % cksum foodir/* > > and had to compare each file from another file I was copying from. > it was tiresome to check each of dozens of files tho. I was here at > desk for something obscene -- over 12 hrs. getting my new [slightly > used:)] computer back to normal. If you'd say _what_ you are trying to accomplish, as distinct from _how_ you are attempting to do things, people might be able to suggest a "sensible" answer. Taking what you asked _literally_, 'tar . -cf - | cksum' answers the question. Although 'find . -exec cat {} \; | cksum' may be closer. However, if you just want to etablish that the contents of two directories are identical, the 'diff -r -q {dir1} {dir2} might be appropriate. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 03:53: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 3EB59106566C for ; Wed, 12 Sep 2012 03:53:36 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id 01C2D8FC12 for ; Wed, 12 Sep 2012 03:53:35 +0000 (UTC) Received: (qmail 93936 invoked from network); 12 Sep 2012 03:37:00 -0000 Received: from pool-72-89-112-129.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@72.89.112.129) by 199.4.235.5 with SMTP; 12 Sep 2012 03:37:00 -0000 Received: (qmail 21786 invoked by uid 103); 12 Sep 2012 03:20:00 -0000 Date: 12 Sep 2012 03:20:00 -0000 Message-ID: <20120912032000.21785.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org References: <201208291516.q7TFGU7C010873@x.it.okstate.edu> <503E3AAB.4020505@gmail.com> Subject: Anyone used a Dazzle DVC100 with 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: Wed, 12 Sep 2012 03:53:36 -0000 Hi, If anyone has used a Dazzle DVC100 with Freebsd, or knows how to capture video with this on Freebsd, I'd appreciate some advice. Thanks! Scott -- sdb@ssr.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 05:09: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 757F1106564A for ; Wed, 12 Sep 2012 05:09:35 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-08.prod.phx3.secureserver.net (p3plsmtpa06-08.prod.phx3.secureserver.net [173.201.192.109]) by mx1.freebsd.org (Postfix) with ESMTP id 512288FC0A for ; Wed, 12 Sep 2012 05:09:35 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-08.prod.phx3.secureserver.net with id y56y1j0064XeM010156zv5; Tue, 11 Sep 2012 22:06:59 -0700 Date: Tue, 11 Sep 2012 22:06:58 -0700 From: Gary Kline To: kpneal@pobox.com Message-ID: <20120912050658.GA11860@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011813.GA2305@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912011813.GA2305@neutralgood.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 05:09:35 -0000 On Tue, Sep 11, 2012 at 09:18:13PM -0400, kpneal@pobox.com wrote: > On Tue, Sep 11, 2012 at 05:24:08PM -0700, Gary Kline wrote: > > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > > But I also tried cksum directly with a directory > > > like > > > > > > % cksum > > > > > > and could obtain a checksum - so it _seems_ to work. > > > After alteration of one file within the hierarchy a > > > different result was printed. > > > I think I tried something like your second example last night. > > I think I did > > > > % cksum foodir/* > > > > and had to compare each file from another file I was copying from. > > it was tiresome to check each of dozens of files tho. I was here at > > desk for something obscene -- over 12 hrs. getting my new [slightly > > used:)] computer back to normal. > > > > if there isn't anything that can compare entire dirs, it looks like > > it's time to hack a small program. tx, polyt. > > Unix was originally created to do text manipulation. No need for a new > program when you can do it from the command line. > > cd dir1 ; cksum * | sort > /tmp/dir1-cksum > cd dir2 ; cksum * | sort > /tmp/dir2-cksum > > diff /tmp/dir?-cksum > > Don't forget to remove temporary files when you are done. > > Other useful commands: > cut > paste > > You can use awk to pull out and rearrange columns: > cksum * | awk '{ print $3, $1, $2; }' | sort > > This gives you a little easier diff in case you do have changes. > > Friendly tip: if you did comparisons by hand for 12 hours then you > may have missed something. no, it was several other tasks that I had t o do very carefully by hand. I was going to write an awk script. I figured there were others ways. my desktop is a flavor of linux that i don't know. it seems to be lacking in many common unix binaries; md5 is one that I spent an hour checking. zero. your first way works very well and will serve. many thanks. now I can listen to: /Lectures on the Critique of Pure Reason which is now safely in my home directory in several mp3 files. > > It's a real shame Unix doesn't have a really good tool for comparing > two directory trees. You can use 'diff -r' (even on binaries), but that > fails if you have devices, named pipes, or named sockets in the > filesystem. And diff or cksum don't tell you if symlinks are different. > Plus you may care about file ownership, and that's where the stat > command comes in handy. right. these are things you only discover the hard way. > > Not that I'm volunteering, mind you. I ended up instead writing a > Python script to do copies of filesystems off of old machines I'm > putting to pasture. It's amazing how badly old versions of dump and > tar behave. REmember CP/M and MP/M? I started out with a dual 8085/80888 box with MP/Mand wrote notes and letters that were stored on 8" twin floppies. circa mid-1980's I transferred a boatload of floppies onto my 386 with SVR2 with uucp and others C programs on the 8088 box. it took forever and things keep faulting, but I got it done. eventually. > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "I like being on The Daily Show." - Kermit the Frog, Feb 13 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 05:57: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 A42DB106566C for ; Wed, 12 Sep 2012 05:57:01 +0000 (UTC) (envelope-from kline@thought.org) Received: from smtpauth21.prod.mesa1.secureserver.net (smtpauth21.prod.mesa1.secureserver.net [64.202.165.38]) by mx1.freebsd.org (Postfix) with SMTP id 805E18FC19 for ; Wed, 12 Sep 2012 05:57:01 +0000 (UTC) Received: (qmail 14747 invoked from network); 12 Sep 2012 05:50:21 -0000 Received: from unknown (209.180.213.209) by smtpauth21.prod.mesa1.secureserver.net (64.202.165.38) with ESMTP; 12 Sep 2012 05:50:21 -0000 Date: Tue, 11 Sep 2012 22:50:20 -0700 From: Gary Kline To: Robert Bonomi , j@thought.org Message-ID: <20120912055020.GD11860@ethic.thought.org> References: <20120912002408.GA10496@ethic.thought.org> <201209120255.q8C2tXvY092152@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209120255.q8C2tXvY092152@mail.r-bonomi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 05:57:01 -0000 On Tue, Sep 11, 2012 at 09:55:33PM -0500, Robert Bonomi wrote: > > > Date: Tue, 11 Sep 2012 17:24:08 -0700 > > From: Gary Kline > > Subject: Re: cksum entire dir?? > > > > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > > On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > > > > > > > I'm trying to checksum directories as I move them around. > > > > ive read the man page for sum and cksum ... or maybe skimmed > > > > them. no joy. anybody know of a utility to do this? I've > > > > got files that are decades old... > > > > > > Maybe it's possible to tar the directory (without > > > compression of course) and obtain a checksum of > > > the tar archive? > > > > > > % tar cf - | cksum > > > > > > But I also tried cksum directly with a directory > > > like > > > > > > % cksum > > > > > > and could obtain a checksum - so it _seems_ to work. > > > After alteration of one file within the hierarchy a > > > different result was printed. > > > > > > Tested on OS version 8.2-STABLE/i386, one year old. > > > > > > > > > I think I tried something like your second example last night. > > I think I did > > > > % cksum foodir/* > > > > and had to compare each file from another file I was copying from. > > it was tiresome to check each of dozens of files tho. I was here at > > desk for something obscene -- over 12 hrs. getting my new [slightly > > used:)] computer back to normal. > > If you'd say _what_ you are trying to accomplish, as distinct from > _how_ you are attempting to do things, people might be able to > suggest a "sensible" answer. > > Taking what you asked _literally_, 'tar . -cf - | cksum' answers the question. > Although 'find . -exec cat {} \; | cksum' may be closer. below, is what is easiest to script ... this was kevin's idea, simple and straight foreward. the only trick is that in several cases I have to type [[ ot alias ]] prefix strings like "/home/ethic/usr/home/kline" before I get into the breadth or depth of my directories ... > > However, if you just want to etablish that the contents of two directories > are identical, the 'diff -r -q {dir1} {dir2} might be appropriate. > > From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 06:32: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 81059106564A for ; Wed, 12 Sep 2012 06:32:08 +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 DD8DC8FC12 for ; Wed, 12 Sep 2012 06:32:07 +0000 (UTC) Received: from seedling.local (host109-151-154-19.range109-151.btcentralplus.com [109.151.154.19]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q8C6VpVr091684 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Sep 2012 07:31:57 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q8C6VpVr091684 Authentication-Results: smtp.infracaninophile.co.uk/q8C6VpVr091684; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host109-151-154-19.range109-151.btcentralplus.com [109.151.154.19] claimed to be seedling.local Message-ID: <50502C51.5020601@FreeBSD.org> Date: Wed, 12 Sep 2012 07:31:45 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> In-Reply-To: <20120912011443.5df17cf2.freebsd@edvax.de> X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCE377A85105F6C1106D4523D" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=4.4 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Gary Kline , FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 06:32:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCE377A85105F6C1106D4523D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/09/2012 00:14, Polytropon wrote: > % cksum >=20 > and could obtain a checksum - so it _seems_ to work. > After alteration of one file within the hierarchy a > different result was printed. That will give you a checksum on the directory inode -- file names and associated metadata only, not file content. In theory you could edit a file without modifying any of the timestamps, and that wouldn't result in any change to the directory checksum. Also, modifying things a few layers down the filesystem hierarchy won't have any effect either. Generally I find the best test for differences between old and new copies of a filesystem is 'rsync -avx -n ...' Also, sum and cksum have way too small a key size for this to be reliable, since you can't tell a true result from a hash collision. Use md5 or sha1 or sha256 for best results. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigCE377A85105F6C1106D4523D 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://www.enigmail.net/ iEYEARECAAYFAlBQLFcACgkQ8Mjk52CukIz6ygCfQ9XvOfMlschKHGVWVbwWI0xg cugAniEdvkvi/334ZkBWa2D4EkMxt+Nr =ZAuG -----END PGP SIGNATURE----- --------------enigCE377A85105F6C1106D4523D-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 06:44: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 0A268106566C for ; Wed, 12 Sep 2012 06:44:36 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id 9281F8FC0A for ; Wed, 12 Sep 2012 06:44:35 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.80,408,1344204000"; d="asc'?scan'208";a="4287699" Received: from unknown (HELO [172.26.15.24]) ([172.26.15.24]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 12 Sep 2012 08:44:27 +0200 Message-ID: <1347432178.4141.82.camel@pc437.embl.fr> From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: freebsd-questions@freebsd.org Date: Wed, 12 Sep 2012 08:42:58 +0200 In-Reply-To: <44k3w0ij6n.fsf@be-well.ilk.org> References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-978ZxFbOFWugg5HjHcg9" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Subject: Re: Swapped memory limited to about 500MB for a process ? 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, 12 Sep 2012 06:44:36 -0000 --=-978ZxFbOFWugg5HjHcg9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: > Micka=C3=ABl Can=C3=A9vet writes: >=20 > > I was impacted by a memory leak that has been fixed by this patch: > > http://people.freebsd.org/~rmacklem/namei-leak.patch > > > > What I noticed when the server was paging is that it seems that only > > about 500MB of my 4GB swap partition was used before crashing. I was > > wondering why it didn't take the whole 4GB up to the crash of the serve= r > > because of lake of memory (that would let me more time to react). > > > > Is there such king of setting that prevent a process to put more then > > 500MB of data in swap ? >=20 > limits(1)? >=20 Thank you for your answer. Here is the result of limits: limits Resource limits (current): cputime infinity secs filesize infinity kB datasize 33554432 kB stacksize 524288 kB coredumpsize infinity kB memoryuse infinity kB memorylocked infinity kB maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kB pseudo-terminals infinity swapuse infinity kB swapuse is set to unlimited, but stacksize is set to 512MB. Is it the stacksize setting that prevent my kernel to swap more then 512MB ? If so, are there any side effect of raising the stack (except exhaust the swap space on the system) to give me more time to react by restarting NFS or export/import Zpools for example in the case of NAMEI memory leak before the kernel crashes ? Thanks, Micka=C3=ABl --=-978ZxFbOFWugg5HjHcg9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlBQLvIACgkQZjBmN5Hi/YaQWgCfY8Db7fErF1QoqdA85FT3IBxt AEoAnRs4cjxhckDFdiCvZc6UGWJBcY0F =ZHY9 -----END PGP SIGNATURE----- --=-978ZxFbOFWugg5HjHcg9-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 07:13: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 59676106566B for ; Wed, 12 Sep 2012 07:13:02 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from mail.ru.ac.za (mail.ru.ac.za [IPv6:2001:4200:1010:0:250:56ff:fe8d:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA338FC17 for ; Wed, 12 Sep 2012 07:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ru.ac.za; s=ru-msa; h=X-Authenticated-User:Message-Id:Content-Type:MIME-Version:Date:Subject:To:From; bh=DyAzwleFOtz29aRAxaOw+nRtwAv2zykgO4Zr/k/6N18=; b=gIyKK7en9C0vUI6Jx3PVV6T0uDEja53QpP8VMEOVDbIU1SM52s7sMn1Yy0GsNrBfJIQjl4xmzmp+9L7EN67WlipCmBkTSJKDYfedr8gTaf7uSF62SzspuFLrPf0jyPfC; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:59185) by mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1TBh86-000K3v-Ev for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 09:12:58 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Wed, 12 Sep 2012 09:12:58 +0200 User-Agent: KMail/1.9.10 References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> In-Reply-To: <50502C51.5020601@FreeBSD.org> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: mail.ru.ac.za (2001:4200:1010:0:250:56ff:fe8d:5) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: cksum entire dir?? 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, 12 Sep 2012 07:13:02 -0000 On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote: > On 12/09/2012 00:14, Polytropon wrote: > > % cksum [snip] > > That will give you a checksum on the directory inode -- file names and > associated metadata only, not file content. [snip] > Generally I find the best test for differences between old and new > copies of a filesystem is 'rsync -avx -n ...' Wouldn't suitable applications of mtree(8) also do what's wanted? Jonathan From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 07:27: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 D5022106564A for ; Wed, 12 Sep 2012 07:27:48 +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 6084C8FC20 for ; Wed, 12 Sep 2012 07:27:48 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q8C7RdNJ092693 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 12 Sep 2012 08:27:45 +0100 (BST) (envelope-from matthew@freebsd.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q8C7RdNJ092693 Authentication-Results: smtp.infracaninophile.co.uk/q8C7RdNJ092693; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50503969.1020300@freebsd.org> Date: Wed, 12 Sep 2012 08:27:37 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <201209120912.58165.j.mckeown@ru.ac.za> In-Reply-To: <201209120912.58165.j.mckeown@ru.ac.za> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: cksum entire dir?? 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, 12 Sep 2012 07:27:48 -0000 On 09/12/12 08:12, Jonathan McKeown wrote: >> Generally I find the best test for differences between old and new >> > copies of a filesystem is 'rsync -avx -n ...' > Wouldn't suitable applications of mtree(8) also do what's wanted? TIMTOWTDI. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 08:01: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 91B041065672 for ; Wed, 12 Sep 2012 08:01:21 +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 5176B8FC1B for ; Wed, 12 Sep 2012 08:01:20 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=lvVElpBz8pbVbuzRh0tsqaRZvAmArRh4UXzQjPcvUnY= c=1 sm=0 a=jLN7EqiLvroA:10 a=6I5d2MoRAAAA:8 a=uuHYD8qHUAAwRIuLHhsA:9 a=AcdsImxJPJ9Yo6Ye3TGm+Q==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.34.76 as permitted sender) Received: from [74.134.34.76] ([74.134.34.76:53467] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 52/A9-00499-DA040505; Wed, 12 Sep 2012 03:58:38 -0400 Date: Wed, 12 Sep 2012 03:58:37 -0400 Message-ID: <52.A9.00499.DA040505@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Cc: Polytropon , Helmut Schneider Subject: Re: svn and/or portsnap 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, 12 Sep 2012 08:01:21 -0000 Regarding my question, How do you get the ports tree or svn in that case if not using portsnap? Helmut Schneider had two suggestions: > You install ports from CD/DVD. Or use pkg_add -r subversion. :) > ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ I guess I could use the latter and then build subversion among other ports, then subsequently switch to svn. This would also work, I would guess, if ports tree is installed by bsdinstall or sysinstall. Question arises whether the ports tree as downloaded in tarball by ftp would be compatible/in sync with portsnap or svn. If in any doubt, either delete /usr/ports/* or move to /usr/ports-by-ftp and then restart fresh with svn. I noticed the FreeBSD Handbook ports section was not up-to-date on the use of subversion with the ports tree. Maybe with subversion now being elevated in importance for updating system source code and ports tree, it could become part of the base system. Tom From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 08:52: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 E5E6F106566B for ; Wed, 12 Sep 2012 08:52:35 +0000 (UTC) (envelope-from duke@sigsegv.at) Received: from minbar.sigsegv.at (minbar.sigsegv.at [83.64.197.38]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3238FC12 for ; Wed, 12 Sep 2012 08:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sigsegv.at; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:From:Date:Message-ID; bh=Jot/Tgkm3M3Rftn3h0sja1JSKAMJG/3VVLZ/t5Vo9b4=; b=r9+hyYSUtJExWmXFPf02wiJrGVLo0Ge7t58ernx4qYKThOor1TP0feNtByChLRmCDN1sRQg6JE0WOPX3WwzNDBXq6Z/Wyl6eQJ1gwsHDwsjcZMl/htBWvFTa97aHzUyUIEk23MZcnibdkWC2yPfsC2/138edcQcB0BBupd5J7l/d9Epm9WZgLBtw2s5yBhjLMi607vFiDGQN9JchSZAxeWP+RROiBBXhrntNMjllZVlR8AQWj0DwsfbCSlx/1Z9K5e5HGwAhM39gnc5a6HsVzVAXDLlbNgvXdx5wOS6BlL3lW5xLn/Sa+XhQsyBp1UMUEat0rYmLLveEHnvOwHx43w==; Message-ID: <20120912103229.120970ywmgpxcqzh@webmail.moger.at> Date: Wed, 12 Sep 2012 10:32:29 +0200 From: "Thomas Hager" To: freebsd-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.2) Subject: NFSv4 mounts succeed on 8.2, but fail on 8.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: Wed, 12 Sep 2012 08:52:36 -0000 hi, i'm trying to mount some NFSv4 shares served by a Solaris 10 server on our FreeBSD boxes. On FreeBSD 8.2, the mounts succeeded after explicitly specifying the "resvport" mount option (the Solaris NFSd refuses requests from unprivileged ports). On 8.3, mount requests are denied no matter what option i specify. The server always complains about the client issuing requests from an unprivileged port. is mount_nfs no longer honoring the "resvport" option in 8.3? anything else i might be missing? tia, tom. -- Thomas "Duke" Hager duke@sigsegv.at GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 09:46: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 B63081065670 for ; Wed, 12 Sep 2012 09:46:34 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.bzerk.org [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 31BBF8FC1D for ; Wed, 12 Sep 2012 09:46:33 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.4/8.14.4) with ESMTP id q8C9kMm9067734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Sep 2012 11:46:22 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.4/8.14.4/Submit) id q8C9kMEU067733; Wed, 12 Sep 2012 11:46:22 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Wed, 12 Sep 2012 11:46:21 +0200 From: Ruben de Groot To: "C. L. Martinez" Message-ID: <20120912094621.GA67683@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , "C. L. Martinez" , freebsd-questions@freebsd.org References: <504B8A2B.6090007@gmail.com> <20120910105918.GA39171@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-12.9 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY, BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ei.bzerk.org Cc: freebsd-questions@freebsd.org Subject: Re: Binding IP adress to opensmtpd 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, 12 Sep 2012 09:46:34 -0000 On Mon, Sep 10, 2012 at 01:20:47PM +0000, C. L. Martinez typed: > On Mon, Sep 10, 2012 at 10:59 AM, Ruben de Groot wrote: > > On Sat, Sep 08, 2012 at 08:10:51PM +0200, carlopmart typed: > >> Hi all, > >> > >> I have installed opensmtpd on my FreeBSD 8.3. All works ok, except I > >> can't bind smtpd to specific IP address ... In this box, I am using 3 ip > >> aliases, but smtpd sends all emails using the first IP. > >> > >> Is it possible to configure this?? I have tried to fix with hostname > >> option, without result ... > > > > You could run smtpd inside a jail(8) with that IP address. > > > > -- > > Yes it is an option, but too fat option ... This is a vm under ESXi > with only 512 MB RAM ... What do you mean, fat? You can jail the smtpd process, using the same / for root filesystem. Something like jail / /path/to/smtpd instead of your normal startup command. This is as lean and mean as it gets. Ruben From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 14:03: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 EB2B6106564A for ; Wed, 12 Sep 2012 14:03:09 +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 A6C048FC17 for ; Wed, 12 Sep 2012 14:03:09 +0000 (UTC) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id B95D1A714FB for ; Wed, 12 Sep 2012 10:03:08 -0400 (EDT) Received: (qmail 17668 invoked from network); 12 Sep 2012 14:03:08 -0000 Received: by simscan 1.4.0 ppid: 22153, pid: 7855, t: 0.2046s scanners: clamav: m: Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Sep 2012 14:03:08 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 65E7233C24; Wed, 12 Sep 2012 10:03:07 -0400 (EDT) From: Lowell Gilbert To: =?iso-8859-1?Q?Micka=EBl_Can=E9vet?= References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> <1347432178.4141.82.camel@pc437.embl.fr> Date: Wed, 12 Sep 2012 10:03:07 -0400 In-Reply-To: <1347432178.4141.82.camel@pc437.embl.fr> (=?iso-8859-1?Q?=22M?= =?iso-8859-1?Q?icka=EBl_Can=E9vet=22's?= message of "Wed, 12 Sep 2012 08:42:58 +0200") Message-ID: <44zk4vgwys.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? 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: Wed, 12 Sep 2012 14:03:10 -0000 Micka=EBl Can=E9vet writes: > On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: >> Micka=EBl Can=E9vet writes: >>=20 >> > I was impacted by a memory leak that has been fixed by this patch: >> > http://people.freebsd.org/~rmacklem/namei-leak.patch >> > >> > What I noticed when the server was paging is that it seems that only >> > about 500MB of my 4GB swap partition was used before crashing. I was >> > wondering why it didn't take the whole 4GB up to the crash of the serv= er >> > because of lake of memory (that would let me more time to react). >> > >> > Is there such king of setting that prevent a process to put more then >> > 500MB of data in swap ? >>=20 >> limits(1)? >>=20 > Thank you for your answer. > > Here is the result of limits: > > limits > Resource limits (current): > cputime infinity secs > filesize infinity kB > datasize 33554432 kB > stacksize 524288 kB > coredumpsize infinity kB > memoryuse infinity kB > memorylocked infinity kB > maxprocesses 5547 > openfiles 11095 > sbsize infinity bytes > vmemoryuse infinity kB > pseudo-terminals infinity > swapuse infinity kB > > swapuse is set to unlimited, but stacksize is set to 512MB. > Is it the stacksize setting that prevent my kernel to swap more then > 512MB ? No, I don't think so. datasize was the parameter I was most suspecting; and it assumes that a particular process was causing the crash (which is unlikely; the OS is supposed to protect you against it).=20 Most likely, the crash was not directly caused by a shortage of virtual memory. You would have to diagnose through crash dumps, but it could be that some more specific resource was exhausted. Or perhaps the memory leak left dangling references in a vnode. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 14:03: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 9C624106568A for ; Wed, 12 Sep 2012 14:03:55 +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 6A2D98FC19 for ; Wed, 12 Sep 2012 14:03:55 +0000 (UTC) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id E1CA9A713B0 for ; Wed, 12 Sep 2012 10:03:54 -0400 (EDT) Received: (qmail 27723 invoked from network); 12 Sep 2012 14:03:54 -0000 Received: by simscan 1.4.0 ppid: 23283, pid: 19868, t: 0.1856s scanners: clamav: 0.88.2/m:52/d:10739 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Sep 2012 14:03:54 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CC9FA33C27; Wed, 12 Sep 2012 10:03:53 -0400 (EDT) From: Lowell Gilbert To: =?iso-8859-1?Q?Micka=EBl_Can=E9vet?= In-Reply-To: <1347432178.4141.82.camel@pc437.embl.fr> (=?iso-8859-1?Q?=22M?= =?iso-8859-1?Q?icka=EBl_Can=E9vet=22's?= message of "Wed, 12 Sep 2012 08:42:58 +0200") References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> <1347432178.4141.82.camel@pc437.embl.fr> Date: Wed, 12 Sep 2012 10:03:53 -0400 Message-ID: <44y5kfgwxi.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? 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: Wed, 12 Sep 2012 14:03:55 -0000 Micka=EBl Can=E9vet writes: > On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: >> Micka=EBl Can=E9vet writes: >>=20 >> > I was impacted by a memory leak that has been fixed by this patch: >> > http://people.freebsd.org/~rmacklem/namei-leak.patch >> > >> > What I noticed when the server was paging is that it seems that only >> > about 500MB of my 4GB swap partition was used before crashing. I was >> > wondering why it didn't take the whole 4GB up to the crash of the serv= er >> > because of lake of memory (that would let me more time to react). >> > >> > Is there such king of setting that prevent a process to put more then >> > 500MB of data in swap ? >>=20 >> limits(1)? >>=20 > Thank you for your answer. > > Here is the result of limits: > > limits > Resource limits (current): > cputime infinity secs > filesize infinity kB > datasize 33554432 kB > stacksize 524288 kB > coredumpsize infinity kB > memoryuse infinity kB > memorylocked infinity kB > maxprocesses 5547 > openfiles 11095 > sbsize infinity bytes > vmemoryuse infinity kB > pseudo-terminals infinity > swapuse infinity kB > > swapuse is set to unlimited, but stacksize is set to 512MB. > Is it the stacksize setting that prevent my kernel to swap more then > 512MB ? No, I don't think so. datasize was the parameter I was most suspecting; and it assumes that a particular process was causing the crash (which is unlikely; the OS is supposed to protect you against it).=20 Most likely, the crash was not directly caused by a shortage of virtual memory. You would have to diagnose through crash dumps, but it could be that some more specific resource was exhausted. Or perhaps the memory leak left dangling references in a vnode. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 14:05: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 63D59106566B for ; Wed, 12 Sep 2012 14:05:08 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id E868E8FC18 for ; Wed, 12 Sep 2012 14:05:07 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.80,410,1344204000"; d="asc'?scan'208";a="4291077" Received: from unknown (HELO [172.26.15.24]) ([172.26.15.24]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 12 Sep 2012 16:04:56 +0200 Message-ID: <1347458607.4141.88.camel@pc437.embl.fr> From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: freebsd-questions@freebsd.org Date: Wed, 12 Sep 2012 16:03:27 +0200 In-Reply-To: <44y5kfgwxi.fsf@be-well.ilk.org> References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> <1347432178.4141.82.camel@pc437.embl.fr> <44y5kfgwxi.fsf@be-well.ilk.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-yS8310VM1ggOs3AycHSz" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Subject: Re: Swapped memory limited to about 500MB for a process ? 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, 12 Sep 2012 14:05:08 -0000 --=-yS8310VM1ggOs3AycHSz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2012-09-12 at 10:03 -0400, Lowell Gilbert wrote: > Micka=C3=ABl Can=C3=A9vet writes: >=20 > > On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: > >> Micka=C3=ABl Can=C3=A9vet writes: > >>=20 > >> > I was impacted by a memory leak that has been fixed by this patch: > >> > http://people.freebsd.org/~rmacklem/namei-leak.patch > >> > > >> > What I noticed when the server was paging is that it seems that only > >> > about 500MB of my 4GB swap partition was used before crashing. I was > >> > wondering why it didn't take the whole 4GB up to the crash of the se= rver > >> > because of lake of memory (that would let me more time to react). > >> > > >> > Is there such king of setting that prevent a process to put more the= n > >> > 500MB of data in swap ? > >>=20 > >> limits(1)? > >>=20 > > Thank you for your answer. > > > > Here is the result of limits: > > > > limits > > Resource limits (current): > > cputime infinity secs > > filesize infinity kB > > datasize 33554432 kB > > stacksize 524288 kB > > coredumpsize infinity kB > > memoryuse infinity kB > > memorylocked infinity kB > > maxprocesses 5547 > > openfiles 11095 > > sbsize infinity bytes > > vmemoryuse infinity kB > > pseudo-terminals infinity > > swapuse infinity kB > > > > swapuse is set to unlimited, but stacksize is set to 512MB. > > Is it the stacksize setting that prevent my kernel to swap more then > > 512MB ? >=20 > No, I don't think so. datasize was the parameter I was most > suspecting; and it assumes that a particular process was causing the > crash (which is unlikely; the OS is supposed to protect you against > it).=20 >=20 > Most likely, the crash was not directly caused by a shortage of virtual > memory. You would have to diagnose through crash dumps, but it could be > that some more specific resource was exhausted. Or perhaps the memory > leak left dangling references in a vnode. >=20 OK, Thanks a lot for your explanations. Cheers, Micka=C3=ABl --=-yS8310VM1ggOs3AycHSz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlBQli8ACgkQZjBmN5Hi/YYZxwCcC1H2xwJ8xyuKR1yQXYTw4j9Z hHUAn1A45LJ5zhHFwFusfoimrbchpWK1 =maKz -----END PGP SIGNATURE----- --=-yS8310VM1ggOs3AycHSz-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 15:14: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 E0712106566B for ; Wed, 12 Sep 2012 15:14:32 +0000 (UTC) (envelope-from gobble.wa@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 6778C8FC08 for ; Wed, 12 Sep 2012 15:14:31 +0000 (UTC) Received: by weyx56 with SMTP id x56so1243451wey.13 for ; Wed, 12 Sep 2012 08:14:31 -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=QCM0Xd3scRiVM4yFd7UPe7Dg/PwDFh8vATAhil5m/oQ=; b=NI1lte55N0PGY6/V/v/pJk+c6RUBb63YkpjIjUruWOywkE3DDUpMwASiWI62fVvszV BmuvFb/5HrRWUVSiWxIQyW5OnmT/aAmKrfhduezFZ7ZZ7txV33aXreuC+JJVEg7KiMMI sS6nMj5jyKOLdr7g2wObBZc9G69FZtUiS0PPiPmlC/4XoiO9/Vs1mDy9lmprX1qJ3YZ0 QuRr+6XbgVE/ekESi830VzKKfBN4fU6k6WsitbrZP+zDBFCAvMlJ698++EB3UZq1HiHr tauNxPhimsoGKdnUakIpyWrIcZVDjf5WO1KxxhWUK9uJ7tbAcOqKzrfFFMJU19DxknG4 YFpA== MIME-Version: 1.0 Received: by 10.216.233.95 with SMTP id o73mr12928865weq.59.1347462871057; Wed, 12 Sep 2012 08:14:31 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 08:14:30 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 08:14:30 -0700 (PDT) In-Reply-To: <20120912050658.GA11860@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011813.GA2305@neutralgood.org> <20120912050658.GA11860@ethic.thought.org> Date: Wed, 12 Sep 2012 08:14:30 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List , kpneal@pobox.com Subject: Re: cksum entire dir?? 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, 12 Sep 2012 15:14:33 -0000 On Sep 11, 2012 10:10 PM, "Gary Kline" wrote: > > On Tue, Sep 11, 2012 at 09:18:13PM -0400, kpneal@pobox.com wrote: > > On Tue, Sep 11, 2012 at 05:24:08PM -0700, Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: > > > > But I also tried cksum directly with a directory > > > > like > > > > > > > > % cksum > > > > > > > > and could obtain a checksum - so it _seems_ to work. > > > > After alteration of one file within the hierarchy a > > > > different result was printed. > > > > > I think I tried something like your second example last night. > > > I think I did > > > > > > % cksum foodir/* > > > > > > and had to compare each file from another file I was copying from= . > > > it was tiresome to check each of dozens of files tho. I was here at > > > desk for something obscene -- over 12 hrs. getting my new [slightly > > > used:)] computer back to normal. > > > > > > if there isn't anything that can compare entire dirs, it looks like > > > it's time to hack a small program. tx, polyt. > > > > Unix was originally created to do text manipulation. No need for a new > > program when you can do it from the command line. > > > > cd dir1 ; cksum * | sort > /tmp/dir1-cksum > > cd dir2 ; cksum * | sort > /tmp/dir2-cksum > > > > diff /tmp/dir?-cksum > > > > Don't forget to remove temporary files when you are done. > > > > Other useful commands: > > cut > > paste > > > > You can use awk to pull out and rearrange columns: > > cksum * | awk '{ print $3, $1, $2; }' | sort > > > > This gives you a little easier diff in case you do have changes. > > > > Friendly tip: if you did comparisons by hand for 12 hours then you > > may have missed something. > > > no, it was several other tasks that I had t o do very carefully > by hand. I was going to write an awk script. I figured there > were others ways. > > my desktop is a flavor of linux that i don't know. it seems to be > lacking in many common unix binaries; md5 is one that I spent > an hour checking. zero. > > your first way works very well and will serve. many thanks. > now I can listen to: > > /Lectures on the Critique of Pure Reason > > which is now safely in my home directory in several mp3 files. > > > > > It's a real shame Unix doesn't have a really good tool for comparing > > two directory trees. You can use 'diff -r' (even on binaries), but that > > fails if you have devices, named pipes, or named sockets in the > > filesystem. And diff or cksum don't tell you if symlinks are different. > > Plus you may care about file ownership, and that's where the stat > > command comes in handy. > > > right. these are things you only discover the hard way. > > > > Not that I'm volunteering, mind you. I ended up instead writing a > > Python script to do copies of filesystems off of old machines I'm > > putting to pasture. It's amazing how badly old versions of dump and > > tar behave. > > > REmember CP/M and MP/M? I started out with a dual 8085/80888 box > with MP/Mand wrote notes and letters that were stored on 8" > twin floppies. circa mid-1980's I transferred a boatload of floppies > onto my 386 with SVR2 with uucp and others C programs on the 8088 box. > it took forever and things keep faulting, but I got it done. > eventually. > > > oh yeah, I remember the Kaypro =ABportable=BB which was as big as a sampson= ite, and despite being built like a tank probably couldn't handle a wrangling by a gorilla. Waitman Gobble San Jose California -- > > Kevin P. Neal http://www.pobox.com/~kpn/ > > > > "I like being on The Daily Show." - Kermit the Frog, Feb 13 2001 > _______________________________________________ > 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 Sep 12 17:49: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 A78D71065670; Wed, 12 Sep 2012 17:49:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-01.prod.phx3.secureserver.net (p3plsmtpa06-01.prod.phx3.secureserver.net [173.201.192.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1558FC12; Wed, 12 Sep 2012 17:49:02 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-01.prod.phx3.secureserver.net with id yHmR1j0094XeM0101HmRmt; Wed, 12 Sep 2012 10:46:26 -0700 Date: Wed, 12 Sep 2012 10:46:25 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20120912174625.GA17551@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50502C51.5020601@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Polytropon , FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 17:49:02 -0000 On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > On 12/09/2012 00:14, Polytropon wrote: > > % cksum > > > > and could obtain a checksum - so it _seems_ to work. > > After alteration of one file within the hierarchy a > > different result was printed. > > That will give you a checksum on the directory inode -- file names and > associated metadata only, not file content. In theory you could edit a > file without modifying any of the timestamps, and that wouldn't result > in any change to the directory checksum. Also, modifying things a few > layers down the filesystem hierarchy won't have any effect either. > > Generally I find the best test for differences between old and new > copies of a filesystem is 'rsync -avx -n ...' > > Also, sum and cksum have way too small a key size for this to be > reliable, since you can't tell a true result from a hash collision. Use > md5 or sha1 or sha256 for best results. > So this sha256 is *real*?? I have no md5 on my "fedora" that is on my desktop and m having trouble getting used to. but the gentleman who recommened cpio was right on the money. note that I am loathe to spam this list with the following mail from my files in sept, 1988, but here it is. if I had only gr -r -w cpio around in all my directories, I would have found this, sent to one Dirm Myers across the pond :: === >From kline Sat Sep 5 11:52:20 1998 Subject: lost mail file... To: dirkm@buster.dhis.eu.org (Dirk Myers) Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2283 Status: RO Yesterday morning I began composing the next two Q's and A's in my mailer. Last night in the wee hours there was a power glitch and I lost the mail. Enclosed is the first//next Q/A. I'll send along another one or two later today. One that I was playing around with *failed* and I'm trying to figure out why. ----- How can I uise my FBSD floppy drive to copy files to it (in this case, at work), and retrieve the files on my FBSD systtem at home. So far I've only seen examples that used floppies with a filesystem on them. Is there a simplr, more direct way? You can treat the 'raw' floppy device as if it is a tape drive, and use typically UNIX tape tools to read/write, such as tar and cpio. For instance, to copy the current directory onto a floppy to take home at night: (put the floppy in the drive, and cd to the directory where the files are; then ) % tar -cvf /dev/rfd0 . To read it when you get home: (put the floppy in the drive at home; and extract the tarball wherever you want the files) % tar -xvf /dev/rfd0 The flags -c and -x indicate create and extract mode, the ``v'' specifies verbose mode, and the ``f'' tells tar that the following argument is the file or device that tar acts upon. Here, it is the floppy devide. With cpio: (chdir to the directory where the files are) % ls | cpio -oc > /dev/rfd0 To read a cpio archive from a tape drive: % cpio -icd < /dev/rfd0 The flags -i and -o indicate copy-in or extract mode and copy-out or create archive mode. The ``c'' tells cpio to use the old, portablr ASCII archive format. And the ``d'' flag tells cpio to create directories where necessary. Do a % man cpio for much greater detail on this utility. ----- There are another one or two of the simpler Q/A's and one or two more involved. Then, for this month only, I want to write a paragraph or two about who I am and where I'm coming from. Since you are sharing the by-line you might want to consider this too. gary PS: Next month we get a break!! -- Gary D. Kline kline@tao.thought.org Public service uNix ==== as you can see, this dealt with my olden tape drive. a 250meg QIC drive, I think. but this was about the earliest reference I could find re my use of cpio. there are others in my journal dir that reference my running out of hard drive and using cpio rather that a straight cp -rp. [this was back when a 130meg drive was Huge and made me feel rick.] > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 17:56: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 749A5106564A; Wed, 12 Sep 2012 17:56:05 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id C736B8FC0C; Wed, 12 Sep 2012 17:56:04 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so2978056wgb.1 for ; Wed, 12 Sep 2012 10:55:58 -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=K1QfVzFdxcbrZ4VoXri20bw1yU62iLSH96IlJ+x70Y8=; b=Zx0bgcZeqyMpeEl9hPm/H+eIGVuj+5cMR6ko8IN/t1som6KQmkkdkASe+snTqf3rsi LbuIFr+sgKGhKTiK6IePBUupbonw6jEGIbYKY8sdkRbxXO6iiMJ89kr49jrSMDvJlnZq SKNNggO7WmHBJcwdvnqa5KZB5Ql3cc8Izefh5RxhdoeYDvnUJpyhr5LfDc0hv1D+Ne/C GtziZ8uWWmoVKV5t5kY+fLUnqRBzV3gIExeRLNIUSESbvV0jr9A9gihzUXCcg7oAMFxb Ranwa2e6wHnfWDtT5OpbFX8CVpQTAgiJeFIWAPEJhsnpi+7fNQ1afk0cBOLsb7QAMTCd ilqA== MIME-Version: 1.0 Received: by 10.180.78.40 with SMTP id y8mr34398799wiw.7.1347472557957; Wed, 12 Sep 2012 10:55:57 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 10:55:57 -0700 (PDT) In-Reply-To: <20120912174625.GA17551@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> Date: Wed, 12 Sep 2012 10:55:57 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Polytropon , Matthew Seaman , FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 17:56:05 -0000 On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > > On 12/09/2012 00:14, Polytropon wrote: > > > % cksum > > > > > > and could obtain a checksum - so it _seems_ to work. > > > After alteration of one file within the hierarchy a > > > different result was printed. > > > > That will give you a checksum on the directory inode -- file names and > > associated metadata only, not file content. In theory you could edit a > > file without modifying any of the timestamps, and that wouldn't result > > in any change to the directory checksum. Also, modifying things a few > > layers down the filesystem hierarchy won't have any effect either. > > > > Generally I find the best test for differences between old and new > > copies of a filesystem is 'rsync -avx -n ...' > > > > Also, sum and cksum have way too small a key size for this to be > > reliable, since you can't tell a true result from a hash collision. Use > > md5 or sha1 or sha256 for best results. > > > > So this sha256 is *real*?? I have no md5 on my "fedora" > that is on my desktop and m having trouble getting used to. > but the gentleman who recommened cpio was right on the money. > are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux machines. Waitman Gobble San Jose California USA > > note that I am loathe to spam this list with the following mail > from my > files in sept, 1988, but here it is. if I had only gr -r -w cpio > around in all my directories, I would have found this, sent to one > Dirm > Myers across the pond :: > > > === > > >From kline Sat Sep 5 11:52:20 1998 > Subject: lost mail file... > To: dirkm@buster.dhis.eu.org (Dirk Myers) > Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT) > Organization: <> thought.org: public access uNix in service... <> > X-Mailer: ELM [version 2.4ME+ PL32 (25)] > MIME-Version: 1.0 > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > Content-Length: 2283 > Status: RO > > > Yesterday morning I began composing the next two Q's and A's > in my mailer. Last night in the wee hours there was a power > glitch and I lost the mail. > > Enclosed is the first//next Q/A. I'll send along another one > or two later today. One that I was playing around with *failed* > and I'm trying to figure out why. > > ----- > > How can I uise my FBSD floppy drive to copy files to it (in this case, > at work), and retrieve the files on my FBSD systtem at home. So far > I've only seen examples that used floppies with a filesystem on them. > Is there a simplr, more direct way? > > You can treat the 'raw' floppy device as if it is a tape drive, and > use typically UNIX tape tools to read/write, such as tar and cpio. > For instance, to copy the current directory onto a floppy to > take home at night: > > (put the floppy in the drive, and cd to the directory where > the files are; then ) > > % tar -cvf /dev/rfd0 . > > To read it when you get home: > > (put the floppy in the drive at home; and extract the tarball > wherever you want the files) > > % tar -xvf /dev/rfd0 > > The flags -c and -x indicate create and extract mode, the ``v'' > specifies verbose mode, and the ``f'' tells tar that the following > argument is the file or device that tar acts upon. Here, it is > the floppy devide. > > > With cpio: > > (chdir to the directory where the files are) > > % ls | cpio -oc > /dev/rfd0 > > To read a cpio archive from a tape drive: > > % cpio -icd < /dev/rfd0 > > > The flags -i and -o indicate copy-in or extract mode and > copy-out or create archive mode. The ``c'' tells cpio > to use the old, portablr ASCII archive format. And the > ``d'' flag tells cpio to create directories where necessary. > > Do a > > % man cpio > > for much greater detail on this utility. > > ----- > > There are another one or two of the simpler Q/A's and one or two > more involved. > > Then, for this month only, I want to write a paragraph or two > about who I am and where I'm coming from. Since you are sharing > the by-line you might want to consider this too. > > gary > > PS: Next month we get a break!! > > -- > Gary D. Kline kline@tao.thought.org Public service > uNix > > ==== > as you can see, this dealt with my olden tape drive. a 250meg > QIC drive, I think. but this was about the earliest reference > I could find re my use of cpio. there are others in my journal > dir that reference my running out of hard drive and using cpio > rather > that a straight cp -rp. [this was back when a 130meg drive was > Huge > and made me feel rick.] > > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > > > > _______________________________________________ > 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 Sep 12 18:25: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 705B51065670 for ; Wed, 12 Sep 2012 18:25:41 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2EEDF8FC12 for ; Wed, 12 Sep 2012 18:25:41 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8CIL0XP002054 for ; Wed, 12 Sep 2012 14:21:00 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id q8CIL05N002053; Wed, 12 Sep 2012 14:21:00 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 77E05BEA6; Wed, 12 Sep 2012 14:11:05 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <20120912011725.GG3066@hs1.VERBENA> (message from Colin Barnabas on Tue, 11 Sep 2012 18:17:25 -0700) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011725.GG3066@hs1.VERBENA> Message-Id: <20120912181105.77E05BEA6@kev.msw.wpafb.af.mil> Date: Wed, 12 Sep 2012 14:11:05 -0400 (EDT) From: vogelke+freebsd@pobox.com (Karl Vogel) Subject: Re: cksum entire dir?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+freebsd@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 18:25:41 -0000 >> On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: G> I'm trying to checksum directories as I move them around. ive read the G> man page for sum and cksum ... or maybe skimmed them. no joy. anybody G> know of a utility to do this? I've got files that are decades old... I wouldn't use CRC32 to check file integrity; use SHA1 or MD5 at the very least. See http://home.comcast.net/~bretm/hash/8.html for details. >> On Tue, 11 Sep 2012 18:17:25 -0700, >> Colin Barnabas replied: Are you by any chance a "Dark Shadows" fan? C> This works for me: C> $ find foo/ -type f -print0 | xargs -0 md5 >> foo.md5 I do something similar when copying files to a backup server; it's not unheard of for SSH to drop a session or a drive to have a bad spot. An easy-to-automate way is: get a list of files, use the hash of your choice to generate signatures, sort the signature file by the hash, and then get the hash value of the signature file. Here's an example using my bin directory: me% ls aline dir hist makecfg mx ro authlog diskused isodate makekey mylook setperm avg dline kernlog makepass n32 sha buildenv dnslog lastdom mb n64 sshlog cline dosrc linkdups md5path nr sulog cmdlog dot ll memuse ntplog syslog conlog dp lsl mgrep pathinfo tc core f lslm mk ping tcv cronlog fixhist lsn mkdtree plog tl daemonlog fmt lsnm mkproto pwgen tr0 dblog getperm lss mkrcs r tx dbrun google lssm mongolog rand vi dh haval lst month range zp dig help2man lstm mv2inode me% find . -type f -print0 | xargs -0 md5 -r | sort > /tmp/dir.md5 me% cat /tmp/dir.md5 01328aeb4fd0eb3d998f4d7ad407a73f ./setperm 017d6d622fb93bf7f23c0fb7b96b16eb ./core 0287839688bd660676582266685b05bd ./mkrcs 0b97494883c76da546e3603d1b65e7b2 ./pwgen ... ddbed53e795724e4a6683e7b0987284c ./authlog ddbed53e795724e4a6683e7b0987284c ./cmdlog ddbed53e795724e4a6683e7b0987284c ./conlog ddbed53e795724e4a6683e7b0987284c ./cronlog ddbed53e795724e4a6683e7b0987284c ./daemonlog ddbed53e795724e4a6683e7b0987284c ./kernlog ddbed53e795724e4a6683e7b0987284c ./ntplog ddbed53e795724e4a6683e7b0987284c ./sulog ddbed53e795724e4a6683e7b0987284c ./syslog ... fdff1fd84d47f76dbd4954c607d66714 ./dbrun ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0 The *log files are hard-linked, hence the duplicate MD5 values. me% md5 -r /tmp/dir.md5 fdc34a5a5df7807d4fc45739d2d3039f /tmp/dir.md5 If I copy these files elsewhere, I can repeat the steps and just compare the final hash; if it's anything other than 'fdc34...3039f', something's wrong. -- Karl Vogel I don't speak for the USAF or my company When In Doubt, Empty The Magazine --bumper-sticker seen on military base From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 18:31:19 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 114FC1065674 for ; Wed, 12 Sep 2012 18:31:19 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from nm25.bullet.mail.sp2.yahoo.com (nm25.bullet.mail.sp2.yahoo.com [98.139.91.95]) by mx1.freebsd.org (Postfix) with SMTP id CEB1A8FC16 for ; Wed, 12 Sep 2012 18:31:18 +0000 (UTC) Received: from [98.139.91.65] by nm25.bullet.mail.sp2.yahoo.com with NNFMP; 12 Sep 2012 18:31:18 -0000 Received: from [98.139.44.81] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 12 Sep 2012 18:31:18 -0000 Received: from [127.0.0.1] by omp1018.access.mail.sp2.yahoo.com with NNFMP; 12 Sep 2012 18:31:18 -0000 X-Yahoo-Newman-Id: 360830.56221.bm@omp1018.access.mail.sp2.yahoo.com Received: (qmail 46235 invoked from network); 12 Sep 2012 18:31:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=FyDFulTUfbtrQtzHTrFFSF5ue9eOsxJOWVMSXts3iuywMDff4F0dxruyNla3dUvh6+H7ujEsbvfSiSxikF6lpdPxr0vkdK+TeF53j9LgOyy4R5q87Eo3A2Nh5Br5yc8RAH03aySOhlxBmS3PT8TdsMYEmRMVH4EZQWy5AZFpmiE= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1347474677; bh=OT1FwQEU1Dbqx+oi+/b2I7++wc+PZ/ZCvp02RiY+5qs=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=cIbkZlOm6VwR8t5hV+IRMbeCBNjN38OwSXLtcT/ClXUE8YsvoKYsFhJ2Gfme6efOWl2ADZm+PRCB1LylmIfFq2ASBSm9QYWyXfztagHCioEU6NRxyo80/UEUCUvAdT+J1vgqQP0trp2A2tck64CLx1sST6SayX8ktrJ+hFFVG9g= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: tdpXF1YVM1njS.m7uKJc5uGdVskHPqaZd3.pPh4bBRDwT_m J32f5.SfK_BW6W_N_PbU10yPa1HjVGom52e3dJbepiOmxzgTrKuGueWhF6OE cHpX13nPbCwCVxOfrhY82TA._putefTwwDbRcecrD8uTY5Vnih_sUvQf.4yb 0T7631GcHB.MKb.agBe9W9IJUV3fwUdBnD9K1p6EZkoS1rF_ADdxtHoSSWT0 Bn7lSjz8ItrBvMdLj5eJN5r.UfdQWSHckLbtLK488kitxQFYuKOkUEKBO71V jgXIZaHcIUU6LA5LPgt9h0d2Z9yr0Czr9rU.wIH0s71_YLVMbzf1N5ZBYZRd h8ze8jGZkyWTjF6Jfcf_hi1A5dxlNIcMMeiQGFYfE8TCwKH6egk6LXzIigUn D4m8aPv_64wgouzwgm40c.d2wcs738QBr4uIoASX8Srnn6_XNg3hGoGAjvzE cmmMk23tnLQnqRBZFTA3EUIpr_uzU9s0FQS.f9tWQ3zdQpGIbQBfjFrqGPsd 1BJGGCVvDmDdJcvCuvuCeZ_zZGF5m_G5ito4clYl700XKlmObYXylXGfWnVu xwmQN3jofWZRlZmw8JQ-- X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- Received: from europa (mike.jeays@174.112.197.123 with login) by smtp106.rog.mail.gq1.yahoo.com with SMTP; 12 Sep 2012 11:31:17 -0700 PDT Date: Wed, 12 Sep 2012 14:31:16 -0400 From: Mike Jeays To: freebsd-questions@freebsd.org Message-ID: <20120912143116.1f8f8309@europa> In-Reply-To: References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cksum entire dir?? 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, 12 Sep 2012 18:31:19 -0000 On Wed, 12 Sep 2012 10:55:57 -0700 Waitman Gobble wrote: > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > > > On 12/09/2012 00:14, Polytropon wrote: > > > > % cksum > > > > > > > > and could obtain a checksum - so it _seems_ to work. > > > > After alteration of one file within the hierarchy a > > > > different result was printed. > > > > > > That will give you a checksum on the directory inode -- file names and > > > associated metadata only, not file content. In theory you could edit a > > > file without modifying any of the timestamps, and that wouldn't result > > > in any change to the directory checksum. Also, modifying things a few > > > layers down the filesystem hierarchy won't have any effect either. > > > > > > Generally I find the best test for differences between old and new > > > copies of a filesystem is 'rsync -avx -n ...' > > > > > > Also, sum and cksum have way too small a key size for this to be > > > reliable, since you can't tell a true result from a hash collision. Use > > > md5 or sha1 or sha256 for best results. > > > > > > > So this sha256 is *real*?? I have no md5 on my "fedora" > > that is on my desktop and m having trouble getting used to. > > but the gentleman who recommened cpio was right on the money. > > > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux > machines. > > Waitman Gobble > San Jose California USA > > > > > > > > note that I am loathe to spam this list with the following mail > > from my > > files in sept, 1988, but here it is. if I had only gr -r -w cpio > > around in all my directories, I would have found this, sent to one > > Dirm > > Myers across the pond :: > > > > > > === > > > > >From kline Sat Sep 5 11:52:20 1998 > > Subject: lost mail file... > > To: dirkm@buster.dhis.eu.org (Dirk Myers) > > Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT) > > Organization: <> thought.org: public access uNix in service... <> > > X-Mailer: ELM [version 2.4ME+ PL32 (25)] > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=US-ASCII > > Content-Transfer-Encoding: 7bit > > Content-Length: 2283 > > Status: RO > > > > > > Yesterday morning I began composing the next two Q's and A's > > in my mailer. Last night in the wee hours there was a power > > glitch and I lost the mail. > > > > Enclosed is the first//next Q/A. I'll send along another one > > or two later today. One that I was playing around with *failed* > > and I'm trying to figure out why. > > > > ----- > > > > How can I uise my FBSD floppy drive to copy files to it (in this case, > > at work), and retrieve the files on my FBSD systtem at home. So far > > I've only seen examples that used floppies with a filesystem on them. > > Is there a simplr, more direct way? > > > > You can treat the 'raw' floppy device as if it is a tape drive, and > > use typically UNIX tape tools to read/write, such as tar and cpio. > > For instance, to copy the current directory onto a floppy to > > take home at night: > > > > (put the floppy in the drive, and cd to the directory where > > the files are; then ) > > > > % tar -cvf /dev/rfd0 . > > > > To read it when you get home: > > > > (put the floppy in the drive at home; and extract the tarball > > wherever you want the files) > > > > % tar -xvf /dev/rfd0 > > > > The flags -c and -x indicate create and extract mode, the ``v'' > > specifies verbose mode, and the ``f'' tells tar that the following > > argument is the file or device that tar acts upon. Here, it is > > the floppy devide. > > > > > > With cpio: > > > > (chdir to the directory where the files are) > > > > % ls | cpio -oc > /dev/rfd0 > > > > To read a cpio archive from a tape drive: > > > > % cpio -icd < /dev/rfd0 > > > > > > The flags -i and -o indicate copy-in or extract mode and > > copy-out or create archive mode. The ``c'' tells cpio > > to use the old, portablr ASCII archive format. And the > > ``d'' flag tells cpio to create directories where necessary. > > > > Do a > > > > % man cpio > > > > for much greater detail on this utility. > > > > ----- > > > > There are another one or two of the simpler Q/A's and one or two > > more involved. > > > > Then, for this month only, I want to write a paragraph or two > > about who I am and where I'm coming from. Since you are sharing > > the by-line you might want to consider this too. > > > > gary > > > > PS: Next month we get a break!! > > > > -- > > Gary D. Kline kline@tao.thought.org Public service > > uNix > > > > ==== > > as you can see, this dealt with my olden tape drive. a 250meg > > QIC drive, I think. but this was about the earliest reference > > I could find re my use of cpio. there are others in my journal > > dir that reference my running out of hard drive and using cpio > > rather > > that a straight cp -rp. [this was back when a 130meg drive was > > Huge > > and made me feel rick.] > > > > > > > > > Cheers, > > > > > > Matthew > > > > > > -- > > > Dr Matthew J Seaman MA, D.Phil. > > > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > > > > > > > > > _______________________________________________ > > 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" My Linux system has both md5sum and md5deep. They give the same result, except that md5sum quotes the file name in the current directory, and md5deep gives the fully-qualified name. I have been using md5deep - I didn't know md5sum existed. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 19:30:56 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 4B099106564A for ; Wed, 12 Sep 2012 19:30:56 +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 0FD138FC0A for ; Wed, 12 Sep 2012 19:30:55 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.5/8.14.5) with ESMTP id q8CJUsSD069266 for ; Wed, 12 Sep 2012 15:30:55 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <5050E2EC.8070309@sentex.net> Date: Wed, 12 Sep 2012 15:30:52 -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: freebsd-questions 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 Subject: LSI 9750-4i (tws based cards) 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, 12 Sep 2012 19:30:56 -0000 Does anyone have any experience with these cards ? We are looking for a controller that has a little more gas than the twa based cards which have been very reliable and stable for us on FreeBSD. I dont have any experience with 3ware/LSI's cards that use the tws driver. Has anyone used them yet ? ---Mike -- ------------------- 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 Wed Sep 12 20:36: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 9A25C1065676 for ; Wed, 12 Sep 2012 20:36:27 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa01-09.prod.phx3.secureserver.net (p3plsmtpa01-09.prod.phx3.secureserver.net [72.167.82.89]) by mx1.freebsd.org (Postfix) with SMTP id 5BBFC8FC0A for ; Wed, 12 Sep 2012 20:36:27 +0000 (UTC) Received: (qmail 19527 invoked from network); 12 Sep 2012 20:29:47 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa01-09.prod.phx3.secureserver.net (72.167.82.89) with ESMTP; 12 Sep 2012 20:29:46 -0000 Date: Wed, 12 Sep 2012 13:29:45 -0700 From: Gary Kline To: Jonathan McKeown Message-ID: <20120912202945.GC17551@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <201209120912.58165.j.mckeown@ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209120912.58165.j.mckeown@ru.ac.za> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 20:36:27 -0000 On Wed, Sep 12, 2012 at 09:12:58AM +0200, Jonathan McKeown wrote: > On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote: > > On 12/09/2012 00:14, Polytropon wrote: > > > % cksum > [snip] > > > > That will give you a checksum on the directory inode -- file names and > > associated metadata only, not file content. > [snip] > > Generally I find the best test for differences between old and new > > copies of a filesystem is 'rsync -avx -n ...' > > Wouldn't suitable applications of mtree(8) also do what's wanted? > > Jonathan > _______________________________________________ how, with mtree, could I tell whether dir1 == dir2 or not? gary > 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 Sep 12 21:53: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 7CDA71065673 for ; Wed, 12 Sep 2012 21:53:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa01-05.prod.phx3.secureserver.net (p3plsmtpa01-05.prod.phx3.secureserver.net [72.167.82.85]) by mx1.freebsd.org (Postfix) with SMTP id 5388D8FC14 for ; Wed, 12 Sep 2012 21:53:46 +0000 (UTC) Received: (qmail 18460 invoked from network); 12 Sep 2012 21:47:06 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa01-05.prod.phx3.secureserver.net (72.167.82.85) with ESMTP; 12 Sep 2012 21:47:05 -0000 Date: Wed, 12 Sep 2012 14:47:04 -0700 From: Gary Kline To: Waitman Gobble Message-ID: <20120912214704.GB19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Polytropon , Matthew Seaman , FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 21:53:46 -0000 On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > > > On 12/09/2012 00:14, Polytropon wrote: > > > > % cksum > > > > > > > > and could obtain a checksum - so it _seems_ to work. > > > > After alteration of one file within the hierarchy a > > > > different result was printed. > > > > > > That will give you a checksum on the directory inode -- file names and > > > associated metadata only, not file content. In theory you could edit a > > > file without modifying any of the timestamps, and that wouldn't result > > > in any change to the directory checksum. Also, modifying things a few > > > layers down the filesystem hierarchy won't have any effect either. > > > > > > Generally I find the best test for differences between old and new > > > copies of a filesystem is 'rsync -avx -n ...' > > > > > > Also, sum and cksum have way too small a key size for this to be > > > reliable, since you can't tell a true result from a hash collision. Use > > > md5 or sha1 or sha256 for best results. > > > > > > > So this sha256 is *real*?? I have no md5 on my "fedora" > > that is on my desktop and m having trouble getting used to. > > but the gentleman who recommened cpio was right on the money. > > > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux > machines. > > Waitman Gobble > San Jose California USA > yup, you be right. altho we have no md5 [[does FBSD?]], fedora does have md5sum. makes me wonder why this flavor didnt do at least a symlink. oh well. thankee much. [[ axeing to save BW ]] > > > > Dr Matthew J Seaman MA, D.Phil. > > > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > > > > > > > > > _______________________________________________ > > 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 Sep 12 22:06: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 C09EC1065676 for ; Wed, 12 Sep 2012 22:06:38 +0000 (UTC) (envelope-from gobble.wa@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 423FC8FC14 for ; Wed, 12 Sep 2012 22:06:37 +0000 (UTC) Received: by weyx56 with SMTP id x56so1524170wey.13 for ; Wed, 12 Sep 2012 15:06:37 -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=V2WjkPmW8P29XqPzrH43QXRxm9aB7zRZuzhq2nLT2g8=; b=ac9tVkZ28htsBpyB1kp36oWQ4kz9dlFczHrTMu5JVFVUkeiV7WjKyG/AfnlJ3rhEPG MjlP6EFWrcNBAteH+nxyGyq5vDNiOYcoXX/p7Th55e4Ng7xP0E5XgoKCuKUkScWL7cf3 XQQo2y2DPiQErfsCgVk3wvcpg2YqYkLnW8a9DqUkmfyknvasWi3k/wEw7+kFCgyEos4x oHTXlHO9DGEbxf3CK70zvaPGm6Fx6jwimktglMrzR36eC4izqoBPHHZBKfzSrHdVbUr1 HiJmssgpSXAQWEr/Htb7PXOAMrpxyJok2LqaOUsH+jMmIAyMRiJvxF5QisACsOmc7rFo ww1w== MIME-Version: 1.0 Received: by 10.216.194.39 with SMTP id l39mr5137848wen.131.1347487596959; Wed, 12 Sep 2012 15:06:36 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 15:06:36 -0700 (PDT) In-Reply-To: <20120912214704.GB19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912214704.GB19460@ethic.thought.org> Date: Wed, 12 Sep 2012 15:06:36 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: cksum entire dir?? 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, 12 Sep 2012 22:06:38 -0000 On Wed, Sep 12, 2012 at 2:47 PM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline wrote: > > > > > On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > > > > On 12/09/2012 00:14, Polytropon wrote: > > > > > % cksum > > > > > > > > > > and could obtain a checksum - so it _seems_ to work. > > > > > After alteration of one file within the hierarchy a > > > > > different result was printed. > > > > > > > > That will give you a checksum on the directory inode -- file names > and > > > > associated metadata only, not file content. In theory you could > edit a > > > > file without modifying any of the timestamps, and that wouldn't > result > > > > in any change to the directory checksum. Also, modifying things a > few > > > > layers down the filesystem hierarchy won't have any effect either. > > > > > > > > Generally I find the best test for differences between old and new > > > > copies of a filesystem is 'rsync -avx -n ...' > > > > > > > > Also, sum and cksum have way too small a key size for this to be > > > > reliable, since you can't tell a true result from a hash collision. > Use > > > > md5 or sha1 or sha256 for best results. > > > > > > > > > > So this sha256 is *real*?? I have no md5 on my "fedora" > > > that is on my desktop and m having trouble getting used to. > > > but the gentleman who recommened cpio was right on the money. > > > > > > > > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux > > machines. > > > > Waitman Gobble > > San Jose California USA > > > > yup, you be right. altho we have no md5 [[does FBSD?]], fedora > does have md5sum. makes me wonder why this flavor didnt do at > least a > symlink. oh well. > > thankee much. > > [[ > axeing to save BW > ]] > > > > > > > > Dr Matthew J Seaman MA, D.Phil. > > > > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > > > > > > > > > > > > > > _______________________________________________ > > > 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" > > > > cat /usr/src/sbin/md5 /* * Derived from: * * MDDRIVER.C - test driver for MD2, MD4 and MD5 */ /* * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All * rights reserved. * * RSA Data Security, Inc. makes no representations concerning either * the merchantability of this software or the suitability of this * software for any particular purpose. It is provided "as is" * without express or implied warranty of any kind. * * These notices must be retained in any copies of any part of this * documentation and/or software. */ on my fedora machine, md5sum is from GNU coreutils (on FreeBSD this is in ports/sysutils/coreutils) FreeBSD $ md5 messages MD5 (messages) = cfbeddecf1a699471c8135a331aac589 Fedora # md5sum messages ece159dd0b47c7a7592ceb036745a474 messages if you gotta have md5.c, could probably pull the src and build on fedora or maybe something like http://www.efgh.com/software/md5.htm Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 22:21:13 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 6AF63106566C for ; Wed, 12 Sep 2012 22:21:13 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa07-08.prod.phx3.secureserver.net (p3plsmtpa07-08.prod.phx3.secureserver.net [173.201.192.237]) by mx1.freebsd.org (Postfix) with SMTP id 4583B8FC08 for ; Wed, 12 Sep 2012 22:21:13 +0000 (UTC) Received: (qmail 1689 invoked from network); 12 Sep 2012 22:14:33 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa07-08.prod.phx3.secureserver.net (173.201.192.237) with ESMTP; 12 Sep 2012 22:14:32 -0000 Date: Wed, 12 Sep 2012 15:14:31 -0700 From: Gary Kline To: Karl Vogel Message-ID: <20120912221431.GC19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <20120912002408.GA10496@ethic.thought.org> <20120912011725.GG3066@hs1.VERBENA> <20120912181105.77E05BEA6@kev.msw.wpafb.af.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912181105.77E05BEA6@kev.msw.wpafb.af.mil> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 22:21:13 -0000 On Wed, Sep 12, 2012 at 02:11:05PM -0400, Karl Vogel wrote: > >> On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote: > > G> I'm trying to checksum directories as I move them around. ive read the > G> man page for sum and cksum ... or maybe skimmed them. no joy. anybody > G> know of a utility to do this? I've got files that are decades old... > > I wouldn't use CRC32 to check file integrity; use SHA1 or MD5 at the > very least. See http://home.comcast.net/~bretm/hash/8.html for details. [root@ethos klinebak]# yum install sha1 Loaded plugins: langpacks, presto, refresh-packagekit adobe-linux-x86_64 | 951 B 00:00 rpmfusion-free-updates | 3.3 kB 00:00 rpmfusion-nonfree-updates | 3.3 kB 00:00 updates/metalink | 18 kB 00:00 No package sha1 available. Error: Nothing to do [root@ethos klinebak]# see, nothing; I tried to install sha256 as well. zip. but md5sum I have, so that will serve. > > >> On Tue, 11 Sep 2012 18:17:25 -0700, > >> Colin Barnabas replied: > > Are you by any chance a "Dark Shadows" fan? I havent a clue what that is; if it's a tv show, no. same w/ movies. > > C> This works for me: > C> $ find foo/ -type f -print0 | xargs -0 md5 >> foo.md5 > > I do something similar when copying files to a backup server; it's not > unheard of for SSH to drop a session or a drive to have a bad spot. > > An easy-to-automate way is: get a list of files, use the hash of your > choice to generate signatures, sort the signature file by the hash, and > then get the hash value of the signature file. Here's an example using > my bin directory: > > me% ls > aline dir hist makecfg mx ro > authlog diskused isodate makekey mylook setperm > avg dline kernlog makepass n32 sha > buildenv dnslog lastdom mb n64 sshlog > cline dosrc linkdups md5path nr sulog > cmdlog dot ll memuse ntplog syslog > conlog dp lsl mgrep pathinfo tc > core f lslm mk ping tcv > cronlog fixhist lsn mkdtree plog tl > daemonlog fmt lsnm mkproto pwgen tr0 > dblog getperm lss mkrcs r tx > dbrun google lssm mongolog rand vi > dh haval lst month range zp > dig help2man lstm mv2inode > > me% find . -type f -print0 | xargs -0 md5 -r | sort > /tmp/dir.md5 > > me% cat /tmp/dir.md5 > 01328aeb4fd0eb3d998f4d7ad407a73f ./setperm > 017d6d622fb93bf7f23c0fb7b96b16eb ./core > 0287839688bd660676582266685b05bd ./mkrcs > 0b97494883c76da546e3603d1b65e7b2 ./pwgen > ... > ddbed53e795724e4a6683e7b0987284c ./authlog > ddbed53e795724e4a6683e7b0987284c ./cmdlog > ddbed53e795724e4a6683e7b0987284c ./conlog > ddbed53e795724e4a6683e7b0987284c ./cronlog > ddbed53e795724e4a6683e7b0987284c ./daemonlog > ddbed53e795724e4a6683e7b0987284c ./kernlog > ddbed53e795724e4a6683e7b0987284c ./ntplog > ddbed53e795724e4a6683e7b0987284c ./sulog > ddbed53e795724e4a6683e7b0987284c ./syslog > ... > fdff1fd84d47f76dbd4954c607d66714 ./dbrun > ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0 > > The *log files are hard-linked, hence the duplicate MD5 values. > right. > me% md5 -r /tmp/dir.md5 > fdc34a5a5df7807d4fc45739d2d3039f /tmp/dir.md5 > > If I copy these files elsewhere, I can repeat the steps and just compare > the final hash; if it's anything other than 'fdc34...3039f', something's > wrong. well, the full story is my new system admin left my desktop 3/4 or 7/8 or 15/16ths in shardes. I have to-be-made-whole files/dirs in /home/kline. copies from two primary computers are scattered all over. I/ it won't be the-end if I lose a few favorite songs, but I wantto make certain that my devel and journal and writing dirs and a few others are md5sum flawless. thanks for youw howto across machines, karl. I'll save this in my howto file. my present desktop is temp; I'll turn it into a server ---just-in-case. then will use my server for backups. gotta match up. > > -- > Karl Vogel I don't speak for the USAF or my company > > When In Doubt, Empty The Magazine --bumper-sticker seen on military base > _______________________________________________ > 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 Sep 12 22:29: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 C2C2C106564A for ; Wed, 12 Sep 2012 22:29:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa07-05.prod.phx3.secureserver.net (p3plsmtpa07-05.prod.phx3.secureserver.net [173.201.192.234]) by mx1.freebsd.org (Postfix) with SMTP id 82A7E8FC0A for ; Wed, 12 Sep 2012 22:29:10 +0000 (UTC) Received: (qmail 20174 invoked from network); 12 Sep 2012 22:22:29 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa07-05.prod.phx3.secureserver.net (173.201.192.234) with ESMTP; 12 Sep 2012 22:22:29 -0000 Date: Wed, 12 Sep 2012 15:22:28 -0700 From: Gary Kline To: Mike Jeays Message-ID: <20120912222228.GD19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912143116.1f8f8309@europa> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 22:29:10 -0000 On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > On Wed, 12 Sep 2012 10:55:57 -0700 > Waitman Gobble wrote: > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline wrote: > > [[ ...]] > > My Linux system has both md5sum and md5deep. They give the same result, except that md5sum quotes the file name in the current directory, and md5deep gives the fully-qualified name. I have been using md5deep - I didn't know md5sum existed. I did a yum install md5* and got deep! :_) t.y > _______________________________________________ > 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 Sep 12 22:36: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 076EC1065670 for ; Wed, 12 Sep 2012 22:36:52 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C52828FC14 for ; Wed, 12 Sep 2012 22:36:51 +0000 (UTC) Received: by iayy25 with SMTP id y25so2164430iay.13 for ; Wed, 12 Sep 2012 15:36:51 -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=73R+ag3rmGgHov1lpneyZR1N+RyfztkKRXWruI2CTC4=; b=lJlGajmv/haM82GgdSiQjkHmMZLSzbrQ6IN2KKNTcF1knicf1Vp0nSyX0ZqEm+DNDb P8tsvY15hveeMor+04VZb7cnjMQJYQ/IBFFejb2sgFuZhV2CWhvG0PDA5VDc1DqOWze2 WWoVgFdiB+2tVMHydMeLhKEU7Utj0ifgkHUiKiY879LDdVmVItf6Cl81F1Q8/4T76G9x O/HUDyi9g1M2QgOk4y8yHycjTH4apZ2yHsttzNAm2ctgoSU7Q7z8Rz41bYMClLT8dB7D 01QIWSYqfqsGrLIl9DYOmBN340UcJ5XHgeLa7aRinVSGsVyIvEbSh1YHeAJYqqL9qe/E or3A== MIME-Version: 1.0 Received: by 10.50.5.196 with SMTP id u4mr10408igu.41.1347489410963; Wed, 12 Sep 2012 15:36:50 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.231.228.131 with HTTP; Wed, 12 Sep 2012 15:36:50 -0700 (PDT) Date: Wed, 12 Sep 2012 18:36:50 -0400 X-Google-Sender-Auth: BZ_5olvxGwTfMGs581hxOHwcxek Message-ID: From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Installation Logs for FreeBSD 8.x? 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, 12 Sep 2012 22:36:52 -0000 Hi All, Is it possible to write FreeBSD 8.x installation logs onto a resulting FreeBSD 8.x host via sysinstall or some scripting method? I am interested in output one sees during a normal installation plus any warning/error conditions. Ideally, this information will end up on the installed host in a directory within /var. sysinstall docs don't seem to explain any sort of facility to accomplish this. Perhaps there is someone out there who has done something similar that might be able to share their knowledge? -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 22:39: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 4389C106566C for ; Wed, 12 Sep 2012 22:39:51 +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 C49AC8FC08 for ; Wed, 12 Sep 2012 22:39:50 +0000 (UTC) Received: by weyx56 with SMTP id x56so1540843wey.13 for ; Wed, 12 Sep 2012 15:39:49 -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=n+XB2wyYZZ+o1c18vPMs1dSMGPVg91dqRj32uHhDIo8=; b=lFrg2MBD0vBE7tCmHp/xRKpEmi4Au7ik/TI9W2xoJ953M2aJ9nKv3isuCoXvKhcKaj vXRsYom2QG6uENia4ZKPOQQe+CkNH0AfklsGqafWknyajyLSOK347yCWzqm4XXEnlG6r us0vsM4+7yNiH1SGwK8Dc40xFKEnLVZbNcTmVPhtqz5Nqku3K9twPF/BRqcTNlh6Z9ON vJWkRdNeoSni0/f7wbh2hx5USbeE+LVQ1HPC9D7S9XmJVeLLoXMEzoD6MCTj4BkC9x1X bf9y89pEyzqxK5Wf+dfRoaRjngNgb/zhsB9WRKdnU9K/4rHDuVkT8chgyv5c/943bJ/5 iFSw== Received: by 10.216.201.7 with SMTP id a7mr16536weo.84.1347489589588; Wed, 12 Sep 2012 15:39:49 -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 h9sm10266180wiz.1.2012.09.12.15.39.47 (version=SSLv3 cipher=OTHER); Wed, 12 Sep 2012 15:39:48 -0700 (PDT) Date: Wed, 12 Sep 2012 23:39:46 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120912233946.69d1d82d@gumby.homeunix.com> In-Reply-To: <20120912214704.GB19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912214704.GB19460@ethic.thought.org> 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: cksum entire dir?? 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, 12 Sep 2012 22:39:51 -0000 On Wed, 12 Sep 2012 14:47:04 -0700 Gary Kline wrote: > On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > > are you sure it's not 'md5sum' ? ... that seems to be on all my > > GNU/Linux machines. > > > > Waitman Gobble > > San Jose California USA > > > > yup, you be right. altho we have no md5 [[does FBSD?]], > fedora does have md5sum. makes me wonder why this flavor didnt do at > least a symlink. oh well. FreeBSD's md5 and GNU's md5sum don't behave the same. Specifically when reading from stdin (as in a pipeline) md5 sensibly just outputs the hash and a newline, whereas md5sum follows the hash with a "-" to indicate stdin as the "filename". From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 22:58: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 3EB2C106566B for ; Wed, 12 Sep 2012 22:58:02 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E013F8FC08 for ; Wed, 12 Sep 2012 22:58:01 +0000 (UTC) Received: by qcsg15 with SMTP id g15so1905280qcs.13 for ; Wed, 12 Sep 2012 15:58: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=2CELY4MQ59nH8EH/+HyAY6CgEoun9ycP0oKCTOXHqAU=; b=ZZ5qxlqktA/406q5GcJz2J6GLl7LgHrzaeEi/7qsNqt6eMShuNTnkaU9viKIiULH5M FWRjk+0+jkGkgBR4XoN1Q6ofGZkY7KKxV3QwnJQckW4D0FwQk+1Ssss5qOVEvett7wPD thOqMl/UNiShG+l7iD0piDKj7+8d8ETQoHbYVEcIAztCr+cKG8w9DeRA8t41uYLGSjVZ mP4suBr9Kph21hyLDAOKYMME82dUzDhJl7g4CyS6B6FR0e/S1n2WMV+IPM1uV55HR6I3 o58IBTktQ72J7dHtrxMB4nBwjZU5j5IeObRrgy6Kbt4LRkqWp6nO5S0fFpT9qiD5hA5N zvGQ== MIME-Version: 1.0 Received: by 10.229.134.206 with SMTP id k14mr63830qct.25.1347490680941; Wed, 12 Sep 2012 15:58:00 -0700 (PDT) Received: by 10.49.24.145 with HTTP; Wed, 12 Sep 2012 15:58:00 -0700 (PDT) In-Reply-To: <20120912222228.GD19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> <20120912222228.GD19460@ethic.thought.org> Date: Wed, 12 Sep 2012 15:58:00 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 22:58:02 -0000 On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > > On Wed, 12 Sep 2012 10:55:57 -0700 > > Waitman Gobble wrote: > > > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline > wrote: > > > > [[ ...]] > > > > My Linux system has both md5sum and md5deep. They give the same result, > except that md5sum quotes the file name in the current directory, and > md5deep gives the fully-qualified name. I have been using md5deep - I > didn't know md5sum existed. > > I did a yum install md5* and got deep! :_) > > t.y > > > _______________________________________________ > > 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" > also "maybe???" of interest.. it's pretty quick & easy to hack the 'find' function in /usr/src/usr.bin/find/ with md5 capability.. not sure if it's helpful.. copy /usr/src/usr.bin/find/ somewhere, then edit function.c, #include int f_print(PLAN *plan __unused, FTSENT *entry) { char * md5sum[32]; (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); (void)puts(entry->fts_path); return 1; } and edit Makefile (change exec name, PROG= md5find LDADD+= -lmd then "make".. run it: ./md5find . 224df9d178aa35cb532664ea37875791 . bfe464b3ac942e85d8b818a9441e2286 ./find.o 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile beb4c49ba914f62da0b57b16778c1772 ./extern.h 8895f62adaa15b194dec6f15e4c5956b ./find.1 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c 99fade54bb9baf0d3b4d8822d53800b3 ./find.h 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y fce6f5ec314eaea09170b79a0711d07e ./ls.c 75d64926376a5440b7e23b295417a6cc ./main.c 2599f1f22d557b076ff1cde9b17cff55 ./misc.c 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c 3157efe1ed3821e96fec71f1ca4b2306 ./option.c 7ea8adb4cb549b118b903238f43afd37 ./function.o 12f6a75a82f817e1306c323fdddbff59 ./ls.o e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o 6360e963e0f285fe3dc170309a2ae219 ./operator.o 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o 47a8978565c6cb8b0280c231679847ba ./getdate.c 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o e406e4422cf29f3b42484596524b71c1 ./find e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c ....etc Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 23:16: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 06F93106564A for ; Wed, 12 Sep 2012 23:16:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa01-05.prod.phx3.secureserver.net (p3plsmtpa01-05.prod.phx3.secureserver.net [72.167.82.85]) by mx1.freebsd.org (Postfix) with SMTP id BA5B78FC14 for ; Wed, 12 Sep 2012 23:16:58 +0000 (UTC) Received: (qmail 25178 invoked from network); 12 Sep 2012 23:16:57 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa01-05.prod.phx3.secureserver.net (72.167.82.85) with ESMTP; 12 Sep 2012 23:16:57 -0000 Date: Wed, 12 Sep 2012 16:16:56 -0700 From: Gary Kline To: RW Message-ID: <20120912231656.GG19460@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912214704.GB19460@ethic.thought.org> <20120912233946.69d1d82d@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120912233946.69d1d82d@gumby.homeunix.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 12 Sep 2012 23:16:59 -0000 On Wed, Sep 12, 2012 at 11:39:46PM +0100, RW wrote: > On Wed, 12 Sep 2012 14:47:04 -0700 > Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my > > > GNU/Linux machines. > > > > > > Waitman Gobble > > > San Jose California USA > > > > > > > yup, you be right. altho we have no md5 [[does FBSD?]], > > fedora does have md5sum. makes me wonder why this flavor didnt do at > > least a symlink. oh well. > > FreeBSD's md5 and GNU's md5sum don't behave the same. Specifically when > reading from stdin (as in a pipeline) md5 sensibly just outputs the hash > and a newline, whereas md5sum follows the hash with a "-" to indicate > stdin as the "filename". o ah shit. well, I spent at least ten years porting stuff--everything F'ing thing... So I'll have to find the md5 src and port it. then follow karl's example. and others'. [[[ See, this is just one example of taken proven code and adding something and breaking something ... ]]] > _______________________________________________ > 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 Sep 13 00:07: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 B62AA1065670 for ; Thu, 13 Sep 2012 00:07:17 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.mail.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 846BE8FC15 for ; Thu, 13 Sep 2012 00:07:17 +0000 (UTC) Received: (qmail 21068 invoked by uid 0); 13 Sep 2012 00:07:10 -0000 Received: from 67.206.183.59 by rms-us009 with HTTP Content-Type: text/plain; charset="utf-8" Date: Wed, 12 Sep 2012 20:07:09 -0400 From: "Dieter BSD" Message-ID: <20120913000710.165820@gmx.com> MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: +UYjcKIh3zOlNR3dAHAhVpl+IGRvb0AG Subject: How do I set number of retries in Firefox? 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, 13 Sep 2012 00:07:17 -0000 [ no response on mozilla@ list, trying questions@ ] I have a problem with various parts of web pages stopping before getting completely downloaded. Links has a useful retries setting (setup->network options->retries) which seems to fix this. I need a similar fix for firefox 3.6.2 From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 00:39: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 A54A2106566B for ; Thu, 13 Sep 2012 00:39:16 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa07-03.prod.phx3.secureserver.net (p3plsmtpa07-03.prod.phx3.secureserver.net [173.201.192.232]) by mx1.freebsd.org (Postfix) with SMTP id 80D918FC08 for ; Thu, 13 Sep 2012 00:39:16 +0000 (UTC) Received: (qmail 21458 invoked from network); 13 Sep 2012 00:32:36 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa07-03.prod.phx3.secureserver.net (173.201.192.232) with ESMTP; 13 Sep 2012 00:32:36 -0000 Date: Wed, 12 Sep 2012 17:32:35 -0700 From: Gary Kline To: Waitman Gobble Message-ID: <20120913003235.GA19837@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> <20120912222228.GD19460@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 00:39:16 -0000 On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: > On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > > > On Wed, 12 Sep 2012 10:55:57 -0700 > > > Waitman Gobble wrote: > > > > > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline > > wrote: > > > > > > [[ ...]] > > > > > > My Linux system has both md5sum and md5deep. They give the same result, > > except that md5sum quotes the file name in the current directory, and > > md5deep gives the fully-qualified name. I have been using md5deep - I > > didn't know md5sum existed. > > > > I did a yum install md5* and got deep! :_) > > > > t.y > > > > > _______________________________________________ > > > 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" > > > > > > also "maybe???" of interest.. it's pretty quick & easy to hack the 'find' > function in /usr/src/usr.bin/find/ with md5 capability.. > not sure if it's helpful.. > > > copy /usr/src/usr.bin/find/ somewhere, then edit function.c, > > #include > > int > f_print(PLAN *plan __unused, FTSENT *entry) > { > char * md5sum[32]; > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > (void)puts(entry->fts_path); > return 1; > } > > > and edit Makefile (change exec name, > > PROG= md5find > LDADD+= -lmd > > then "make".. > > run it: > > ./md5find . > 224df9d178aa35cb532664ea37875791 . > bfe464b3ac942e85d8b818a9441e2286 ./find.o > 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile > beb4c49ba914f62da0b57b16778c1772 ./extern.h > 8895f62adaa15b194dec6f15e4c5956b ./find.1 > 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c > 99fade54bb9baf0d3b4d8822d53800b3 ./find.h > 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c > 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y > fce6f5ec314eaea09170b79a0711d07e ./ls.c > 75d64926376a5440b7e23b295417a6cc ./main.c > 2599f1f22d557b076ff1cde9b17cff55 ./misc.c > 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c > 3157efe1ed3821e96fec71f1ca4b2306 ./option.c > 7ea8adb4cb549b118b903238f43afd37 ./function.o > 12f6a75a82f817e1306c323fdddbff59 ./ls.o > e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o > 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o > 6360e963e0f285fe3dc170309a2ae219 ./operator.o > 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o > 47a8978565c6cb8b0280c231679847ba ./getdate.c > 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o > e406e4422cf29f3b42484596524b71c1 ./find > e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz > 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find > 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir > 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c > > > ....etc > > Waitman Gobble > San Jose California > _______________________________________________ > 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" o where, Sir, is the header?! From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 00:42: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 BC48D1065670 for ; Thu, 13 Sep 2012 00:42:45 +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 3D7228FC12 for ; Thu, 13 Sep 2012 00:42:44 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1783519wgb.31 for ; Wed, 12 Sep 2012 17:42:43 -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=GnVuJdYeWykNh8FPGXHjIeb94P0vs8BxDeRKnG577iE=; b=rbvd1rHjqmNW5A7UKWuGHEAT5xIz4hX+hEOadvsJsWQ0dUexTC8Zw4EAGb+htW4TGv LHd/kGKIGUweOoum0jbMQBWiYeI1fB2wxFIA5KSumm+z1Laxja6kcHZEbGj5414xO/aZ mjW3Gr+2Q2s728oywVESUCpXD8NRccMUw6cUHjvRsWGiiTOYf68Y3acI5NhdxvtbmKgm CHMGgh2FQNAm3D5Iog4I9tMZJfMlSvy8DUu7WTV/CAzPErAACf6NTdo0PVGM3/KMV2je xxcoes7Q6+vfDuw8y+MzcQAiPnigT9032jWa5D8meKLzqrdh+Wz7SZ8LD8wTFNJ/UAqO okqA== MIME-Version: 1.0 Received: by 10.216.241.198 with SMTP id g48mr140930wer.153.1347496963466; Wed, 12 Sep 2012 17:42:43 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 17:42:43 -0700 (PDT) In-Reply-To: <20120913003235.GA19837@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> <20120912222228.GD19460@ethic.thought.org> <20120913003235.GA19837@ethic.thought.org> Date: Wed, 12 Sep 2012 17:42:43 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 00:42:45 -0000 On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: > > On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline wrote: > > > > > On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > > > > On Wed, 12 Sep 2012 10:55:57 -0700 > > > > Waitman Gobble wrote: > > > > > > > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline > > > wrote: > > > > > > > > [[ ...]] > > > > > > > > My Linux system has both md5sum and md5deep. They give the same > result, > > > except that md5sum quotes the file name in the current directory, and > > > md5deep gives the fully-qualified name. I have been using md5deep - I > > > didn't know md5sum existed. > > > > > > I did a yum install md5* and got deep! :_) > > > > > > t.y > > > > > > > _______________________________________________ > > > > 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" > > > > > > > > > > > also "maybe???" of interest.. it's pretty quick & easy to hack the 'find' > > function in /usr/src/usr.bin/find/ with md5 capability.. > > not sure if it's helpful.. > > > > > > copy /usr/src/usr.bin/find/ somewhere, then edit function.c, > > > > #include > > > > int > > f_print(PLAN *plan __unused, FTSENT *entry) > > { > > char * md5sum[32]; > > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > > (void)puts(entry->fts_path); > > return 1; > > } > > > > > > and edit Makefile (change exec name, > > > > PROG= md5find > > LDADD+= -lmd > > > > then "make".. > > > > run it: > > > > ./md5find . > > 224df9d178aa35cb532664ea37875791 . > > bfe464b3ac942e85d8b818a9441e2286 ./find.o > > 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile > > beb4c49ba914f62da0b57b16778c1772 ./extern.h > > 8895f62adaa15b194dec6f15e4c5956b ./find.1 > > 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c > > 99fade54bb9baf0d3b4d8822d53800b3 ./find.h > > 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c > > 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y > > fce6f5ec314eaea09170b79a0711d07e ./ls.c > > 75d64926376a5440b7e23b295417a6cc ./main.c > > 2599f1f22d557b076ff1cde9b17cff55 ./misc.c > > 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c > > 3157efe1ed3821e96fec71f1ca4b2306 ./option.c > > 7ea8adb4cb549b118b903238f43afd37 ./function.o > > 12f6a75a82f817e1306c323fdddbff59 ./ls.o > > e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o > > 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o > > 6360e963e0f285fe3dc170309a2ae219 ./operator.o > > 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o > > 47a8978565c6cb8b0280c231679847ba ./getdate.c > > 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o > > e406e4422cf29f3b42484596524b71c1 ./find > > e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz > > 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find > > 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir > > 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c > > > > > > ....etc > > > > Waitman Gobble > > San Jose California > > _______________________________________________ > > 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" > o > where, Sir, is the header?! > > which header? this example I just copied /usr/src/usr.bin/find/ (entire directory contents) to my home directory then "added". #include to the top of function.c (with the other includes, order /may/ matter.. i did after the sys/ includes but before the others) md5.h is in /usr/include, it's basically a wrapper around /usr/include/sys/md5.h then changed the function int f_print, added two lines char * md5sum[32]; (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); then changed the two lines in Makefile, PROGNAME so i don't end up with 'find' executable and the other is -lmd so i get the library with md5 routines. I think maybe I wasn't clear that i was editing function.c, and that there is more to function.c than my example code. I can put the source on git if you want, but it's pretty basic. Also i'd have to research the second parameter in MD5File function, i don't actually think that's what i thought it was. it is returning the correct hash, and printing it out, as returned from the function. Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 01:16: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 E8311106564A for ; Thu, 13 Sep 2012 01:16:58 +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 7C0018FC0C for ; Thu, 13 Sep 2012 01:16:57 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8D1HGg1000114 for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 20:17:16 -0500 (CDT) Date: Wed, 12 Sep 2012 20:17:16 -0500 (CDT) From: Robert Bonomi Message-Id: <201209130117.q8D1HGg1000114@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120912214704.GB19460@ethic.thought.org> Subject: Re: cksum entire dir?? 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, 13 Sep 2012 01:16:59 -0000 > Date: Wed, 12 Sep 2012 14:47:04 -0700 > From: Gary Kline > Subject: Re: cksum entire dir?? > > On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > > [sneck] > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my > > GNU/Linux machines. > > > > yup, you be right. altho we have no md5 [[does FBSD?]], fedora does > have md5sum. makes me wonder why this flavor didnt do at least a > symlink. oh well. to find out what you do have, try 'apropos'. e.g. apropos checksum apropos md5 apropos sha From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 03:15: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 DD339106566C for ; Thu, 13 Sep 2012 03:15:29 +0000 (UTC) (envelope-from kline@thought.org) Received: from smtpauth19.prod.mesa1.secureserver.net (smtpauth19.prod.mesa1.secureserver.net [64.202.165.30]) by mx1.freebsd.org (Postfix) with SMTP id B20888FC14 for ; Thu, 13 Sep 2012 03:15:29 +0000 (UTC) Received: (qmail 21514 invoked from network); 13 Sep 2012 03:08:48 -0000 Received: from unknown (209.180.213.209) by smtpauth19.prod.mesa1.secureserver.net (64.202.165.30) with ESMTP; 13 Sep 2012 03:08:47 -0000 Date: Wed, 12 Sep 2012 20:08:46 -0700 From: Gary Kline To: Waitman Gobble Message-ID: <20120913030846.GA20812@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> <20120912222228.GD19460@ethic.thought.org> <20120913003235.GA19837@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 03:15:30 -0000 On Wed, Sep 12, 2012 at 05:42:43PM -0700, Waitman Gobble wrote: > On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline wrote: > > > On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: > > > On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline wrote: > > > > > > > On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > > > > > On Wed, 12 Sep 2012 10:55:57 -0700 > > > > > Waitman Gobble wrote: > > > > > > > > > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline > > > > wrote: > > > > > > > > > > [[ ...]] > > > > > > > > > > My Linux system has both md5sum and md5deep. They give the same > > result, > > > > except that md5sum quotes the file name in the current directory, and > > > > md5deep gives the fully-qualified name. I have been using md5deep - I > > > > didn't know md5sum existed. > > > > > > > > I did a yum install md5* and got deep! :_) > > > > > > > > t.y > > > > > > > > > _______________________________________________ > > > > > 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" > > > > > > > > > > > > > > > > also "maybe???" of interest.. it's pretty quick & easy to hack the 'find' > > > function in /usr/src/usr.bin/find/ with md5 capability.. > > > not sure if it's helpful.. > > > > > > > > > copy /usr/src/usr.bin/find/ somewhere, then edit function.c, > > > > > > #include > > > > > > int > > > f_print(PLAN *plan __unused, FTSENT *entry) > > > { > > > char * md5sum[32]; > > > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > > > (void)puts(entry->fts_path); > > > return 1; > > > } > > > > > > > > > and edit Makefile (change exec name, > > > > > > PROG= md5find > > > LDADD+= -lmd > > > > > > then "make".. > > > > > > run it: > > > > > > ./md5find . > > > 224df9d178aa35cb532664ea37875791 . > > > bfe464b3ac942e85d8b818a9441e2286 ./find.o > > > 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile > > > beb4c49ba914f62da0b57b16778c1772 ./extern.h > > > 8895f62adaa15b194dec6f15e4c5956b ./find.1 > > > 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c > > > 99fade54bb9baf0d3b4d8822d53800b3 ./find.h > > > 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c > > > 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y > > > fce6f5ec314eaea09170b79a0711d07e ./ls.c > > > 75d64926376a5440b7e23b295417a6cc ./main.c > > > 2599f1f22d557b076ff1cde9b17cff55 ./misc.c > > > 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c > > > 3157efe1ed3821e96fec71f1ca4b2306 ./option.c > > > 7ea8adb4cb549b118b903238f43afd37 ./function.o > > > 12f6a75a82f817e1306c323fdddbff59 ./ls.o > > > e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o > > > 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o > > > 6360e963e0f285fe3dc170309a2ae219 ./operator.o > > > 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o > > > 47a8978565c6cb8b0280c231679847ba ./getdate.c > > > 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o > > > e406e4422cf29f3b42484596524b71c1 ./find > > > e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz > > > 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find > > > 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir > > > 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c > > > > > > > > > ....etc > > > > > > Waitman Gobble > > > San Jose California > > > _______________________________________________ > > > 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" > > o > > where, Sir, is the header?! > > > > which header? > > this example I just copied /usr/src/usr.bin/find/ (entire directory > contents) to my home directory then "added". > > #include to the top of function.c (with the other includes, order > /may/ matter.. i did after the sys/ includes but before the others) > > md5.h is in /usr/include, it's basically a wrapper around > /usr/include/sys/md5.h sounds reasonable. if you have this compiler on fedsora, I'd like to see it for myself. I think I have gcc* installed. so, whenever you have time... . > > > then changed the function int f_print, added two lines > char * md5sum[32]; > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > > then changed the two lines in Makefile, PROGNAME so i don't end up with > 'find' executable and the other is -lmd so i get the library with md5 > routines. > > I think maybe I wasn't clear that i was editing function.c, and that there > is more to function.c than my example code. > > I can put the source on git if you want, but it's pretty basic. Also i'd > have to research the second parameter in MD5File function, i don't actually > think that's what i thought it was. it is returning the correct hash, and > printing it out, as returned from the function. > > Waitman Gobble > San Jose California > _______________________________________________ > 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 Sep 13 03:19: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 A33FE106564A for ; Thu, 13 Sep 2012 03:19:34 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa07-01.prod.phx3.secureserver.net (p3plsmtpa07-01.prod.phx3.secureserver.net [173.201.192.230]) by mx1.freebsd.org (Postfix) with SMTP id 64B1C8FC08 for ; Thu, 13 Sep 2012 03:19:34 +0000 (UTC) Received: (qmail 24556 invoked from network); 13 Sep 2012 03:12:54 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa07-01.prod.phx3.secureserver.net (173.201.192.230) with ESMTP; 13 Sep 2012 03:12:54 -0000 Date: Wed, 12 Sep 2012 20:12:53 -0700 From: Gary Kline To: Robert Bonomi Message-ID: <20120913031253.GB20812@ethic.thought.org> References: <20120912214704.GB19460@ethic.thought.org> <201209130117.q8D1HGg1000114@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209130117.q8D1HGg1000114@mail.r-bonomi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 03:19:34 -0000 On Wed, Sep 12, 2012 at 08:17:16PM -0500, Robert Bonomi wrote: > > > Date: Wed, 12 Sep 2012 14:47:04 -0700 > > From: Gary Kline > > Subject: Re: cksum entire dir?? > > > > On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: > > > > [sneck] > > > > > > are you sure it's not 'md5sum' ? ... that seems to be on all my > > > GNU/Linux machines. > > > > > > > yup, you be right. altho we have no md5 [[does FBSD?]], fedora does > > have md5sum. makes me wonder why this flavor didnt do at least a > > symlink. oh well. > > to find out what you do have, try 'apropos'. > e.g. > apropos checksum > apropos md5 > apropos sha this was the second thing I did. I have basically cksum and sum on this fedora box. oh, and now, md5sum. > _______________________________________________ > 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 Sep 13 05:52: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 46121106564A for ; Thu, 13 Sep 2012 05:52:24 +0000 (UTC) (envelope-from gobble.wa@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 B95348FC0C for ; Thu, 13 Sep 2012 05:52:23 +0000 (UTC) Received: by weyx56 with SMTP id x56so1716816wey.13 for ; Wed, 12 Sep 2012 22:52:22 -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=7ZppNb57U/EtP+JkBq0y+06RulgsxvkK441poy/cEGI=; b=LQc+pNJ+DRwJxZld3enQVG0xZIGn3rYQUgr+8hPW2WWFl65cx32GBBTM+uZ1Omgi/6 VEDQFbeojNI6rcKTbWYO9GADcejHCb+K9OJ9I/IFvlK/ahv3DYESopYJkgJ0iDMq7ysJ 4SDQk+GRGTibMqQTb0/UKaoyxLhFUOeNW3DJI3lmRlS7yoVc/wxHBF4D/T/ygHqJdjB+ iEiXTx9+Fl6JkJhAUjMsWcTShEzGGKkXsMVrYzt2iTn9FYxxGhT0M3IUtA3nwv5ZqLRh 7HXI5Vodgi6pDxrVh56ZQAOtqdYe4IP+nFfOsSwCPxXF+pmclNGYZncf68DF0dSLWduI h5PQ== MIME-Version: 1.0 Received: by 10.216.241.198 with SMTP id g48mr569026wer.153.1347515542415; Wed, 12 Sep 2012 22:52:22 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Wed, 12 Sep 2012 22:52:22 -0700 (PDT) In-Reply-To: <20120913030846.GA20812@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> <20120912143116.1f8f8309@europa> <20120912222228.GD19460@ethic.thought.org> <20120913003235.GA19837@ethic.thought.org> <20120913030846.GA20812@ethic.thought.org> Date: Wed, 12 Sep 2012 22:52:22 -0700 Message-ID: From: Waitman Gobble To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 05:52:24 -0000 On Wed, Sep 12, 2012 at 8:08 PM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 05:42:43PM -0700, Waitman Gobble wrote: > > On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline wrote: > > > > > On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: > > > > On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline > wrote: > > > > > > > > > On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: > > > > > > On Wed, 12 Sep 2012 10:55:57 -0700 > > > > > > Waitman Gobble wrote: > > > > > > > > > > > > > On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline < > kline@thought.org> > > > > > wrote: > > > > > > > > > > > > [[ ...]] > > > > > > > > > > > > My Linux system has both md5sum and md5deep. They give the same > > > result, > > > > > except that md5sum quotes the file name in the current directory, > and > > > > > md5deep gives the fully-qualified name. I have been using md5deep > - I > > > > > didn't know md5sum existed. > > > > > > > > > > I did a yum install md5* and got deep! :_) > > > > > > > > > > t.y > > > > > > > > > > > _______________________________________________ > > > > > > 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" > > > > > > > > > > > > > > > > > > > > > also "maybe???" of interest.. it's pretty quick & easy to hack the > 'find' > > > > function in /usr/src/usr.bin/find/ with md5 capability.. > > > > not sure if it's helpful.. > > > > > > > > > > > > copy /usr/src/usr.bin/find/ somewhere, then edit function.c, > > > > > > > > #include > > > > > > > > int > > > > f_print(PLAN *plan __unused, FTSENT *entry) > > > > { > > > > char * md5sum[32]; > > > > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > > > > (void)puts(entry->fts_path); > > > > return 1; > > > > } > > > > > > > > > > > > and edit Makefile (change exec name, > > > > > > > > PROG= md5find > > > > LDADD+= -lmd > > > > > > > > then "make".. > > > > > > > > run it: > > > > > > > > ./md5find . > > > > 224df9d178aa35cb532664ea37875791 . > > > > bfe464b3ac942e85d8b818a9441e2286 ./find.o > > > > 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile > > > > beb4c49ba914f62da0b57b16778c1772 ./extern.h > > > > 8895f62adaa15b194dec6f15e4c5956b ./find.1 > > > > 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c > > > > 99fade54bb9baf0d3b4d8822d53800b3 ./find.h > > > > 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c > > > > 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y > > > > fce6f5ec314eaea09170b79a0711d07e ./ls.c > > > > 75d64926376a5440b7e23b295417a6cc ./main.c > > > > 2599f1f22d557b076ff1cde9b17cff55 ./misc.c > > > > 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c > > > > 3157efe1ed3821e96fec71f1ca4b2306 ./option.c > > > > 7ea8adb4cb549b118b903238f43afd37 ./function.o > > > > 12f6a75a82f817e1306c323fdddbff59 ./ls.o > > > > e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o > > > > 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o > > > > 6360e963e0f285fe3dc170309a2ae219 ./operator.o > > > > 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o > > > > 47a8978565c6cb8b0280c231679847ba ./getdate.c > > > > 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o > > > > e406e4422cf29f3b42484596524b71c1 ./find > > > > e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz > > > > 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find > > > > 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir > > > > 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c > > > > > > > > > > > > ....etc > > > > > > > > Waitman Gobble > > > > San Jose California > > > > _______________________________________________ > > > > 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" > > > o > > > where, Sir, is the header?! > > > > > > which header? > > > > this example I just copied /usr/src/usr.bin/find/ (entire directory > > contents) to my home directory then "added". > > > > #include to the top of function.c (with the other includes, order > > /may/ matter.. i did after the sys/ includes but before the others) > > > > md5.h is in /usr/include, it's basically a wrapper around > > /usr/include/sys/md5.h > > > sounds reasonable. if you have this compiler on fedsora, I'd like > to > see it for myself. I think I have gcc* installed. > > so, whenever you have time... . > > I'm not sure it's a good use of time (?) considering, as someone mentioned previously, mtree is already working. In the case of doing the find/md5 tinkering project on Fedora or other GNU/Linux distributions, it would likely IMHO be best to use non-BSD, ie Liinux 'find' and 'md5' sources. I do think mtree (already mentioned) is the best way to go.... You dump the checksum, etc into a file and use the file to verify the other path. example: $ mtree -K sha256digest,uname,gname -c -p . > structure.mtree $ cat structure.mtree # user: waitman # machine: hunny.waitman.net # tree: /usr/home/waitman/find/find # date: Wed Sep 12 22:44:38 2012 # . /set type=file uname=root uid=0 gname=wheel gid=0 mode=0644 nlink=1 flags=none . type=dir mode=0755 nlink=3 size=512 \ time=1347515078.000000000 Makefile size=246 time=1347489991.000000000 \ sha256digest=76ad379ec19abe85a2b0b102a97a629cee4a7002526243893785d4d7223e6cd4 extern.h size=3432 time=1344701404.000000000 \ sha256digest=ef2c12d8a8d9c6e1be8bfc368d4b3c359820d98e31710471469303f17fda0d29 find mode=0755 size=61285 time=1347489971.000000000 \ sha256digest=f9a0e343bdca72839d025fe364c008cc77c0f3ef195bcc748327e623fd4b1211 Verify / Compare # mtree -p . < structure.mtree . changed modification time expected Wed Sep 12 22:44:38 2012 found Wed Sep 12 22:44:57 2012 structure.mtree changed size expected 0 found 3023 SHA-256 expected e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 found ad52a8d8c35dbdfd75bed88a6590bf75fadf55113f5288fa0acca9e11c8bdba1 ./structure.txt missing Was there a reason not to use mtree? Waitman Gobble San Jose California > > > > > > then changed the function int f_print, added two lines > > char * md5sum[32]; > > (void)printf("%s ",MD5File(entry->fts_accpath,md5sum)); > > > > then changed the two lines in Makefile, PROGNAME so i don't end up with > > 'find' executable and the other is -lmd so i get the library with md5 > > routines. > > > > I think maybe I wasn't clear that i was editing function.c, and that > there > > is more to function.c than my example code. > > > > I can put the source on git if you want, but it's pretty basic. Also i'd > > have to research the second parameter in MD5File function, i don't > actually > > think that's what i thought it was. it is returning the correct hash, and > > printing it out, as returned from the function. > > > > Waitman Gobble > > San Jose California > > _______________________________________________ > > 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 Sep 13 07:06: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 EB4D6106566B for ; Thu, 13 Sep 2012 07:06: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 A4DD08FC15 for ; Thu, 13 Sep 2012 07:06:33 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TC3VR-0001wN-Jn for freebsd-questions@freebsd.org; Thu, 13 Sep 2012 09:06:33 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Sep 2012 09:06:33 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Sep 2012 09:06:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Thu, 13 Sep 2012 07:06:16 +0000 (UTC) Lines: 19 Message-ID: References: <20120913000710.165820@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.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; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1) Subject: Re: How do I set number of retries in Firefox? 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, 13 Sep 2012 07:06:34 -0000 Dieter BSD engineer.com> writes: > > [ no response on mozilla@ list, trying questions@ ] > > I have a problem with various parts of web pages stopping > before getting completely downloaded. Links has a useful retries > setting (setup->network options->retries) which seems to fix > this. I need a similar fix for firefox 3.6.2 Firefox 15 URL: about:config search: retry network.http.connection-retry-timeout;250 jb From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 08:01: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 BAA8D1065674 for ; Thu, 13 Sep 2012 08:01:02 +0000 (UTC) (envelope-from carlopmart@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 921888FC12 for ; Thu, 13 Sep 2012 08:01:02 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so3868718pbb.13 for ; Thu, 13 Sep 2012 01:01:02 -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=GpS7Vm2/bkUYRU0DTJoJBv8F7P9yFNk7zeD1Jriprt0=; b=rrPc90Ypv+R3OPIMbCDsPx4OTBrQ78p5vkN3n4oh3ESkNCCQQMpBXhmBc5RMbJPUd8 XC6guduEtFPwc2szPnkDAiI2sg5U/xF/cItBZKzXf0YLDAArFaoJ0mNcLSczRC+4zMt9 HDvMmssQ0CtGZir46NtXr4P5UKZVH37k1ZP3DMNbTNY8I6kjDWbB1w8HJtVbyb4jRAwZ 7Z3smZno8oA0P+QdqDwTSE4IjkcZ33NB2Lm8BW7IAXdTv238dAuziJPTdDeYj/CYviKy r8R4YQzhoGGCnYmq7AprJeOT0DAWF8qAhBHPilaVURkgspk1gXfR1g/fbwWFcpusZE24 d6UA== MIME-Version: 1.0 Received: by 10.66.79.38 with SMTP id g6mr2429924pax.40.1347523261938; Thu, 13 Sep 2012 01:01:01 -0700 (PDT) Received: by 10.68.41.42 with HTTP; Thu, 13 Sep 2012 01:01:01 -0700 (PDT) Date: Thu, 13 Sep 2012 08:01:01 +0000 Message-ID: From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Another question about missing posix shared mutex 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, 13 Sep 2012 08:01:02 -0000 Hi all, I am having troubles using sphinxsearch 2.0.5 under a freebsd 8.3 hosts ... Daniel Ylitalo asked the same question a few months ago: http://lists.freebsd.org/pipermail/freebsd-questions/2012-June/242875.html and my response to Michael Powell about using from the ports system is negative ... Will FreeBSD 9.1 support posix pthread shared mutex?? Thanks From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 08:23: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 B04EA1065672 for ; Thu, 13 Sep 2012 08:23:51 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from mail.ru.ac.za (mail.ru.ac.za [IPv6:2001:4200:1010:0:250:56ff:fe8d:5]) by mx1.freebsd.org (Postfix) with ESMTP id CDE388FC08 for ; Thu, 13 Sep 2012 08:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ru.ac.za; s=ru-msa; h=X-Authenticated-User:Message-Id:Content-Type:MIME-Version:Date:Subject:To:From; bh=gkEzI639zox6QezHCHJI1pVONkZsnh4Nu6SqKaHKxjc=; b=WjWsbIMKGfUei2ULhlJ+yJndZGyRflW1Qedtn4SxFCOPHyW0zB3CkDzZjDuZzBZsPttxX9mSqwkf7J9lkzNGAlC2mbu8OVSg/xWblwFIM4iaxgwTqOWy9iVkMVVuBeCv; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:55352) by mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1TC4iC-000Eoc-2C for freebsd-questions@freebsd.org; Thu, 13 Sep 2012 10:23:48 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Thu, 13 Sep 2012 10:23:47 +0200 User-Agent: KMail/1.9.10 References: <20120911213804.GA9817@ethic.thought.org> <201209120912.58165.j.mckeown@ru.ac.za> <20120912202945.GC17551@ethic.thought.org> In-Reply-To: <20120912202945.GC17551@ethic.thought.org> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: mail.ru.ac.za (2001:4200:1010:0:250:56ff:fe8d:5) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: cksum entire dir?? 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, 13 Sep 2012 08:23:51 -0000 On Wednesday 12 September 2012 22:29:45 Gary Kline wrote: > how, with mtree, could I tell whether dir1 =3D=3D dir2 or not? =46rom the manpage: ``The mtree utility compares the file hierarchy rooted in the current directory against a specification read from the standard input. Messages are written to the standard output for any files whose characteristics do not match the specifications, or which are missing from either the file hierarchy or the specification.'' So you run mtree twice, once against dir1 with the -c option to output the= =20 specification for the directory tree to stdout (which you can capture to a= =20 file, or pipe straight into the second invocation) and once against dir2 wi= th=20 the output of the first one as input (either in a pipeline, or by using -f= =20 with the filename of the captured output). Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 14:59: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 0F2981065680 for ; Thu, 13 Sep 2012 14:59:33 +0000 (UTC) (envelope-from markham_breitbach@ssimicro.com) Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by mx1.freebsd.org (Postfix) with ESMTP id C9E818FC0C for ; Thu, 13 Sep 2012 14:59:32 +0000 (UTC) Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by mail.ssimicro.com (8.14.4/8.14.4) with ESMTP id q8DExQWf080794 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Thu, 13 Sep 2012 08:59:26 -0600 (MDT) Message-ID: <5051F4CE.4050307@ssimicro.com> Date: Thu, 13 Sep 2012 08:59:26 -0600 From: markham breitbach User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Gary Kline References: <20120912214704.GB19460@ethic.thought.org> <201209130117.q8D1HGg1000114@mail.r-bonomi.com> <20120913031253.GB20812@ethic.thought.org> In-Reply-To: <20120913031253.GB20812@ethic.thought.org> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 14:59:33 -0000 Perhaps this would be a question best asked in a Linux Forum or on a Fedora list in that case. This is, after all, the FreeBSD Questions mailing list. On 12-09-12 9:12 PM, Gary Kline wrote: > On Wed, Sep 12, 2012 at 08:17:16PM -0500, Robert Bonomi wrote: >>> Date: Wed, 12 Sep 2012 14:47:04 -0700 >>> From: Gary Kline >>> Subject: Re: cksum entire dir?? >>> >>> On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: >> [sneck] >>>> are you sure it's not 'md5sum' ? ... that seems to be on all my >>>> GNU/Linux machines. >>>> >>> yup, you be right. altho we have no md5 [[does FBSD?]], fedora does >>> have md5sum. makes me wonder why this flavor didnt do at least a >>> symlink. oh well. >> to find out what you do have, try 'apropos'. >> e.g. >> apropos checksum >> apropos md5 >> apropos sha > > this was the second thing I did. I have basically > cksum and sum > > on this fedora box. > > oh, and now, md5sum. > >> _______________________________________________ >> 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" From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 15:29: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 E4A8C106564A for ; Thu, 13 Sep 2012 15:29:48 +0000 (UTC) (envelope-from gardnerbell@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 A7FF18FC0A for ; Thu, 13 Sep 2012 15:29:48 +0000 (UTC) Received: by obbun3 with SMTP id un3so5845996obb.13 for ; Thu, 13 Sep 2012 08:29: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=CJ7vwxk31qvjhwyzUK2jyDZhNFMkj8ifbltCQWrhoO4=; b=bjiG6xyCK9PZ4pKzDQSwq0UtK2mt5pMxINh8DGn94qZogOTNBFxPYS5btufcnaOQmM brEizPdcf7mk4VHYlT4Xbiz7sNuKh7c4we/ODnadkvNmXQB0SgV9K8KXKXXUmA800iQO PTG/R/mEZ9+1WPQxEgtiC6qaS0onzT0aWWQ/ws+EGOfhW2LSF6y6HW3vOvXPzNwP3YhV zIva0psn4mHl5jzNX07dIOwzb6od244Wighw9O4lFpi7iAh2gFU26WzUDpywFgP7YN+Z 4GSZ+iaxK47unt86b42FuZJ0fUiE7/2v81dUiH3dQO4qKz9SayeI73Yt+DpvNF3rL7mY 5yhg== MIME-Version: 1.0 Received: by 10.60.30.136 with SMTP id s8mr2942464oeh.22.1347550187872; Thu, 13 Sep 2012 08:29:47 -0700 (PDT) Received: by 10.76.13.69 with HTTP; Thu, 13 Sep 2012 08:29:47 -0700 (PDT) Date: Thu, 13 Sep 2012 11:29:47 -0400 Message-ID: From: Gardner Bell To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: NFS Install 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, 13 Sep 2012 15:29:49 -0000 What I'm wanting to do is build/installworld from my workstation to a remote machine but both have different /etc/src.conf and kernel configuration files. Is there a way to define seperate files so I can perform this upgrade without any errors? From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 16:02: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 40976106566B for ; Thu, 13 Sep 2012 16:02:24 +0000 (UTC) (envelope-from outbackdingo@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 03EDC8FC14 for ; Thu, 13 Sep 2012 16:02:23 +0000 (UTC) Received: by obbun3 with SMTP id un3so5923344obb.13 for ; Thu, 13 Sep 2012 09:02:23 -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=Llqo22EYMuREwLFpJtmMcsybUA7GG/aRlNstj2rVaMU=; b=thYpyDC3paEhaWOrOXy4nKy19DZC3kTirU6n2ppuAZKO2BAISog9tVjlNssexMKuS9 jtGXdiKuixVFsM7wpyKF8x/3CH24Ev1iOn9dV93aCjdnyjtk3IuIgTvXLkP4q1718dKK t8ipaPLsqvw1IT14iQD2ONbMWEIZdxtDCP/wMU+X3O57dsLiH/9FhhdaTPKNkQEsPfFJ 7hDgnsnATLF5r9+s6uVn9j3D2VPsDzYMgETShMiPjNHouMuMOq4W30jLo1vubEmMDcwC +lCGi/my7PHKmRfLrdbU9wLiWFIWDK8uLYvrb2GHgjkGKCPVUlItiWaZbpD7kZw2iWT5 ZXyA== MIME-Version: 1.0 Received: by 10.60.2.134 with SMTP id 6mr3053884oeu.62.1347552143434; Thu, 13 Sep 2012 09:02:23 -0700 (PDT) Received: by 10.76.172.137 with HTTP; Thu, 13 Sep 2012 09:02:23 -0700 (PDT) Date: Thu, 13 Sep 2012 12:02:23 -0400 Message-ID: From: Outback Dingo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD 9.1-PRERELEASE 10Gb Intel card 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, 13 Sep 2012 16:02:24 -0000 Seems slight issue with an intel X540T2 card at 10Gb, we have a Fujitsu X0440 10/40Gb switch, however the card only seems to negotiate 1Gb ifconfig -m ix0 ix0: flags=8843 metric 0 mtu 1500 options=401bb capabilities=1505bb ether a0:36:9f:0e:ae:8c inet6 fe80::a236:9fff:fe0e:ae8c%ix0 prefixlen 64 scopeid 0x1 inet 192.168.1.246 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active supported media: media autoselect media 10Gbase-T # ifconfig ix0 media 10Gbase-T ifconfig: SIOCSIFMEDIA (media): Invalid argument # ifconfig ix0 media autoselect and it doesnt seem to support the ifconfig ix0 media 10Gbase-T any ideas From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 20:10: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 4D8851065675 for ; Thu, 13 Sep 2012 20:10:58 +0000 (UTC) (envelope-from kline@thought.org) Received: from m1plsmtpa01-04.prod.mesa1.secureserver.net (m1plsmtpa01-04.prod.mesa1.secureserver.net [64.202.165.6]) by mx1.freebsd.org (Postfix) with ESMTP id 297548FC16 for ; Thu, 13 Sep 2012 20:10:58 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by m1plsmtpa01-04.prod.mesa1.secureserver.net with id yk8M1j00A4XeM0101k8MMU; Thu, 13 Sep 2012 13:08:22 -0700 Date: Thu, 13 Sep 2012 13:08:21 -0700 From: Gary Kline To: Jonathan McKeown Message-ID: <20120913200821.GA26989@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <201209120912.58165.j.mckeown@ru.ac.za> <20120912202945.GC17551@ethic.thought.org> <201209131023.47782.j.mckeown@ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209131023.47782.j.mckeown@ru.ac.za> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 13 Sep 2012 20:10:58 -0000 On Thu, Sep 13, 2012 at 10:23:47AM +0200, Jonathan McKeown wrote: > On Wednesday 12 September 2012 22:29:45 Gary Kline wrote: > > > how, with mtree, could I tell whether dir1 == dir2 or not? > > From the manpage: > > ``The mtree utility compares the file hierarchy rooted in the > current directory against a specification read from the standard > input. Messages are written to the standard output for any files > whose characteristics do not match the specifications, or which > are missing from either the file hierarchy or the specification.'' > > So you run mtree twice, once against dir1 with the -c option to output the > specification for the directory tree to stdout (which you can capture to a > file, or pipe straight into the second invocation) and once against dir2 with > the output of the first one as input (either in a pipeline, or by using -f > with the filename of the captured output). > > Jonathan > _______________________________________________ > 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'm having unexpected troubles with my old BSD server. ... I've seen Waitman's examples, and your paragraphs above--[thankx, both of you, BTW]. I'Ve got several hours of piecing the fragments of my original *desktop* back together. Following that, I'll be back. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 20:15: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 486A4106564A for ; Thu, 13 Sep 2012 20:15:57 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 0F13F8FC17 for ; Thu, 13 Sep 2012 20:15:56 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8DKFnMn012158 for ; Thu, 13 Sep 2012 16:15:49 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id q8DKFnus012157; Thu, 13 Sep 2012 16:15:49 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 1C07FBEA7; Thu, 13 Sep 2012 15:18:43 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: (message from Waitman Gobble on Wed, 12 Sep 2012 22:52:22 -0700) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> Date: Thu, 13 Sep 2012 15:18:43 -0400 (EDT) From: vogelke+freebsd@pobox.com (Karl Vogel) Subject: Re: cksum entire dir?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+freebsd@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 20:15:57 -0000 Here's a simple, system-independent way to find duplicate files. All you need is something to generate a digest you trust (MD5, SHA1, whatever) plus normal Unix stuff: awk, expand, grep, join, sort, and uniq. Generate the signatures: me% cd ~/bin me% find . -type f -print0 | xargs -0 md5 -r | sort > /tmp/sig1 me% cat /tmp/sig1 0287839688bd660676582266685b05bd ./mkrcs 0b97494883c76da546e3603d1b65e7b2 ./pwgen ddbed53e795724e4a6683e7b0987284c ./authlog ddbed53e795724e4a6683e7b0987284c ./cmdlog fdff1fd84d47f76dbd4954c607d66714 ./dbrun ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0 Find duplicate signatures: me% awk '{print $1}' /tmp/sig1 | uniq -c | expand | grep -v "^ *1 " 2 ddbed53e795724e4a6683e7b0987284c me% awk '{print $1}' /tmp/sig1 | uniq -c | expand | grep -v "^ *1 " | awk '{print $2}' > /tmp/sig2 Associate the duplicates with files: me% join /tmp/sig[12] ddbed53e795724e4a6683e7b0987284c ./authlog ddbed53e795724e4a6683e7b0987284c ./cmdlog If your filenames contain whitespace, you can URL-encode them, play some games with awk, or use perl. -- Karl Vogel I don't speak for the USAF or my company This is really a lovely horse, I once rode her mother. --Ted Walsh, Horse Racing Commentator From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 22:13: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 7CD2F106566B for ; Thu, 13 Sep 2012 22:13: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 3BB378FC12 for ; Thu, 13 Sep 2012 22:13:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx01.qsc.de (Postfix) with ESMTP id 8926F3E3D8; Fri, 14 Sep 2012 00:13:39 +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 q8DMDdBL002109; Fri, 14 Sep 2012 00:13:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 14 Sep 2012 00:13:39 +0200 From: Polytropon To: Gardner Bell Message-Id: <20120914001339.8e63c7b9.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-questions@freebsd.org Subject: Re: NFS Install 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: Thu, 13 Sep 2012 22:13:46 -0000 On Thu, 13 Sep 2012 11:29:47 -0400, Gardner Bell wrote: > What I'm wanting to do is build/installworld from my workstation to a > remote machine but both have different /etc/src.conf and kernel > configuration files. Is there a way to define seperate files so I can > perform this upgrade without any errors? I assume that you run i386 _or_ amd64 on both systems. It's easy to copy the remote machine's /etc/src.conf to the system you're building on and to _temporarily_ replace the /etc/src.conf of that system. Also copy the kernel configuration file and put it into the correct location (/sys/i386/conf or /sys/amd64/conf). Make sure /usr/obj is empty. Then use the build and install parameter DESTDIR= and pay attention to other upgrading steps as listed in the comment header of /usr/src/Makefile. Also see The FreeBSD Handbook, section 25.7: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Rgarding /etc/rc.conf, I'm not aware of specifying a _different_ file name than the default one (i. e., what KERNCONF= does to override GENERIC), so maybe maybe dealing with a symlink in /etc/ would be the least painful way: src.conf -> src.conf.local (fits the machine you build on) _or_ -> src.conf.remote (fits the machine you build for). You could also create symlinks pointing to their location on the NFS file system (that the remote machine promotes to the build system): src.conf -> src.conf.local (fits the machine you build on) _or_ (now mounted via NFS) -> /mnt/remotehost/etc/src.conf (fits the machine you build for); and a similar symlink for /sys/i386/conf/REMOTE -> /mnt/remotehost/sys/i386/conf/MYKERNEL. I know that looks ugly, but it's the easies solution that currently occurs to my mind. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 23:03: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 85829106564A for ; Thu, 13 Sep 2012 23:03:55 +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 105D18FC0A for ; Thu, 13 Sep 2012 23:03:54 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBD87C.dip.t-dialin.net [93.203.216.124]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q8DN3qan087062; Thu, 13 Sep 2012 23:03:52 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q8DN3ens006404; Fri, 14 Sep 2012 01:03:40 +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 q8DN3LRx066722; Fri, 14 Sep 2012 01:03:27 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201209132303.q8DN3LRx066722@fire.js.berklix.net> To: Gardner Bell 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, 14 Sep 2012 00:13:39 +0200." <20120914001339.8e63c7b9.freebsd@edvax.de> Date: Fri, 14 Sep 2012 01:03:21 +0200 Sender: jhs@berklix.com Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: NFS Install 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, 13 Sep 2012 23:03:55 -0000 Hi Gardner Polytropon wrote: > On Thu, 13 Sep 2012 11:29:47 -0400, Gardner Bell wrote: > > What I'm wanting to do is build/installworld from my workstation to a > > remote machine but both have different /etc/src.conf and kernel > > configuration files. Is there a way to define seperate files so I can > > perform this upgrade without any errors? I fairly often do make installs over amd+nfs, a few gotchas to avoid getting caught on: - I saw my link count break in /rescue so du exploded (up by presumably about (137-1 x 4.7M ) (Cant remember why, I just fixed it) - Chflags bit me (maybe I didnt have the right stuff in /etc/exports on target. (I hate chflags. & often run chflags -R noschg / ) - If both might be i386, & target might < 686 eg 586 etc avoid source host having any files lurking in /usr/obj that were built while /etc/make.conf (& included files) had a CFLAGS += -march=i686 Maybe practice on a local host first, where you can reach reset knob. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 23:42: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 CA021106566C for ; Thu, 13 Sep 2012 23:42:05 +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 75F548FC12 for ; Thu, 13 Sep 2012 23:42:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-5.dynamic.qsc.de [92.195.63.5]) by mx02.qsc.de (Postfix) with ESMTP id 3AEB42773A; Fri, 14 Sep 2012 01:41:58 +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 q8DNfv9T002484; Fri, 14 Sep 2012 01:41:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 14 Sep 2012 01:41:57 +0200 From: Polytropon To: Gary Kline Message-Id: <20120914014157.38e741cb.freebsd@edvax.de> In-Reply-To: <20120912174625.GA17551@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <20120912174625.GA17551@ethic.thought.org> 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 Mailing List Subject: Re: cksum entire dir?? 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: Thu, 13 Sep 2012 23:42:05 -0000 On Wed, 12 Sep 2012 10:46:25 -0700, Gary Kline wrote: > On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: > > On 12/09/2012 00:14, Polytropon wrote: > > > % cksum > > > > > > and could obtain a checksum - so it _seems_ to work. > > > After alteration of one file within the hierarchy a > > > different result was printed. > > > > That will give you a checksum on the directory inode -- file names and > > associated metadata only, not file content. In theory you could edit a > > file without modifying any of the timestamps, and that wouldn't result > > in any change to the directory checksum. Also, modifying things a few > > layers down the filesystem hierarchy won't have any effect either. > > > > Generally I find the best test for differences between old and new > > copies of a filesystem is 'rsync -avx -n ...' > > > > Also, sum and cksum have way too small a key size for this to be > > reliable, since you can't tell a true result from a hash collision. Use > > md5 or sha1 or sha256 for best results. > > > > So this sha256 is *real*?? I have no md5 on my "fedora" > that is on my desktop and m having trouble getting used to. > but the gentleman who recommened cpio was right on the money. > > note that I am loathe to spam this list with the following mail from my > files in sept, 1988, but here it is. if I had only gr -r -w cpio > around in all my directories, I would have found this, sent to one Dirm > Myers across the pond :: > > > === > > From kline Sat Sep 5 11:52:20 1998 > Subject: lost mail file... > To: dirkm@buster.dhis.eu.org (Dirk Myers) > Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT) > Organization: <> thought.org: public access uNix in service... <> > X-Mailer: ELM [version 2.4ME+ PL32 (25)] > MIME-Version: 1.0 > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > Content-Length: 2283 > Status: RO > > > Yesterday morning I began composing the next two Q's and A's > in my mailer. Last night in the wee hours there was a power > glitch and I lost the mail. > > Enclosed is the first//next Q/A. I'll send along another one > or two later today. One that I was playing around with *failed* > and I'm trying to figure out why. > > ----- > > How can I uise my FBSD floppy drive to copy files to it (in this case, > at work), and retrieve the files on my FBSD systtem at home. So far > I've only seen examples that used floppies with a filesystem on them. > Is there a simplr, more direct way? > > You can treat the 'raw' floppy device as if it is a tape drive, and > use typically UNIX tape tools to read/write, such as tar and cpio. > For instance, to copy the current directory onto a floppy to > take home at night: > > (put the floppy in the drive, and cd to the directory where > the files are; then ) > > % tar -cvf /dev/rfd0 . > > To read it when you get home: > > (put the floppy in the drive at home; and extract the tarball > wherever you want the files) > > % tar -xvf /dev/rfd0 > > The flags -c and -x indicate create and extract mode, the ``v'' > specifies verbose mode, and the ``f'' tells tar that the following > argument is the file or device that tar acts upon. Here, it is > the floppy devide. > > > With cpio: > > (chdir to the directory where the files are) > > % ls | cpio -oc > /dev/rfd0 > > To read a cpio archive from a tape drive: > > % cpio -icd < /dev/rfd0 > > > The flags -i and -o indicate copy-in or extract mode and > copy-out or create archive mode. The ``c'' tells cpio > to use the old, portablr ASCII archive format. And the > ``d'' flag tells cpio to create directories where necessary. > > Do a > > % man cpio > > for much greater detail on this utility. > > ----- > > There are another one or two of the simpler Q/A's and one or two > more involved. > > Then, for this month only, I want to write a paragraph or two > about who I am and where I'm coming from. Since you are sharing > the by-line you might want to consider this too. > > gary > > PS: Next month we get a break!! > > -- > Gary D. Kline kline@tao.thought.org Public service uNix > > ==== > as you can see, this dealt with my olden tape drive. a 250meg > QIC drive, I think. Really? I think /dev/rfd0 refers to fd - floppy disk. Even though I know there are floppy-controller connected tape drives (still have one myself!), the examples shown seem to indicate work with a floppy disk, used in a "non-fs'ed" manner, just as I did in the past with "tar, the most universal file system that isn't even a filesystem" to transfer files across different UNIX / BSD / Linux boxes via floppy (because they've not been networked). Still the examples look fully valid when applied to a tape drive, as both floppy and tape can be (ab)used as "linear fs-less media". :-) > but this was about the earliest reference > I could find re my use of cpio. there are others in my journal > dir that reference my running out of hard drive and using cpio rather > that a straight cp -rp. I've been using cpio as a means of backup in combination with a "chain" of 650 MB CD-R's. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 03:06: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 11804106566C for ; Fri, 14 Sep 2012 03:06:50 +0000 (UTC) (envelope-from gsriram@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8DADA8FC0A for ; Fri, 14 Sep 2012 03:06:49 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so3432705wib.13 for ; Thu, 13 Sep 2012 20:06:48 -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=eJPAjGlW9qWsY6ETBRNeFrMoE729FClHoCSzu4Dn+b0=; b=CSif06sNl4dD8ilfwznGas/3fhsinyrFTEOUDjnpprxyKR9NW0NSpiF8Ho3mBzrg2y UVRoMYZNaU4VbXqicPU0jB8+3j5yUKQJi1kRxQrqbi38Op/pAYHA2ddspu1WAq9Uj1tX 9W7urE2ml4dyFsgGIS63c+won+l2Rka0mpmdOD7dWFLap/1DHcJxr5GUb6IjeuA18o+S 0ZM/tnNbnRW5FxeIaWTEK2Gvll6OgATT7+lzdfDWnlsjhkS1Rw1Iop+tLTx81iJ7D+ON cuHe88Fx6sfEUVQVsYew3RTNIAp+K5rPiGifbRu1g27X9O3Zti01OyR9OWCSdgyqum+d kUhA== MIME-Version: 1.0 Received: by 10.216.143.158 with SMTP id l30mr672304wej.113.1347592008102; Thu, 13 Sep 2012 20:06:48 -0700 (PDT) Received: by 10.194.55.229 with HTTP; Thu, 13 Sep 2012 20:06:48 -0700 (PDT) In-Reply-To: <1347458607.4141.88.camel@pc437.embl.fr> References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> <1347432178.4141.82.camel@pc437.embl.fr> <44y5kfgwxi.fsf@be-well.ilk.org> <1347458607.4141.88.camel@pc437.embl.fr> Date: Fri, 14 Sep 2012 08:36:48 +0530 Message-ID: From: Sriram Gorti To: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? 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, 14 Sep 2012 03:06:50 -0000 On Wed, Sep 12, 2012 at 7:33 PM, Micka=EBl Can=E9vet wrot= e: > On Wed, 2012-09-12 at 10:03 -0400, Lowell Gilbert wrote: >> Micka=EBl Can=E9vet writes: >> >> > On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: >> >> Micka=EBl Can=E9vet writes: >> >> >> >> > I was impacted by a memory leak that has been fixed by this patch: >> >> > http://people.freebsd.org/~rmacklem/namei-leak.patch >> >> > >> >> > What I noticed when the server was paging is that it seems that onl= y >> >> > about 500MB of my 4GB swap partition was used before crashing. I wa= s >> >> > wondering why it didn't take the whole 4GB up to the crash of the s= erver >> >> > because of lake of memory (that would let me more time to react). >> >> > >> >> > Is there such king of setting that prevent a process to put more th= en >> >> > 500MB of data in swap ? >> >> >> >> limits(1)? >> >> >> > Thank you for your answer. >> > >> > Here is the result of limits: >> > >> > limits >> > Resource limits (current): >> > cputime infinity secs >> > filesize infinity kB >> > datasize 33554432 kB >> > stacksize 524288 kB >> > coredumpsize infinity kB >> > memoryuse infinity kB >> > memorylocked infinity kB >> > maxprocesses 5547 >> > openfiles 11095 >> > sbsize infinity bytes >> > vmemoryuse infinity kB >> > pseudo-terminals infinity >> > swapuse infinity kB >> > >> > swapuse is set to unlimited, but stacksize is set to 512MB. >> > Is it the stacksize setting that prevent my kernel to swap more then >> > 512MB ? >> >> No, I don't think so. datasize was the parameter I was most >> suspecting; and it assumes that a particular process was causing the >> crash (which is unlikely; the OS is supposed to protect you against >> it). >> >> Most likely, the crash was not directly caused by a shortage of virtual >> memory. You would have to diagnose through crash dumps, but it could be >> that some more specific resource was exhausted. Or perhaps the memory >> leak left dangling references in a vnode. >> We also had a some what similar experience - swap partition was not being fully utilized (but no NFS in use). Found that the size of SWAPMETA limits the total usable swap space. This is more likely with a custom config and tweaked limits. vmstat -z | egrep "LIMIT|SWAPMETA" --- sriram > > OK, > > Thanks a lot for your explanations. > > Cheers, > Micka=EBl From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 05:45: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 6A6F2106566B for ; Fri, 14 Sep 2012 05:45:49 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id DFEC88FC14 for ; Fri, 14 Sep 2012 05:45:48 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so3501537wib.13 for ; Thu, 13 Sep 2012 22:45:42 -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=gaMd3xxZ2O0xCL/xQ5Et0456uCu9DQR5r3MuVsxXg2I=; b=nic/uPlkWX6jgievPrvej0KK/a23vO/74yQ6VXkkesPn3SehY9IaWySUldAnq+kb0C hsbJaBqRqZkC8RXGNC8nX285bW5/D1TcnAq4fvcxwxwdBTpRM7sHC4AJOIkbjVOWr8rW eJTLAj/xNYHg5LAGLwVkhFDhr4TGiKnVcGY18I9lN08zsR47ku+NXaVVZgE9MvKqwGsU nHduYhEiXWF046w+cTNqniVTR2cnAjeBOW6z/2CFZxdxeIVObLn+A7fhBwC2NFRLNpG8 IhXaezOmP8Hsxoh7CQPZit2fMqJT52Y6PAGnmgEzXqG97nzCbrnu38bP0KLIC92M5wvC ktFQ== MIME-Version: 1.0 Received: by 10.180.96.3 with SMTP id do3mr3451394wib.5.1347601542246; Thu, 13 Sep 2012 22:45:42 -0700 (PDT) Received: by 10.216.183.2 with HTTP; Thu, 13 Sep 2012 22:45:42 -0700 (PDT) In-Reply-To: <20120914033522.GA95427@neutralgood.org> References: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> <20120914033522.GA95427@neutralgood.org> Date: Thu, 13 Sep 2012 22:45:42 -0700 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: cksum entire dir?? 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, 14 Sep 2012 05:45:49 -0000 On Thu, Sep 13, 2012 at 8:35 PM, wrote: > On Thu, Sep 13, 2012 at 03:18:43PM -0400, Karl Vogel wrote: > > Here's a simple, system-independent way to find duplicate files. All you > > need is something to generate a digest you trust (MD5, SHA1, whatever) > plus > > normal Unix stuff: awk, expand, grep, join, sort, and uniq. > > > > Generate the signatures: > > > > me% cd ~/bin > > me% find . -type f -print0 | xargs -0 md5 -r | sort > /tmp/sig1 > > > > me% cat /tmp/sig1 > > 0287839688bd660676582266685b05bd ./mkrcs > > 0b97494883c76da546e3603d1b65e7b2 ./pwgen > > ddbed53e795724e4a6683e7b0987284c ./authlog > > ddbed53e795724e4a6683e7b0987284c ./cmdlog > > fdff1fd84d47f76dbd4954c607d66714 ./dbrun > > ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0 > > > > Find duplicate signatures: > > > > me% awk '{print $1}' /tmp/sig1 | uniq -c | expand | grep -v "^ *1 " > > 2 ddbed53e795724e4a6683e7b0987284c > > you% awk '{print $1}' /tmp/sig1 | uniq -d > > But in both your and my code the uniq will frequently fail because the > input is not sorted. The uniq command only works when the lines to compare > are adjacent. So... > > you% awk '{print $1}' /tmp/sig1 | sort | uniq -d > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "I like being on The Daily Show." - Kermit the Frog, Feb 13 2001 > _______________________________________________ > 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, But what happens when, like in my 'md5 file' tinkering example above, there's one or more identical files along the path which may or may not exist in both hierarchies? For example, the BSD License file. In my previous message I purposely made a 'testdir' and copied a file into that dir... they have the same hash. Anyway I was thinking if I had proceeded with the tinker example, using sys/tree.h and creating an associative array and using the relative path and filename, along with the md5 hash, as the key. So the keys would be like [8d3986a5e8747ae89b3c5f82f22bc402 ./find.c] [8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c] then you'd have path A and path B to compare, which i think basically add 1 for A and 2 for B, so you'd know a "1" would be in "A" only, or "2" would be in "B" only, and "3" would be in both A and B. [e406e4422cf29f3b42484596524b71c1 ./find] => 1 //A only [e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz] => 3 //OK [4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find] => 3 //OK [03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir] => 2 //B only But again I have to say that mtree already does this very well... Here's an example of mtree for Gary to compare two paths, hopefully helpful. set up two things to compare, A and B # mkdir A B # touch A/1 A/2 A/3 A/4 # find A A A/1 A/2 A/3 A/4 # rsync -av A B sending incremental file list A/ A/1 A/2 A/3 A/4 sent 236 bytes received 92 bytes 656.00 bytes/sec total size is 0 speedup is 0.00 # find B B B/A B/A/1 B/A/2 B/A/3 B/A/4 compare with mtree # mtree -K sha256digest,uname,gname -c -p A | mtree -p B/A {no output = OK they match, default: only report situations} now mess up B # rm B/A/3 # touch B/A/2 # touch B/A/extrabonusfile compare again # mtree -K sha256digest,uname,gname -c -p A | mtree -p B/A . changed modification time expected Thu Sep 13 22:33:02 2012 found Thu Sep 13 22:43:46 2012 2 changed modification time expected Thu Sep 13 22:33:02 2012 found Thu Sep 13 22:38:01 2012 extrabonusfile extra ./3 missing Waitman Gobble San Jose California From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 06:22: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 0B2F9106566C for ; Fri, 14 Sep 2012 06:22:22 +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 B57768FC0A for ; Fri, 14 Sep 2012 06:22:21 +0000 (UTC) Received: from localhost (h-188-250.a189.priv.bahnhof.se [85.24.188.250]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 995495AD3 for ; Fri, 14 Sep 2012 10:14:13 +0400 (MSK) Date: Fri, 14 Sep 2012 10:14:06 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20120914061405.GA7815@external.screwed.box> References: <20120903030217.GA79339@admin.sibptus.tomsk.ru> <86wr0binyc.fsf@srvbsdfenssv.interne.associated-bears.org> <20120903072920.GB92658@admin.sibptus.tomsk.ru> <20120903125210.GA5387@external.screwed.box> <20120905020636.GA38610@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20120905020636.GA38610@admin.sibptus.tomsk.ru> 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: Sharing COM ports to Windows hosts 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, 14 Sep 2012 06:22:22 -0000 Hello. 2012/09/05 09:06:36 +0700 Victor Sudakov => To freebsd-questions@freebsd.org : VS> > Depending on a task I think the most interactive user-friendly solution here is VS> > a minicom(s) each in its own ssh'ed jail(s). VS> VS> There is special Windows software for managing Natex MUXes. It works [..] VS> Solution 2. Using an existing networked FreeBSD box sitting next to VS> the MUX, it already has COM ports. Advantage: cheap, no additional ok. no interactivity. But I'm still optimistic about virtualization. emulators/qemu at the least should be able to run that software and use com-ports from the master freebsd system at the same time. Then you can you can use remote access features for workstation access to the software. VS> doubts ... English is so poor coffee is your friend (c) -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 07:08: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 4F6EF106566B for ; Fri, 14 Sep 2012 07:08:24 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id D06748FC16 for ; Fri, 14 Sep 2012 07:08:23 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.80,421,1344204000"; d="asc'?scan'208";a="4302098" Received: from unknown (HELO [172.26.15.24]) ([172.26.15.24]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 14 Sep 2012 09:08:15 +0200 Message-ID: <1347606406.4141.105.camel@pc437.embl.fr> From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: Sriram Gorti Date: Fri, 14 Sep 2012 09:06:46 +0200 In-Reply-To: References: <1347268974.4141.65.camel@pc437.embl.fr> <44k3w0ij6n.fsf@be-well.ilk.org> <1347432178.4141.82.camel@pc437.embl.fr> <44y5kfgwxi.fsf@be-well.ilk.org> <1347458607.4141.88.camel@pc437.embl.fr> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ZgaAn3IIchEv8zHo2BB/" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Cc: freebsd-questions@freebsd.org Subject: Re: Swapped memory limited to about 500MB for a process ? 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, 14 Sep 2012 07:08:24 -0000 --=-ZgaAn3IIchEv8zHo2BB/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2012-09-14 at 08:36 +0530, Sriram Gorti wrote: > On Wed, Sep 12, 2012 at 7:33 PM, Micka=C3=ABl Can=C3=A9vet wrote: > > On Wed, 2012-09-12 at 10:03 -0400, Lowell Gilbert wrote: > >> Micka=C3=ABl Can=C3=A9vet writes: > >> > >> > On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote: > >> >> Micka=C3=ABl Can=C3=A9vet writes: > >> >> > >> >> > I was impacted by a memory leak that has been fixed by this patch= : > >> >> > http://people.freebsd.org/~rmacklem/namei-leak.patch > >> >> > > >> >> > What I noticed when the server was paging is that it seems that o= nly > >> >> > about 500MB of my 4GB swap partition was used before crashing. I = was > >> >> > wondering why it didn't take the whole 4GB up to the crash of the= server > >> >> > because of lake of memory (that would let me more time to react). > >> >> > > >> >> > Is there such king of setting that prevent a process to put more = then > >> >> > 500MB of data in swap ? > >> >> > >> >> limits(1)? > >> >> > >> > Thank you for your answer. > >> > > >> > Here is the result of limits: > >> > > >> > limits > >> > Resource limits (current): > >> > cputime infinity secs > >> > filesize infinity kB > >> > datasize 33554432 kB > >> > stacksize 524288 kB > >> > coredumpsize infinity kB > >> > memoryuse infinity kB > >> > memorylocked infinity kB > >> > maxprocesses 5547 > >> > openfiles 11095 > >> > sbsize infinity bytes > >> > vmemoryuse infinity kB > >> > pseudo-terminals infinity > >> > swapuse infinity kB > >> > > >> > swapuse is set to unlimited, but stacksize is set to 512MB. > >> > Is it the stacksize setting that prevent my kernel to swap more then > >> > 512MB ? > >> > >> No, I don't think so. datasize was the parameter I was most > >> suspecting; and it assumes that a particular process was causing the > >> crash (which is unlikely; the OS is supposed to protect you against > >> it). > >> > >> Most likely, the crash was not directly caused by a shortage of virtua= l > >> memory. You would have to diagnose through crash dumps, but it could b= e > >> that some more specific resource was exhausted. Or perhaps the memory > >> leak left dangling references in a vnode. > >> >=20 > We also had a some what similar experience - swap partition was not > being fully utilized (but no NFS in use). Found that the size of > SWAPMETA limits the total usable swap space. This is more likely with > a custom config and tweaked limits. >=20 > vmstat -z | egrep "LIMIT|SWAPMETA" >=20 > --- sriram >=20 >=20 > > > > OK, > > > > Thanks a lot for your explanations. > > > > Cheers, > > Micka=C3=ABl >=20 I have this: # vmstat -z | egrep "LIMIT|SWAPMETA" ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP SWAPMETA: 288, 116519, 1610, 6437, 559839, 0, 0 If this number (116519) correspond to the number of memory pages and as I have 4k page size (pagesize command reports 4096), SWAPMETA is limited to 466076 kB which is pretty close to the "about" 500MB I can see on my monitoring graphs. If this is the explanation of what happens, how can I tune this ? Should I use larger pages (superpages seems to be enable by default on FreeBSD9-amd64) ? Is there a way to increase the limit of swapmeta ? Thanks, Micka=C3=ABl --=-ZgaAn3IIchEv8zHo2BB/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlBS14YACgkQZjBmN5Hi/YbIDgCcCOZo31npzqFVD6TzWsVQn7QT qz4An0jrA+NXsNk6Yc/2xbydTWu1fQpn =HrfD -----END PGP SIGNATURE----- --=-ZgaAn3IIchEv8zHo2BB/-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 09:06: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 42956106566B for ; Fri, 14 Sep 2012 09:06:02 +0000 (UTC) (envelope-from suseuser04@lajt.hu) Received: from mailout2.bwave.pl (mailout2.bwave.pl [37.233.100.32]) by mx1.freebsd.org (Postfix) with ESMTP id 0089C8FC17 for ; Fri, 14 Sep 2012 09:06:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=drone-mailout2) by mailout2.bwave.pl with esmtp (Exim 4.76) (envelope-from ) id 1TCRqT-00045B-0v for freebsd-questions@freebsd.org; Fri, 14 Sep 2012 11:05:57 +0200 Received: from [10.2.1.186] (helo=[127.0.0.1]) by drone-mailout2 with esmtp (Exim 4.76) (envelope-from ) id 1TCRqS-00044d-It for freebsd-questions@freebsd.org; Fri, 14 Sep 2012 11:05:52 +0200 From: =?UTF-8?Q?suseuser04@lajt.hu?= To: freebsd-questions@freebsd.org Mime-Version: 1.0 Message-ID: <71f9c6ea.47ec7755.5052f33f.8a4e0@lajt.hu> Date: Fri, 14 Sep 2012 11:05:03 +0200 X-Originator: 193.6.63.109 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: kinternet alternative 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: Fri, 14 Sep 2012 09:06:02 -0000 Matthias,=20Polytropon: I=20have=20answered=20to=20your=20messages=20using=20"reply=20to"=20but=20= my=20messages haven't=20reached=20the=20mailing=20list.=20I=20am=20posting=20now=20my=20= answer=20in=20a new=20(not=20reply=20to)=20mail. Thank=20you=20for=20your=20answers. I=20am=20using=20KDE=203.5.10.=20I=20would=20like=20to=20use=20FreeBSD=20= as=20a=20desktop=20machine for=20replacing=20openSUSE=20if=20it=20is=20possible=20at=20all. For=20clarity,=20I=20do=20not=20need=20exactly=20kinternet,=20I=20want=20= only=20an=20GUI=20frontend for=20pppdial=20which=20possibly=20resides=20in=20system=20tray=20and=20c= an=20be=20used=20to=20control network=20connections. In=20openSUSE=20kinternet=20is=20a=20frontend=20for=20smpppd=20package. smpppd=20requires=20ppp.=20I=20will=20try=20to=20look=20into=20it=20wheth= er=20=20smpppd=20=20can work=20with=20FreeBSD's=20ppp. Thanks, Istvan From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 09:27: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 9052C106564A for ; Fri, 14 Sep 2012 09:27:00 +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 4DDA18FC08 for ; Fri, 14 Sep 2012 09:27:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-214-70.dynamic.qsc.de [92.195.214.70]) by mx01.qsc.de (Postfix) with ESMTP id 9BE823CA20; Fri, 14 Sep 2012 11:26:58 +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 q8E9QvVC008072; Fri, 14 Sep 2012 11:26:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 14 Sep 2012 11:26:57 +0200 From: Polytropon To: "suseuser04@lajt.hu" Message-Id: <20120914112657.40ec9cd8.freebsd@edvax.de> In-Reply-To: <71f9c6ea.47ec7755.5052f33f.8a4e0@lajt.hu> References: <71f9c6ea.47ec7755.5052f33f.8a4e0@lajt.hu> 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: kinternet alternative in FreeBSD 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: Fri, 14 Sep 2012 09:27:00 -0000 On Fri, 14 Sep 2012 11:05:03 +0200, suseuser04@lajt.hu wrote: > Matthias, Polytropon: > > I have answered to your messages using "reply to" but my messages > haven't reached the mailing list. I am posting now my answer in a > new (not reply to) mail. Check your mail client for reply options. I'm using Sylpheed here and have: - Reply - Reply to all - Reply to sender - Reply to mailing list I assume this is decided upon the headers From:, Reply-To:, and Cc:. I don't see a MUA declared in your mail headers, so whatever you use, check for such reply options. Even "old-fashioned" tools like (al)pine have then. :-) > Thank you for your answers. > I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine > for replacing openSUSE if it is possible at all. I don't see a reason why this shouldn't be possible. Many years ago, FreeBSD 4 obsoleted Linux as my home desktop, and I do not regret the choice. Depending on what _you_ actually *do* with your computer, there _may_ be certain "obstacles". > For clarity, I do not need exactly kinternet, I want only an GUI frontend > for pppdial which possibly resides in system tray and can be used to control > network connections. As I said, I've heared of a tool named kppp, and according to the traditional naming convention in KDE (of _that_ time), I assume this is a KDE program for dealing with ppp. Even though networking is done at OS level which doesn't have such a tight integration with desktop environments as this is done in Linux (as the "big three" desktop environments are quite Linux-centric), ppp can be invoked by the user (if he has been granted the required permissions by the system administrator). If a KDE program can "communicate" with the ppp command line tool, it should work. > In openSUSE kinternet is a frontend for smpppd package. > smpppd requires ppp. I will try to look into it whether smpppd can > work with FreeBSD's ppp. That sounds like an interesting approach. Good luck! I know that's basically possible. Many years ago, I wrote a Tcl/Tk-based frontend with buttons to enable / disable the connection, see the status and the elapsed time. If that has been possible, chances are good that KDE in its much advanced manner has something comparable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 10:18: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 C298E1065670 for ; Fri, 14 Sep 2012 10:18:04 +0000 (UTC) (envelope-from jamie@kode5.net) Received: from kontrol.kode5.net (kontrol.kode5.net [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id 2FA268FC0A for ; Fri, 14 Sep 2012 10:18:03 +0000 (UTC) Received: from kontrol.kode5.net (localhost [127.0.0.1]) by kontrol.kode5.net (8.14.5/8.14.5) with ESMTP id q8EAI0Ym046342 for ; Fri, 14 Sep 2012 11:18:00 +0100 (BST) (envelope-from jamie@kode5.net) Received: (from jamie@localhost) by kontrol.kode5.net (8.14.5/8.14.5/Submit) id q8EAHxDV046341 for freebsd-questions@freebsd.org; Fri, 14 Sep 2012 11:17:59 +0100 (BST) (envelope-from jamie@kode5.net) X-Authentication-Warning: kontrol.kode5.net: jamie set sender to jamie@kode5.net using -f Date: Fri, 14 Sep 2012 11:17:59 +0100 From: Jamie Paul Griffin To: freebsd-questions@freebsd.org Message-ID: <20120914101759.GA46258@kontrol.kode5.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <71f9c6ea.47ec7755.5052f33f.8a4e0@lajt.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <71f9c6ea.47ec7755.5052f33f.8a4e0@lajt.hu> x-operating-system: FreeBSD 9.1-PRERELEASE amd64 x-pgp-fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 x-pgp-key: 1D31DC38 User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.5 at kontrol.kode5.net X-Virus-Status: Clean Subject: Re: kinternet alternative 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: Fri, 14 Sep 2012 10:18:04 -0000 [ suseuser04@lajt.hu wrote on Fri 14.Sep'12 at 11:05:03 +0200 ] > Matthias, Polytropon: > > I have answered to your messages using "reply to" but my messages > haven't reached the mailing list. I am posting now my answer in a > new (not reply to) mail. > > Thank you for your answers. > I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine > for replacing openSUSE if it is possible at all. May I just say, that some years ago I did just as you are doing now and started to use FreeBSD 6.x in place of Linux. I was used to KDE3 and so naturally tried to get that up and running. Since then, my needs have changed and discovered it was so much better to do away with these GUI tools such as the one(s) you refer to. Working from the command line in FreeBSD is SO much better, more flexible and powerful, and so ditched KDE altogether and now use a simple tiling window manager. You really don't need KDE or Gnome, ... , you can benefit much more from a BSD UNIX system without that crap. It's your choice naturally but IMO you will have a much nicer experience without KDE. All of your networking needs can be achieved from the command line and you won't fill your system with thousands of libraries and other code that you simply just don't need. Of course I'm biased but my experience since I changed to FreeBSD will no doubt be similar to yours should you choose to stick with it so I hope my comments have been of some use. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 15:22: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 9B597106566C for ; Fri, 14 Sep 2012 15:22:00 +0000 (UTC) (envelope-from suseuser04@lajt.hu) Received: from mailout1.bwave.pl (mailout1.bwave.pl [37.233.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id 51B5C8FC08 for ; Fri, 14 Sep 2012 15:22:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=drone-mailout1) by drone-mailout1 with esmtp (Exim 4.76) (envelope-from ) id 1TBsKj-0004zQ-Ox for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 21:10:51 +0200 Received: from [10.2.1.187] (helo=[127.0.0.1]) by drone-mailout1 with esmtp (Exim 4.76) (envelope-from ) id 1TBrQ4-0002S1-CO for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 20:12:12 +0200 From: =?UTF-8?Q?Istvan_Gabor?= To: freebsd-questions@freebsd.org In-Reply-To: <20120911132622.GA2102@tiny.Sisis.de> References: <6cf057a0.48cac116.504f0146.1805c@lajt.hu> <20120911145607.172592eb.freebsd@edvax.de> <20120911132622.GA2102@tiny.Sisis.de> Mime-Version: 1.0 Message-ID: <2e9bf002.29c01170.5050d064.67ae@lajt.hu> Date: Wed, 12 Sep 2012 20:11:48 +0200 X-Originator: 78.131.49.110 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: kinternet alternative 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: Fri, 14 Sep 2012 15:22:00 -0000 2012.=20szeptember=2011.=2015:26=20napon=20Matthias=20Apitz=20=20=C3=ADrta: >=20El=20d=C3=ADa=20Tuesday,=20September=2011,=202012=20a=20las=2002:56:0= 7PM=20+0200,=20Polytropon=20escribi=C3=B3: >=20 >=20>=20On=20Tue,=2011=20Sep=202012=2011:15:50=20+0200,=20suseuser04@lajt= .hu=20wrote: >=20>=20>=20Hello=20FreeBSD=20users: >=20>=20>=20 >=20>=20>=20I=20am=20new=20to=20FreeBSD.=20I've=20been=20using=20openSUSE= =20for=208=20years=20but=20would >=20>=20>=20like=20to=20try=20something=20different. >=20>=20>=20I=20have=20installed=20FreeBSD=209.0-RELEASE=20from=20DVD=20a= nd=20configured >=20>=20>=20KDE3.=20I=20also=20configured=20DSL=20(pppoe)=20connection=20= that=20automatically >=20>=20>=20connects=20the=20computer=20to=20the=20network. >=20>=20>=20In=20openSUSE=20I=20have=20kinternet=20(and=20its=20alternati= ve=20qinternet),=20an=20application >=20>=20>=20which=20incorporates=20into=20KDE=20system=20tray=20and=20ind= icates=20whether=20network >=20>=20>=20connection=20is=20active=20or=20not.=20It=20can=20also=20be=20= used=20by=20the=20desktop=20user=20to >=20>=20>=20disconnect=20and=20connect=20from/to=20the=20network=20(eg.=20= for=20getting=20new=20dynamic >=20>=20>=20IP=20address=20or=20test=20downloaded=20web=20pages=20offline= ). >=20>=20>=20Is=20there=20a=20similar=20program=20in=20FreeBSD?=20I=20coul= d=20not=20find=20kinternet=20or=20qinternet >=20>=20>=20in=20ports=20database=20or=20by=20googling. >=20>=20 >=20>=20I'm=20not=20aware=20of=20a=20tool=20that=20integrates=20both=20wi= th=20KDE=20=5Fand=5F >=20>=20the=20FreeBSD=20operating=20system.=20KDE=20is=20quite=20Linux-ce= ntric, >=20>=20and=20FreeBSD=20is=20a=20different=20operating=20system.=20... >=20 >=20FreeBSD=20(as=20Linux)=20is=20a=20OS,=20while=20KDE=20is=20just=20a=20= desktop=20which=20works=20fine >=20on=20FreeBSD=20and=20SuSE;=20I'm=20using=20kde-3.5.10=20and=20tested=20= kde-4.x=20(which >=20did=20not=20do=20what=20I=20expected;=20that's=20why=20I=20stay=20wit= h=203.5.10=20which=20is=20now >=20unmaintained,=20but=20still=20compiling=20as=20a=20port; >=20 >=20the=20OP=20did=20not=20say=20in=20which=20KDE=20version=20he=20used=20= 'kinternet',=20=20but=20it >=20seems=20that=20the=20component=20is=20not=20in=20the=20port;=20the=20= best=20way=20would=20be=20to >=20check=20in=20openSUSE=20what=20'kinternet'=20is=20(i.e.=20where=20the= =20sources=20come=20from) >=20and=20check=20in=20the=20FreeBSD=20KDE=20project=20the=20status=20of=20= a=20port; >=20 >=20=09matthias >=20 Matthias,=20Polytropon: Thank=20you=20for=20your=20answers. I=20am=20using=20KDE=203.5.10.=20I=20would=20like=20to=20use=20FreeBSD=20= as=20a=20desktop=20machine for=20replacing=20openSUSE=20if=20it's=20possible=20at=20all. For=20clarity,=20I=20do=20not=20need=20exactly=20kinternet,=20I=20want=20= only=20an=20GUI=20frontend for=20pppdial=20which=20possibly=20resides=20in=20system=20tray=20and=20c= an=20be=20used=20to control=20network=20connections. In=20openSUSE=20kinternet=20is=20a=20frontend=20for=20smpppd=20package,=20= and smpppd=20requires=20ppp.=20I=20will=20try=20to=20look=20into=20it=20wheth= er=20smpppd=20=20can work=20with=20FreeBSD=20ppp. Thanks, Istvan From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 15:28: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 1D1031065674 for ; Fri, 14 Sep 2012 15:28:06 +0000 (UTC) (envelope-from suseuser04@lajt.hu) Received: from mailout1.bwave.pl (mailout1.bwave.pl [37.233.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id CD9EB8FC12 for ; Fri, 14 Sep 2012 15:28:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=drone-mailout1) by drone-mailout1 with esmtp (Exim 4.76) (envelope-from ) id 1TBohS-0001Cv-Ua for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 17:18:04 +0200 Received: from [10.2.1.173] by drone-mailout1 with esmtp (Exim 4.76) (envelope-from ) id 1TBmjo-00031s-Ef for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 15:12:16 +0200 From: =?UTF-8?Q?Istvan_Gabor?= To: freebsd-questions@freebsd.org In-Reply-To: <20120911132622.GA2102@tiny.Sisis.de> References: <6cf057a0.48cac116.504f0146.1805c@lajt.hu> <20120911145607.172592eb.freebsd@edvax.de> <20120911132622.GA2102@tiny.Sisis.de> Mime-Version: 1.0 Message-ID: <211338b8.6e3f0c1b.505089ff.e9639@lajt.hu> Date: Wed, 12 Sep 2012 15:11:27 +0200 X-Originator: 193.6.63.109 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: kinternet alternative 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: Fri, 14 Sep 2012 15:28:06 -0000 2012.=20szeptember=2011.=2015:26=20napon=20Matthias=20Apitz=20=20=C3=ADrta: >=20El=20d=C3=ADa=20Tuesday,=20September=2011,=202012=20a=20las=2002:56:0= 7PM=20+0200,=20Polytropon=20escribi=C3=B3: >=20 >=20>=20On=20Tue,=2011=20Sep=202012=2011:15:50=20+0200,=20suseuser04@lajt= .hu=20wrote: >=20>=20>=20Hello=20FreeBSD=20users: >=20>=20>=20 >=20>=20>=20I=20am=20new=20to=20FreeBSD.=20I've=20been=20using=20openSUSE= =20for=208=20years=20but=20would >=20>=20>=20like=20to=20try=20something=20different. >=20>=20>=20I=20have=20installed=20FreeBSD=209.0-RELEASE=20from=20DVD=20a= nd=20configured >=20>=20>=20KDE3.=20I=20also=20configured=20DSL=20(pppoe)=20connection=20= that=20automatically >=20>=20>=20connects=20the=20computer=20to=20the=20network. >=20>=20>=20In=20openSUSE=20I=20have=20kinternet=20(and=20its=20alternati= ve=20qinternet),=20an=20application >=20>=20>=20which=20incorporates=20into=20KDE=20system=20tray=20and=20ind= icates=20whether=20network >=20>=20>=20connection=20is=20active=20or=20not.=20It=20can=20also=20be=20= used=20by=20the=20desktop=20user=20to >=20>=20>=20disconnect=20and=20connect=20from/to=20the=20network=20(eg.=20= for=20getting=20new=20dynamic >=20>=20>=20IP=20address=20or=20test=20downloaded=20web=20pages=20offline= ). >=20>=20>=20Is=20there=20a=20similar=20program=20in=20FreeBSD?=20I=20coul= d=20not=20find=20kinternet=20or=20qinternet >=20>=20>=20in=20ports=20database=20or=20by=20googling. >=20>=20 >=20>=20I'm=20not=20aware=20of=20a=20tool=20that=20integrates=20both=20wi= th=20KDE=20=5Fand=5F >=20>=20the=20FreeBSD=20operating=20system.=20KDE=20is=20quite=20Linux-ce= ntric, >=20>=20and=20FreeBSD=20is=20a=20different=20operating=20system.=20... >=20 >=20FreeBSD=20(as=20Linux)=20is=20a=20OS,=20while=20KDE=20is=20just=20a=20= desktop=20which=20works=20fine >=20on=20FreeBSD=20and=20SuSE;=20I'm=20using=20kde-3.5.10=20and=20tested=20= kde-4.x=20(which >=20did=20not=20do=20what=20I=20expected;=20that's=20why=20I=20stay=20wit= h=203.5.10=20which=20is=20now >=20unmaintained,=20but=20still=20compiling=20as=20a=20port; >=20 >=20the=20OP=20did=20not=20say=20in=20which=20KDE=20version=20he=20used=20= 'kinternet',=20=20but=20it >=20seems=20that=20the=20component=20is=20not=20in=20the=20port;=20the=20= best=20way=20would=20be=20to >=20check=20in=20openSUSE=20what=20'kinternet'=20is=20(i.e.=20where=20the= =20sources=20come=20from) >=20and=20check=20in=20the=20FreeBSD=20KDE=20project=20the=20status=20of=20= a=20port; >=20 >=20=09matthias Matthias,=20Polytropon: Thank=20you=20for=20your=20answers. I=20am=20using=20KDE=203.5.10.=20I=20would=20like=20to=20use=20FreeBSD=20= as=20a=20desktop=20machine=20replacing openSUSE=20if=20it=20possible=20at=20all. For=20clarity=20I=20do=20not=20need=20exactly=20kinternet,=20I=20want=20o= nly=20an=20GUI=20frontend=20for=20pppdial=20which possibly=20resides=20in=20system=20tray=20and=20can=20be=20used=20to=20co= ntrol=20network=20connections. In=20openSUSE=20kinternet=20is=20a=20frontend=20for=20smpppd=20package. smpppd=20requires=20ppp.=20I=20will=20try=20to=20look=20into=20it=20wheth= er=20=20and=20smpppd=20=20can=20work=20with FreeBSD=20ppp. Thanks, Istvan From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 15:31: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 DD56C106566C for ; Fri, 14 Sep 2012 15:31:49 +0000 (UTC) (envelope-from martyn.jansen@zynstra.com) Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe001.messaging.microsoft.com [213.199.154.139]) by mx1.freebsd.org (Postfix) with ESMTP id 32F5D8FC0A for ; Fri, 14 Sep 2012 15:31:48 +0000 (UTC) Received: from mail82-db3-R.bigfish.com (10.3.81.228) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Fri, 14 Sep 2012 15:16:37 +0000 Received: from mail82-db3 (localhost [127.0.0.1]) by mail82-db3-R.bigfish.com (Postfix) with ESMTP id DAEF942028E for ; Fri, 14 Sep 2012 15:16:37 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.248.5; KIP:(null); UIP:(null); IPV:NLI; H:AMSPRD0310HT005.eurprd03.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: -5 X-BigFish: PS-5(zz8d0Ic85dh1a09J13e6Kzz1202h1d1ah1d2ahzz17326ah8275bhz32i2a8h668h839hd25hf0ah107ah1288h12a5h12bdh1155h) Received: from mail82-db3 (localhost.localdomain [127.0.0.1]) by mail82-db3 (MessageSwitch) id 1347635795484156_3132; Fri, 14 Sep 2012 15:16:35 +0000 (UTC) Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.246]) by mail82-db3.bigfish.com (Postfix) with ESMTP id 695C6C004C for ; Fri, 14 Sep 2012 15:16:35 +0000 (UTC) Received: from AMSPRD0310HT005.eurprd03.prod.outlook.com (157.56.248.5) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 14 Sep 2012 15:16:33 +0000 Received: from AMSPRD0310MB361.eurprd03.prod.outlook.com ([169.254.10.174]) by AMSPRD0310HT005.eurprd03.prod.outlook.com ([10.255.40.40]) with mapi id 14.16.0190.008; Fri, 14 Sep 2012 15:16:32 +0000 From: Martyn Jansen To: "freebsd-questions@freebsd.org" Thread-Topic: legal question on licence terms Thread-Index: Ac2Si2mgfwKPGUn4SgqaGBTxnnZS9A== Date: Fri, 14 Sep 2012 15:16:32 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.63.64.25] MIME-Version: 1.0 X-OriginatorOrg: zynstra.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: legal question on licence terms 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, 14 Sep 2012 15:31:50 -0000 Sirs, I'm looking at your licence terms and conditions and particularly the secti= on on "redistribution restriction" on a number of ports. The restriction is stated as being applicable to "redistribution on mass me= dia". Could you please elaborate on what this means - clearly a number of l= eading solutions use FreeBSD so I'm trying to properly understand when and = how the redistribution restrictions apply. In our own case we would be using FreeBSD as a component of managed service= s that we would be providing to our customers. The software would remain on= our own server and would not be separately available to our customers. We = assume therefore that this in any case does not constitute "redistribution"= . Many thanks. Regards, Martyn Martyn Jansen Contracts & Legal Phone: +44 (0)1225 388685 [Description: Description: Description: Twitter] [Description: Description: Description: LinkedIn] [Description: Description: Description: zynstra] = Zynstra is a private limited company registered in England and Wales (regis= tered number 07864369). Our registered office is 5 New Street Square, Londo= n, EC4A 3TW and our headquarters are at Bath Ventures, Broad Quay, Bath, BA= 1 1UD. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 15:46: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 11C71106566C for ; Fri, 14 Sep 2012 15:46:00 +0000 (UTC) (envelope-from sts@tp1.rub.de) Received: from mx4.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.53]) by mx1.freebsd.org (Postfix) with SMTP id 6E9C28FC14 for ; Fri, 14 Sep 2012 15:45:58 +0000 (UTC) X-Queued: (qmail 1108 invoked by alias); 14 Sep 2012 15:39:18 -0000 X-Queued: (qmail 1083 invoked by uid 109); 14 Sep 2012 15:39:18 -0000 X-Qmailscanner: from 134.147.240.78 by mx4.rz.ruhr-uni-bochum.de (envelope-from , uid 103) with qmail-scanner-2.01 (sophie: 3.05/3.32/4.78. Clear:RC:1(134.147.240.78):. Processed in 0.051604 secs); 14 Sep 2012 15:39:18 -0000 Received: from neo.tp1.ruhr-uni-bochum.de (134.147.240.78) by mx4.rz.ruhr-uni-bochum.de with SMTP; 14 Sep 2012 15:39:18 -0000 Received: from [192.168.0.100] (ip-178-201-62-94.unitymediagroup.de [178.201.62.94]) (authenticated bits=0) by neo.tp1.ruhr-uni-bochum.de (8.14.4/8.14.4) with ESMTP id q8EFdHlB028440 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for ; Fri, 14 Sep 2012 17:39:17 +0200 Message-ID: <50534FB6.8050102@tp1.rub.de> Date: Fri, 14 Sep 2012 17:39:34 +0200 From: Stephan Schindel User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Minecraft sound (ALSA) 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, 14 Sep 2012 15:46:00 -0000 Hey guys! I would like to play Minecraft on my FreeBSD box, so I installed games/minecraft-client. It starts, but I do not have any sound. The reason for that is that Minecraft uses ALSA and ALSA does not find any soundcards: Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) AL lib: alsa.c:960: no playback cards found... AL lib: alsa.c:1017: no capture cards found... ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory I am not sure what to do here and how to wrap my OSS system in an ALSA system. I installed audio/alsa-lib, audio/alsa-plugins and audio/alsa-utils. My asoundrc looks like this at the moment: pcm.oss { type oss device /dev/dsp } However I cannot play any MP3s via aplay. Do you have any ideas? Stephan From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 18:41: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 95E7B1065670 for ; Fri, 14 Sep 2012 18:41:55 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5A28B8FC17 for ; Fri, 14 Sep 2012 18:41:55 +0000 (UTC) Received: by iayy25 with SMTP id y25so4271819iay.13 for ; Fri, 14 Sep 2012 11:41:54 -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:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=odZBrw/tqz5WOpIuMKoH03O8dEBMN/oJCuc5c4EYIns=; b=oxwMMJpC/Y0pA13KSkVark0QfLkETYymqqUSjTQpFtF6SUGR1Gt/8fjRG/dtfhis5l xHTQS+I/asO9/CpYLscxixT2T61oKaZ/uf+BmNxNfnzGr2zuEg/3WVkOeJcASga3Vin+ t98Ww2jNIepfDFdthnOZ6YSRy9I2X1Uo+ZBxRgDenFQxGfx2auOpT8oyplUn5YREVwYi x5Sdhr51htgi19ekkdnWN4+xpRNWa9ggpn17lS9pPkfxd0tuy/Y2MgFRXGYOJpfS3MAq xUrPwlxNSENPW5o5ja7KXMT6lldP1zR20TYdvDsFxVKmkIWLiK8d64NhULErMyBClrXB mpog== MIME-Version: 1.0 Received: by 10.42.18.8 with SMTP id v8mr3237210ica.16.1347648114694; Fri, 14 Sep 2012 11:41:54 -0700 (PDT) Received: by 10.64.69.34 with HTTP; Fri, 14 Sep 2012 11:41:54 -0700 (PDT) X-Originating-IP: [93.221.172.35] In-Reply-To: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> References: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> Date: Fri, 14 Sep 2012 20:41:54 +0200 Message-ID: From: "C. P. Ghost" To: vogelke+freebsd@pobox.com Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnA2G0yLoalvXjcO6n+sHwDjx987kvRmVLJKLxoYeNDYpnh4DN5qVkkvLQgLGFwl5UCx7Nx Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? 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, 14 Sep 2012 18:41:55 -0000 On Thu, Sep 13, 2012 at 9:18 PM, Karl Vogel wrote: > Here's a simple, system-independent way to find duplicate files. All you There's also sysutils/samefile: http://www.schweikhardt.net/samefile/index.html -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 19:16: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 22E371065687 for ; Fri, 14 Sep 2012 19:16:34 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id DCACD8FC1E for ; Fri, 14 Sep 2012 19:16:33 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8EJGWYC002706 for ; Fri, 14 Sep 2012 15:16:32 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id q8EJGWH9002705; Fri, 14 Sep 2012 15:16:32 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id F37D3BEA8; Fri, 14 Sep 2012 15:15:50 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <20120914033522.GA95427@neutralgood.org> (kpneal@pobox.com) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> <20120914033522.GA95427@neutralgood.org> Message-Id: <20120914191550.F37D3BEA8@kev.msw.wpafb.af.mil> Date: Fri, 14 Sep 2012 15:15:50 -0400 (EDT) From: vogelke+freebsd@pobox.com (Karl Vogel) Subject: Re: cksum entire dir?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+freebsd@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 19:16:34 -0000 >> On Thu, 13 Sep 2012 23:35:22 -0400, kpneal@pobox.com said: K> But in both your and my code the uniq will frequently fail because the K> input is not sorted. No, check the first command: me% find . -type f -print0 | xargs -0 md5 -r | sort >> /tmp/sig1 ^^^^ -- Karl Vogel I don't speak for the USAF or my company When I'm feeling down, I like to whistle. It makes the neighbor's dog run to the end of his chain and gag himself. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 23:46: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 9CEB2106564A for ; Fri, 14 Sep 2012 23:46:01 +0000 (UTC) (envelope-from jeanc@relevantpower.com) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:48]) by mx1.freebsd.org (Postfix) with ESMTP id 8150B8FC0C for ; Fri, 14 Sep 2012 23:46:01 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta05.emeryville.ca.mail.comcast.net with comcast id zAKW1j0061afHeLA5Bm1sk; Fri, 14 Sep 2012 23:46:01 +0000 Received: from pepper.relevanttools.com ([12.149.146.196]) by omta17.emeryville.ca.mail.comcast.net with comcast id zBlq1j00J4EUEf88dBlsP1; Fri, 14 Sep 2012 23:45:59 +0000 Message-Id: <6B7BBB56-5573-438A-97EB-0C27F1F7C4F1@relevantpower.com> From: Jean Christofferson To: freebsd-questions@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 14 Sep 2012 16:45:49 -0700 X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 8.3 stable or 9.0 stable amd64 iso with mfi driver changes of May 18, 2012 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, 14 Sep 2012 23:46:01 -0000 I am trying to install FreeBSD stable - either 8.3 or 9.0 - on a Dell 420 with Perc H310 LSI PCI Express SAS Rain controllers. Although the physical disks are present and recognized by the BIOS the sysinstall does not see the disks. I think the issue is mfi driver and was added to the stable release May 18, 2012. http://www.FreeBSD.org/cgi/man.cgi?query=mfi&sektion=4&manpath=FreeBSD+8.3-RELEASE I do not have an environment to download the source and make my own installation disk. The 8.3 image on the ftp site is dated April 9, 2012 and the 9.0 is Jan 2012. Is there some place I can download an amd63 iso that was includes the mfi driver update done on May 18, 2012? Or perhaps that is not really the issue at all - any help that anyone can provide will be welcome! Thanks, Jean Jean Christofferson jeanc@relevantpower.com Relevant Power, Inc. www.relevanttools.com 415-472-8400 From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 01:28: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 84B39106564A for ; Sat, 15 Sep 2012 01:28:26 +0000 (UTC) (envelope-from jeanc@relevantpower.com) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:64]) by mx1.freebsd.org (Postfix) with ESMTP id 64DE38FC0C for ; Sat, 15 Sep 2012 01:28:26 +0000 (UTC) Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta07.emeryville.ca.mail.comcast.net with comcast id zAju1j0040QkzPwA7DUSZL; Sat, 15 Sep 2012 01:28:26 +0000 Received: from [192.168.1.148] ([76.103.159.183]) by omta02.emeryville.ca.mail.comcast.net with comcast id zDUQ1j00j3xiPfw8NDURmi; Sat, 15 Sep 2012 01:28:25 +0000 Message-Id: <42AFA0AC-8353-4295-9774-4CDFEA48CAAE@relevantpower.com> From: Jean Christofferson To: kpneal@pobox.com In-Reply-To: <20120915011457.GA85921@neutralgood.org> Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 14 Sep 2012 18:28:24 -0700 References: <6B7BBB56-5573-438A-97EB-0C27F1F7C4F1@relevantpower.com> <20120915011457.GA85921@neutralgood.org> X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.org Subject: Re: 8.3 stable or 9.0 stable amd64 iso with mfi driver changes of May 18, 2012 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, 15 Sep 2012 01:28:26 -0000 Kevin, Thank you for your response. It is great to get confirmation and I will try with 9.1-RC1 I DO have on board Broadcom 5720 NIC. Nice to know what my next problem is likely to be. Hopefully that will be easy to solve if I install another NIC card. Thanks! Jean Jean Christofferson jeanc@relevantpower.com Relevant Power, Inc. www.relevanttools.com On Sep 14, 2012, at 6:14 PM, kpneal@pobox.com wrote: > On Fri, Sep 14, 2012 at 04:45:49PM -0700, Jean Christofferson wrote: >> I am trying to install FreeBSD stable - either 8.3 or 9.0 - on a >> Dell >> 420 with Perc H310 LSI PCI Express SAS Raid controllers. >> >> Although the physical disks are present and recognized by the BIOS >> the >> sysinstall does not see the disks. I think the issue is mfi driver >> and was added to the stable release May 18, 2012. > > Yup, the 12G machines came out when the paint was drying on 8.3. So > there > isn't a -stable release with the updated driver. > > The new mfi driver is in 9.1-RC1 if you are OK with a pre-release. > > I hope you don't have the Broadcom 5720 NIC like the R620. The FreeBSD > driver (bge) isn't finished yet. At least, I don't remember seeing > it go > into the tree. It's known to _not_ work on the R620 and I believe > R720. > -- > Kevin P. Neal http://www.pobox.com/ > ~kpn/ > > "Nonbelievers found it difficult to defend their position in \ > the presense of a working computer." -- a DEC Jensen paper > From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 09:31: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 CC778106564A for ; Sat, 15 Sep 2012 09:31:22 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1478FC08 for ; Sat, 15 Sep 2012 09:31:22 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward4h.mail.yandex.net (Yandex) with ESMTP id EBA311B20E0A; Sat, 15 Sep 2012 13:31:12 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id B2ADE13402AD; Sat, 15 Sep 2012 13:31:12 +0400 (MSK) Received: from 93.91.0.41.tel.ru (93.91.0.41.tel.ru [93.91.0.41]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VBUKJFBZ-VCUKKfP7; Sat, 15 Sep 2012 13:31:12 +0400 Message-ID: <50544ADF.3090009@passap.ru> Date: Sat, 15 Sep 2012 13:31:11 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Martyn Jansen References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "freebsd-questions@freebsd.org" Subject: Re: legal question on licence terms 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, 15 Sep 2012 09:31:22 -0000 Hello Martyn, 14.09.2012 19:16, Martyn Jansen пишет: > > I'm looking at your licence terms and conditions and particularly the section on "redistribution restriction" on a number of ports. > FreeBSD ports system is a set of tools to deal with software created elsewhere. The information about licences, permissions, etc. should be looked at the original site, asked to original authors. The source files may be used for the referrence. As a starting point I'll suggest using the file pkg-descr at the port's directory. This file usially hes a refference to the original site. Thank you for your interest at the FreeBSD Operating System. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 13:19: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 DCA0D106564A for ; Sat, 15 Sep 2012 13:19:37 +0000 (UTC) (envelope-from ringoli666@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 70DD88FC17 for ; Sat, 15 Sep 2012 13:19:36 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so632605wib.13 for ; Sat, 15 Sep 2012 06:19:36 -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=DU65UQVWePA9WExq8lAwYDoYHw+Ru/mwxOtgRhj+wKg=; b=bx0pBhz4iQYyO1eRzKH6o9BuYItKxYEZAx4bTPw0IZEQUrmH7SAPSVoF9EE6CQc+Nl bEfXO0ZFmqdcwGXZ6Kh8GevBz369OyPA8WUS/LN0TzIrsrpPnKeR5lNZoJac2zrgXg2r zHE0b4PA58pnlFa5FMh63ui2D+XGerdS9OK/nz2F5+YYRKNwO7jfnzid9L1vesxU67T1 YwqqG1bLJwg/sCnws0dwS80XKfRyX0kITlFb5ZBg3w1bt7EAOL1qag8Y1tqWe/zgLCQ2 jChyutqSsX46ogiKRC0C2pcQI4R8XA0si1sG7pCVeHtS4d3Dxr5FOw9i/DEfAX68dQx3 FGKw== MIME-Version: 1.0 Received: by 10.216.198.234 with SMTP id v84mr2980988wen.204.1347715176012; Sat, 15 Sep 2012 06:19:36 -0700 (PDT) Received: by 10.194.37.198 with HTTP; Sat, 15 Sep 2012 06:19:35 -0700 (PDT) Date: Sat, 15 Sep 2012 21:19:35 +0800 Message-ID: From: tsz him li To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: http://localhost/phpmyadmin 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, 15 Sep 2012 13:19:38 -0000 From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 15:33: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 7D4C5106567C for ; Sat, 15 Sep 2012 15:33:11 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 55F828FC08 for ; Sat, 15 Sep 2012 15:33:10 +0000 (UTC) Received: by dadr6 with SMTP id r6so3365335dad.13 for ; Sat, 15 Sep 2012 08:33:10 -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=y71yBX70XEYw+umWtzcP68vGZ5yz7/xMvThNvWD0zNo=; b=wUTYKk7+cY7W8uepIVsnBS6OmunUsN659RkEnPGalxnPROch9yTJTPVolmbaUWVYpB nRKZult25bJq986oNGEWCtfevzf1NkJhHGBmP6t2tpPxi7LYp7739fK3wlltVyTGWT7+ f9+CaPCDFpU+IrTzfOIlX3K471q285h/ewACecueskyoyKcb3s2FZyQjtsHiXqQoazWl tG5AYjx+BOvR5ty7qQOsQIjSSWVdSMZfoD36Otre1ENrTqG8/YOer2rhjv0buX34XSlE r/752p6kar1jaLgYKIBBLJ5Tzt6zJpRR4tDLFPa/t7SiSPnKtWPhBRo4QbPlzg0eZmmM zr4w== MIME-Version: 1.0 Received: by 10.68.129.131 with SMTP id nw3mr10949790pbb.43.1347723189970; Sat, 15 Sep 2012 08:33:09 -0700 (PDT) Received: by 10.66.20.104 with HTTP; Sat, 15 Sep 2012 08:33:09 -0700 (PDT) Date: Sat, 15 Sep 2012 09:33:09 -0600 Message-ID: From: Modulok To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: pkgconf-0.8.9 conflicts... 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, 15 Sep 2012 15:33:11 -0000 List, I've been seeing a lot of this recently when I try to install new ports. The following is on a fresh install of FreeBSD 9.0 Release, when I tried to install linux-f10-flashplugin11 from ports. (It happens with several other packages too):: Stop in /usr/ports/www/linux-f10-flashplugin11. pkgconf-0.8.9 conflicts with installed package(s): pkg-config-0.25_1 So, I try this:: pkg_delete pkg-config-0.25_1 But of course I can't deinstall it because several hundred already installed require it. Suggestions? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 15:40: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 9DB5A10656D3 for ; Sat, 15 Sep 2012 15:40:02 +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 6DA478FC0C for ; Sat, 15 Sep 2012 15:39:57 +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=KKEHnn34iHEBfTnQpeTzk5MI+BM4cYrOGwOapr6Vw5E=; b=er40bEgocfLXs9aZZ/3npI4kNmDmACPoReXFZLGEjYAtRxhn+I7xo3cmGkIK9AXpgemEr+KHNV7F46zETB+5/aCM30tgEkZIB+xU/qlwx5VZ6+H3XPZi5QwpcJnSlOsP; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TCuTM-000MmD-1U; Sat, 15 Sep 2012 10:39:56 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1347723595-3100-3099/5/33; Sat, 15 Sep 2012 15:39:55 +0000 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: FreeBSD Questions , modulok@gmail.com References: Date: Sat, 15 Sep 2012 10:39:47 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/12.02 (Win32) X-SA-Report: ALL_TRUSTED=-1, KHOP_THREADED=-0.5 X-SA-Score: -1.5 Cc: Subject: Re: pkgconf-0.8.9 conflicts... 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, 15 Sep 2012 15:40:02 -0000 On Sat, 15 Sep 2012 10:33:09 -0500, wrote: > > But of course I can't deinstall it because several hundred already > installed > require it. The required instructions to fix your problem are in /usr/ports/UPDATING. Just serarch for pkgconf. Cheers! From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 15:16:43 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 1CC0C106564A for ; Sat, 15 Sep 2012 15:16:43 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm12.bullet.mail.ird.yahoo.com (nm12.bullet.mail.ird.yahoo.com [77.238.189.65]) by mx1.freebsd.org (Postfix) with SMTP id 51CB68FC0C for ; Sat, 15 Sep 2012 15:16:41 +0000 (UTC) Received: from [212.82.105.245] by nm12.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 15:16:40 -0000 Received: from [217.146.189.69] by tm17.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 15:16:40 -0000 Received: from [127.0.0.1] by smtp149.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 15:16:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1347722200; bh=yDrzlxThWXnhUnYqgN7j7Vsccub2Vj2AfLBdgOhXwLU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Message-ID:Subject:X-Mailer:MIME-Version:Content-Type; b=zzlfs+IeA4TJy7oa0+K7+/FtevocBefBOdI/EUJrjBx0iMG0tQy9vRNeJeZlfve/jlz4IYavueWpWyRvErBLdDxHxys5NIrCgHy/1/GxU1+YpV2J9k0m3Q50F2+W/wnMDh7TeRcfQL/WzyuPIMOtJ71xaEGWvbSbWIMh1v9lWn0= X-Yahoo-Newman-Id: 970175.84869.bm@smtp149.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mzdFc44VM1nhR9SUdJKnDSJGTsuar6IXHHTLzjZKd9BG8yb K3pPnjiff4ax2FYxJoex.69Uk.uUhCqBB0igfwL8CY1COC.ll149mwPsg7z1 VnqRUO6W5Ob1qyg86YsDOiCmEcWRuJbZ6OSGr2Jufaxi1Jq_vcojFfArPmpH Toex5aBnYejmzS.zcn.QmuZIoVpYBNntDoza_KmgYn38kXXCSehlMw4vynEC 0NNyLhPhzSJaFi9GOaLGphUI4wVaxLa_p5pZbeh9_M.fn_ZesEbHjFthe33R Soq6H2dIksuBRWj3e4v1GSNBDrx_IFn6kJdpJAPiZ689MQzrpDW7j4yug165 TBEipYqagOtG.hu_7zH7QiitmmQ6mAACyZBJRi.vRPUyTvHUlsYxiRmOLAuK TVA03id5SbUx6w7gqDDWJhAjnyGm1ypQII.zYQvDVEhJgeKO9cvx5JqWwFSw lUVh.Fb3kyDQkO3ck X-Yahoo-SMTP: QwgFOT2swBC9RbEk7L61j8D8oTJpwuBOkZBcLzY- Received: from [192.168.1.103] (laszlo_danielisz@89.133.20.41 with plain) by smtp149.mail.ird.yahoo.com with SMTP; 15 Sep 2012 08:16:40 -0700 PDT Date: Sat, 15 Sep 2012 17:16:39 +0200 From: Laszlo Danielisz To: freebsd-questions@freebsd.org Message-ID: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> X-Mailer: sparrow 1.6.3 (build 1173) MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 15 Sep 2012 16:11:29 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 8.1 -> 8.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: Sat, 15 Sep 2012 15:16:43 -0000 Hey Guys, If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update installed packages? One more thing: by when has 8.3 release maintenance? Maybe I'm blind but I haven't found the date on freebsd.org Thx! Laszlo From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 16:23:33 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 3A012106566B for ; Sat, 15 Sep 2012 16:23:33 +0000 (UTC) (envelope-from kron24@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 B82678FC08 for ; Sat, 15 Sep 2012 16:23:32 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1662082bkc.13 for ; Sat, 15 Sep 2012 09:23:31 -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=qgVQYQEKkEBkaOTHrvp8AT0lHy0X6xAhOL2n7e1rKN0=; b=TcscmtQDTEw6ukHnzXjcUTGsuyjeFotdH7gvRBdZg0yzf/o11Ehdaq6cqZSgsQTt4T Jw3VXoJ33fXzXoWGxsz2UVH+Rs+AWjPtJIQFAHH2hGiuoTs/x9IDioKm/7a2MLifpBtU UNb9PrlzxtbKAa5wJTHrumHkHugU0+DvH5fKb4eQxEaKFSjpit4k5vQjRoUKHovUOw/4 TRHyhvBSHpu2CbpvD22bLjoen+cYgYghwmsItbGapG9eTUXA93J/P1bHSv6rK3XGisi9 Dr6HCvgfvRw4tgMPPbvzTWv88KiefZ02yDMvl0v9uLc52ut8vUzcPgDbfBPpwKYb5/TM 9wJA== Received: by 10.204.133.196 with SMTP id g4mr2950481bkt.89.1347726211586; Sat, 15 Sep 2012 09:23:31 -0700 (PDT) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id n17sm2727687bks.6.2012.09.15.09.23.28 (version=SSLv3 cipher=OTHER); Sat, 15 Sep 2012 09:23:30 -0700 (PDT) Message-ID: <5054AB7F.4020503@gmail.com> Date: Sat, 15 Sep 2012 18:23:27 +0200 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> In-Reply-To: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 8.1 -> 8.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: Sat, 15 Sep 2012 16:23:33 -0000 On 2012/09/15 17:16, Laszlo Danielisz wrote: > Hey Guys, > > If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update installed packages? no > One more thing: by when has 8.3 release maintenance? Maybe I'm blind but I haven't found the date on freebsd.org i think you mean http://www.freebsd.org/security/security.html#sup BR Oli From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 16:49: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 B5304106564A for ; Sat, 15 Sep 2012 16:49:25 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm21-vm0.bullet.mail.ird.yahoo.com (nm21-vm0.bullet.mail.ird.yahoo.com [212.82.108.204]) by mx1.freebsd.org (Postfix) with SMTP id 04B468FC0A for ; Sat, 15 Sep 2012 16:49:24 +0000 (UTC) Received: from [77.238.189.52] by nm21.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 16:49:18 -0000 Received: from [217.146.189.101] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 16:49:18 -0000 Received: from [127.0.0.1] by smtp117.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 16:49:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1347727758; bh=cx7mVbPzzttLVEhpaXmdWDPhi57b/vqbitE7gq+Y4YU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:X-Mailer:MIME-Version:Content-Type; b=Gd/LSHjA9/fYaUT9+EcToVYqigS+LnQsGohxnpbGTVc6F8Cuojr5TaO+vwq8m/dbiTUzhYXKswTOvWxM0YaVGzb7MPKDidVbGegLeX13a97sE/X1IGlK6431TpCoLWZPLONBmdZH1eRgRGtQr6G43efSQ/Du2OyCL+IRL92811M= X-Yahoo-Newman-Id: 339039.43375.bm@smtp117.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2IxxneQVM1lSPCdXdyF1DFhDGgyZhmvMeOMwCNFxEoOFcNe N.wbQ.rQatYP8BUcIxD8DhNdmmuOWMB41lpsY7CQWxxc63la4wJxz79EtKnP iYy4g34VOyGO1_nHvQO4zSUZwhk.TXTQLEMq09AqzrhnosyUhIlPhC7MAWOw mXOk4zndCcR4Qv_Hv9VhSwFKFjJ8TISpI6EbUCAa_BEYzB3FWRWZ8__RlYTF 2B73YVAZYIGRZFaJL.v9EEeRSZDotpEJ_6W7B7XegmbXj.lsXI67FONpTi0B KbriOs_s8gCmKvvmdIXrUKsZVakgsDxWerO5hWazsDgXuF6MIIHAmM4oQFeu Z6E6EcPitNelDwTVL0vCUteZ6Wnbfhai8N6Kp0zw3kydFvHmnkIIPakWGzVj IOPDA974lXvy_9V5qQH05hGGplNfBbVQReEiOia5Jh5qOyZ.P.tojXKvSemi uHdDLtF3jwmxItWdycw-- X-Yahoo-SMTP: QwgFOT2swBC9RbEk7L61j8D8oTJpwuBOkZBcLzY- Received: from [192.168.1.103] (laszlo_danielisz@89.133.20.41 with plain) by smtp117.mail.ird.yahoo.com with SMTP; 15 Sep 2012 09:49:18 -0700 PDT Date: Sat, 15 Sep 2012 18:49:17 +0200 From: Laszlo Danielisz To: kron Message-ID: In-Reply-To: <5054AB7F.4020503@gmail.com> References: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> <5054AB7F.4020503@gmail.com> X-Mailer: sparrow 1.6.3 (build 1173) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 8.1 -> 8.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: Sat, 15 Sep 2012 16:49:25 -0000 Thx! Yeah, I totally screwed up my last sentence, sorry :) On 2012. September 15. at 18:23, kron wrote: > On 2012/09/15 17:16, Laszlo Danielisz wrote: > > Hey Guys, > > > > If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update installed packages? > > no > > > One more thing: by when has 8.3 release maintenance? Maybe I'm blind but I haven't found the date on freebsd.org (http://freebsd.org) > > i think you mean > > http://www.freebsd.org/security/security.html#sup > > BR > Oli > _______________________________________________ > freebsd-questions@freebsd.org (mailto: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 (mailto:freebsd-questions-unsubscribe@freebsd.org)" > > From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 16:57: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 05639106564A for ; Sat, 15 Sep 2012 16:57:16 +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 B34148FC16 for ; Sat, 15 Sep 2012 16:57:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TCvg7-0007bZ-A9 for freebsd-questions@freebsd.org; Sat, 15 Sep 2012 18:57:11 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 18:57:11 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 18:57:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Sat, 15 Sep 2012 12:56:49 -0400 Lines: 20 Message-ID: References: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net Subject: Re: 8.1 -> 8.3 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: Sat, 15 Sep 2012 16:57:16 -0000 Laszlo Danielisz wrote: > Hey Guys, > > If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update > installed packages? One more thing: by when has 8.3 release maintenance? > Maybe I'm blind but I haven't found the date on freebsd.org > When updating within a major release version such as 8.1 to 8.x the ABI is stable and remains the same so it is not necessary to update the third party packages/ports. It becomes necessary to rebuild/update whenever changing from one major release to another, such as from 8.x to 9.x for example. If you use csup and a supfile to update src, just use tag=RELENG_8_3 to pull in the security maintenance release bits. Currently it is at P4. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:23: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 9461B106566C for ; Sat, 15 Sep 2012 17:23:31 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm2-vm0.bullet.mail.ird.yahoo.com (nm2-vm0.bullet.mail.ird.yahoo.com [77.238.189.199]) by mx1.freebsd.org (Postfix) with SMTP id D8A908FC0A for ; Sat, 15 Sep 2012 17:23:30 +0000 (UTC) Received: from [77.238.189.231] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 17:23:23 -0000 Received: from [217.146.189.246] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 17:23:23 -0000 Received: from [127.0.0.1] by smtp111.mail.ird.yahoo.com with NNFMP; 15 Sep 2012 17:23:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1347729803; bh=X3+6I4T3FXUndr/13yXtyveBenuGxBipnEeKq9TZnTk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:X-Mailer:MIME-Version:Content-Type; b=sXPS2rOiTla8AYoAvFg/v+KCFrkjIVpYkpqK4w6L+t87PeGy7R3Ss6jhDU+XrdhePFB443Fa8sG1jzM31q+GQtcCm12sxYwPvH52Af89D18eCDOG1jYX4HmePuIxqmqtvST5Uwz6Kn1EaDsz0x0unfvW/+drZSY2/Q54mWHCEQA= X-Yahoo-Newman-Id: 428616.44156.bm@smtp111.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hEl1ZgUVM1kD3uXOyU39N3DkPdfFgMKugbTDr0wxHZiCc3Y ydE.tF8gj2i66O5NHEPtmHHHnFQvzLaj7MUXCdn.uQi.LdZ0oYigvDP8BPuN w2zOGfGbA_iQyEpuASZrc9B931bEQrwUYOjAbREi75Mf6r3CjMWyedBxo7kO dDtEsRTqw60wO8JB4Gw6l4q6jicAdMbJt3Ym7O.47zmfMnGX_uCfKe0g9OKf MZCHmFoRtMHnK1GCJyo4pX_tGdwpe9_w_on9S7zcHfLmgANueVNbk9BqSnKw fDi7L2hG2o3unkHFsJgW4vO61GJ8xpktjegWDroUvsFQ7kKnz0oA7oxhSN3S inP5gsuTV8eZ97QhBZKWgGbE6xO4iry_SsSz1Vz_ATLQScbgNxDFFQS.J9Py JlIEkoPtX8.je49zLJuF1NxVHT1Gv7P1mZ3_qHJeLX9ct1dEP3roxNWWkZFz MCrQ.45qfNdoZW9IDhN9h6TTRZV3Jx8hKHCiJt4uBLUsJRY9pcHsbjAvcey4 noqkQcIgLmRkKpZo4HgySsQgSmUoaqg-- X-Yahoo-SMTP: QwgFOT2swBC9RbEk7L61j8D8oTJpwuBOkZBcLzY- Received: from [192.168.1.103] (laszlo_danielisz@89.133.20.41 with plain) by smtp111.mail.ird.yahoo.com with SMTP; 15 Sep 2012 10:23:20 -0700 PDT Date: Sat, 15 Sep 2012 19:23:18 +0200 From: Laszlo Danielisz To: nightrecon@hotmail.com Message-ID: <44ECA0421F9A4C5A826B76AFE629A2EA@yahoo.com> In-Reply-To: References: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> X-Mailer: sparrow 1.6.3 (build 1173) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 8.1 -> 8.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: Sat, 15 Sep 2012 17:23:31 -0000 Great Mike, May I ask what is ABI? -- Laszlo Danielisz Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On 2012. September 15. at 18:56, Michael Powell wrote: > Laszlo Danielisz wrote: > > > Hey Guys, > > > > If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update > > installed packages? One more thing: by when has 8.3 release maintenance? > > Maybe I'm blind but I haven't found the date on freebsd.org (http://freebsd.org) > > > > > When updating within a major release version such as 8.1 to 8.x the ABI is > stable and remains the same so it is not necessary to update the third party > packages/ports. It becomes necessary to rebuild/update whenever changing > from one major release to another, such as from 8.x to 9.x for example. > > If you use csup and a supfile to update src, just use tag=RELENG_8_3 to pull > in the security maintenance release bits. Currently it is at P4. > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org (mailto: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 (mailto:freebsd-questions-unsubscribe@freebsd.org)" > > From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:37: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 E68A6106564A for ; Sat, 15 Sep 2012 17:37:29 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 81BC28FC08 for ; Sat, 15 Sep 2012 17:37:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TCwJ2-0006I9-Pv; Sat, 15 Sep 2012 21:37:26 +0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=t5IgQdPXNYRBLilH0NNtPxh2Vz5m7gAp4yGijzCAqdc=; b=WWXZLwfvML23p3dl1obhdbVkrVTRNxTpcbs30jUXPyTEEgWpb/41GU2mtJ9WcIT8AqUJfMp2E5HKZulzAStkY2Q1vLr9S9z5i861JM1iZ3ut2++pl94KRTqzx+ZrJ4swgvjoclQ7uPVlnYuVBwylFPkfG+GwnC5EfDLiXGDLJ8Q=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TCwGz-00087G-Of; Sat, 15 Sep 2012 17:35:19 +0000 From: Jan Beich To: Stephan Schindel In-Reply-To: <50534FB6.8050102@tp1.rub.de> (Stephan Schindel's message of "Fri, 14 Sep 2012 17:39:34 +0200") Date: Sat, 15 Sep 2012 15:40:52 +0000 References: <50534FB6.8050102@tp1.rub.de> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1TCwGz-00087G-Of@internal.tormail.org> Cc: freebsd-questions@freebsd.org Subject: Re: Minecraft sound (ALSA) 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, 15 Sep 2012 17:37:30 -0000 Stephan Schindel writes: > AL lib: alsa.c:960: no playback cards found... > AL lib: alsa.c:1017: no capture cards found... > ALSA lib confmisc.c:768:(parse_card) cannot find card '0' > ALSA lib conf.c:4154:(_snd_config_evaluate) function > snd_func_card_driver returned error: No such file or directory [...] > > pcm.oss { > type oss > device /dev/dsp > } Remove ~/.asoundrc, /usr/local/etc/asound.conf defaults to OSS plugin. And when not using NATIVE_LIBS the following issue may affect you http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169896 From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:41: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 E8201106564A for ; Sat, 15 Sep 2012 17:41:06 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id C45308FC08 for ; Sat, 15 Sep 2012 17:41:06 +0000 (UTC) Received: from [192.168.1.67] (99-111-143-21.lightspeed.crchtx.sbcglobal.net [99.111.143.21]) by mail.sagedata.net (8.14.5/8.14.5) with ESMTP id q8FHexFW080090 for ; Sat, 15 Sep 2012 12:40:59 -0500 (CDT) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host 99-111-143-21.lightspeed.crchtx.sbcglobal.net [99.111.143.21] claimed to be [192.168.1.67] Message-ID: <5054BDC0.4030609@sage-american.com> Date: Sat, 15 Sep 2012 12:41:20 -0500 From: Jack Stone User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.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 X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Sat, 15 Sep 2012 12:40:59 -0500 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Subject: Problem upgrading fbsd-7.4 --> 8.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: Sat, 15 Sep 2012 17:41:07 -0000 Am trying to upgrade fbsd-7.4 to 8.3. I get all the way through the usual procedure using sources, including installworld, when I attempt to run mergemaster as the final step, I get this fatal error. I've searched the list and google, but don't find the right answer. What am I possibly doing wrong and what should I do to get around this? The error: mail# mergemaster -viF *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot *** Press the [Enter] or [Return] key to continue *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment -- -- All the best, Jack From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:41: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 F3721106564A for ; Sat, 15 Sep 2012 17:41:23 +0000 (UTC) (envelope-from reckingball62@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id BC5AC8FC19 for ; Sat, 15 Sep 2012 17:41:23 +0000 (UTC) Received: by iea17 with SMTP id 17so4790934iea.13 for ; Sat, 15 Sep 2012 10:41:22 -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=M2JEhArjPmoa+g4zZTLWtwGqvT0/6Rl5FSGpvpQG5yM=; b=d+HlBOsQjypgcTDtiNgMrSKUwOwrhW5Uss12F+316eneVIb5zxd808+l+0oxL738N4 bn7aWZFov+Na8o2BPIgpxc29/K2OwcXMIjhzQv6FSSZtcCLwahJZxK3xWC2/pCPm/R2X bqFBkdItxsvsjBB7q1POAbBNBXjOw8tgjpg2HRaahi7bJ6mVk0dWkIbF01qACYT7cC0W yI9fiSZnjvNNXEu3YgteAIjykjFX43sMIUQFRFDZ2xIpLmGgIwDxdZzzEjIONDojnSYA hNptYy6hCgyT/bXvJ0DZjEzEWuzHWzaEqDhXSRaPlD/4k+W1cOVsk4t50v4bIY4gg+7B YCAg== MIME-Version: 1.0 Received: by 10.50.17.163 with SMTP id p3mr2423731igd.19.1347730882824; Sat, 15 Sep 2012 10:41:22 -0700 (PDT) Received: by 10.64.170.69 with HTTP; Sat, 15 Sep 2012 10:41:22 -0700 (PDT) Date: Sat, 15 Sep 2012 12:41:22 -0500 Message-ID: From: Andy Recker To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) 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, 15 Sep 2012 17:41:24 -0000 stop From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:55: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 8AB77106564A for ; Sat, 15 Sep 2012 17:55:15 +0000 (UTC) (envelope-from modulok@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 589A18FC0C for ; Sat, 15 Sep 2012 17:55:15 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so7741457pbb.13 for ; Sat, 15 Sep 2012 10:55: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=d1lHarUay8bOvVEwAj5WNxY0N3V7SeSThv6nTWPinkQ=; b=wt/vFwLPJaQhvn0NpTV548mkwzWzG+GWlMY/bOKl1TUqcvpqo+I/WoXrsfOoxACefC A5LmK3EhdSyI8prExHf+qQ98evO0szAQoChughx/mws2GMfrGoD51oI4jyrtlmL0YFjO dNFDdqozzTc7kQkWnwHEZYeflyk8s1HmeAfOVFCX/+NkvpTXd2L3Tp6Dclo1h19jkDZf S++G/FGwerj99ggDaS3NwzuK+edycmD/0PCj/BI9/EVhytoaYrFzWg0B3NcjsuJYQZvi z3RkPmH7M+KsXoV4+v8c6fGYC6pM9RUt+8L113z1kk1UOdzmFmVdvTX/baRzPSDdV/LA EejQ== MIME-Version: 1.0 Received: by 10.68.221.72 with SMTP id qc8mr11432218pbc.63.1347731714926; Sat, 15 Sep 2012 10:55:14 -0700 (PDT) Received: by 10.66.20.104 with HTTP; Sat, 15 Sep 2012 10:55:14 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Sep 2012 11:55:14 -0600 Message-ID: From: Modulok To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: pkgconf-0.8.9 conflicts... 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, 15 Sep 2012 17:55:15 -0000 Thanks! Everything works now. I should have read UPDATING before posting. -Modulok- On 9/15/12, Mark Felder wrote: > On Sat, 15 Sep 2012 10:33:09 -0500, wrote: > >> >> But of course I can't deinstall it because several hundred already >> installed >> require it. > > The required instructions to fix your problem are in /usr/ports/UPDATING. > Just serarch for pkgconf. > > > Cheers! > From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 17:58: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 E9C4D106566B for ; Sat, 15 Sep 2012 17:58:50 +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 71E5C8FC16 for ; Sat, 15 Sep 2012 17:58:50 +0000 (UTC) Received: by yhfs35 with SMTP id s35so1297826yhf.13 for ; Sat, 15 Sep 2012 10:58:49 -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=HsU4JmYl6Ubtq+A7V/DrElnISUt7LvWDjDo9e3NmUvk=; b=nDOTEdbGLeOTGu3HxvzyzB4VIs+LarhtsRhMarWV4vDRgG2XhJe65/SQ1aefmJGrcr J3iC8fh2x/8H2wYv7fYy1qvULwG1urQTXVjNCZgEGacusu2Y9e45UGEZRZSvofR+Q1Et cnwMfi4AiHO5XxMcQPwshzNKTQ9hy8YHBDK6o= 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=HsU4JmYl6Ubtq+A7V/DrElnISUt7LvWDjDo9e3NmUvk=; b=GyZU9ALrCDJqmKVrf6nFOGioc8jh0NaZwfhIKQs+bkiFwMdCPX7ePArm0KAxzD6cDv 1VZ2pT5u9Lj2l0ST4oQiCE9ox+6z60dcAQiuPXqX2aiZ7g4L+WKKsnPGG54ELhrA3XQz K2/UxU/7Tartv3Sj9/uQjINJ1ZbJ33sazWWTnOjn8aow/B4zSmNjl2iUL3fPhdmfhTIL ayAYwN74LQuFfForu1wa3qn1PcnxZc9KgY4zvPoXsu1+UM2fcezp025i6ZFryS18qmp2 up2cv+59STpCXtmzaMZF1JQgOoMckgMZamb0LOJRJS5LMXWCftOAvXo56br3hHMwlPVZ vTPw== Received: by 10.236.138.132 with SMTP id a4mr7613166yhj.123.1347731929799; Sat, 15 Sep 2012 10:58:49 -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 e5sm7393242yhi.12.2012.09.15.10.58.47 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Sep 2012 10:58:48 -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 3XK1Yf5Dlpz2CG5l for ; Sat, 15 Sep 2012 13:58:46 -0400 (EDT) Date: Sat, 15 Sep 2012 13:58:46 -0400 From: Jerry To: FreeBSD Message-ID: <20120915135846.680f534e@scorpio> In-Reply-To: References: 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: ALoCoQn/tOeQyw5jQ5rPI3kO1171bCHXmdZ4CpPvhVnR0l/EzVELmq0ichuVsfK9qYD/yKAZIh45 Subject: Re: (no subject) 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: Sat, 15 Sep 2012 17:58:51 -0000 On Sat, 15 Sep 2012 12:41:22 -0500 Andy Recker articulated: > stop You didn't say, "Simon says." -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ The three best things about going to school are June, July, and August. From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 18:10: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 7E667106564A for ; Sat, 15 Sep 2012 18:10:31 +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 37C4F8FC17 for ; Sat, 15 Sep 2012 18:10:30 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TCwp6-0001hb-Lc for freebsd-questions@freebsd.org; Sat, 15 Sep 2012 20:10:32 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 20:10:32 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 20:10:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Sat, 15 Sep 2012 14:10:18 -0400 Lines: 17 Message-ID: References: <7FB6587CC36F4140A852E74D9DFE4512@yahoo.com> <44ECA0421F9A4C5A826B76AFE629A2EA@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net Subject: Re: 8.1 -> 8.3 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: Sat, 15 Sep 2012 18:10:31 -0000 Laszlo Danielisz wrote: > Great Mike, > May I ask what is ABI? > ABI is short for Application Binary Interface, and is a low-level interface between programs and the operating system [kernel] they run on. You may have seen API as well - short for Application Programming Interface. This generally/usually is relevant to programs talking to other programs. In FreeBSD, if changes to the ABI are deemed necessary, this will generally serve as a demarcation point between one major version revision and the next one coming along, e.g 7.x, 8.x, 9.x, and so on. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 18:13: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 683C41065670 for ; Sat, 15 Sep 2012 18:13:02 +0000 (UTC) (envelope-from vs@celicom.ru) Received: from backup.newdesign.ru (backup.newdesign.ru [89.111.189.186]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB028FC17 for ; Sat, 15 Sep 2012 18:13:01 +0000 (UTC) Received: from [46.242.121.227] (helo=[192.168.1.101]) by backup.newdesign.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.75 (FreeBSD)) (envelope-from ) id 1TCwBG-000A3N-7u for freebsd-questions@freebsd.org; Sat, 15 Sep 2012 21:29:22 +0400 Message-ID: <5054BB1D.4080506@celicom.ru> Date: Sat, 15 Sep 2012 21:30:05 +0400 From: Solmin Vladimir User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: apache 2.2.22_8 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, 15 Sep 2012 18:13:02 -0000 Hi! Im using apache 2.2.22_6 with make options in /etc/make.conf # apache22 .if ${.CURDIR} == ${PORTSDIR}/www/apache22 WITH_SUEXEC= YES SUEXEC_DOCROOT= /www SUEXEC_USERDIR= /www/*/cgi-bin SUEXEC_LOGFILE= /var/log/suexec.log WITH_APACHE_PERF_TUNING=yes .endif But after svn co /usr/ports today i'm see next: $portupgrade -arR ** Port marked as IGNORE: www/apache22: is marked as broken: WITH/WITHOUT parameters are obsolete. The port use the new options NG framework. Please read http://wiki.freebsd.org/Ports/Options/OptionsNG but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and SUEXEC_LOGFILE in NG framework format... Please help show me how.... From owner-freebsd-questions@FreeBSD.ORG Sat Sep 15 21:32: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 9CEE8106564A for ; Sat, 15 Sep 2012 21:32:23 +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 4D79D8FC15 for ; Sat, 15 Sep 2012 21:32:22 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8FLWgIj022329 for freebsd-questions@freebsd.org; Sat, 15 Sep 2012 16:32:42 -0500 (CDT) Date: Sat, 15 Sep 2012 16:32:42 -0500 (CDT) From: Robert Bonomi Message-Id: <201209152132.q8FLWgIj022329@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: 8.1 -> 8.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: Sat, 15 Sep 2012 21:32:23 -0000 > From owner-freebsd-questions@freebsd.org Sat Sep 15 11:58:42 2012 > To: freebsd-questions@freebsd.org > From: Michael Powell > Date: Sat, 15 Sep 2012 12:56:49 -0400 > Subject: Re: 8.1 -> 8.3 > > Laszlo Danielisz wrote: > > > Hey Guys, > > > > If I want to upgrade from 8.1-RELEASE-p11 to 8.3 do I need to also update > > installed packages? One more thing: by when has 8.3 release maintenance? > > Maybe I'm blind but I haven't found the date on freebsd.org > > > > When updating within a major release version such as 8.1 to 8.x the ABI is > stable and remains the same so it is not necessary to update the third party > packages/ports. Note: this is _generally_ accurate. There are *rare* exceptions -- things that have to be compiled against against the actual kernel in use, because they go rummaging through kernel internal data structures. Historically, lsof wa one such program. Such programs tended to have *LOUD* caveats in the build documentation, and run-time checks for kernel version consistency. In 30+ years as a sysadmin, I think I've only encoundered abouut _four_ such programs. ,