From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 00:10:08 2008 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 4AECF1065676 for ; Sun, 9 Nov 2008 00:10:08 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 244C58FC12 for ; Sun, 9 Nov 2008 00:10:07 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 32D5E509EF for ; Sun, 9 Nov 2008 00:10:07 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JtknZcwvZxaZ for ; Sun, 9 Nov 2008 00:10:05 +0000 (GMT) Received: by nyi.unixathome.org (Postfix, from userid 1001) id DE7F4509C2; Sun, 9 Nov 2008 00:10:03 +0000 (GMT) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081109001004.DE7F4509C2@nyi.unixathome.org> Date: Sun, 9 Nov 2008 00:10:03 +0000 (GMT) Subject: The FreeBSD Diary: 2008-10-19 - 2008-11-08 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 00:10:08 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 00:48:15 2008 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 7EFAA1065674 for ; Sun, 9 Nov 2008 00:48:15 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4288FC0C for ; Sun, 9 Nov 2008 00:48:15 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so927283ele.13 for ; Sat, 08 Nov 2008 16:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2SHVHx/ur7r7Y9eNvVyeejpMM4jZXXJKxslxgAmVv2M=; b=fpO/6V8x4TOTUmo2PJJ1nAFg6VGUGi5kycbWI0RteecLuixzF0olJKIo7m8B69LhtU MlbtPGo2BVVQjYHNd0SXSLWPFbbbjpIzCEupFe+t/HPVmbgXSfv8eG/fdszlaq7Iehdo HZSVL5eceAnkS+QAh9JtF2keFsHtFSzc52fOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dQniAEaBMVjgZEnT7ByBe4LV062Drq/SZ7ylXC9tsPQ9Ydzbu6Fpo3tZTU/T7epnyc fEdA/3gYH5QT5g5Ju0P0pZm9rqe5E0zXly40dRlgWfPTN2O2d+PpJLC4L+tJSs+m/qpj V8BajErpONrJqXVTqXpJ0PVDQZxcPuerogYQ8= Received: by 10.150.177.20 with SMTP id z20mr6626771ybe.226.1226190337553; Sat, 08 Nov 2008 16:25:37 -0800 (PST) Received: by 10.150.135.11 with HTTP; Sat, 8 Nov 2008 16:25:37 -0800 (PST) Message-ID: <25ff90d60811081625w397e65b0k46a48b0a493a32d2@mail.gmail.com> Date: Sat, 8 Nov 2008 19:25:37 -0500 From: "David Horn" To: mdh_lists@yahoo.com In-Reply-To: <602990.94226.qm@web56802.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <602990.94226.qm@web56802.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 00:48:15 -0000 On Fri, Nov 7, 2008 at 2:18 PM, mdh wrote: > Howdy folks, > I'm having a little trouble understanding a problem that the `host` command in RELENG_7_0 (very recent) is having. This is by and large my first time working with IPv6, which I've been meaning to learn for some time. First off, I've got my zone file configured to return a AAAA record for x1.mydomain and named isn't complaining. However, when I run `host -6 x1.mydomain`, host returns the following output: > > (root@rapier) [/etc/namedb]: host -6 x1.mydomain > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:127.0.0.1#53: Invalid argument > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:127.0.0.1#53: Invalid argument > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument > ;; connection timed out; no servers could be reached The '-6' on the command line for host(1) forces an IPv6 only connection to your nameserver, not necessarily a "AAAA" query for the hostname in question. In this case, your nameservers listed in the warnings are IPv4 nameservers that host(1) is attempting to connect to using an ipv4 mapped ipv6 address (which by default is disabled in the kernel) In other words, don't use host -6 for this scenario. Most recent versions of the host(1) command will do both "A" (IPv4 host record), and "AAAA" (IPv6 host record) lookups for you automatically. For example: host www.kame.net www.kame.net has address 203.178.141.194 www.kame.net has IPv6 address 2001:200:0:8002:203:47ff:fea5:3085 > > IP.IP.IP.8 is my ISP's DNS server, and is a third option just in case the localhost DNS server crashes or goes batty while I'm out drinking or somesuch. Here's my resolv.conf, which shows ::1 listed as the second nameserver entry - however, it seems host -6 never even tries it. > > domain mydomain > search mydomain > nameserver 127.0.0.1 > nameserver ::1 > nameserver IP.IP.IP.8 > > The DNS server running on localhost is authoritative for mydomain. I can ping it via localhost using both v4 and v6, and I can also ping the external v4 and v6 addresses just fine remotely. > > As I said, I'm new to IPv6, but this behavior seems to be counterintuitive. Am I just doing it wrong? > For diagnosing your own nameservers, you are better off using the dig(1) utility. Example: dig ipv6.google.com AAAA @::1 This causes a dns query for an IPv6 address (aka "AAAA" query) for the hostname of "ipv6.google.com" using the nameserver on the IPv6 localhost loopback address (::1), and will give a very nice verbose output. man dig for more details. Good Luck. BTW, if you have not already setup an IPv6 tunnel to the internet, I highly recommend SixXS's (www.sixxs.net) free tunnels (and the sixxs-aiccu port), or you can look at Hurricane Electric (www.he.net), and some other tunnel brokers as well. -_Dave > Thanks, Matt > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 00:55:20 2008 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 7F6D41065676 for ; Sun, 9 Nov 2008 00:55:20 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56803.mail.re3.yahoo.com (web56803.mail.re3.yahoo.com [66.196.97.77]) by mx1.freebsd.org (Postfix) with SMTP id 3FB5C8FC1A for ; Sun, 9 Nov 2008 00:55:19 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 81334 invoked by uid 60001); 9 Nov 2008 00:55:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=fsAiYGNfYJH0lu/YywGDN5blsNzy8u3yLn197JD0dfofYU/wJNAMrQdgOtpbx7c8bY9vphBHK0CY9Yk45KQWmBavAoZQybbxb+fFqnpTGF0MgEb7x+Cmu9w9M5hwjVoU0GeYqli/B4TcnZAm+QHhOYGEJte+Gr349vYbh9DiLiQ=; X-YMail-OSG: hT.eCTgVM1mYTufEpNiui7yJRRPE3dkrVwQjLMw3WPHFLyaK6h4wjCp.uxmDE9qijeTDbFdze74XQQUEyWS6ZKFFmUnqL5Sk7EGLI6ax623WSqniVGbA_7kf6_hmaehv0hRCCq5srcKun9GvFoKlwKwFL8NuLW8yQB9XHaU72yBFLkMFBBKZG8ZsA5Tyow-- Received: from [71.61.220.126] by web56803.mail.re3.yahoo.com via HTTP; Sat, 08 Nov 2008 16:55:19 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Sat, 8 Nov 2008 16:55:19 -0800 (PST) From: mdh To: David Horn In-Reply-To: <25ff90d60811081625w397e65b0k46a48b0a493a32d2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <520617.80727.qm@web56803.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 00:55:20 -0000 --- On Sat, 11/8/08, David Horn wrote: > From: David Horn > Subject: Re: host -6 failure > To: mdh_lists@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Saturday, November 8, 2008, 7:25 PM > On Fri, Nov 7, 2008 at 2:18 PM, mdh > wrote: > > Howdy folks, > > I'm having a little trouble understanding a > problem that the `host` command in RELENG_7_0 (very recent) > is having. This is by and large my first time working with > IPv6, which I've been meaning to learn for some time. > First off, I've got my zone file configured to return a > AAAA record for x1.mydomain and named isn't complaining. > However, when I run `host -6 x1.mydomain`, host returns the > following output: > > > > (root@rapier) [/etc/namedb]: host -6 x1.mydomain > > > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: > internal_send: ::ffff:127.0.0.1#53: Invalid argument > > > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: > internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument > > > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: > internal_send: ::ffff:127.0.0.1#53: Invalid argument > > > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: > internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument > > ;; connection timed out; no servers could be reached > > The '-6' on the command line for host(1) forces an > IPv6 only > connection to your nameserver, not necessarily a > "AAAA" query for the > hostname in question. In this case, your nameservers > listed in the > warnings are IPv4 nameservers that host(1) is attempting to > connect to > using an ipv4 mapped ipv6 address (which by default is > disabled in the > kernel) In other words, don't use host -6 for this > scenario. Yet as I pointed out, the second nameserver in my resolv.conf is ::1 - so shouldn't it work with that? It's clearly trying to contact the first and third nameservers listed. If the behavior I'm experiencing is the proper behavior, then let me pose this question: when would anyone conceivably want to use the -6 option, and why does it exist? My intent was to force a query to hit the nameserver on ::1 rather than 127.0.0.1. > > Most recent versions of the host(1) command will do both > "A" (IPv4 > host record), and "AAAA" (IPv6 host record) > lookups for you > automatically. For example: > > host www.kame.net > www.kame.net has address 203.178.141.194 > www.kame.net has IPv6 address > 2001:200:0:8002:203:47ff:fea5:3085 > > > > > IP.IP.IP.8 is my ISP's DNS server, and is a third > option just in case the localhost DNS server crashes or goes > batty while I'm out drinking or somesuch. Here's my > resolv.conf, which shows ::1 listed as the second nameserver > entry - however, it seems host -6 never even tries it. > > > > domain mydomain > > search mydomain > > nameserver 127.0.0.1 > > nameserver ::1 > > nameserver IP.IP.IP.8 > > > > The DNS server running on localhost is authoritative > for mydomain. I can ping it via localhost using both v4 and > v6, and I can also ping the external v4 and v6 addresses > just fine remotely. > > > > As I said, I'm new to IPv6, but this behavior > seems to be counterintuitive. Am I just doing it wrong? > > > > For diagnosing your own nameservers, you are better off > using the > dig(1) utility. > > Example: > > dig ipv6.google.com AAAA @::1 > > This causes a dns query for an IPv6 address (aka > "AAAA" query) for the > hostname of "ipv6.google.com" using the > nameserver on the IPv6 > localhost loopback address (::1), and will give a very nice > verbose > output. man dig for more details. That is more useful, but still doesn't stifle my desire to stomp a potential bug in the base system. > > Good Luck. > > BTW, if you have not already setup an IPv6 tunnel to the > internet, I > highly recommend SixXS's (www.sixxs.net) free tunnels > (and the > sixxs-aiccu port), or you can look at Hurricane Electric > (www.he.net), > and some other tunnel brokers as well. Actually this system is located at HE. :) Thanks, - mdh From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 01:10:43 2008 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 6E6881065742 for ; Sun, 9 Nov 2008 01:10:43 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2C98FC13 for ; Sun, 9 Nov 2008 01:10:42 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1344157rne.12 for ; Sat, 08 Nov 2008 17:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Z7FTgHcSY6qgMx7ulg4TfEq/usOfAheaGIhYjtOpVj8=; b=NPE6XVQRv2HTyWuYFyv/i0TwUr9P1L1GoRoUGkUPVA1uE0Dknyo6+gEJ6rUFRKxi4m KTaSxIryfy+2BPT8yFFZ8CrzoT2Igpw6KAdbc3a14UfXJ2J5YfK+I8rkPlNXv98V9QVN 3337oR4ybd+x1WvHm2M/Zz5q/muJ6jlsIVPkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Awe6BDNMm2qnJXGG/HXi3DfBlfaMND/BkBqiUrOA3uz+mHDL1kWCswJoReEq5/Optp UpZgu6UPgKhXnDvo+LngDZm8m2+Ctx2bjWRiZxUuDYyWf6GW3KVbd2S7f0kvuNru/C0P U2n7RMLJ5W2gpK/fBgcfWX1GZJ42wx3SpIqwA= Received: by 10.150.186.21 with SMTP id j21mr6638004ybf.123.1226193041991; Sat, 08 Nov 2008 17:10:41 -0800 (PST) Received: by 10.150.135.11 with HTTP; Sat, 8 Nov 2008 17:10:41 -0800 (PST) Message-ID: <25ff90d60811081710u6850be25jdc6d45631ee82af4@mail.gmail.com> Date: Sat, 8 Nov 2008 20:10:41 -0500 From: "David Horn" To: mdh_lists@yahoo.com In-Reply-To: <520617.80727.qm@web56803.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25ff90d60811081625w397e65b0k46a48b0a493a32d2@mail.gmail.com> <520617.80727.qm@web56803.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 01:10:43 -0000 On Sat, Nov 8, 2008 at 7:55 PM, mdh wrote: > --- On Sat, 11/8/08, David Horn wrote: >> From: David Horn >> Subject: Re: host -6 failure >> To: mdh_lists@yahoo.com >> Cc: freebsd-questions@freebsd.org >> Date: Saturday, November 8, 2008, 7:25 PM >> On Fri, Nov 7, 2008 at 2:18 PM, mdh >> wrote: >> > Howdy folks, >> > I'm having a little trouble understanding a >> problem that the `host` command in RELENG_7_0 (very recent) >> is having. This is by and large my first time working with >> IPv6, which I've been meaning to learn for some time. >> First off, I've got my zone file configured to return a >> AAAA record for x1.mydomain and named isn't complaining. >> However, when I run `host -6 x1.mydomain`, host returns the >> following output: >> > >> > (root@rapier) [/etc/namedb]: host -6 x1.mydomain >> > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: >> internal_send: ::ffff:127.0.0.1#53: Invalid argument >> > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: >> internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument >> > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: >> internal_send: ::ffff:127.0.0.1#53: Invalid argument >> > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: >> internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument >> > ;; connection timed out; no servers could be reached >> >> The '-6' on the command line for host(1) forces an >> IPv6 only >> connection to your nameserver, not necessarily a >> "AAAA" query for the >> hostname in question. In this case, your nameservers >> listed in the >> warnings are IPv4 nameservers that host(1) is attempting to >> connect to >> using an ipv4 mapped ipv6 address (which by default is >> disabled in the >> kernel) In other words, don't use host -6 for this >> scenario. > > Yet as I pointed out, the second nameserver in my resolv.conf is ::1 - so shouldn't it work with that? It's clearly trying to contact the first and third nameservers listed. If the behavior I'm experiencing is the proper behavior, then let me pose this question: when would anyone conceivably want to use the -6 option, and why does it exist? My intent was to force a query to hit the nameserver on ::1 rather than 127.0.0.1. > >> >> Most recent versions of the host(1) command will do both >> "A" (IPv4 >> host record), and "AAAA" (IPv6 host record) >> lookups for you >> automatically. For example: >> >> host www.kame.net >> www.kame.net has address 203.178.141.194 >> www.kame.net has IPv6 address >> 2001:200:0:8002:203:47ff:fea5:3085 >> >> > >> > IP.IP.IP.8 is my ISP's DNS server, and is a third >> option just in case the localhost DNS server crashes or goes >> batty while I'm out drinking or somesuch. Here's my >> resolv.conf, which shows ::1 listed as the second nameserver >> entry - however, it seems host -6 never even tries it. >> > >> > domain mydomain >> > search mydomain >> > nameserver 127.0.0.1 >> > nameserver ::1 >> > nameserver IP.IP.IP.8 >> > >> > The DNS server running on localhost is authoritative >> for mydomain. I can ping it via localhost using both v4 and >> v6, and I can also ping the external v4 and v6 addresses >> just fine remotely. >> > >> > As I said, I'm new to IPv6, but this behavior >> seems to be counterintuitive. Am I just doing it wrong? >> > >> >> For diagnosing your own nameservers, you are better off >> using the >> dig(1) utility. >> >> Example: >> >> dig ipv6.google.com AAAA @::1 >> >> This causes a dns query for an IPv6 address (aka >> "AAAA" query) for the >> hostname of "ipv6.google.com" using the >> nameserver on the IPv6 >> localhost loopback address (::1), and will give a very nice >> verbose >> output. man dig for more details. > > That is more useful, but still doesn't stifle my desire to stomp a potential bug in the base system. Right after sending, I realized that I did not tell you all of the answer.... host(1) will successfully query ::1 when named is setup to listen on ::1 in named.conf, and ::1 is listed in /etc/resolv.conf (I just ran a test on my box to be sure that it works this way with the -6 switch) Example line from /etc/namedb/named.conf: listen-on-v6 { ::1; any; }; And of course you need to restart named after the config change( /etc/rc.d/named restart) To make sure that it is listening on the IPv6 loopback address: netstat -anW -f inet6 I do not remember the minimum version of bind (aka named) required for IPv6 off the top of my head, but I am running 9.4.2-P2 on my IPv6 machine. -_Dave > >> >> Good Luck. >> >> BTW, if you have not already setup an IPv6 tunnel to the >> internet, I >> highly recommend SixXS's (www.sixxs.net) free tunnels >> (and the >> sixxs-aiccu port), or you can look at Hurricane Electric >> (www.he.net), >> and some other tunnel brokers as well. > > Actually this system is located at HE. :) > > Thanks, > - mdh > > > > > From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 02:08:52 2008 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 9FEB51065674 for ; Sun, 9 Nov 2008 02:08:52 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: from smtp.per.people.net.au (smtp.per.people.net.au [202.154.92.226]) by mx1.freebsd.org (Postfix) with ESMTP id 174B18FC1D for ; Sun, 9 Nov 2008 02:08:51 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: (qmail 26325 invoked from network); 9 Nov 2008 01:40:50 -0000 Received: from dslwebmail.swiftel.com.au (HELO webmail.people.net.au) ([202.154.92.47]) (envelope-sender ) by smtp.per.people.net.au (qmail-ldap-1.03) with SMTP for ; 9 Nov 2008 01:40:50 -0000 Received: (qmail 32205 invoked from network); 9 Nov 2008 01:40:51 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by webmail.people.net.au with SMTP; 9 Nov 2008 01:40:51 -0000 MIME-Version: 1.0 X-Mailer: AtMail PHP 5.4 Message-ID: <50261.1226194851@people.net.au> To: Content-Type: text/plain; charset="utf-8" X-Origin: 125.168.110.121 X-Atmail-Account: no-spam@people.net.au Date: Sun, 9 Nov 2008 01:40:51 +0000 From: no-spam@people.net.au Content-Transfer-Encoding: quoted-printable Subject: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: no-spam@people.net.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 02:08:52 -0000 Hi, I have a FreeBSD server that has about 10,500 subdirectories within a singl= e directory. This number will keep rising and I assume UFS2 has a limit to the number of sub-directories in a single directory - can anyone tell me what it is? What about ZFS? At some point I'll have to re-arrange things so that I have a deeper direct= ory structure, just wondering when I'll hit the limit so I can plan in advance = :-) Cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 02:40:49 2008 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 2B7DD106567B for ; Sun, 9 Nov 2008 02:40:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id CD15B8FC08 for ; Sun, 9 Nov 2008 02:40:48 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA07.westchester.pa.mail.comcast.net with comcast id cfvm1a0020Fqzac57qgDs7; Sun, 09 Nov 2008 02:40:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id cqgn1a0032P6wsM3UqgnuB; Sun, 09 Nov 2008 02:40:48 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=rTD7BgE3feIFTYgHgW8A:9 a=wUgJOANk20RqicLGvcAA:7 a=ljUMr3YkEcnFBTKOQ9u3jbXj-x4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id EE7345C19; Sat, 8 Nov 2008 18:40:46 -0800 (PST) Date: Sat, 8 Nov 2008 18:40:46 -0800 From: Jeremy Chadwick To: no-spam@people.net.au Message-ID: <20081109024046.GB27423@icarus.home.lan> References: <50261.1226194851@people.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50261.1226194851@people.net.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 02:40:49 -0000 On Sun, Nov 09, 2008 at 01:40:51AM +0000, no-spam@people.net.au wrote: > Hi, > I have a FreeBSD server that has about 10,500 subdirectories within a single > directory. > This number will keep rising and I assume UFS2 has a limit to the number of > sub-directories in a single directory - can anyone tell me what it is? As far as I know, there is no such limit on the number of files/dirs inside of a directory. I don't want to change the topic of discussion, but I *highly* recommend you ***stop*** whatever it is you're doing that is creating such a directory structure. Software which has to iterate through that directory using opendir() and readdir() will get slower and slower as time goes on. If this is something you've written or have control over or can work with engineers in regards to, I recommend you change your directory naming scheme to have separate subdirectories with the first 2 or 3 letters of the directory you wish to create. E.g.: /some/place/00/00ilikezeros/* /some/place/01/01binaryheaven/* /some/place/aa/aardvarks/* /some/place/ab/abuse/* /some/place/ac/actuary/* ... /some/place/xy/xylophones/* You get the point. Traversing this structure is much more efficient, and requires very little code change on your part. Those who run nameservers that host many zones, for example, use this structure to ensure the daemon doesn't take 32498231 years to start up. > What about ZFS? > > At some point I'll have to re-arrange things so that I have a deeper directory > structure, just wondering when I'll hit the limit so I can plan in advance :-) What baffles me is why you're looking at this problem from a " "how can the filesystem solve this engineering mistake I made for me" standpoint, rather than "how can I solve this engineering mistake I made so that it doesn't impact the filesystem". Very strange. Sometimes looking at things in a different light makes all the difference. Hope this helps. P.S. -- I hope this mail makes it to you, because your From line is no-spam@people.net.au (I'll be surprised if your account name really is that!). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 03:39:34 2008 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 2CB9D106567C for ; Sun, 9 Nov 2008 03:39:34 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id D1D008FC13 for ; Sun, 9 Nov 2008 03:39:33 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 847664099 for ; Sun, 9 Nov 2008 13:39:55 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: text/plain Date: Sun, 09 Nov 2008 13:38:10 +1000 Message-Id: <1226201890.1220.43.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: Question on creating a video server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 03:39:34 -0000 On Sat, 2008-11-08 at 10:40 -0800, Ted Mittelstaedt wrote: > Hi All, > > OK, I'm just asking for opinions here on some application > software. > > Like most people we have a nice big 21" TV set that will be > obsolete in Feb. I have been thinking about replacing this with a > big screen TV set but the prices on them are still way, way > way out of my budget (I just can't see spending $500 for > a TV set, sorry!!!!) > > I can pick up really high quality, large, old-style > video monitors from a computer surplus place near here for > next to nothing. > > I'd like to setup a PC and put a HDTV tuner card in it > for over-the-air HDTV broadcasts, and use that as a TV. > > We also have a ton of DVD's and I'd like to rip these > to video files and put them on the PC. Then when anyone > wants to watch a movie they just watch it off the PC. > I've already started doing this under Windows and it works > great - it's even better since I can remove all those > movie previews that the studio wants to force you to > watch. > > Has anyone done this with FreeBSD and open source > software, and has recommendations on what hardware to get > and what software works with it? > > PREFERABLY cheap - since ultimately we likely will get > a big screen TV set once the prices fall. Try the multimedia list, but for the most part (from my experience) the modern tv tuners aren't really supported by FreeBSD (correct me if I'm wrong) natively. Some are experimental and they're the hauppage tuners, and then only a limited selection of them with limited features. Another option maybe to try and get some of the linux drivers working using linux compat_kmod- if you're really savvy that is... Its been a real pain for me too, you're only other option is to use a linux box (with greater driver support) which is what I'm using myself right now until I can get the time to help in writing drivers for the newer chipsets required for dvb. Check linuxtv.org for more info on cards and chipsets and linux compatibility. Good luck- there are some really cool options available to you once you go down this path: like piping the transmission around your network using multicasting so you can watch on just about every computer in the house, setting up a personal, customised, tivo like system, and much much more. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 06:25:54 2008 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 808091065672 for ; Sun, 9 Nov 2008 06:25:54 +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 42CDD8FC0A for ; Sun, 9 Nov 2008 06:25:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx01.qsc.de (Postfix) with ESMTP id ED5E55040F; Sun, 9 Nov 2008 07:25:51 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mA96PnKY002703; Sun, 9 Nov 2008 07:25:50 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 9 Nov 2008 07:25:49 +0100 From: Polytropon To: Jonathan McKeown Message-Id: <20081109072549.7272df20.freebsd@edvax.de> In-Reply-To: <200811081212.46286.jonathan+freebsd-questions@hst.org.za> References: <49143663.9070804@shopzeus.com> <20081107201954.5d7e4993.freebsd@edvax.de> <200811081212.46286.jonathan+freebsd-questions@hst.org.za> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: eps to jpg conversion - which program? 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 Nov 2008 06:25:54 -0000 On Sat, 8 Nov 2008 12:12:46 +0200, Jonathan McKeown wrote: > You can also save yourself repeated calls to basename by using > > for f in *eps; do > convert ${f%.eps}.jpg > done > > Look under parameter expansion in the manpage for sh(1) (or bash(1) if you > have bash installed). Yes, that's a very good hint, I will use this in the future. Note that $f as first parameter is missing (source for convert). > As far as I can tell csh/tcsh doesn't support this > useful feature. Well, I prefer the C Shell (instead of BASH) as primary dialog shell, but for scripting, I always stay with the "good old" Bourne Shell, simply because it's the standard scripting shell for UNIX, and it's compatible to most Linusi, too (where /bin/sh@ -> /bin/bash, but NB ! -f /bin/bash in FreeBSD). > Essentially, a Bourne-type shell with parameter expansion expands > ${variable#prefix} or ${variable%suffix} to $variable with the prefix or > suffix, respectively, removed. So this would be more efficient: #!/bin/sh for f in *eps; do [ ! -f ${f%.eps}.jpg ] && convert $f ${f%.eps}.jpg done -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 07:36:35 2008 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 78C31106567D for ; Sun, 9 Nov 2008 07:36:35 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 21FA98FC12 for ; Sun, 9 Nov 2008 07:36:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA01.westchester.pa.mail.comcast.net with comcast id cvca1a0010vyq2s51vcaCV; Sun, 09 Nov 2008 07:36:34 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id cvcY1a0032P6wsM3RvcYGu; Sun, 09 Nov 2008 07:36:34 +0000 X-Authority-Analysis: v=1.0 c=1 a=oO8d8O7oX9UA:10 a=Zk91umX7DRkA:10 a=QycZ5dHgAAAA:8 a=BFsm0CsEZ8nkFt3g8oIA:9 a=om7tmLDYIkOsMk8rnw4A:7 a=ebcvHdNL0bPTWGZK7Wl_U8-9MnUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3BA8F5C19; Sat, 8 Nov 2008 23:36:32 -0800 (PST) Date: Sat, 8 Nov 2008 23:36:32 -0800 From: Jeremy Chadwick To: Polytropon Message-ID: <20081109073632.GA32503@icarus.home.lan> References: <49143663.9070804@shopzeus.com> <20081107201954.5d7e4993.freebsd@edvax.de> <200811081212.46286.jonathan+freebsd-questions@hst.org.za> <20081109072549.7272df20.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109072549.7272df20.freebsd@edvax.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, Jonathan McKeown Subject: Re: eps to jpg conversion - which program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 07:36:35 -0000 On Sun, Nov 09, 2008 at 07:25:49AM +0100, Polytropon wrote: > On Sat, 8 Nov 2008 12:12:46 +0200, Jonathan McKeown wrote: > > Essentially, a Bourne-type shell with parameter expansion expands > > ${variable#prefix} or ${variable%suffix} to $variable with the prefix or > > suffix, respectively, removed. > > So this would be more efficient: > > #!/bin/sh > for f in *eps; do > [ ! -f ${f%.eps}.jpg ] && convert $f ${f%.eps}.jpg > done Significantly. Also, what guarantee do you have that all the filenames that match that wildcard lack spaces in them? Your [ and convert commands will botch badly in that case. See below. What people often forget while writing sh scripts is that spawning external utilities slows down the script greatly, and destroys system resources. You might think "My machine has 923484390GB of RAM, and has 6500 processors; why do I care?" -- step back for a moment and think about older/smaller boxes, or even more importantly, embedded machines (very little memory, very little CPU). Also think about situations where fork() will fail due to resource limits or existing system resource exhaustion; what then? I see this regularly in perl scripts; people relying on `xxx` for no good reason. I ask them, "Why are you doing this? Can you not use instead, and avoid wasting resources and excessive risk?", and they often have no idea what I'm talking about. And whenever I see `ssh user@host "command"` in perl scripts, I cry. That in mind, don't let your scripting mimic that of "perl bastards" who *intentionally* write obfuscated code just to "show off" (often citing "its faster" as the reason, choosing to intentionally ignore that perl is a compiled language). For complex pieces of sh that are hard to visually parse: try to keep it simple, and take the time to write decent/legible comments above the hairy part of the script. Also remember that double-quoting filenames or variables that are used as filenames is a VERY good idea. Filenames with spaces are quite common these days. It's best to assume the worst, but not be *too* over-zealous. And don't forget about "set noglob" when appropriate! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 08:01:37 2008 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 6B4481065676; Sun, 9 Nov 2008 08:01:37 +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 0040A8FC16; Sun, 9 Nov 2008 08:01:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx01.qsc.de (Postfix) with ESMTP id ABEB950BB3; Sun, 9 Nov 2008 09:01:33 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mA981WZK002975; Sun, 9 Nov 2008 09:01:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 9 Nov 2008 09:01:32 +0100 From: Polytropon To: Jeremy Chadwick Message-Id: <20081109090132.bb4b8881.freebsd@edvax.de> In-Reply-To: <20081109073632.GA32503@icarus.home.lan> References: <49143663.9070804@shopzeus.com> <20081107201954.5d7e4993.freebsd@edvax.de> <200811081212.46286.jonathan+freebsd-questions@hst.org.za> <20081109072549.7272df20.freebsd@edvax.de> <20081109073632.GA32503@icarus.home.lan> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Jonathan McKeown Subject: Re: eps to jpg conversion - which program? 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 Nov 2008 08:01:37 -0000 On Sat, 8 Nov 2008 23:36:32 -0800, Jeremy Chadwick wro= te: > Also, what guarantee do you have that all the filenames that match that > wildcard lack spaces in them? Your [ and convert commands will botch > badly in that case. See below. This is completely correct. If files are present as foo.EPS, the "Windows" style of file naming, or foo.Eps in a mixed form, the *.eps wouldn't catch it. As you mentioned, it's good to assume the worst case. Not only spaces, as well special characters. Now *that's* the real fun. :-) John@Foobar sent me | Copy [5] of C:\My Files\A&V with =F6 and =DF.Eps Another mentionable comment would be: "Why do you call the variable just $f? Give it a better descriptive name." In this small example, it won't lead into significant problems if you don't do it, but I've seen shellscripts using $f, $f1, $f2, $g, $h, $y all over the file, and it was hard to find out which values they should hold. > > What people often forget while writing sh scripts is that spawning > external utilities slows down the script greatly, and destroys system > resources. You might think "My machine has 923484390GB of RAM, and has > 6500 processors; why do I care?" -- step back for a moment and think > about older/smaller boxes, or even more importantly, embedded machines > (very little memory, very little CPU). Hey, that's how software development helps hardware development, or at least software development in Redmond. :-) Hardware ressources ++ Overall usage speed =3D ------------------------ =3D const. Software requirements ++ q.e.d. > Also think about situations where fork() will fail due to resource > limits or existing system resource exhaustion; what then? I see this > regularly in perl scripts; people relying on `xxx` for no good reason. > I ask them, "Why are you doing this? Can you not use > instead, and avoid wasting resources and excessive risk?", and they > often have no idea what I'm talking about. And whenever I see `ssh > user@host "command"` in perl scripts, I cry. Ooow! Is this for real? If it is, it's a reason to hit someone's head with the keyboard. :-) > That in mind, don't let your scripting mimic that of "perl bastards" who > *intentionally* write obfuscated code just to "show off" (often citing > "its faster" as the reason, choosing to intentionally ignore that perl > is a compiled language). For complex pieces of sh that are hard to > visually parse: try to keep it simple, and take the time to write > decent/legible comments above the hairy part of the script. Indentation, comments and descriptive identifiers help a lot. If you read FreeBSD's (scripting) sources, you'll see that they are of high quality. > Also remember that double-quoting filenames or variables that are used > as filenames is a VERY good idea. Filenames with spaces are quite > common these days. It's best to assume the worst, but not be *too* > over-zealous. Especially when you're intending to use a piece of software, even if it's just a three line shell script, more than just one time, or if you want to share it with others. --=20 Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 08:13:27 2008 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 348821065670 for ; Sun, 9 Nov 2008 08:13:27 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56802.mail.re3.yahoo.com (web56802.mail.re3.yahoo.com [66.196.97.76]) by mx1.freebsd.org (Postfix) with SMTP id D0DC08FC08 for ; Sun, 9 Nov 2008 08:13:26 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 91011 invoked by uid 60001); 9 Nov 2008 08:13:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=tLGIatnlg5tr7KsYHvg7a+8xq72gJHzYoX+QNKLYK1TZY0bRVguVMGQXmoWoFgsG/ZXdL1Ik/cOVhWmy5jFSb4bS6HvrWeUflRoEPz8BBBPeMRHxd+PE5ZDmgB/8syx+2exvmXLMM1I6/lW3JgcYzksti0BUQpTEy9nVx9Tabz4=; X-YMail-OSG: 4BFr5rgVM1nqSPNlfztiiyJqIubCd309h_FyhHTM.vLMKTsws9eLAF06uCiPjysv0lSQ.czesCuNN4nJ6dizzJQ.e4j7mGYzr_4wDGvbx3XKv8pU6wJNQoegH7Ei5p27Qrr4eEz_q5rfnMaVR4Y.HVwIBHcJ8DtJPz36aZBUd_tsKsSlejbOaxTJ9jxZgQ-- Received: from [71.61.220.126] by web56802.mail.re3.yahoo.com via HTTP; Sun, 09 Nov 2008 00:13:25 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Sun, 9 Nov 2008 00:13:25 -0800 (PST) From: mdh To: David Horn In-Reply-To: <25ff90d60811081710u6850be25jdc6d45631ee82af4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <218769.90655.qm@web56802.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 08:13:27 -0000 --- On Sat, 11/8/08, David Horn wrote: > From: David Horn > Subject: Re: host -6 failure > To: mdh_lists@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Saturday, November 8, 2008, 8:10 PM > On Sat, Nov 8, 2008 at 7:55 PM, mdh > wrote: > > --- On Sat, 11/8/08, David Horn > wrote: > >> From: David Horn > >> Subject: Re: host -6 failure > >> To: mdh_lists@yahoo.com > >> Cc: freebsd-questions@freebsd.org > >> Date: Saturday, November 8, 2008, 7:25 PM > >> On Fri, Nov 7, 2008 at 2:18 PM, mdh > >> wrote: > >> > Howdy folks, > >> > I'm having a little trouble understanding > a > >> problem that the `host` command in RELENG_7_0 > (very recent) > >> is having. > >> The '-6' on the command line for host(1) > forces an > >> IPv6 only > >> connection to your nameserver, not necessarily a > >> "AAAA" query for the > >> hostname in question. In this case, your > nameservers > >> listed in the > >> warnings are IPv4 nameservers that host(1) is > attempting to > >> connect to > >> using an ipv4 mapped ipv6 address (which by > default is > >> disabled in the > >> kernel) In other words, don't use host -6 for > this > >> scenario. > > > > Yet as I pointed out, the second nameserver in my > resolv.conf is ::1 - so shouldn't it work with that? > It's clearly trying to contact the first and third > nameservers listed. If the behavior I'm experiencing is > the proper behavior, then let me pose this question: when > would anyone conceivably want to use the -6 option, and why > does it exist? My intent was to force a query to hit the > nameserver on ::1 rather than 127.0.0.1. > >> > > >> > domain mydomain > >> > search mydomain > >> > nameserver 127.0.0.1 > >> > nameserver ::1 > >> > nameserver IP.IP.IP.8 > >> > > >> > The DNS server running on localhost is > authoritative > >> for mydomain. I can ping it via localhost using > both v4 and > >> v6, and I can also ping the external v4 and v6 > addresses > >> just fine remotely. > >> > > >> > As I said, I'm new to IPv6, but this > behavior > >> seems to be counterintuitive. Am I just doing it > wrong? > >> > > >> > >> For diagnosing your own nameservers, you are > better off > >> using the > >> dig(1) utility. > >> > >> Example: > >> > >> dig ipv6.google.com AAAA @::1 > >> > >> This causes a dns query for an IPv6 address (aka > >> "AAAA" query) for the > >> hostname of "ipv6.google.com" using the > >> nameserver on the IPv6 > >> localhost loopback address (::1), and will give a > very nice > >> verbose > >> output. man dig for more details. > > > > That is more useful, but still doesn't stifle my > desire to stomp a potential bug in the base system. > > Right after sending, I realized that I did not tell you all > of the answer.... > > host(1) will successfully query ::1 when named is setup to > listen on > ::1 in named.conf, and ::1 is listed in /etc/resolv.conf (I > just ran a > test on my box to be sure that it works this way with the > -6 switch) > > Example line from /etc/namedb/named.conf: > > listen-on-v6 { ::1; any; }; > > And of course you need to restart named after the config > change( > /etc/rc.d/named restart) > > To make sure that it is listening on the IPv6 loopback > address: > > netstat -anW -f inet6 > > I do not remember the minimum version of bind (aka named) > required for > IPv6 off the top of my head, but I am running 9.4.2-P2 on > my IPv6 > machine. All of the conditions for success are true, however it fails. My DNS server software is responsing on ::1 port 53 (tcp and udp), and ::1 is the second nameserver listed in resolv.conf. Still, host -6 fails as previously stated... According to what you've said so far, this leads me to believe that it ought to work as expected, and not error out in the way I'm seeing. Am I missing something here? Is my lack of general IPv6 knowledge causing me to blindly assume something incorrectly? Thanks, Matt From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 08:45:49 2008 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 EBBE51065670 for ; Sun, 9 Nov 2008 08:45:48 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: from smtp.ade.people.net.au (smtp.ade.people.net.au [218.214.228.98]) by mx1.freebsd.org (Postfix) with SMTP id 877298FC19 for ; Sun, 9 Nov 2008 08:45:47 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: (qmail 22070 invoked from network); 9 Nov 2008 08:19:06 -0000 Received: from unknown (HELO bigblack) (218.214.176.70) by smtp.ade.people.net.au with SMTP; 9 Nov 2008 08:19:06 -0000 From: Ian To: Jeremy Chadwick Date: Sun, 9 Nov 2008 18:48:24 +1030 User-Agent: KMail/1.9.9 References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> In-Reply-To: <20081109024046.GB27423@icarus.home.lan> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3823548.elkEv6MmAj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200811091848.32453.no-spam@people.net.au> Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 08:45:50 -0000 --nextPart3823548.elkEv6MmAj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 9 Nov 2008 13:10:46 Jeremy Chadwick wrote: > On Sun, Nov 09, 2008 at 01:40:51AM +0000, no-spam@people.net.au wrote: > > Hi, > > I have a FreeBSD server that has about 10,500 subdirectories within a > > single directory. > > This number will keep rising and I assume UFS2 has a limit to the number > > of sub-directories in a single directory - can anyone tell me what it i= s? > > As far as I know, there is no such limit on the number of files/dirs > inside of a directory. > > I don't want to change the topic of discussion, but I *highly* recommend > you ***stop*** whatever it is you're doing that is creating such a > directory structure. Software which has to iterate through that > directory using opendir() and readdir() will get slower and slower as > time goes on. > > If this is something you've written or have control over or can work > with engineers in regards to, I recommend you change your directory > naming scheme to have separate subdirectories with the first 2 or 3 > letters of the directory you wish to create. E.g.: > > /some/place/00/00ilikezeros/* > /some/place/01/01binaryheaven/* > /some/place/aa/aardvarks/* > /some/place/ab/abuse/* > /some/place/ac/actuary/* > ... > /some/place/xy/xylophones/* > > You get the point. > > Traversing this structure is much more efficient, and requires very > little code change on your part. Those who run nameservers that host > many zones, for example, use this structure to ensure the daemon doesn't > take 32498231 years to start up. > > > What about ZFS? > > > > At some point I'll have to re-arrange things so that I have a deeper > > directory structure, just wondering when I'll hit the limit so I can pl= an > > in advance :-) > > What baffles me is why you're looking at this problem from a " "how can > the filesystem solve this engineering mistake I made for me" standpoint, > rather than "how can I solve this engineering mistake I made so that it > doesn't impact the filesystem". Very strange. Sometimes looking at > things in a different light makes all the difference. > > Hope this helps. > > P.S. -- I hope this mail makes it to you, because your From line is > no-spam@people.net.au (I'll be surprised if your account name really is > that!). Thanks for that Jeremy. I didn't invent this structure, but I daresay I can= =20 either modify it or get the original writer to do that. I never really gave= =20 it a thought before now - it was the system I was given to work with and it= 's=20 worked fine so far, except when I try to list the contents of the directory= -=20 that takes ages! All the folders are 7 digit numbers and we are up to approx. 0010500 entrie= s=20 (ie subdirs) so far.=20 I guess it will just be a matter of experimenting to find the optimum numbe= r=20 of sub-sub-directories per sub-directory :-/ Oh, and yes, that email address does work - I use it for mailing lists and= =20 other stuff where I'm likely to get spammed - it's ironic really :-) Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart3823548.elkEv6MmAj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkWnNgACgkQPUlnmbKkJ6A8NACdHUthkAgwXsoNxCPI83/teghn K7oAniCLqzB+DI80S2wO9f0/nfw9Qesb =YdI7 -----END PGP SIGNATURE----- --nextPart3823548.elkEv6MmAj-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 08:49:08 2008 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 AA3A51065673 for ; Sun, 9 Nov 2008 08:49:08 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from sepehrs.com (mail2.sepehrs.com [213.217.59.98]) by mx1.freebsd.org (Postfix) with ESMTP id B631C8FC18 for ; Sun, 9 Nov 2008 08:49:07 +0000 (UTC) (envelope-from fazaeli@sepehrs.com) Received: from [192.168.1.180] ([192.168.1.180]) by sepehrs.com (8.13.6/8.13.6) with ESMTP id mA98em6Q042343 for ; Sun, 9 Nov 2008 12:10:48 +0330 (IRST) (envelope-from fazaeli@sepehrs.com) Message-ID: <4916A0BA.4040001@sepehrs.com> Date: Sun, 09 Nov 2008 12:05:06 +0330 From: "H.fazaeli" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: freebsd-questions@freebsd.org References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> In-Reply-To: <20081109024046.GB27423@icarus.home.lan> Content-Transfer-Encoding: 7bit X-Sepehr-MailScanner-Information: Please contact the ISP for more information X-Sepehr-MailScanner: Found to be clean X-Sepehr-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.884, required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60, DNS_FROM_SECURITYSAGE 1.51, HTML_MESSAGE 0.00, MIME_HTML_ONLY 0.00) X-MailScanner-From: fazaeli@sepehrs.com X-Spam-Status: No MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 08:49:08 -0000 The number of files and sub-directories is limited by the number of available inodes which is fixed at the time you create the file system (by -i argument to newfs(8)). Anyway, stick with Jeremy's advise if you do not like trouble. Jeremy Chadwick wrote: On Sun, Nov 09, 2008 at 01:40:51AM +0000, [1]no-spam@people.net.au wrote: Hi, I have a FreeBSD server that has about 10,500 subdirectories within a single directory. This number will keep rising and I assume UFS2 has a limit to the number of sub-directories in a single directory - can anyone tell me what it is? As far as I know, there is no such limit on the number of files/dirs inside of a directory. I don't want to change the topic of discussion, but I *highly* recommend you ***stop*** whatever it is you're doing that is creating such a directory structure. Software which has to iterate through that directory using opendir() and readdir() will get slower and slower as time goes on. If this is something you've written or have control over or can work with engineers in regards to, I recommend you change your directory naming scheme to have separate subdirectories with the first 2 or 3 letters of the directory you wish to create. E.g.: /some/place/00/00ilikezeros/* /some/place/01/01binaryheaven/* /some/place/aa/aardvarks/* /some/place/ab/abuse/* /some/place/ac/actuary/* ... /some/place/xy/xylophones/* You get the point. Traversing this structure is much more efficient, and requires very little code change on your part. Those who run nameservers that host many zones, for example, use this structure to ensure the daemon doesn't take 32498231 years to start up. What about ZFS? At some point I'll have to re-arrange things so that I have a deeper directory structure, just wondering when I'll hit the limit so I can plan in advance :-) What baffles me is why you're looking at this problem from a " "how can the filesystem solve this engineering mistake I made for me" standpoint, rather than "how can I solve this engineering mistake I made so that it doesn't impact the filesystem". Very strange. Sometimes looking at things in a different light makes all the difference. Hope this helps. P.S. -- I hope this mail makes it to you, because your From line is [2]no-spam@people.net.au (I'll be surprised if your account name really is that!). -- Best regards. Hooman Fazaeli [3] Sepehr S. T. Co. Ltd. Web: [4]http://www.sepehrs.com Tel: (9821)88975701-2 Fax: (9821)88983352 References 1. mailto:no-spam@people.net.au 2. mailto:no-spam@people.net.au 3. mailto:hf@sepehrs.com 4. http://www.sepehrs.com/ From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 09:35:25 2008 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 00B241065677 for ; Sun, 9 Nov 2008 09:35:25 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id ADEAA8FC14 for ; Sun, 9 Nov 2008 09:35:24 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:56715 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kz6hX-0003Pw-8M for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 10:35:23 +0100 Received: (qmail 42261 invoked from network); 9 Nov 2008 10:35:21 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 10:35:21 +0100 Received: (qmail 73159 invoked by uid 1001); 9 Nov 2008 10:35:21 +0100 Date: Sun, 9 Nov 2008 10:35:21 +0100 From: Erik Trulsson To: Jeremy Chadwick Message-ID: <20081109093521.GA73108@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109024046.GB27423@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Kz6hX-0003Pw-8M. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Kz6hX-0003Pw-8M 56e9041bdbf57df763828f666ebbf710 Cc: freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 09:35:25 -0000 On Sat, Nov 08, 2008 at 06:40:46PM -0800, Jeremy Chadwick wrote: > On Sun, Nov 09, 2008 at 01:40:51AM +0000, no-spam@people.net.au wrote: > > Hi, > > I have a FreeBSD server that has about 10,500 subdirectories within a single > > directory. > > This number will keep rising and I assume UFS2 has a limit to the number of > > sub-directories in a single directory - can anyone tell me what it is? > > As far as I know, there is no such limit on the number of files/dirs > inside of a directory. Actually there is. Each i-node on the disk contains a field telling how many hard-links point to that inode. This field is a (signed) 16-bit value, meaning the maximum number of hardlinks allowed is 32767. Each subdirectory created contains a hardlink ('..') to its parent, thus limiting the number of subdirectories to a single directory to less than 32767. Note that this does not limit the number of files you can have in a single directory, since normal files do not contain hardlinks to the parent directory, but there are of course limits to the total number of files and directories you can have on a single filesystem based on how many inodes were created when the filesystem was first created. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 09:38:46 2008 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 617E01065673 for ; Sun, 9 Nov 2008 09:38:46 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1938FC0C for ; Sun, 9 Nov 2008 09:38:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA08.westchester.pa.mail.comcast.net with comcast id cxdj1a0020EZKEL58xeECV; Sun, 09 Nov 2008 09:38:14 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id cxek1a0042P6wsM3Mxekqs; Sun, 09 Nov 2008 09:38:45 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=YcPDmIw7YTAXLyw63hgA:9 a=MRO93RFXp79kc9omaLf_J6nn0ScA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C50BD5C19; Sun, 9 Nov 2008 01:38:43 -0800 (PST) Date: Sun, 9 Nov 2008 01:38:43 -0800 From: Jeremy Chadwick To: Erik Trulsson Message-ID: <20081109093843.GA35192@icarus.home.lan> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109093521.GA73108@owl.midgard.homeip.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 09:38:46 -0000 On Sun, Nov 09, 2008 at 10:35:21AM +0100, Erik Trulsson wrote: > On Sat, Nov 08, 2008 at 06:40:46PM -0800, Jeremy Chadwick wrote: > > On Sun, Nov 09, 2008 at 01:40:51AM +0000, no-spam@people.net.au wrote: > > > Hi, > > > I have a FreeBSD server that has about 10,500 subdirectories within a single > > > directory. > > > This number will keep rising and I assume UFS2 has a limit to the number of > > > sub-directories in a single directory - can anyone tell me what it is? > > > > As far as I know, there is no such limit on the number of files/dirs > > inside of a directory. > > Actually there is. Each i-node on the disk contains a field telling how > many hard-links point to that inode. This field is a (signed) 16-bit value, > meaning the maximum number of hardlinks allowed is 32767. > Each subdirectory created contains a hardlink ('..') to its parent, thus > limiting the number of subdirectories to a single directory to less than 32767. I hadn't even thought of that (the inode possibility did cross my mind, but I figured inode counts would a) apply to the filesystem as a whole, and b) apply to both files and directories. Wow, thanks for the tip! Learning something new every day... :-) > Note that this does not limit the number of files you can have in a single > directory, since normal files do not contain hardlinks to the parent > directory, but there are of course limits to the total number of files and > directories you can have on a single filesystem based on how many inodes > were created when the filesystem was first created. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 09:44:58 2008 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 69D751065676 for ; Sun, 9 Nov 2008 09:44:58 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 22BEE8FC13 for ; Sun, 9 Nov 2008 09:44:58 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id D9CE24065 for ; Sun, 9 Nov 2008 13:46:14 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081108220925.C45863@wojtek.tensor.gdynia.pl> References: <20081108220925.C45863@wojtek.tensor.gdynia.pl> Content-Type: text/plain Date: Sun, 09 Nov 2008 13:46:36 +1000 Message-Id: <1226202396.1220.52.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: Question on creating a video server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 09:44:58 -0000 On Sat, 2008-11-08 at 22:09 +0100, Wojciech Puchar wrote: > > Has anyone done this with FreeBSD and open source > > software, and has recommendations on what hardware to get > > and what software works with it? > > mplayer play video files fine. > > no idea about HDTV tunes Mplayer works great, so does Xine. Thats what I use- I use mplayer for recording using the dumpstream option and do post processing later with mencoder. The problem lies with getting the tuners themselves to work due to lack of drivers... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 09:47:14 2008 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 D7DBC1065672; Sun, 9 Nov 2008 09:47:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 96CE38FC16; Sun, 9 Nov 2008 09:47:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx01.qsc.de (Postfix) with ESMTP id A37F1509E1; Sun, 9 Nov 2008 10:47:12 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mA99lB5f001880; Sun, 9 Nov 2008 10:47:11 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 9 Nov 2008 10:47:11 +0100 From: Polytropon To: Erik Trulsson Message-Id: <20081109104711.e03722c4.freebsd@edvax.de> In-Reply-To: <20081109093521.GA73108@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits 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 Nov 2008 09:47:14 -0000 On Sun, 9 Nov 2008 10:35:21 +0100, Erik Trulsson wrote: > Note that this does not limit the number of files you can have in a single > directory, since normal files do not contain hardlinks to the parent > directory, but there are of course limits to the total number of files and > directories you can have on a single filesystem based on how many inodes > were created when the filesystem was first created. Maybe this sounds stupid, but... given that a file system can hold n entries. What happens when a program tries to create file number n + 1? I do ask this in order to explore if this could have been the reason for my massive data loss and UFS file system corruption. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 10:07:02 2008 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 7D4341065670 for ; Sun, 9 Nov 2008 10:07:02 +0000 (UTC) (envelope-from fbsd1@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 69A798FC0C for ; Sun, 9 Nov 2008 10:07:02 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.173.101]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 9 Nov 2008 02:06:28 -0800 Message-ID: <4916B665.7030207@a1poweruser.com> Date: Sun, 09 Nov 2008 18:07:33 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Nov 2008 10:06:29.0170 (UTC) FILETIME=[D5653120:01C94252] X-Sender: fbsd1@a1poweruser.com Subject: Gconf error in Pidgin & Abiword application on xfce Desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 10:07:02 -0000 I installed the package of the Generic instant messenger application (Pidgin)on xfce desktop. It seems to work fine, but in the log it gives this message text. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: IOR file '/var/tmp/gconfd-aiza/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/var/tmp/gconfd-aiza/lock/ior' not opened successfully, no gconfd located: No such file or directory) Inspection shows that the directory '/var/tmp/gconfd-aiza/lock/' is present, but its empty. Aiza in this case is the user name. There is also in empty directory '/var/tmp/orbit-aiza'. The package install of the word processing application Abiword also generates this same error message, but it is displayed as a startup error popup window when Abiword is launched from the xfce menu. I tried creating am empty 'ior' file but that had no effect. Question is: How can I correct this error? From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 10:24:50 2008 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 EF5A0106564A for ; Sun, 9 Nov 2008 10:24:50 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (hmacs.cmi.ua.ac.be [143.129.75.10]) by mx1.freebsd.org (Postfix) with ESMTP id 884EE8FC0C for ; Sun, 9 Nov 2008 10:24:50 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (localhost [127.0.0.1]) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8) with ESMTP id mA9AOmDb014670 for ; Sun, 9 Nov 2008 11:24:48 +0100 (CET) Received: from localhost (pdon@localhost) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA9AOmDK014667 for ; Sun, 9 Nov 2008 11:24:48 +0100 (CET) X-Authentication-Warning: hmacs.cmi.ua.ac.be: pdon owned process doing -bs Date: Sun, 9 Nov 2008 11:24:48 +0100 (CET) From: Pieter Donche X-X-Sender: pdon@hmacs.cmi.ua.ac.be To: freebsd-questions@freebsd.org In-Reply-To: <20081109093521.GA73108@owl.midgard.homeip.net> Message-ID: References: <50261.1226194851@people.net.au><20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: FreeBSD network ISP provider X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 10:24:51 -0000 I installed FreeBSD 7.0 already on a system at my office (from CDs) and set up internet connection while installing using the office LAN (and its DHCP service). I installed FreeBSD also on my laptop at home (with no network connection). (with X windows; startx gives me twm ..) I want to install KDE3 from /usr/ports/x11/kde3 Tried as described: # cd /usr:ports/x11:kde3; make install clean I had hoped everything necessary would be found in the disk. But not: It returns errors because it tried to fetch packages from ftp sites ... an soon stops.. So I still need Internet connection? At home, I have an Internet connection via a Broadband Modem and an account at an Internet Service Provider. This was set up in WindowsXP succesfully (with IP 10.0.0.something, netmask 255.255.255.0, no gateway, 2 DNS server IP addresses provided by the ISP). When making the connection to my ISP I have to enter my username at the ISP provider (username@PROVIDERNAME) and my password) But how do I set up that in FreeBSD ?? In the Post-installation section during Setup, at the question 'Would you like to configure any Ethernet or SLIP/PPP network devides?) answering Yes shows the correct on-board netwerk interface (Broadcom BCM570xx PCI Gigabit ethernet card) I tried DHCP, but no success (which was to expect) Then I get the screen to fill in Host, Domain, Gateway, Name server IPv4 address, netmask ... What do I have to enter (Name server, netmask I can guess) for IP?, host?, domain? and where will come in my username/password for my ISP connection Thanks for hints. Is there any document describing such a connection? pieter From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 10:50:03 2008 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 3C5151065670 for ; Sun, 9 Nov 2008 10:50:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id E2C768FC14 for ; Sun, 9 Nov 2008 10:50:02 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 750B5409A for ; Sun, 9 Nov 2008 13:45:05 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <4915fa14.vqtg7f7qnYuMLvRh%perryh@pluto.rain.com> References: <20081108081229.GA3176@slackbox.xs4all.nl> <20081108093248.J42716@wojtek.tensor.gdynia.pl> <4915fa14.vqtg7f7qnYuMLvRh%perryh@pluto.rain.com> Content-Type: text/plain Date: Sun, 09 Nov 2008 13:43:25 +1000 Message-Id: <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: Port Adobe Photoshop and Illustrator for 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: Sun, 09 Nov 2008 10:50:03 -0000 On Sat, 2008-11-08 at 12:44 -0800, perryh@pluto.rain.com wrote: > > >> Is there a port like Adobe Photoshop and Illustrator for FreeBSD? > > >> I would like to move to FreeBSD as soon as possible. > > > > > > You could try the gimp for manipulating bitmap images. For creating > > > vector images, try either inkscape or xaralx. They're all in ports. > > > > i have a friend that do offset printing. > > > > he have to use windoze and photoshop for only one reason - gimp > > doesn't support editing CMYK images > > If all else fails, one could try running the Windows versions of > Photoshop and Illustrator under wine. That has been known to work, but not without some serious hacking. One major problem is the software needs administrative access, so you need to copy the registry from a working windows to the wine system. If you're up to it its ok, but you do have to wonder whether you really want cross contamination :), or even whether you want to support a company that stubbornly refuses to consider OSS as a system it will build it software for. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 10:52:09 2008 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 4C7E31065672 for ; Sun, 9 Nov 2008 10:52:09 +0000 (UTC) (envelope-from fbsd1@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 33DDC8FC14 for ; Sun, 9 Nov 2008 10:52:09 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.173.101]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 9 Nov 2008 02:51:36 -0800 Message-ID: <4916C0F9.9000007@a1poweruser.com> Date: Sun, 09 Nov 2008 18:52:41 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Pieter Donche References: <50261.1226194851@people.net.au><20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Nov 2008 10:51:36.0556 (UTC) FILETIME=[231F82C0:01C94259] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD network ISP provider X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 10:52:09 -0000 Pieter Donche wrote: > I installed FreeBSD 7.0 already on a system at my office (from CDs) > and set up internet connection while installing using the office LAN > (and its DHCP service). > > I installed FreeBSD also on my laptop at home (with no network > connection). (with X windows; startx gives me twm ..) > I want to install KDE3 from /usr/ports/x11/kde3 > Tried as described: # cd /usr:ports/x11:kde3; make install clean > I had hoped everything necessary would be found in the disk. > But not: It returns errors because it tried to fetch packages from ftp > sites ... an soon stops.. > > So I still need Internet connection? > > At home, I have an Internet connection via a Broadband Modem and an > account at an Internet Service Provider. This was set up in WindowsXP > succesfully (with IP 10.0.0.something, > netmask 255.255.255.0, no gateway, 2 DNS server IP addresses provided > by the ISP). When making the connection to my ISP I have to enter my > username at the ISP provider (username@PROVIDERNAME) and my password) > > But how do I set up that in FreeBSD ?? > > In the Post-installation section during Setup, at the question > 'Would you like to configure any Ethernet or SLIP/PPP network devides?) > answering Yes shows the correct on-board netwerk interface (Broadcom > BCM570xx PCI Gigabit ethernet card) > > I tried DHCP, but no success (which was to expect) > Then I get the screen to fill in Host, Domain, Gateway, Name server > IPv4 address, netmask ... > > What do I have to enter (Name server, netmask I can guess) > for IP?, host?, domain? > and where will come in my username/password for my ISP connection > > Thanks for hints. > Is there any document describing such a connection? > > pieter > _______________________________________________ > 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" > > There is step by step instructions in the installer guide at www.a1poweruser.com From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 10:55:00 2008 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 BCB8F1065672 for ; Sun, 9 Nov 2008 10:55:00 +0000 (UTC) (envelope-from usgrishin@samaradom.ru) Received: from mx1.samaradom.ru (june.samaradom.ru [85.113.63.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3D38FC16 for ; Sun, 9 Nov 2008 10:54:59 +0000 (UTC) (envelope-from usgrishin@samaradom.ru) Received: from [10.62.116.37] (port=1150 helo=[192.168.0.15]) by mx1.samaradom.ru with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kz4IQ-000LB2-NL for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 11:01:18 +0400 Message-ID: <49168ABB.7080708@samaradom.ru> Date: Sun, 09 Nov 2008 11:01:15 +0400 From: Yuriy Grishin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: [port : www/sams] What's wrong with my patch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: uzgrishin@mail.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 10:55:00 -0000 Hello, More than 2 weeks ago I tried to take maintainership of www/sams because it hasn't been updated for a long time. Current state : feedback. (but I've sent the file) Could somebody please explain me what wrong with the patch is? Why didn't the state changed? See the pr here : http://www.freebsd.org/cgi/query-pr.cgi?pr=128124 -- Kind Regards, Yuriy Grishin From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:15:02 2008 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 479941065680 for ; Sun, 9 Nov 2008 11:15:02 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id F420F8FC16 for ; Sun, 9 Nov 2008 11:15:01 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:52068 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kz8Fw-0001D6-64 for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 12:15:01 +0100 Received: (qmail 42809 invoked from network); 9 Nov 2008 12:14:58 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 12:14:58 +0100 Received: (qmail 73856 invoked by uid 1001); 9 Nov 2008 12:14:58 +0100 Date: Sun, 9 Nov 2008 12:14:58 +0100 From: Erik Trulsson To: Polytropon Message-ID: <20081109111458.GA73755@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> <20081109104711.e03722c4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109104711.e03722c4.freebsd@edvax.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Kz8Fw-0001D6-64. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kz8Fw-0001D6-64 0f43f4cbd0d2abca46fd8c060c54510f Cc: Jeremy Chadwick , freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 11:15:02 -0000 On Sun, Nov 09, 2008 at 10:47:11AM +0100, Polytropon wrote: > On Sun, 9 Nov 2008 10:35:21 +0100, Erik Trulsson wrote: > > Note that this does not limit the number of files you can have in a single > > directory, since normal files do not contain hardlinks to the parent > > directory, but there are of course limits to the total number of files and > > directories you can have on a single filesystem based on how many inodes > > were created when the filesystem was first created. > > Maybe this sounds stupid, but... given that a file system > can hold n entries. What happens when a program tries to > create file number n + 1? > > I do ask this in order to explore if this could have been > the reason for my massive data loss and UFS file system > corruption. I haven't tested what actually happens, but what should happen is that the attempt to create file n+1 will simply fail with some appropriate error code (see open(2) or mkdir(2) for details.) It is certainly not supposed to cause any kind of files system corruption. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:16:41 2008 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 A42A41065677 for ; Sun, 9 Nov 2008 11:16:41 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id CEF3E8FC18 for ; Sun, 9 Nov 2008 11:16:40 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 39BA5509E4 for ; Sun, 9 Nov 2008 12:16:38 +0100 (CET) Received: from [10.10.10.27] (atlantis.webrz.net [10.10.10.27]) by webrz.xs4all.nl (Postfix) with ESMTP id 1F32B50939 for ; Sun, 9 Nov 2008 12:16:38 +0100 (CET) Message-ID: <4916C695.1040209@webrz.net> Date: Sun, 09 Nov 2008 12:16:37 +0100 From: Jos Chrispijn Organization: Koudekerke (NL) User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: FreeBSD Questions References: <20081108081229.GA3176@slackbox.xs4all.nl> <20081108093248.J42716@wojtek.tensor.gdynia.pl> <4915fa14.vqtg7f7qnYuMLvRh%perryh@pluto.rain.com> <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> In-Reply-To: <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Subject: Re: Port Adobe Photoshop and Illustrator for 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: Sun, 09 Nov 2008 11:16:41 -0000 Uit een eerder bericht (9-11-2008 4:43): > That has been known to work, but not without some serious hacking. One > major problem is the software needs administrative access, so you need > to copy the registry from a working windows to the wine system. > Could it be possible to use Adobe's Mac versions on FreeBSD with less hacking? jc From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:21:35 2008 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 B8BA81065670; Sun, 9 Nov 2008 11:21:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 312348FC16; Sun, 9 Nov 2008 11:21:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id mA9BLQGF058842; Sun, 9 Nov 2008 12:21:26 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 31EA4BAA6; Sun, 9 Nov 2008 12:21:26 +0100 (CET) Date: Sun, 9 Nov 2008 12:21:26 +0100 From: Roland Smith To: Polytropon Message-ID: <20081109112126.GA46364@slackbox.xs4all.nl> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> <20081109104711.e03722c4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20081109104711.e03722c4.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Jeremy Chadwick , freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 11:21:35 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 09, 2008 at 10:47:11AM +0100, Polytropon wrote: > On Sun, 9 Nov 2008 10:35:21 +0100, Erik Trulsson = wrote: > > Note that this does not limit the number of files you can have in a sin= gle > > directory, since normal files do not contain hardlinks to the parent > > directory, but there are of course limits to the total number of files = and > > directories you can have on a single filesystem based on how many inodes > > were created when the filesystem was first created. >=20 > Maybe this sounds stupid, but... given that a file system > can hold n entries. What happens when a program tries to > create file number n + 1? The call to the open(2) system call will fail for one of the reasons given in the manual page. =20 > I do ask this in order to explore if this could have been > the reason for my massive data loss and UFS file system > corruption. My first point of inquiry in such a case would be if the hardware is OK. If you're using (P|S)ATA|SCSI-3 devices, install smartmontools from ports and test the disk with smartctl(8). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkWx7YACgkQEnfvsMMhpyWPVwCff5nj+VaBO6me7j5OyfD6pBTO oXMAn3uyUW8o4mWAMUF26IPVubVGxOog =yH19 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:55:57 2008 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 0040C1065676 for ; Sun, 9 Nov 2008 11:55:56 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id A532D8FC17 for ; Sun, 9 Nov 2008 11:55:56 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 86DBC4065 for ; Sun, 9 Nov 2008 21:56:19 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <4916C695.1040209@webrz.net> References: <20081108081229.GA3176@slackbox.xs4all.nl> <20081108093248.J42716@wojtek.tensor.gdynia.pl> <4915fa14.vqtg7f7qnYuMLvRh%perryh@pluto.rain.com> <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> <4916C695.1040209@webrz.net> Content-Type: text/plain Date: Sun, 09 Nov 2008 21:56:42 +1000 Message-Id: <1226231802.1220.61.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: Port Adobe Photoshop and Illustrator for 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: Sun, 09 Nov 2008 11:55:57 -0000 On Sun, 2008-11-09 at 12:16 +0100, Jos Chrispijn wrote: > Uit een eerder bericht (9-11-2008 4:43): > > That has been known to work, but not without some serious hacking. One > > major problem is the software needs administrative access, so you need > > to copy the registry from a working windows to the wine system. > > > Could it be possible to use Adobe's Mac versions on FreeBSD with less > hacking? That's an unknown. There is no Mac emulator to speak of, and although FreeBSD and the Mac OS share a common root they're not the same. You'd need to really research where the differences lie and establish something like a mac_compat to accomplish that goal. But then do you really want to be supporting a corporation that refuses to work with OSS? They've only supplied readers to linux, and have outlawed the use of these on FreeBSD. Not really worth propping up when with less effort you could learn to use and extend the free stuff thats out there like Gimp and Scribus which would be beneficial to all. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:57:11 2008 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 F10271065673; Sun, 9 Nov 2008 11:57:11 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from mail-gx0-f13.google.com (mail-gx0-f13.google.com [209.85.217.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC958FC23; Sun, 9 Nov 2008 11:57:10 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by gxk6 with SMTP id 6so1612158gxk.19 for ; Sun, 09 Nov 2008 03:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=WCAw8HTrdupBPlx4EOGNqMhQGYY1qCcHR9fMQgmub18=; b=X4ZVcDEESkr9QSMHoH+20AzLlSZPjpgZuWrbJhZrmVAKJgCKCTD3eM4BAhahvjai45 mMEHWqHffQ1l6XWA4atXp+n63F8VFN+hLjyKsEFRxllmnSopzSxZaIguE0Pt4o/L9Tm/ xTeTlDw6N7qjk7SMUnGUcL3cJ6sBqPcek4mvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=jWZgGds47RUgkw4TcdVaV4Zx+oMMfRrvLGpJTTThlLd4TEYf7GVrZfTct9d2E5lYFu 7tW/GGtB2eL/Wb94Tj2PtVpme0Fr+4vi6JAPxoE+vbQ2Yz16Ljw/pZnG9l058icqUyEu D1FWwmy79aVSsikFugdOPwt0yaf6EfwC+f6j0= Received: by 10.151.102.16 with SMTP id e16mr7612916ybm.90.1226231830256; Sun, 09 Nov 2008 03:57:10 -0800 (PST) Received: by 10.150.135.4 with HTTP; Sun, 9 Nov 2008 03:57:10 -0800 (PST) Message-ID: Date: Sun, 9 Nov 2008 06:57:10 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "Jeremy Chadwick" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 221351eebb8687fb Cc: freebsd-questions Subject: debugging cronjobs not running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 11:57:12 -0000 So, I'm running cron in debug mode, and I do see things like this about my crontab. load_entry()...returning successfully load_env, read <*/5 * * * * cacti /usr/local/bin/php /usr/local/share/cacti/poller.php 1>/dev/null 2>&1> load_env, parse error, state = 7 but that parse_error line is the same for many links that do seem to be run properly. The symptoms I'm seeing is some cronjobs, specifically weekly ones, not running as expected. Plus, I used to get email from the nightly runs of periodic, and now I don't see anything. I know some jobs aren't running because they produce files as output and I'm not seeing them. That, or they're simply running unsuccessfully. One thing I noticed is that "man 5 crontab" seems to make no mention of the "user" field used in /etc/crontab, but that's likely just a documentation error. Has anyone ever configured cronjobs that just didn't run, or you didn't get mail for them like you should have? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:16:34 2008 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 A8532106567B; Sun, 9 Nov 2008 12:16:34 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2B05C8FC0C; Sun, 9 Nov 2008 12:16:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mA9CGP2Y079059; Sun, 9 Nov 2008 12:16:25 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mA9CGP2Y079059 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1226232987; bh=PMgU2+ZV9+8ZXt 5GR/FLM4L7A6iWDtQuexxON4ke8cY=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<4916D492.5040406@infracaninophile.co.uk>|Date:=20Sun,=2 009=20Nov=202008=2012:16:18=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Jeremy=20Chadwick=20|CC:=20no-spam@peo ple.net.au,=20freebsd-questions@freebsd.org|Subject:=20Re:=20UFS2=2 0limits|References:=20<50261.1226194851@people.net.au>=20<200811090 24046.GB27423@icarus.home.lan>|In-Reply-To:=20<20081109024046.GB274 23@icarus.home.lan>|X-Enigmail-Version:=200.95.6|Content-Type:=20mu ltipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"appl ication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig77EAB F585AEBA7092B9FEB56"; b=unyTh6201/LIA/s8EPUKAkGpcuA35fxxpEtQYgxPVH6 hANrne+nOrcq2OwdVMkGTpPirET1iPdNr9ixvl7oqgs5Z/jmn9gjKWwWl1gO0gBW3QD WW6qnOT7/YmNvQZzGgajmoEEUAibiAG8IHl1KJNdDZlz4+Um5P0BMwCI/35lE= Message-ID: <4916D492.5040406@infracaninophile.co.uk> Date: Sun, 09 Nov 2008 12:16:18 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Jeremy Chadwick References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> In-Reply-To: <20081109024046.GB27423@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig77EABF585AEBA7092B9FEB56" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 09 Nov 2008 12:16:27 +0000 (GMT) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:16:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig77EABF585AEBA7092B9FEB56 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jeremy Chadwick wrote: > I don't want to change the topic of discussion, but I *highly* recommen= d > you ***stop*** whatever it is you're doing that is creating such a > directory structure. Software which has to iterate through that > directory using opendir() and readdir() will get slower and slower as > time goes on. With the implementation of UFS_DIRHASH the practical limit on the size of directories is now a great deal larger. In particular the slow down caused by linear search through the contents has been=20 eliminated. See ffs(7). 10,000 files or sub-directories, whist not a particularly elegant setup, is actually not unworkable nowadays. As for the maximum number of subdirectories it is possible to create on UFS2 -- it is limited by the inode structure to a 16 bit quantity. % jot 100000 1 | xargs mkdir -v [...] 32725 32726 32727 32728 32729 32730 3273mkdir: 32766: Too many links mkdir: 32767: Too many links mkdir: 32768: Too many links mkdir: 32769: Too many links mkdir: 32770: Too many links mkdir: 32771: Too many links [...] Which is 32768 - 2 for the '.' and '..' links. Trying to create too many subdirectories just results in mkdir failing: the filesystem itself is not damaged. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig77EABF585AEBA7092B9FEB56 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkkW1JkACgkQ8Mjk52CukIxzigCfZVknXz/lEidy3mkpFQEetq0y doYAmwT+N/odOtvLH/vAczGyDBddVPER =Qurc -----END PGP SIGNATURE----- --------------enig77EABF585AEBA7092B9FEB56-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:19:07 2008 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 0CBF0106567B for ; Sun, 9 Nov 2008 12:19:07 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by mx1.freebsd.org (Postfix) with ESMTP id BB05D8FC1E for ; Sun, 9 Nov 2008 12:19:06 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so986606ele.13 for ; Sun, 09 Nov 2008 04:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=WG/aBG0tFwrcH9p0bxzlrSf47NV6zuoP+E+tDpVhlCk=; b=YHEI0DyuQLN/M9IUelUfX9eRBADZJ/4nVIuUEu0kYswOsAhI/1z2bAhpqRTzshSKfq YPS+lPcIWHQbMmd0hdEL0DG9ArfewDLWzrOCd0s2g8jZTLyopARAR6myUfyIGoT4goxh 5wIMMex4P3kyqnID59lqFaGbmOFNqxia+3NWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=lxcgqpkPdQdWK3KKF/lud4hfFEPW+DSIqTMJFWEjrifsqEZ/5QK3TwS5/y3Tuj4Osi X+GjFpuX0uUBWeYm5c2+06ZCFNumtwGvOuukPNML4EYOaROzuOWM/ox5PcCYNWmIE2ZQ GE9UwS8Bk+zvIhwUK8fzjZddPRzwKhtVlFEe0= Received: by 10.150.203.8 with SMTP id a8mr7631614ybg.54.1226233145842; Sun, 09 Nov 2008 04:19:05 -0800 (PST) Received: by 10.150.135.4 with HTTP; Sun, 9 Nov 2008 04:19:05 -0800 (PST) Message-ID: Date: Sun, 9 Nov 2008 07:19:05 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 8ce539484856d251 Subject: why do I have 2 aliases.db files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:19:07 -0000 I just noticed that I have one in /etc/mail and one in /etc, and postfix is reading the one in /etc which the newaliases command hasn't touched in ages 'cause it's been updating the one in /etc/mail. /etc/mail looks like a sendmail thing. Should I just symlink /etc/aliases.db to /etc/mail/aliases.db if I'm running postfix? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:30:27 2008 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 0A6211065676 for ; Sun, 9 Nov 2008 12:30:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id A6DA18FC1A for ; Sun, 9 Nov 2008 12:30:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA03.westchester.pa.mail.comcast.net with comcast id czAt1a0080vyq2s530VmxJ; Sun, 09 Nov 2008 12:29:46 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id d0WQ1a00F2P6wsM3R0WRJL; Sun, 09 Nov 2008 12:30:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=ueOdXURrCe4A:10 a=7wsEbf6-IokA:10 a=QycZ5dHgAAAA:8 a=Ex_hkVEPQDNBg6UVSlwA:9 a=kWpo7Kf5iOF-pcJlZxtvAIwdLBAA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 147DE5C19; Sun, 9 Nov 2008 04:30:24 -0800 (PST) Date: Sun, 9 Nov 2008 04:30:24 -0800 From: Jeremy Chadwick To: "Michael P. Soulier" Message-ID: <20081109123024.GA38990@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: why do I have 2 aliases.db files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:30:27 -0000 On Sun, Nov 09, 2008 at 07:19:05AM -0500, Michael P. Soulier wrote: > I just noticed that I have one in /etc/mail and one in /etc, and > postfix is reading the one in /etc which the newaliases command hasn't > touched in ages 'cause it's been updating the one in /etc/mail. It sounds like your machine has survived many upgrades of sendmail. At one point, /etc/aliases (and /etc/aliases.db) were the common path for sendmail. That has since changed to /etc/mail/aliases and /etc/mail/aliases.db. Note that /etc/aliases today is a symlink to /etc/mail/aliases. AFAIK, this is for "ease of transition". > /etc/mail looks like a sendmail thing. Should I just symlink > /etc/aliases.db to /etc/mail/aliases.db if I'm running postfix? Absolutely not. Postfix should not be using /etc/mail **at all**. If you have your postfix configuration using that directory, you probably shouldn't have. The only piece of /etc/mail which is even remotely related to postfix is /etc/mail/mailer.conf, which tells mailwrapper(1) what actual binaries to run when using things like "newaliases" in /usr/bin, etc. The aliases and aliases.db files in a default postfix installation are in /usr/local/etc/postfix. As I said, if you've changed these around in your own postfix configuration, that's your own fault/doing. :-) Depending upon what you've done with your own postfix configuration, you should delete /etc/aliases.db, and ensure /etc/aliases is a symlink to mail/aliases (e.g. /etc/mail/aliases). If there's any question about this, re-read what I've written a couple times; I know that seeing the word "aliases" 50 times in a row can throw people into confusion (I speak from experience). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:34:45 2008 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 023E9106564A for ; Sun, 9 Nov 2008 12:34:45 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0115.b.hostedemail.com [64.98.42.115]) by mx1.freebsd.org (Postfix) with ESMTP id AF6358FC1C for ; Sun, 9 Nov 2008 12:34:43 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id B0ED75FEF50C for ; Sun, 9 Nov 2008 12:34:42 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, 0547d77adcc04886, 9510f55e4507d164, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:355:379:541:564:599:601:945:966:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2196:2199:2393:2553:2559:2562:2693:3027:3353:3636:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3876:3877:4184:4321:4385:5007:6114:6119:7652:7903:8501:9010:9036:9040:9159, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf04.b.hostedemail.com (Postfix) with ESMTP for ; Sun, 9 Nov 2008 12:34:38 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <200811091848.32453.no-spam@people.net.au> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <200811091848.32453.no-spam@people.net.au> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Sun, 9 Nov 2008 04:34:32 -0800 To: FreeBSD-Questions Questions X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:34:45 -0000 On Nov 9, 2008, at 12:18 AM, Ian wrote: > On Sun, 9 Nov 2008 13:10:46 Jeremy Chadwick wrote: >> On Sun, Nov 09, 2008 at 01:40:51AM +0000, no-spam@people.net.au >> wrote: >>> Hi, >>> I have a FreeBSD server that has about 10,500 subdirectories >>> within a >>> single directory. >>> This number will keep rising and I assume UFS2 has a limit to the >>> number >>> of sub-directories in a single directory - can anyone tell me >>> what it is? >> >> As far as I know, there is no such limit on the number of files/dirs >> inside of a directory. >> >> > Thanks for that Jeremy. I didn't invent this structure, but I > daresay I can > either modify it or get the original writer to do that. I never > really gave > it a thought before now - it was the system I was given to work > with and it's > worked fine so far, except when I try to list the contents of the > directory - > that takes ages! > All the folders are 7 digit numbers and we are up to approx. > 0010500 entries > (ie subdirs) so far. > I guess it will just be a matter of experimenting to find the > optimum number > of sub-sub-directories per sub-directory :-/ On the issue of possible inode limitations, it may be of some reassurance (or alarm ;-)) to look at the output of df -i. This will tell you if you are close to any limit on inodes. Between that and your already well known counts of directories and rate of creation, you can gauge how much time you have to change your app. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:36:41 2008 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 497BC1065687 for ; Sun, 9 Nov 2008 12:36:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 2EAA78FC1D for ; Sun, 9 Nov 2008 12:36:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id d0b81a0030QkzPwA90cgGN; Sun, 09 Nov 2008 12:36:40 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id d0cg1a0032P6wsM8N0cgcK; Sun, 09 Nov 2008 12:36:40 +0000 X-Authority-Analysis: ?? Received: by icarus.home.lan (Postfix, from userid 1000) id 0CCF85C19; Sun, 9 Nov 2008 04:36:40 -0800 (PST) Date: Sun, 9 Nov 2008 04:36:40 -0800 From: Jeremy Chadwick To: "Michael P. Soulier" Message-ID: <20081109123640.GA39105@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: debugging cronjobs not running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:36:41 -0000 On Sun, Nov 09, 2008 at 06:57:10AM -0500, Michael P. Soulier wrote: > So, I'm running cron in debug mode, and I do see things like this > about my crontab. I'm not sure why you sent this to me directly, but I do appreciate you CC'ing the mailing lists. :-) > load_entry()...returning successfully > load_env, read <*/5 * * * * cacti /usr/local/bin/php > /usr/local/share/cacti/poller.php 1>/dev/null 2>&1> > load_env, parse error, state = 7 > > but that parse_error line is the same for many links that do seem to > be run properly. I have no familiarity with the internals of cron, so I have no idea what "parse error" implies, nor "state = 7". > The symptoms I'm seeing is some cronjobs, specifically weekly ones, > not running as expected. Plus, I used to get email from the nightly > runs of periodic, and now I don't see anything. I know some jobs > aren't running because they produce files as output and I'm not seeing > them. That, or they're simply running unsuccessfully. > > One thing I noticed is that "man 5 crontab" seems to make no mention > of the "user" field used in /etc/crontab, but that's likely just a > documentation error. That's because /etc/crontab is not crontab(5). See cron(8) for mentions of the "system-level crontab". Please file a PR on the documentation confusion so it can get fixed/addressed. > Has anyone ever configured cronjobs that just didn't run, or you > didn't get mail for them like you should have? No, this has never happened to me, or on any of the systems I've administrated. It might be worthwhile using "crontab -e -u " and see if those crontabs reliably work for you. If so, then the problem is likely with the system-level crontab and not with user-level crontabs. Before doing this, be sure to note what security/pam checks get applied to user-level crontabs vs. system-level crontabs. This is documented in cron(8). You might have to change shells of some accounts on your system to get user-level crontabs to work for those accounts. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:37:32 2008 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 B6836106568D for ; Sun, 9 Nov 2008 12:37:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 98BCF8FC1B for ; Sun, 9 Nov 2008 12:37:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id d0VB1a0080lTkoCAA0dYYm; Sun, 09 Nov 2008 12:37:32 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id d0dS1a0032P6wsM8Q0dSum; Sun, 09 Nov 2008 12:37:26 +0000 X-Authority-Analysis: v=1.0 c=1 a=ueOdXURrCe4A:10 a=7wsEbf6-IokA:10 a=QycZ5dHgAAAA:8 a=FkVUmSrTVnsWjS8tqoUA:9 a=CsgE_7JKtMtADOAu6o6PBwezDfAA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1F55D5C19; Sun, 9 Nov 2008 04:37:26 -0800 (PST) Date: Sun, 9 Nov 2008 04:37:26 -0800 From: Jeremy Chadwick To: "Michael P. Soulier" Message-ID: <20081109123726.GB39105@icarus.home.lan> References: <20081109123024.GA38990@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109123024.GA38990@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: why do I have 2 aliases.db files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:37:32 -0000 On Sun, Nov 09, 2008 at 04:30:24AM -0800, Jeremy Chadwick wrote: > The only piece of /etc/mail which is even remotely related to postfix is > /etc/mail/mailer.conf, which tells mailwrapper(1) what actual binaries ^^^^^^^^^^^^^^ That should have been mailwrapper(8). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 14:39:55 2008 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 8C5031065676 for ; Sun, 9 Nov 2008 14:39:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8031F8FC12 for ; Sun, 9 Nov 2008 14:39:53 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mA9EdfDR085004; Sun, 9 Nov 2008 15:39:41 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mA9EddXm085001; Sun, 9 Nov 2008 15:39:39 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 9 Nov 2008 15:39:38 +0100 (CET) From: Wojciech Puchar To: no-spam@people.net.au In-Reply-To: <50261.1226194851@people.net.au> Message-ID: <20081109152835.N49145@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:39:55 -0000 > Hi, > I have a FreeBSD server that has about 10,500 subdirectories within a single > directory. > This number will keep rising and I assume UFS2 has a limit to the number of > sub-directories in a single directory - can anyone tell me what it is? make sure your kernel is compiled with options UFS_DIRHASH or it will be slow the limit is 32765, just because link count is 2 bytes wide and each subdir adds two to base directory. you have to change to 2 level hierarchy. with files - i started creating empty files, it turned slow after about 320000. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 14:43:04 2008 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 10CC4106567C; Sun, 9 Nov 2008 14:43:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 68E468FC12; Sun, 9 Nov 2008 14:43:02 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mA9Egtse085064; Sun, 9 Nov 2008 15:42:55 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mA9EgtTf085061; Sun, 9 Nov 2008 15:42:55 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 9 Nov 2008 15:42:55 +0100 (CET) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <4916D492.5040406@infracaninophile.co.uk> Message-ID: <20081109154158.D85053@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <4916D492.5040406@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jeremy Chadwick , freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:43:04 -0000 > > With the implementation of UFS_DIRHASH the practical limit on the > size of directories is now a great deal larger. In particular > the slow down caused by linear search through the contents has been but - try making (by shell script for example) empty files. it creates it fast and rapidly slows at about 320000 on my machine. i have UFS_DIRHASH From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 15:06:35 2008 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 86A48106567A; Sun, 9 Nov 2008 15:06:35 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from mail-gx0-f11.google.com (mail-gx0-f11.google.com [209.85.217.11]) by mx1.freebsd.org (Postfix) with ESMTP id 104178FC13; Sun, 9 Nov 2008 15:06:34 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by gxk4 with SMTP id 4so1605939gxk.13 for ; Sun, 09 Nov 2008 07:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=eMY9MSguPn18cxg9dV53/86Wzhu0LtwC9BcdyZovDRY=; b=cVYv9nSh7/hNnxCSjc+55Tqcm+y4TB/NCu9BVyLtXQP6SbLCgUp8ZBd9l4VbnJB2UV BKNx/M3Aex8eH0+ENxlcGySuMceA+HGqkxUHijrZSAXPziddxK7uee6IkBjE7u5yz7/W H7jBEeians9Vc94s+40BvHwTVMeyyO4t8NuoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=KVL0t4Uh29Ax9SkutfkhK6g90FoJCwUO/szc4dL1SVyYQamEqdZ9RyraOL6ozn6BAT 5rSKW3nfbZg5L2TNVhifm/E2fYjk2O2T+CfuqASrGIf5Y7OW77UqwJAo/J94YnRuZ5+4 mVFkkPVVk4/WAzQUiKBsQmbQJsk3WCDcYNtCU= Received: by 10.151.15.9 with SMTP id s9mr665952ybi.215.1226243190375; Sun, 09 Nov 2008 07:06:30 -0800 (PST) Received: by 10.150.135.4 with HTTP; Sun, 9 Nov 2008 07:06:30 -0800 (PST) Message-ID: Date: Sun, 9 Nov 2008 10:06:30 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "Jeremy Chadwick" In-Reply-To: <20081109123640.GA39105@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081109123640.GA39105@icarus.home.lan> X-Google-Sender-Auth: 2b2add9a03bd4d61 Cc: freebsd-questions Subject: Re: debugging cronjobs not running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 15:06:35 -0000 On Sun, Nov 9, 2008 at 7:36 AM, Jeremy Chadwick wrote: > I'm not sure why you sent this to me directly, but I do appreciate you > CC'ing the mailing lists. :-) Old thread, my bad. > No, this has never happened to me, or on any of the systems I've > administrated. Found it. The problem was several things. 1. The 6.3 upgrade merged in a HOME of /var/log in crontab, which broke some $HOME references in some of my jobs. 2. My /etc/aliases.db hadn't been used in some time, /etc/mail/aliases.db was. All fixed. The parse error in the debug was apparently not service affecting. I suspect it's looking for environment variables set before the command to run, judging by some of the code snippets I looked at. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:02:10 2008 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 2E73F1065689 for ; Sun, 9 Nov 2008 16:02:10 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id E0A948FC1F for ; Sun, 9 Nov 2008 16:02:09 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 09 Nov 2008 11:02:09 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.3-GA) with ESMTP id KKR69809; Sun, 9 Nov 2008 11:02:08 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 09 Nov 2008 11:02:08 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18711.2431.464472.977892@jerusalem.litteratus.org> Date: Sun, 9 Nov 2008 11:02:07 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <20081109152835.N49145@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:02:10 -0000 Wojciech Puchar writes: > the limit is 32765, just because link count is 2 bytes wide and > each subdir adds two to base directory. you have to change to 2 > level hierarchy. Question (for anyone who has an informed opinion): If there any technical reason that couldn't be expanded to 32 bits? Or is it possible but not done for historical or policy reasons, and if so what are they? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:15:12 2008 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 13550106567B for ; Sun, 9 Nov 2008 16:15:12 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id AFC1E8FC17 for ; Sun, 9 Nov 2008 16:15:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA05.westchester.pa.mail.comcast.net with comcast id d2LG1a00J0vyq2s554FBhZ; Sun, 09 Nov 2008 16:15:11 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id d4FA1a0062P6wsM3R4FAcg; Sun, 09 Nov 2008 16:15:11 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=NQODJCB5NPH86Q_h50IA:9 a=hTTxDTeAyr8HyBkzs7UA:7 a=nAP-YCRQVnpcorHnMEfCX7SeSFoA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id DDDF65C19; Sun, 9 Nov 2008 08:15:09 -0800 (PST) Date: Sun, 9 Nov 2008 08:15:09 -0800 From: Jeremy Chadwick To: Robert Huff Message-ID: <20081109161509.GA43922@icarus.home.lan> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18711.2431.464472.977892@jerusalem.litteratus.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:15:12 -0000 On Sun, Nov 09, 2008 at 11:02:07AM -0500, Robert Huff wrote: > Wojciech Puchar writes: > > > the limit is 32765, just because link count is 2 bytes wide and > > each subdir adds two to base directory. you have to change to 2 > > level hierarchy. > > Question (for anyone who has an informed opinion): > If there any technical reason that couldn't be expanded to 32 > bits? Or is it possible but not done for historical or > policy reasons, and if so what are they? At this point, I think this topic should be relocated to the freebsd-fs mailing list. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:27:51 2008 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 E9D13106564A for ; Sun, 9 Nov 2008 16:27:51 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1298FC1B for ; Sun, 9 Nov 2008 16:27:51 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1800854fgb.35 for ; Sun, 09 Nov 2008 08:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=nQRVqYfRujBIXT/X34Ka3j3C26Ee6Z6nuHaRT0bxDDM=; b=WMe/4JsFKqymGm8XO5XOWkjocjFed7w0VnjcygwrJAvecm/Sw8lQmSM5Y9+S2oTHm7 AOvqR1BY/0cJStbObukG88ILlbYPYjMzQypSIsmadimejz2D3Y6HbOH5HR7v0L+YsqOh HDsVfwp/dPSSMkvCdsJ4k9m5tQG9/QZG1bpKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=SzsLOH4DYXlvrl08Vo9F240b2RGWrEXhN1Ki3QD+qTbkNcoXy40OUiwWyBR+fz+tWG Me+Qnv14yOK2BNWfLATSgqVwuDpHTFZjZXcbGsxHafvDeMt2UbkOInUvs5dpN3Odr0W9 G2bBN7Wj8IBOYjXqCNC2mjAsR/hzU7h/u91SQ= Received: by 10.181.23.19 with SMTP id a19mr1777390bkj.198.1226248069527; Sun, 09 Nov 2008 08:27:49 -0800 (PST) Received: by 10.181.134.5 with HTTP; Sun, 9 Nov 2008 08:27:49 -0800 (PST) Message-ID: <28283d910811090827n7e773cexf2a46c7b6b05a09e@mail.gmail.com> Date: Sun, 9 Nov 2008 11:27:49 -0500 From: "matt donovan" To: uzgrishin@mail.ru In-Reply-To: <49168ABB.7080708@samaradom.ru> MIME-Version: 1.0 References: <49168ABB.7080708@samaradom.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: [port : www/sams] What's wrong with my patch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:27:52 -0000 On Sun, Nov 9, 2008 at 2:01 AM, Yuriy Grishin wrote: > Hello, > > More than 2 weeks ago I tried to take maintainership of www/sams because it > hasn't been updated for a long time. > Current state : feedback. (but I've sent the file) > Could somebody please explain me what wrong with the patch is? > Why didn't the state changed? > > See the pr here : > http://www.freebsd.org/cgi/query-pr.cgi?pr=128124 > > -- > Kind Regards, Yuriy Grishin > > _______________________________________________ > 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" well if you look at the pr they tell you exactly what's wrong with it I would point you to http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/ and here is what they said about your patch Hello, Yury! Some useful information about problem report you may read in man 1 send-pr. Don't use cyrillic names in From: field, don't send bziped or gziped patches if they are not too large - plain text is good enough for reading (and uu-encoded bzip - not). Also read http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/ article and GNU Info file send-pr.info . -- Cheers Denis Barov From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:35:58 2008 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 DFD301065678 for ; Sun, 9 Nov 2008 16:35:58 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 77B6F8FC22 for ; Sun, 9 Nov 2008 16:35:58 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 4248 invoked by uid 1000); 9 Nov 2008 16:09:17 -0000 Date: Sun, 9 Nov 2008 11:09:17 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109160917.GA4223@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109024046.GB27423@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:35:59 -0000 Jeremy Chadwick(koitsu@FreeBSD.org)@2008.11.08 18:40:46 -0800: > I don't want to change the topic of discussion, but I *highly* recommend > you ***stop*** whatever it is you're doing that is creating such a > directory structure. Software which has to iterate through that > directory using opendir() and readdir() will get slower and slower as > time goes on. On a related note there are filesystems that handle many files/directories very quickly. They use alternate tree data structures that behave quicker. ReiserFS is one of them. I believe XFS does quite well too. FreeBSD should have adapted XFS in addition to ZFS. ZFS is a resource monster. Shame, really. XFS is freely available in Linux for a number of years. Hammer, the new FS for FreeBSDs is available for DragonflyBSD. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 16:53:17 2008 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 AE77E106564A for ; Sun, 9 Nov 2008 16:53:17 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 69E678FC0A for ; Sun, 9 Nov 2008 16:53:16 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:62403 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KzDXH-0007g8-74 for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 17:53:15 +0100 Received: (qmail 51594 invoked from network); 9 Nov 2008 17:53:14 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 17:53:14 +0100 Received: (qmail 90016 invoked by uid 1001); 9 Nov 2008 17:53:14 +0100 Date: Sun, 9 Nov 2008 17:53:14 +0100 From: Erik Trulsson To: Robert Huff Message-ID: <20081109165314.GA89995@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18711.2431.464472.977892@jerusalem.litteratus.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KzDXH-0007g8-74. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KzDXH-0007g8-74 a7361226da2418dc2c5aecbb317f6a99 Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:53:17 -0000 On Sun, Nov 09, 2008 at 11:02:07AM -0500, Robert Huff wrote: > > Wojciech Puchar writes: > > > the limit is 32765, just because link count is 2 bytes wide and > > each subdir adds two to base directory. you have to change to 2 > > level hierarchy. > > Question (for anyone who has an informed opinion): > If there any technical reason that couldn't be expanded to 32 > bits? Or is it possible but not done for historical or > policy reasons, and if so what are they? It probably could be expanded to 32 bits if that was deemed useful. Doing that would of course require re-creating any existing filesystems since the on-disk format would change, which would be a PITA for users, but certainly possible. It is rare that anybody actually encounter this limit however. I would even say that if you have more than a couple of thousand entries in a single directory, then you are probably doing something wrong. Personally I cannot think of any situation where one would actually want (let alone need) as many as 30000 or more subdirectories in a single directory. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 17:48:51 2008 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 1BD991065686 for ; Sun, 9 Nov 2008 17:48:51 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id B0A6C8FC1F for ; Sun, 9 Nov 2008 17:48:50 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 5180 invoked by uid 1000); 9 Nov 2008 17:48:51 -0000 Date: Sun, 9 Nov 2008 12:48:51 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109174851.GB5146@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109165314.GA89995@owl.midgard.homeip.net> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 17:48:51 -0000 Erik Trulsson(ertr1013@student.uu.se)@2008.11.09 17:53:14 +0100: > Personally I cannot think of any situation where one would actually want > (let alone need) as many as 30000 or more subdirectories in a single > directory. I've seen some Java apps that use the FS as the DB. Nothing wrong with that. I think an FS can be quite a good DB, if implemented well. This gives many data manipulation options with traditional FS tools, shell scripts, etc. Large Maildirs for postfix and qmail/Courier. Some people don't delete email at all. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 17:54:35 2008 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 E0AB41065672 for ; Sun, 9 Nov 2008 17:54:35 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id C48A08FC08 for ; Sun, 9 Nov 2008 17:54:35 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 225935C78 for ; Sun, 9 Nov 2008 12:55:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1226253339; bh=FofNEA1GOwpxYmCPjTIxKTEm+D4h APHRBheZBYg2PuY=; b=r2cVQqaE9+uVWZDm9SAOak/fFq419otfLTI2G8MLo+7l I1U3Q1+aF35+eCmocCOv50VpkJzJuRsqjYCU9Konbie0b/p2zpjMgAo/Wv7uY8VR jZb3MMrHBXmvDO3E5THaQ7y1qHraiuNWZsAkBi2fr9ZQv2U+fNQ/3DydE5d1vUA= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id zW+jFNwB2-k1 for ; Sun, 9 Nov 2008 12:55:39 -0500 (EST) Date: Sun, 9 Nov 2008 12:54:32 -0500 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081109175431.GA15899@shepherd> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: why do I have 2 aliases.db files? 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: Sun, 09 Nov 2008 17:54:36 -0000 Michael P. Soulier wrote: > I just noticed that I have one in /etc/mail and one in /etc, and > postfix is reading the one in /etc which the newaliases command hasn't > touched in ages 'cause it's been updating the one in /etc/mail. That is not the default behavior. From sendmail(1), which is the Postfix to Sendmail compatibility interface: newaliases Initialize the alias database. If no input file is specified (with the -oA option, see below), the program processes the file(s) specified with the alias_database configuration parame- ter. If no alias database type is specified, the program uses the type specified with the default_database_type configuration parameter. This mode of operation is implemented by running the postalias(1) command. % postconf -d | grep '^alias_' alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases So, the newaliases command should be modifying the alias database in /etc unless you changed this in your main.cf. But if that were the case, Postfix would also *read* for aliases in that non-default location. What is the output of the following command on your machine? % man sendmail | grep Postfix | head -1 -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:03:33 2008 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 441B5106567C for ; Sun, 9 Nov 2008 18:03:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0248FC1A for ; Sun, 9 Nov 2008 18:03:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id d22m1a0030b6N64A763YfK; Sun, 09 Nov 2008 18:03:32 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id d63X1a00C2P6wsM8P63Yrf; Sun, 09 Nov 2008 18:03:32 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=Q5tx2_X9zIDJknSYoXAA:9 a=PSCKjxB7ZUwdjv6fCbai90pzWukA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D757D5C19; Sun, 9 Nov 2008 10:03:31 -0800 (PST) Date: Sun, 9 Nov 2008 10:03:31 -0800 From: Jeremy Chadwick To: freebsd-questions@freebsd.org Message-ID: <20081109180331.GA46147@icarus.home.lan> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109160917.GA4223@ourbrains.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109160917.GA4223@ourbrains.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:03:33 -0000 On Sun, Nov 09, 2008 at 11:09:17AM -0500, Dan wrote: > Jeremy Chadwick(koitsu@FreeBSD.org)@2008.11.08 18:40:46 -0800: > > I don't want to change the topic of discussion, but I *highly* recommend > > you ***stop*** whatever it is you're doing that is creating such a > > directory structure. Software which has to iterate through that > > directory using opendir() and readdir() will get slower and slower as > > time goes on. > > On a related note there are filesystems that handle many > files/directories very quickly. They use alternate tree data structures > that behave quicker. ReiserFS is one of them. I believe XFS does quite > well too. FreeBSD should have adapted XFS in addition to ZFS. ZFS is a > resource monster. Shame, really. XFS is freely available in Linux for a > number of years. Hammer, the new FS for FreeBSDs is available for > DragonflyBSD. If you really think HAMMER accomplishes the same goals as ZFS, you are sadly mistaken. I have no idea about XFS. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:04:32 2008 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 3BABF106567A for ; Sun, 9 Nov 2008 18:04:32 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id A45758FC18 for ; Sun, 9 Nov 2008 18:04:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 42433 invoked from network); 9 Nov 2008 18:04:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=UXn0PQXyDE5SOnEWnqV5wfhJEZw+bFdASQ76ZyWyffbLoT+9S1ntjDpuzOYDAkBnBPxMQe/7rAXmIju1+wduy5JniH4AWNu7hzRGtG8flVlPLqtljPvITn20Hu8BjHPZ3O6NWZw3E7qxzW5HqIfXrnvAcy04LlYesGo+rLZ7A8c= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 9 Nov 2008 18:04:30 -0000 X-YMail-OSG: vKESctEVM1k4sp7Uwc.cDXzVXhBjSIr7asLsThRVut.zF38W15VZ6UIbVZLBVgbNtPTb4ZBLId2z.ollaR8SGTfsfVBwLkk1jTmcH0vy.r0nr8wPmIy9GmLbmtvtDTmNCN.si_ZERX0gCXwDWcOrQTUJKZwPk6oG3BS53tfmWbuG.MB5ghHN8xe1gw-- X-Yahoo-Newman-Property: ymail-3 Date: Sun, 9 Nov 2008 13:04:05 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081109130405.431814b4@scorpio> In-Reply-To: <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> References: <20081108081229.GA3176@slackbox.xs4all.nl> <20081108093248.J42716@wojtek.tensor.gdynia.pl> <4915fa14.vqtg7f7qnYuMLvRh%perryh@pluto.rain.com> <1226202205.1220.48.camel@laptop1.herveybayaustralia.com.au> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/E49nHLUp=e69sretwvaa=BC"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Port Adobe Photoshop and Illustrator for FreeBSD? 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: Sun, 09 Nov 2008 18:04:32 -0000 --Sig_/E49nHLUp=e69sretwvaa=BC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 09 Nov 2008 13:43:25 +1000 Da Rock wrote: >If you're up to it its ok, but you do have to wonder whether you really >want cross contamination :), or even whether you want to support a >company that stubbornly refuses to consider OSS as a system it will >build it software for. I would not necessarily blame the company. There are several programs that I use on Windows, "Roboform" as one example. I have contacted the company and was informed that producing a version that would work on all versions of *nix was beyond the scope of what they could presently do. In addition, they felt that since most OSS users do not want to pay for software, there would be no way to recuperate their investment. I have the full blown version of Photoshop and quite frankly I have not seen anything from the OSS community that compares to it. The program works and has a very finely designed interface. Gimp is fine for basic things; however for more finely granular work it just does not measure up. Just my 2=C2=A2. --=20 Jerry gesbbb@yahoo.com Where it is a duty to worship the sun it is pretty sure to be a crime to examine the laws of heat. Christopher Morley --Sig_/E49nHLUp=e69sretwvaa=BC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkXJiwACgkQBvaKIJWWCO1jLgCbBsyiJ5GB8ZV+H5NbpDpfDDu4 7d4AnRbOafIAeDlmW0C3+IQFrUdC3sBd =2jvW -----END PGP SIGNATURE----- --Sig_/E49nHLUp=e69sretwvaa=BC-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:30:26 2008 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 4BCFC106567A for ; Sun, 9 Nov 2008 18:30:26 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 09F298FC12 for ; Sun, 9 Nov 2008 18:30:25 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 264D36D43F; Sun, 9 Nov 2008 18:30:25 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 0E27284497; Sun, 9 Nov 2008 19:30:25 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: unga888@yahoo.com References: <181618.24843.qm@web57006.mail.re3.yahoo.com> Date: Sun, 09 Nov 2008 19:30:24 +0100 In-Reply-To: <181618.24843.qm@web57006.mail.re3.yahoo.com> (Unga's message of "Sat, 8 Nov 2008 01:56:40 -0800 (PST)") Message-ID: <86hc6g21mn.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: No pam_module.so found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:30:26 -0000 Unga writes: > All my pam modules reside in /usr/lib/ and the version number of pam > modules match the version number of the libpam > (/usr/lib/libpam.so.2). Eg. pam_self.so.2 and pam_rootok.so.2 are > available in /usr/lib/. In 7.0, this should be 4, not 2. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:32:01 2008 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 0824A1065673 for ; Sun, 9 Nov 2008 18:32:01 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DE4CA8FC1D for ; Sun, 9 Nov 2008 18:31:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mA9IVoTY085981; Sun, 9 Nov 2008 19:31:50 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mA9IVnDP085978; Sun, 9 Nov 2008 19:31:49 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 9 Nov 2008 19:31:49 +0100 (CET) From: Wojciech Puchar To: Robert Huff In-Reply-To: <18711.2431.464472.977892@jerusalem.litteratus.org> Message-ID: <20081109192810.S85881@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:32:01 -0000 >> the limit is 32765, just because link count is 2 bytes wide and >> each subdir adds two to base directory. you have to change to 2 >> level hierarchy. > > Question (for anyone who has an informed opinion): > If there any technical reason that couldn't be expanded to 32 > bits? Or is it possible but not done for historical or > policy reasons, and if so what are they? > > looking at /usr/include/ufs/ufs/dinode.h - i see int64_t di_spare[3]; and i have really no idea why time uses as much as 8+4 bytes like that: ufs_time_t di_mtime; /* 40: Last modified time. */ int32_t di_mtimensec; /* 64: Last modified time. */ i think it is not a problem to make link count 32-bit, and - why "spare" space are not just used for more direct/indirect blocks From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:33:07 2008 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 14B6D1065677 for ; Sun, 9 Nov 2008 18:33:07 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id E08D68FC14 for ; Sun, 9 Nov 2008 18:33:06 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1981395rvf.43 for ; Sun, 09 Nov 2008 10:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eV6jeZjI1jxlc0JA/23zU4ZzvWYsISUPfytJGV81qpg=; b=gUEqF1IOeufAdwj9DgR8FHdbHP1HE/9dCx5uK6+hNlgrqCMssMgsuUYspzc9JaDT+e aqok5CVCqFith/Y15tEmXylmMs5vj0ZDc+tgZfV3f26r55s+q58sHZyUV3vlgVwxnCHx 23N1vkFOyM7EZEpNk7ccSg+Vojof5zWODlshQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gJYNsRGynsVmIEg9+8X1coAtUP9LsuN7smaV8ge2Zv6D06Z0ajudl5MH2rYbXtYEkp 4FI/HmUNCEao1V4j9tYjhOVxFgt0GfI8dZT9QqOQeitHllf3jFtGZ1UXjV5P1PAgmZM3 NEFFcOf8Qu7XTIpk9YgOCCRs5jEgiHuJBrRVg= Received: by 10.143.31.11 with SMTP id i11mr1921915wfj.163.1226255586609; Sun, 09 Nov 2008 10:33:06 -0800 (PST) Received: by 10.142.177.16 with HTTP; Sun, 9 Nov 2008 10:33:06 -0800 (PST) Message-ID: <64c038660811091033r1df9c4e6yc1123e714df9ccf4@mail.gmail.com> Date: Sun, 9 Nov 2008 12:33:06 -0600 From: Modulok To: "Robert Huff" In-Reply-To: <20081109180331.GA46147@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109160917.GA4223@ourbrains.org> <20081109180331.GA46147@icarus.home.lan> Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:33:07 -0000 >>Personally I cannot think of any situation where one would actually want (let alone need) as many as 30000 or more subdirectories in a single directory. "No one will ever need more than 640K of memory!" Be careful. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:33:45 2008 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 682A71065692 for ; Sun, 9 Nov 2008 18:33:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0628FC26 for ; Sun, 9 Nov 2008 18:33:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mA9IXbBj086000; Sun, 9 Nov 2008 19:33:37 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mA9IXaqS085997; Sun, 9 Nov 2008 19:33:37 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 9 Nov 2008 19:33:36 +0100 (CET) From: Wojciech Puchar To: Dan In-Reply-To: <20081109160917.GA4223@ourbrains.org> Message-ID: <20081109193222.A85881@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109160917.GA4223@ourbrains.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:33:45 -0000 > number of years. Hammer, the new FS for FreeBSDs is available for > DragonflyBSD. i would like to see final (now still beta) version of hammer in action. it's ADVERTISED features are great. but ZFS features was (and are) ADVERTISED great too while we see the result. Hammer would be great if it will be as advertised :) From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:58:15 2008 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 9CD971065672 for ; Sun, 9 Nov 2008 18:58:15 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 602E48FC0C for ; Sun, 9 Nov 2008 18:58:15 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 09 Nov 2008 13:58:12 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PFM79366; Sun, 9 Nov 2008 13:58:11 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 09 Nov 2008 13:58:12 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18711.12995.251454.988166@jerusalem.litteratus.org> Date: Sun, 9 Nov 2008 13:58:11 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <20081109165314.GA89995@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:58:15 -0000 Erik Trulsson writes: > > Question (for anyone who has an informed opinion): > > If there any technical reason that couldn't be expanded to 32 > > bits? Or is it possible but not done for historical or > > policy reasons, and if so what are they? > > It probably could be expanded to 32 bits if that was deemed > useful. Doing that would of course require re-creating any > existing filesystems since the on-disk format would change, which > would be a PITA for users, but certainly possible. I seem to remember at least one case (3.x -> 4.0 ????) where a major version change had no upgrade path - to get the new stuff you had to reinstall. But I agree there's no reason based on current evidence to do this. Thanks. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:54:17 2008 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 0FEB7106564A for ; Sun, 9 Nov 2008 19:54:17 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id C1AC08FC1C for ; Sun, 9 Nov 2008 19:54:16 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:61932 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KzGMR-0005Xo-3u for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 20:54:15 +0100 Received: (qmail 52636 invoked from network); 9 Nov 2008 20:54:14 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 20:54:14 +0100 Received: (qmail 90883 invoked by uid 1001); 9 Nov 2008 20:54:14 +0100 Date: Sun, 9 Nov 2008 20:54:14 +0100 From: Erik Trulsson To: freebsd-questions@freebsd.org Message-ID: <20081109195414.GA90867@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> <20081109174851.GB5146@ourbrains.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109174851.GB5146@ourbrains.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KzGMR-0005Xo-3u. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KzGMR-0005Xo-3u 72e4bfe31abe1a6d6fda4aac58465bd6 Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 19:54:17 -0000 On Sun, Nov 09, 2008 at 12:48:51PM -0500, Dan wrote: > Erik Trulsson(ertr1013@student.uu.se)@2008.11.09 17:53:14 +0100: > > Personally I cannot think of any situation where one would actually want > > (let alone need) as many as 30000 or more subdirectories in a single > > directory. > > I've seen some Java apps that use the FS as the DB. Nothing wrong with > that. I think an FS can be quite a good DB, if implemented well. This gives > many data manipulation options with traditional FS tools, shell > scripts, etc. Lets just say that there are reasons why the major database systems generally use their own methods to store and organize the data rather than rely on the file system for that. Besides, for most database applications I can think of, what you would need are lots of *files*, which do not have any special limitations other than the the total space and number of i-nodes on the filesystem. Even if you were using the FS as a DB I can't think of any good reason to need 30000+ subdirectories in a single directory. > > Large Maildirs for postfix and qmail/Courier. Some people don't delete > email at all. Again, that requires lots of files, not lots of subdirectories. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:55:57 2008 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 1CB9210656AA for ; Sun, 9 Nov 2008 19:55:57 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id CD1A38FC0A for ; Sun, 9 Nov 2008 19:55:56 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:63350 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KzGO2-0005bf-9B for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 20:55:55 +0100 Received: (qmail 52666 invoked from network); 9 Nov 2008 20:55:54 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 20:55:54 +0100 Received: (qmail 90917 invoked by uid 1001); 9 Nov 2008 20:55:54 +0100 Date: Sun, 9 Nov 2008 20:55:54 +0100 From: Erik Trulsson To: Robert Huff Message-ID: <20081109195554.GB90867@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> <18711.12995.251454.988166@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18711.12995.251454.988166@jerusalem.litteratus.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KzGO2-0005bf-9B. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KzGO2-0005bf-9B b4d7a6603c9cffacae5796cd4832383e Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 19:55:57 -0000 On Sun, Nov 09, 2008 at 01:58:11PM -0500, Robert Huff wrote: > > Erik Trulsson writes: > > > > Question (for anyone who has an informed opinion): > > > If there any technical reason that couldn't be expanded to 32 > > > bits? Or is it possible but not done for historical or > > > policy reasons, and if so what are they? > > > > It probably could be expanded to 32 bits if that was deemed > > useful. Doing that would of course require re-creating any > > existing filesystems since the on-disk format would change, which > > would be a PITA for users, but certainly possible. > > I seem to remember at least one case (3.x -> 4.0 ????) where a > major version change had no upgrade path - to get the new stuff you > had to reinstall. You are probably thinking of the 4.x -> 5.x upgrade where you pretty much had to reinstall if you wanted to switch from UFS1 to UFS2. (But you could of course keep using UFS1 if you wanted.) > But I agree there's no reason based on current evidence to do > this. > Thanks. > > > Robert Huff -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:04:19 2008 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 0B8EF1065688 for ; Sun, 9 Nov 2008 20:04:19 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 847F98FC1D for ; Sun, 9 Nov 2008 20:04:18 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2896645fkk.11 for ; Sun, 09 Nov 2008 12:04:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=yfYBfeN1y32ORBZOI5y4Sxp3W5mgdj+MlPiquaOyNJ4=; b=n9qE1HxfGXiqgHNTzz0EYBDguRHsyFPNHn3cBSHvOhOjWe8GWALQesNbAg6TukpNAY sXlEp1zArNWUGyrpdSkelFZLP7t9/AlVOTlwYP4KLcq2Z+gP2MpbK7CoZ0CpyrSA4PWr QQlTULSESigf4hERKC+vNB646g0apOAcnila0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=TW+KbkVjmGMo7XXpCqLf1BiCgTumqpPqRjf8oIZEK7DV9lq3M8BUgTbujWEYkTz7Bw Mm9qunuzd7hqJp2nZPufFfM5AdV1YweePbAsgVvsVJuemTVfvdHs4jWSGHFG8kWssOcw AVq+G3/kXIsJYGXn6eY/R+tgB4iXlJSH29yCQ= Received: by 10.180.204.10 with SMTP id b10mr1829697bkg.201.1226261056951; Sun, 09 Nov 2008 12:04:16 -0800 (PST) Received: by 10.181.134.5 with HTTP; Sun, 9 Nov 2008 12:04:16 -0800 (PST) Message-ID: <28283d910811091204q4bd19cc7u615f317bd519bac3@mail.gmail.com> Date: Sun, 9 Nov 2008 15:04:16 -0500 From: "matt donovan" To: "Erik Trulsson" In-Reply-To: <20081109195554.GB90867@owl.midgard.homeip.net> MIME-Version: 1.0 References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> <18711.12995.251454.988166@jerusalem.litteratus.org> <20081109195554.GB90867@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:04:19 -0000 On Sun, Nov 9, 2008 at 2:55 PM, Erik Trulsson wrote: > On Sun, Nov 09, 2008 at 01:58:11PM -0500, Robert Huff wrote: > > > > Erik Trulsson writes: > > > > > > Question (for anyone who has an informed opinion): > > > > If there any technical reason that couldn't be expanded to 32 > > > > bits? Or is it possible but not done for historical or > > > > policy reasons, and if so what are they? > > > > > > It probably could be expanded to 32 bits if that was deemed > > > useful. Doing that would of course require re-creating any > > > existing filesystems since the on-disk format would change, which > > > would be a PITA for users, but certainly possible. > > > > I seem to remember at least one case (3.x -> 4.0 ????) where a > > major version change had no upgrade path - to get the new stuff you > > had to reinstall. > > You are probably thinking of the 4.x -> 5.x upgrade where you pretty much > had to reinstall if you wanted to switch from UFS1 to UFS2. (But you could > of course keep using UFS1 if you wanted.) > > > But I agree there's no reason based on current evidence to do > > this. > > Thanks. > > > > > > Robert Huff > > -- > > Erik Trulsson > ertr1013@student.uu.se > _______________________________________________ > 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" > Kind of hard to get XFS in freeBSD with it being a "dead" filesystem that is no longer being developed, probably to port it it would need a lot of code changes. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:08:12 2008 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 3AF841065688 for ; Sun, 9 Nov 2008 20:08:12 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id EC24B8FC24 for ; Sun, 9 Nov 2008 20:08:11 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:56302 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KzGZu-0006Ar-69 for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 21:08:11 +0100 Received: (qmail 52709 invoked from network); 9 Nov 2008 21:08:10 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 21:08:10 +0100 Received: (qmail 90967 invoked by uid 1001); 9 Nov 2008 21:08:10 +0100 Date: Sun, 9 Nov 2008 21:08:10 +0100 From: Erik Trulsson To: Modulok Message-ID: <20081109200810.GC90867@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109160917.GA4223@ourbrains.org> <20081109180331.GA46147@icarus.home.lan> <64c038660811091033r1df9c4e6yc1123e714df9ccf4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64c038660811091033r1df9c4e6yc1123e714df9ccf4@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KzGZu-0006Ar-69. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KzGZu-0006Ar-69 b1f8d9bf4bdadbaf8c7e0df77dc48519 Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:08:12 -0000 On Sun, Nov 09, 2008 at 12:33:06PM -0600, Modulok wrote: > >>Personally I cannot think of any situation where one would actually want > (let alone need) as many as 30000 or more subdirectories in a single > directory. > > "No one will ever need more than 640K of memory!" Not quite the same thing. One major problem with having lots of entries in a directory is for humans using it (who have not become significantly faster or more capable over the recent decades.) Having lots of entries in a single directory is simply very unwieldy. There are is a reason why people invented hierarchichal files systems with directories and sub-directories, you know. For those situations where the directory is not intended to be looked at by a human, but only by programs, then there are more efficient ways of storing the data if you need that many entries. (A real database system, for example.) Besides, most (all?) of the situations where one might concievably want many entries in a single directory, what one would usually want is lots of files, not lots of sub-directories - once you start using sub-directories, you might as well use more than a single level of them. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:22:44 2008 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 ED9AF1065673 for ; Sun, 9 Nov 2008 20:22:44 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id B8CDB8FC0A for ; Sun, 9 Nov 2008 20:22:44 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 8291 invoked by uid 1000); 9 Nov 2008 20:21:49 -0000 Date: Sun, 9 Nov 2008 15:21:49 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109202149.GA7091@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:22:45 -0000 Hello. I am copying one 150G disk to a 3ware mirror, and the machine becomes downright unusable. It takes seconds to switch between 'konsole' windows and it takes seconds between I type a command (ssh session to a remote box, which I know is fast and unloaded) and see it executed. This is 7.1-BETA2. Is this a bug or a generally-accepted performance behavior? Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:25:19 2008 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 DC051106564A for ; Sun, 9 Nov 2008 20:25:19 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id B4B858FC12 for ; Sun, 9 Nov 2008 20:25:19 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1106255wag.27 for ; Sun, 09 Nov 2008 12:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=1eW2J9wrCYWUAfUAU2yev7upFdJiVGuMBC3+M6lKNU0=; b=MzRxLvh6nKUtilds6jra0GSnjdaRRtyYa4wqy7QYgVK3+guRkzMz2MQNOD2ZOrzOSr NPJQngYouBVB932/T32Owlemr+exvInpFLqlEYhdX2wLiPk0XfuybE0epU0NRdiUY0S+ eptdpgoE/7I8hU9Zi7BBKIfCHUjJU0QqWsGdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=JJFyS0e+oLOJiBafPLkcJq6DeMyUym9mUFzCoW+LldLrxikxngljC448f5iIJ8vbPK MlEuKvb+wq5ptbxBDuLCeAW5pEIHSpKhY7vnMXww+cf6xqTOMF8eEIMQdb5+0RZGw94V 8NurchenxKIc8ZsMptP9NBnVSt1hgJxyZ50XQ= Received: by 10.114.77.1 with SMTP id z1mr3593457waa.194.1226262319279; Sun, 09 Nov 2008 12:25:19 -0800 (PST) Received: by 10.114.66.18 with HTTP; Sun, 9 Nov 2008 12:25:19 -0800 (PST) Message-ID: <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> Date: Sun, 9 Nov 2008 23:25:19 +0300 From: "Odhiambo Washington" To: freebsd-questions@freebsd.org In-Reply-To: <20081109202149.GA7091@ourbrains.org> MIME-Version: 1.0 References: <20081109202149.GA7091@ourbrains.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:25:19 -0000 On Sun, Nov 9, 2008 at 11:21 PM, Dan wrote: > Hello. I am copying one 150G disk to a 3ware mirror, and the machine > becomes downright unusable. It takes seconds to switch between 'konsole' > windows and it takes seconds between I type a command (ssh session to > a remote box, which I know is fast and unloaded) and see it executed. > > This is 7.1-BETA2. Is this a bug or a generally-accepted performance > behavior? Bug? :-) How are you copying? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Life must be understood backwards; but... it must be lived forward." - Soren Kierkegaard "Oh My God! They killed init! You Bastards!" --from a /. post From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:32:20 2008 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 D97E51065688 for ; Sun, 9 Nov 2008 20:32:20 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 76F368FC0A for ; Sun, 9 Nov 2008 20:32:20 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 8436 invoked by uid 1000); 9 Nov 2008 20:32:41 -0000 Date: Sun, 9 Nov 2008 15:32:41 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109203241.GB8395@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:32:20 -0000 Odhiambo Washington(odhiambo@gmail.com)@2008.11.09 23:25:19 +0300: > On Sun, Nov 9, 2008 at 11:21 PM, Dan wrote: > > > Hello. I am copying one 150G disk to a 3ware mirror, and the machine > > becomes downright unusable. It takes seconds to switch between 'konsole' > > windows and it takes seconds between I type a command (ssh session to > > a remote box, which I know is fast and unloaded) and see it executed. > > > > This is 7.1-BETA2. Is this a bug or a generally-accepted performance > > behavior? > > > Bug? :-) > > How are you copying? I am copying an 'ntfs-3g'-mounted disk to the 3ware mirror with cp -a. It's around 150G of data, and it's going at about 10MB/s to the mirror. The mirror uses geom journaling. The speed is fine, the disks are slow. But should the copy really freeze-up the system like that? From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:34:44 2008 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 526A41065676; Sun, 9 Nov 2008 20:34:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6FA8FC12; Sun, 9 Nov 2008 20:34:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mA9KYYt3086698; Sun, 9 Nov 2008 21:34:34 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mA9KYYwL086695; Sun, 9 Nov 2008 21:34:34 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 9 Nov 2008 21:34:34 +0100 (CET) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081109180331.GA46147@icarus.home.lan> Message-ID: <20081109213414.H86682@wojtek.tensor.gdynia.pl> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109160917.GA4223@ourbrains.org> <20081109180331.GA46147@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:34:44 -0000 > If you really think HAMMER accomplishes the same goals as ZFS, you are > sadly mistaken. it will be OK to achieve the goals it is advertised to achieve. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:35:32 2008 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 9A1DD1065680 for ; Sun, 9 Nov 2008 20:35:32 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 276368FC17 for ; Sun, 9 Nov 2008 20:35:31 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1873537fgb.35 for ; Sun, 09 Nov 2008 12:35:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=HVFNTrUfu/yV3O1UgHuYl31oClZHiGy7FdIp9qO8xxY=; b=kz8Lpse0NCsGB82NitjzFBsV2MUMtyX/CRk+lzJC8bDg32+jSAiTBxZez7cwndGlVp 0gPhGwDbbmcL0yHh5WfOb2olotiduJ2bGtBfIY2D3wlg7yKuRm2cwfVrVkpia3rdawz6 C4dveVQwldIi6hDZXdGEvTtKa8BRGmTkNNxIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=JjqVS/6AxEK5RivgZUDoh0lUHCFdZMTqF4TSJ3bqN8m4AP+lG6k3s/2J8k1cMBh4tn 4BSFDSCwRq5f2nNzh0WCPs+UDiCh+Iu4De+aoXgEPRa9MkrPxNH4SENAwxvbOcTTT/Nf Td+dvGyUkRK7xZucDO0isxRGSBE39UDYrxkEQ= Received: by 10.181.141.7 with SMTP id t7mr1852127bkn.61.1226262930491; Sun, 09 Nov 2008 12:35:30 -0800 (PST) Received: by 10.181.134.5 with HTTP; Sun, 9 Nov 2008 12:35:30 -0800 (PST) Message-ID: <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> Date: Sun, 9 Nov 2008 15:35:30 -0500 From: "matt donovan" To: freebsd-questions@freebsd.org In-Reply-To: <20081109203241.GB8395@ourbrains.org> MIME-Version: 1.0 References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:35:32 -0000 On Sun, Nov 9, 2008 at 3:32 PM, Dan wrote: > Odhiambo Washington(odhiambo@gmail.com)@2008.11.09 23:25:19 +0300: > > On Sun, Nov 9, 2008 at 11:21 PM, Dan < > dan-freebsd-questions@ourbrains.org>wrote: > > > > > Hello. I am copying one 150G disk to a 3ware mirror, and the machine > > > becomes downright unusable. It takes seconds to switch between > 'konsole' > > > windows and it takes seconds between I type a command (ssh session to > > > a remote box, which I know is fast and unloaded) and see it executed. > > > > > > This is 7.1-BETA2. Is this a bug or a generally-accepted performance > > > behavior? > > > > > > Bug? :-) > > > > How are you copying? > > > I am copying an 'ntfs-3g'-mounted disk to the 3ware mirror with cp -a. > It's around 150G of data, and it's going at about 10MB/s to the mirror. > The mirror uses geom journaling. The speed is fine, the disks are slow. > But should the copy really freeze-up the system like that? > _______________________________________________ > 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" > could be an issue with ntfs-3g driver From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:54:51 2008 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 8F911106564A for ; Sun, 9 Nov 2008 20:54:51 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 2BF268FC16 for ; Sun, 9 Nov 2008 20:54:50 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 8597 invoked by uid 1000); 9 Nov 2008 20:55:12 -0000 Date: Sun, 9 Nov 2008 15:55:12 -0500 From: dan-freebsd-questions@ourbrains.org To: freebsd-questions@freebsd.org Message-ID: <20081109205512.GA8576@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> <20081109174851.GB5146@ourbrains.org> <20081109195414.GA90867@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109195414.GA90867@owl.midgard.homeip.net> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:54:51 -0000 Erik Trulsson(ertr1013@student.uu.se)@2008.11.09 20:54:14 +0100: > Besides, for most database applications I can think of, what you would > need are lots of *files*, which do not have any special limitations other > than the the total space and number of i-nodes on the filesystem. > Even if you were using the FS as a DB I can't think of any good reason > to need 30000+ subdirectories in a single directory. > > > > > Large Maildirs for postfix and qmail/Courier. Some people don't delete > > email at all. > > Again, that requires lots of files, not lots of subdirectories. I agree, I misread the OP. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:56:26 2008 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 51E721065677 for ; Sun, 9 Nov 2008 20:56:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.chn.comcast.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1F17C8FC17; Sun, 9 Nov 2008 20:56:26 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <49174EAC.2070403@FreeBSD.org> Date: Sun, 09 Nov 2008 12:57:16 -0800 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: matt donovan References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> In-Reply-To: <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:56:26 -0000 matt donovan wrote: > On Sun, Nov 9, 2008 at 3:32 PM, Dan wrote: > >> Odhiambo Washington(odhiambo@gmail.com)@2008.11.09 23:25:19 +0300: >>> On Sun, Nov 9, 2008 at 11:21 PM, Dan < >> dan-freebsd-questions@ourbrains.org>wrote: >>>> Hello. I am copying one 150G disk to a 3ware mirror, and the machine >>>> becomes downright unusable. It takes seconds to switch between >> 'konsole' >>>> windows and it takes seconds between I type a command (ssh session to >>>> a remote box, which I know is fast and unloaded) and see it executed. >>>> >>>> This is 7.1-BETA2. Is this a bug or a generally-accepted performance >>>> behavior? >>> >>> Bug? :-) >>> >>> How are you copying? >> >> I am copying an 'ntfs-3g'-mounted disk to the 3ware mirror with cp -a. >> It's around 150G of data, and it's going at about 10MB/s to the mirror. >> The mirror uses geom journaling. The speed is fine, the disks are slow. >> But should the copy really freeze-up the system like that? >> _______________________________________________ >> 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" >> > > could be an issue with ntfs-3g driver Sounds like it to me. ntfs-3g uses FUSE, which is a userland filesystem framework. By design it will have poor I/O performance since every I/O transfer will require multiple trips into and out of the kernel. Kris From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:57:18 2008 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 BE161106568C for ; Sun, 9 Nov 2008 20:57:18 +0000 (UTC) (envelope-from dan@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 5771E8FC2A for ; Sun, 9 Nov 2008 20:57:18 +0000 (UTC) (envelope-from dan@ourbrains.org) Received: (qmail 8407 invoked by uid 1000); 9 Nov 2008 20:30:58 -0000 Date: Sun, 9 Nov 2008 15:30:58 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109203058.GA8395@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 20:57:18 -0000 Odhiambo Washington(odhiambo@gmail.com)@2008.11.09 23:25:19 +0300: > On Sun, Nov 9, 2008 at 11:21 PM, Dan wrote: > > > Hello. I am copying one 150G disk to a 3ware mirror, and the machine > > becomes downright unusable. It takes seconds to switch between 'konsole' > > windows and it takes seconds between I type a command (ssh session to > > a remote box, which I know is fast and unloaded) and see it executed. > > > > This is 7.1-BETA2. Is this a bug or a generally-accepted performance > > behavior? > > > Bug? :-) > > How are you copying? I am copying a 'ntfs-3g'-mounted disk to the 3ware mirror with cp -a. It's around 150G of data, and it's going at about 10MB/s to the mirror. The mirror uses geom journaling. The speed is fine, the disks are slow. But should the copy really freeze-up the system like that? From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 21:01:58 2008 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 E2D94106567D for ; Sun, 9 Nov 2008 21:01:58 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 7F5DC8FC0A for ; Sun, 9 Nov 2008 21:01:58 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 8636 invoked by uid 1000); 9 Nov 2008 21:02:20 -0000 Date: Sun, 9 Nov 2008 16:02:19 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081109210219.GB8576@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> <49174EAC.2070403@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49174EAC.2070403@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 21:01:59 -0000 Kris Kennaway(kris@FreeBSD.org)@2008.11.09 12:57:16 -0800: >> could be an issue with ntfs-3g driver > > Sounds like it to me. ntfs-3g uses FUSE, which is a userland filesystem > framework. By design it will have poor I/O performance since every I/O > transfer will require multiple trips into and out of the kernel. The FS performance isn't the issue, the poor interactive performance is. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 21:49:38 2008 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 92D551065670 for ; Sun, 9 Nov 2008 21:49:38 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) Received: from ppsw-7.csi.cam.ac.uk (ppsw-7.csi.cam.ac.uk [131.111.8.137]) by mx1.freebsd.org (Postfix) with ESMTP id 613898FC1A for ; Sun, 9 Nov 2008 21:49:38 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from quinn.cjkey.org.uk ([88.97.163.222]:18577 helo=[192.168.2.186]) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:465) with esmtpsa (PLAIN:cjk32) (TLSv1:DHE-RSA-AES256-SHA:256) id 1KzHuh-0003hh-Pc (Exim 4.70) for freebsd-questions@freebsd.org (return-path ); Sun, 09 Nov 2008 21:33:44 +0000 Message-ID: <49175736.7060800@cam.ac.uk> Date: Sun, 09 Nov 2008 21:33:42 +0000 From: Christopher Key User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Hashes in scp usernames (OpenSSH bug 472) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 21:49:38 -0000 Hello, I've come upon OpenSSH bug 472, whereby scp refuses usernames containing a '#' character, dieing with 'invalid user name'. Both rsync and ssh accept such usernames, and after looking at /usr/src/crypto/openssh/scp.c, it would appear that scp also allows such usernames for the source, but not the destination. I've several questions: 1) Is there any specific reason why scp behaves like this, and specifically why does it only attempt to validate the destination user name and not the source? 2) Assuming it is safe to drop the username validation, I can quite happily modify the code as appropriate. However, I'm not sure how to rebuild and update with minimum fuss. I really only need to rebuild scp and install the new binary, can I do this easily without a full make buildworld; make installworld? 3) Assuming that there's no additional reason not to remove the username validation, how should I go about submitting a change request to get this modification made in CURRENT, and MFCed as appropriate? Kind Regards, Chris Key From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 22:09:59 2008 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 039B31065677 for ; Sun, 9 Nov 2008 22:09:59 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC468FC0C for ; Sun, 9 Nov 2008 22:09:58 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so1643619ika.3 for ; Sun, 09 Nov 2008 14:09:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=O+P1qN0AXoDwmhbeXJ6CEcMujoef2pqFg77sA1CQtZg=; b=AAerdZZptJjtI11nGxMrLLfFo5diYdErkk+xFFs5PYZ+gqo39dSKysduUTzAzsiraf yGZXd+EBjOEDybC1xlPUxdxvM9WfiOMO2VE9Stb4+r0QzqnmDzRn8NHspCDHeK0M/YfL 6RNb41w2q9w8avEL9+XBDiiMyg0vmd/Z0M77U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=qheH3f0VTFBbgPExMHtP/1RzpRtxOkqOZERVewFaw+yZawTeyAKHx0oGck1uNjdUr3 OinhsNCHh68NwViLXkU65QzpLOrnWN6DHrRjuX8i29GeOHHwHBsP11ydyLm0gVULtBfM cMGPLYs0+9MArtOQsBJFEOrFDB557TRJ+p0Lc= Received: by 10.210.38.17 with SMTP id l17mr6920941ebl.163.1226268597241; Sun, 09 Nov 2008 14:09:57 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-67918.home.otenet.gr [87.203.146.156]) by mx.google.com with ESMTPS id 20sm9118231eyc.9.2008.11.09.14.09.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 09 Nov 2008 14:09:56 -0800 (PST) Message-ID: <49175FB2.3020307@gmail.com> Date: Mon, 10 Nov 2008 00:09:54 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Christopher Key References: <49175736.7060800@cam.ac.uk> In-Reply-To: <49175736.7060800@cam.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Hashes in scp usernames (OpenSSH bug 472) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 22:09:59 -0000 Christopher Key wrote: > Hello, > > I've come upon OpenSSH bug 472, whereby scp refuses usernames > containing a '#' character, dieing with 'invalid user name'. Both > rsync and ssh accept such usernames, and after looking at > /usr/src/crypto/openssh/scp.c, it would appear that scp also allows > such usernames for the source, but not the destination. > > I've several questions: > > 1) Is there any specific reason why scp behaves like this, and > specifically why does it only attempt to validate the destination user > name and not the source? > > 2) Assuming it is safe to drop the username validation, I can quite > happily modify the code as appropriate. However, I'm not sure how to > rebuild and update with minimum fuss. I really only need to rebuild > scp and install the new binary, can I do this easily without a full > make buildworld; make installworld? > > 3) Assuming that there's no additional reason not to remove the > username validation, how should I go about submitting a change request > to get this modification made in CURRENT, and MFCed as appropriate? > > Kind Regards, > > Chris Key > > I don't know whether any of this is a good idea (there might be a very good reason why it is programmed this way, generally stuff in 'secure' is rather sensitive), but to answer your second question, you would simply do: # cd /usr/src/secure/usr.bin/scp # make # make install Since OpenSSH comes from OpenBSD, it may be worth trying asking someone over there too. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 22:11:47 2008 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 D01C7106567B for ; Sun, 9 Nov 2008 22:11:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.chn.comcast.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A6A678FC19 for ; Sun, 9 Nov 2008 22:11:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <49176052.6070701@FreeBSD.org> Date: Sun, 09 Nov 2008 14:12:34 -0800 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> <49174EAC.2070403@FreeBSD.org> <20081109210219.GB8576@ourbrains.org> In-Reply-To: <20081109210219.GB8576@ourbrains.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 22:11:47 -0000 Dan wrote: > Kris Kennaway(kris@FreeBSD.org)@2008.11.09 12:57:16 -0800: >>> could be an issue with ntfs-3g driver >> Sounds like it to me. ntfs-3g uses FUSE, which is a userland filesystem >> framework. By design it will have poor I/O performance since every I/O >> transfer will require multiple trips into and out of the kernel. > > The FS performance isn't the issue, the poor interactive performance is. If you're thrashing your system with too many context switches or I/O load it is expected that performance will suffer. You should do some additional investigation with the standard monitoring tools (top, vmstat, gstat, etc) to determine what your system is doing. Kris From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 22:40:28 2008 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 18F5F1065677 for ; Sun, 9 Nov 2008 22:40:28 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id D6DEB8FC0A for ; Sun, 9 Nov 2008 22:40:27 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 7606D1923E; Sun, 9 Nov 2008 17:40:26 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sun, 9 Nov 2008 17:40:26 -0500 (EST) Date: Sun, 9 Nov 2008 14:40:04 -0800 From: Bruce Cran To: Kris Kennaway Message-ID: <20081109144004.3c13b099@tau.draftnet> In-Reply-To: <49176052.6070701@FreeBSD.org> References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> <49174EAC.2070403@FreeBSD.org> <20081109210219.GB8576@ourbrains.org> <49176052.6070701@FreeBSD.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 22:40:28 -0000 On Sun, 09 Nov 2008 14:12:34 -0800 Kris Kennaway wrote: > Dan wrote: > > Kris Kennaway(kris@FreeBSD.org)@2008.11.09 12:57:16 -0800: > >>> could be an issue with ntfs-3g driver > >> Sounds like it to me. ntfs-3g uses FUSE, which is a userland > >> filesystem framework. By design it will have poor I/O performance > >> since every I/O transfer will require multiple trips into and out > >> of the kernel. > > > > The FS performance isn't the issue, the poor interactive > > performance is. > > If you're thrashing your system with too many context switches or I/O > load it is expected that performance will suffer. You should do some > additional investigation with the standard monitoring tools (top, > vmstat, gstat, etc) to determine what your system is doing. It may be that FUSE is aggressively caching data and pushing your applications out of memory. This commonly happens on Linux and may be happening here too. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 23:34:56 2008 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 A7A29106568A for ; Sun, 9 Nov 2008 23:34:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.chn.comcast.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 720F28FC16; Sun, 9 Nov 2008 23:34:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <491773CF.7050806@FreeBSD.org> Date: Sun, 09 Nov 2008 15:35:43 -0800 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd@t41t.com References: <20081029095511.GA76242@ozzmosis.com> <20081029111033.GG7408@ece.pdx.edu> In-Reply-To: <20081029111033.GG7408@ece.pdx.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ports missing their packages. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 23:34:56 -0000 freebsd@t41t.com wrote: > andrew clarke said (on 2008/10/29): >> You need to understand that the FreeBSD project by its nature is >> primarily source-code driven. Making packages available (of any port) >> is of very low priority in comparison to the rest of the system >> (testing, documentation, etc). Demanding that the FreeBSD volunteers >> build a package just because you want to use it is a bit unfair, >> particularly when you can make one yourself without much trouble. > > I'm not sure I got all the emails in this thread... maybe some just > haven't arrived yet. > > Anyway... I, for one, depend on packages. It literally takes days to > build something like Firefox on my (admittedly old) computer. I'm > surprised that package creation is such a low priority. Are there so > few people running FreeBSD on old hardware? Just so you're clear, the original poster was completely wrong on how packages are built by the FreeBSD project. Others have already explained the process in this thread, but to repeat: the packages are built automatically and continuously by a dedicated set of machines, and they are uploaded to the FTP site frequently. Kris From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 01:18:36 2008 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 89A5E106567B for ; Mon, 10 Nov 2008 01:18:36 +0000 (UTC) (envelope-from dan@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id 2CC008FC1B for ; Mon, 10 Nov 2008 01:18:35 +0000 (UTC) (envelope-from dan@ourbrains.org) Received: (qmail 9659 invoked by uid 1000); 10 Nov 2008 01:18:57 -0000 Date: Sun, 9 Nov 2008 20:18:57 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081110011857.GA9644@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081109202149.GA7091@ourbrains.org> <991123400811091225t392bd3f3i531dbe348a13e5e4@mail.gmail.com> <20081109203241.GB8395@ourbrains.org> <28283d910811091235q70181b52nc4235aea61518cd@mail.gmail.com> <49174EAC.2070403@FreeBSD.org> <20081109210219.GB8576@ourbrains.org> <49176052.6070701@FreeBSD.org> <20081109144004.3c13b099@tau.draftnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109144004.3c13b099@tau.draftnet> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Sluggish scheduling during a long disk copy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 01:18:36 -0000 Bruce Cran(bruce@cran.org.uk)@2008.11.09 14:40:04 -0800: > It may be that FUSE is aggressively caching data and pushing your > applications out of memory. This commonly happens on Linux and may > be happening here too. > Fuse is good. Tried without fuse, using the native ntfs mount. Still the same issue :(. It takes forever to do anything on this pc while the constant disk io is taking place. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 01:34:55 2008 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 20EC9106564A for ; Mon, 10 Nov 2008 01:34:55 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id D530B8FC14 for ; Mon, 10 Nov 2008 01:34:54 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so823146ywe.13 for ; Sun, 09 Nov 2008 17:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2VyTI2WcmDB94nQ/eomWrL4EFklmdpRjE7nV09m5YrI=; b=PoO+lR2xZGSb8mort1LIpeGCT+altODc5XPs8pPT30tiad6wX2QHMRFwBjq/S4ZQoe p2oUrpZiAvSjbC56lbibZKqu7V9sHj4spSehMy9RK4KPXtb5iyp3GeJzSaJAhaUTvntg PqTKMOi+wTtI55xu9h69ZaMHlK8PIBE1HdtBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=m1TUb1EYa2B/FHUT9xCHkhRzScZ+TdzWhLVrjCApA3WrfddbK96OeXDvbQ2gabdikz zBeVHfqk7Trko7vzRrLOczyu+cQAiGRZZ1Mp1kakFRI0u4l3MZA8K0BXWlAmgD+Fcefv +B3fe/Uzafk1ME5sLrGwluTEddkv8TpD3rAWc= Received: by 10.151.143.14 with SMTP id v14mr8795586ybn.245.1226280893777; Sun, 09 Nov 2008 17:34:53 -0800 (PST) Received: by 10.150.135.11 with HTTP; Sun, 9 Nov 2008 17:34:53 -0800 (PST) Message-ID: <25ff90d60811091734u67775807ma67b6c1de0c59b9e@mail.gmail.com> Date: Sun, 9 Nov 2008 20:34:53 -0500 From: "David Horn" To: mdh_lists@yahoo.com In-Reply-To: <218769.90655.qm@web56802.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25ff90d60811081710u6850be25jdc6d45631ee82af4@mail.gmail.com> <218769.90655.qm@web56802.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 01:34:55 -0000 On Sun, Nov 9, 2008 at 3:13 AM, mdh wrote: > --- On Sat, 11/8/08, David Horn wrote: >> From: David Horn >> Subject: Re: host -6 failure >> To: mdh_lists@yahoo.com >> Cc: freebsd-questions@freebsd.org >> Date: Saturday, November 8, 2008, 8:10 PM >> On Sat, Nov 8, 2008 at 7:55 PM, mdh >> wrote: >> > --- On Sat, 11/8/08, David Horn >> wrote: >> >> From: David Horn >> >> Subject: Re: host -6 failure >> >> To: mdh_lists@yahoo.com >> >> Cc: freebsd-questions@freebsd.org >> >> Date: Saturday, November 8, 2008, 7:25 PM >> >> On Fri, Nov 7, 2008 at 2:18 PM, mdh >> >> wrote: >> >> > Howdy folks, >> >> > I'm having a little trouble understanding >> a >> >> problem that the `host` command in RELENG_7_0 >> (very recent) >> >> is having. >> >> The '-6' on the command line for host(1) >> forces an >> >> IPv6 only >> >> connection to your nameserver, not necessarily a >> >> "AAAA" query for the >> >> hostname in question. In this case, your >> nameservers >> >> listed in the >> >> warnings are IPv4 nameservers that host(1) is >> attempting to >> >> connect to >> >> using an ipv4 mapped ipv6 address (which by >> default is >> >> disabled in the >> >> kernel) In other words, don't use host -6 for >> this >> >> scenario. >> > >> > Yet as I pointed out, the second nameserver in my >> resolv.conf is ::1 - so shouldn't it work with that? >> It's clearly trying to contact the first and third >> nameservers listed. If the behavior I'm experiencing is >> the proper behavior, then let me pose this question: when >> would anyone conceivably want to use the -6 option, and why >> does it exist? My intent was to force a query to hit the >> nameserver on ::1 rather than 127.0.0.1. >> >> > >> >> > domain mydomain >> >> > search mydomain >> >> > nameserver 127.0.0.1 >> >> > nameserver ::1 >> >> > nameserver IP.IP.IP.8 >> >> > >> >> > The DNS server running on localhost is >> authoritative >> >> for mydomain. I can ping it via localhost using >> both v4 and >> >> v6, and I can also ping the external v4 and v6 >> addresses >> >> just fine remotely. >> >> > >> >> > As I said, I'm new to IPv6, but this >> behavior >> >> seems to be counterintuitive. Am I just doing it >> wrong? >> >> > >> >> >> >> For diagnosing your own nameservers, you are >> better off >> >> using the >> >> dig(1) utility. >> >> >> >> Example: >> >> >> >> dig ipv6.google.com AAAA @::1 >> >> >> >> This causes a dns query for an IPv6 address (aka >> >> "AAAA" query) for the >> >> hostname of "ipv6.google.com" using the >> >> nameserver on the IPv6 >> >> localhost loopback address (::1), and will give a >> very nice >> >> verbose >> >> output. man dig for more details. >> > >> > That is more useful, but still doesn't stifle my >> desire to stomp a potential bug in the base system. >> >> Right after sending, I realized that I did not tell you all >> of the answer.... >> >> host(1) will successfully query ::1 when named is setup to >> listen on >> ::1 in named.conf, and ::1 is listed in /etc/resolv.conf (I >> just ran a >> test on my box to be sure that it works this way with the >> -6 switch) >> >> Example line from /etc/namedb/named.conf: >> >> listen-on-v6 { ::1; any; }; >> >> And of course you need to restart named after the config >> change( >> /etc/rc.d/named restart) >> >> To make sure that it is listening on the IPv6 loopback >> address: >> >> netstat -anW -f inet6 >> >> I do not remember the minimum version of bind (aka named) >> required for >> IPv6 off the top of my head, but I am running 9.4.2-P2 on >> my IPv6 >> machine. > > All of the conditions for success are true, however it fails. My DNS server software is responsing on ::1 port 53 (tcp and udp), and ::1 is the second nameserver listed in resolv.conf. Still, host -6 fails as previously stated... According to what you've said so far, this leads me to believe that it ought to work as expected, and not error out in the way I'm seeing. > > Am I missing something here? Is my lack of general IPv6 knowledge causing me to blindly assume something incorrectly? If all of the conditions for success were true, you would *not* be having a problem. You are likely missing something simple. I suggest that you read about about general IPv6 network troubleshooting, and bind. The handbook has some good information here: http://www.freebsd.org/doc/en/books/handbook/network-dns.html http://www.freebsd.org/doc/en/books/handbook/network-ipv6.html http://www.freebsd.org/doc/en/books/developers-handbook/ipv6.html You have yet to provide any new diagnostic output. What was the result of: netstat -anW -f inet6 dig ipv6.google.com AAAA @::1 named -version Do not get hung up on the output of host(1) without trying to diagnose the root problem (your nameserver working properly on ipv6). Once you fix the root problem, the other problems will go away. If in doubt, run a tcpdump or wireshark trace, and make sure that your firewall is not getting in the way. -_Dave > > Thanks, Matt > > > > > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 04:24:44 2008 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 B62D81065676 for ; Mon, 10 Nov 2008 04:24:44 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57002.mail.re3.yahoo.com (web57002.mail.re3.yahoo.com [66.196.97.106]) by mx1.freebsd.org (Postfix) with SMTP id 4D37F8FC12 for ; Mon, 10 Nov 2008 04:24:43 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 76008 invoked by uid 60001); 10 Nov 2008 04:24:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ojJjMHH+47ZdtkPjdcofWGNYGZhP26ZvQAn68jgu5AaFv2dPfIzM9P50Yi/otwFN3S15rT7QgCiADfQVUZzc3H9TNxb+KNL5SWN1WJ8rEsBuraeduP319uVcUatyqysJ/zva2HI7cAXzykgpip/nw+eUmyBH+GkX2UFz+hYr4Yc=; X-YMail-OSG: 2Navg3wVM1n3BN6kDR5boxMnvyIxYs7tNUgAkSNr8bY_dbF1zKQEv.3M9HldPs6hzgaOU3hAu07gHc7xoio0ZRbIbZbgOGp0tE2A1._h_OuICT04zalm.f5nAfYOOpkkkwY5jbSt4CZrTeQ3b92oxi1FLzs- Received: from [220.255.7.134] by web57002.mail.re3.yahoo.com via HTTP; Sun, 09 Nov 2008 20:24:43 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Sun, 9 Nov 2008 20:24:43 -0800 (PST) From: Unga To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86hc6g21mn.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <517905.75997.qm@web57002.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: No pam_module.so found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 04:24:44 -0000 --- On Mon, 11/10/08, Dag-Erling Sm=F8rgrav wrote: > From: Dag-Erling Sm=F8rgrav > Subject: Re: No pam_module.so found > To: unga888@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Monday, November 10, 2008, 2:30 AM > Unga writes: > > All my pam modules reside in /usr/lib/ and the version > number of pam > > modules match the version number of the libpam > > (/usr/lib/libpam.so.2). Eg. pam_self.so.2 and > pam_rootok.so.2 are > > available in /usr/lib/. >=20 > In 7.0, this should be 4, not 2. >=20 Thank you. Appreciate your reply. Unga=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 06:50:34 2008 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 7EC701065674 for ; Mon, 10 Nov 2008 06:50:34 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: from smtp.ade.people.net.au (smtp.ade.people.net.au [218.214.228.98]) by mx1.freebsd.org (Postfix) with SMTP id BC0AB8FC20 for ; Mon, 10 Nov 2008 06:50:33 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: (qmail 11469 invoked from network); 10 Nov 2008 06:50:30 -0000 Received: from unknown (HELO bigblack) (218.214.176.70) by smtp.ade.people.net.au with SMTP; 10 Nov 2008 06:50:30 -0000 From: Ian To: Matthew Seaman Date: Mon, 10 Nov 2008 17:19:49 +1030 User-Agent: KMail/1.9.9 References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <4916D492.5040406@infracaninophile.co.uk> In-Reply-To: <4916D492.5040406@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1454134.eXmqOjE60R"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200811101719.56495.no-spam@people.net.au> Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 06:50:34 -0000 --nextPart1454134.eXmqOjE60R Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 9 Nov 2008 22:46:18 Matthew Seaman wrote: > Jeremy Chadwick wrote: > > I don't want to change the topic of discussion, but I *highly* recommend > > you ***stop*** whatever it is you're doing that is creating such a > > directory structure. Software which has to iterate through that > > directory using opendir() and readdir() will get slower and slower as > > time goes on. > > With the implementation of UFS_DIRHASH the practical limit on the > size of directories is now a great deal larger. In particular > the slow down caused by linear search through the contents has been > eliminated. See ffs(7). 10,000 files or sub-directories, whist > not a particularly elegant setup, is actually not unworkable > nowadays. Well that's certainly been my experience so far. Still, I now know we will = run=20 into problems when we hit the 32,768 limit, so I'll start designing somethi= ng=20 better. Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1454134.eXmqOjE60R Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkX2ZQACgkQPUlnmbKkJ6DoXgCfW1Wsj7a1bpjAqLAZlrhyRjyB /pEAoIx/xe8LNh1pj1SKUg6ukVMOU6zI =Q4kt -----END PGP SIGNATURE----- --nextPart1454134.eXmqOjE60R-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 06:53:46 2008 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 8D961106567F for ; Mon, 10 Nov 2008 06:53:46 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id B9ECC8FC1C for ; Mon, 10 Nov 2008 06:53:44 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id mAA6hL1W029118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Nov 2008 08:43:22 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2008 08:59:45 +0200 User-Agent: KMail/1.9.7 References: <4B1A9F30-B8BC-4C48-A85F-3697C6AB3B7B@todoo.biz> <87skq1yizg.fsf@kobe.laptop> In-Reply-To: <87skq1yizg.fsf@kobe.laptop> 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-Spam-Score: -4.399 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: scripting text replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 06:53:46 -0000 On Sunday 09 November 2008 00:02:11 Giorgos Keramidas wrote: > On Sat, 8 Nov 2008 19:43:52 +0100, bsd wrote: > > > I have a file containing a list of items like that: > > > > line1item1 line1item2 line1item3 > > line2item1 line2item2 line2item3 > > …400 times > > > > I need to insert this into another text file using printf() items should > > be converted into variable looping… like that: > > > > printf "Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2" > A little more detail about the "Bla bla" part may be important in our > effort to help you effectively. What you seem to describe above may be > trivial to do with awk(1): More detail definitely needed. When you say insert into another text file, do you mean you want to create an output file in which each line is identical bar the four parameters from the first file (in other words your bla bla bla is the same for every input line) (in which case a simple awk '{printf}' will meet the need), or are you actually doing a merge of two files where bla bla bla represents the text from the next line of the other input file and changes from line to line? Jonathan From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 08:52:31 2008 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 53F93106564A for ; Mon, 10 Nov 2008 08:52:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8318FC1E for ; Mon, 10 Nov 2008 08:52:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mAA8qHJL093655; Mon, 10 Nov 2008 09:52:17 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mAA8qEDC093652; Mon, 10 Nov 2008 09:52:16 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 10 Nov 2008 09:52:14 +0100 (CET) From: Wojciech Puchar To: Foo JH In-Reply-To: <49179909.7090905@extracktor.com> Message-ID: <20081110095141.D93645@wojtek.tensor.gdynia.pl> References: <49131701.9020208@extracktor.com> <20081106220151.N28070@wojtek.tensor.gdynia.pl> <49149984.8050108@telia.com> <20081107210038.X36895@wojtek.tensor.gdynia.pl> <49179909.7090905@extracktor.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: raggen@raggens.net, freebsd-questions@freebsd.org Subject: Re: what is your programming language on 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: Mon, 10 Nov 2008 08:52:31 -0000 > I think it's more because: > a. Java is the only strictly-typed language that runs on any platform > (though it's not the only one) C runs on any platform. and was for a long. for interpretitive languages - anything made before was better than java. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 09:19:33 2008 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 A13581065672 for ; Mon, 10 Nov 2008 09:19:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 75F778FC31 for ; Mon, 10 Nov 2008 09:19:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KzSvk-0003EV-Mj for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 01:19:32 -0800 Message-ID: <20416687.post@talk.nabble.com> Date: Mon, 10 Nov 2008 01:19:32 -0800 (PST) From: w_anup To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anupwattamwar@gmail.com Subject: how to create tbz package 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: Mon, 10 Nov 2008 09:19:33 -0000 hello All, i am newbie to freebsd , i want to create customize tbz package for free bsd , can anybody provide the procedure to create packages in free bsd, or any tutor will be helpful. -- View this message in context: http://www.nabble.com/how-to-create-tbz-package-in-freebsd-tp20416687p20416687.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 09:31:18 2008 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 730131065673 for ; Mon, 10 Nov 2008 09:31:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id DDC448FC27 for ; Mon, 10 Nov 2008 09:31:17 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl202-73.kln.forthnet.gr [79.103.15.73]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mAA9V9Mp005305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Nov 2008 11:31:15 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mAA9V9GF002806; Mon, 10 Nov 2008 11:31:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mAA9V8K9002805; Mon, 10 Nov 2008 11:31:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: w_anup References: <20416687.post@talk.nabble.com> Date: Mon, 10 Nov 2008 11:31:08 +0200 In-Reply-To: <20416687.post@talk.nabble.com> (w. anup's message of "Mon, 10 Nov 2008 01:19:32 -0800 (PST)") Message-ID: <874p2gapwj.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mAA9V9Mp005305 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: how to create tbz package 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: Mon, 10 Nov 2008 09:31:18 -0000 On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup wrote: > hello All, > > i am newbie to freebsd , i want to create customize tbz package for > free bsd , can anybody provide the procedure to create packages in > free bsd, or any tutor will be helpful. The ``FreeBSD Ports'' framework provides a lot of helpful parts that you can re-use to build custom packages. There is a lot of useful material in the ``FreeBSD Porter's Handbook''. You can read its latest version online at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Parts of the Porter's Handbook explain how you can create a new port of your own. After you have the new port and its dependencies integrated into the Ports system, you can create standard ``.tbz'' packages with a single command from the port's base directory: % cd /usr/ports/local/yourport % make package That's all. If all the parts for fetching the sources, configuring them, and building them are already there, the Ports will do the rest. HTH, Giorgos From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 09:41:40 2008 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 775C41065670 for ; Mon, 10 Nov 2008 09:41:40 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 225A08FC0C for ; Mon, 10 Nov 2008 09:41:40 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id mAA9fb95036210; Mon, 10 Nov 2008 01:41:39 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "John Almberg" Date: Mon, 10 Nov 2008 01:43:18 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 In-Reply-To: <542F28AE-3461-4530-B6AC-07FCEEEE6716@identry.com> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 10 Nov 2008 01:41:39 -0800 (PST) Cc: freebsd-questions@freebsd.org Subject: RE: Question on creating a video server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 09:41:40 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of John Almberg > Sent: Saturday, November 08, 2008 3:38 PM > To: Ted Mittelstaedt > Cc: freebsd-questions@freebsd.org > Subject: Re: Question on creating a video server > > > > On Nov 8, 2008, at 1:40 PM, Ted Mittelstaedt wrote: > > > Hi All, > > > > OK, I'm just asking for opinions here on some application > > software. > > > > Like most people we have a nice big 21" TV set that will be > > obsolete in Feb. I have been thinking about replacing this with a > > big screen TV set but the prices on them are still way, way > > way out of my budget (I just can't see spending $500 for > > a TV set, sorry!!!!) > > > > Why not just get a digital converter and keep using your nice TV? I had considered that. Currently my 21" TV has an RF input only, no composite, no S-video. I'm feeding it from a VCR that does have composite input/RA jacks, but no S-video. I have a DVD player feeding the VCR with composite output/RCA. I have a Toshiba laptop that has a composite output & DVD player. I have used this to watch DVD's and also AVI files. The quality is noticably worse than watching them on the laptop LCD screen. Of course, sitting 8-9 feet away from the TV set that is hard to notice. I had originally thought in building the video server to just feed the VCR with composite output from a video card - in fact, I have a vga card in the video PC that has composite output. Then, buying one of the really cheap HDTV converters and feeding the composite output of that to the VCR - or maybe picking up a composite-input video switchbox. But then I started thinking about how ugly such a solution would be. Worse, the DVD player itself is getting old - it's an Apex - and I've had 2 other Apexes and both have failed due to old age, now. Also the VCR is getting old too. That is why I was thinking maybe just go with a cheap VGA monitor instead of a TV set, use a HDTV usb tuner, and get rid of the DVD player and the VCR. Really, the idea is that this isn't a permanent solution. Ultimately I am planning on going to a LCD tv set. This is just to tide me over for maybe a year. About the only thing that we actually watch on broadcast anymore is the Late Show with Jay Leno. And even that is very trying. The simple fact is that if there was a TV show that I'd like to watch, I'm no longer willing to sacrifice my time to commercials. For example, take Sara Conner Chronicles. We loved all the Terminator movies and I'd love to watch that TV show. But, we are going to wait until the entire TV show is finished, (most shows don't last more than 8-9 seasons) then we are going to wait until they release the entire run of shows in one large boxed DVD set. Then I'll watch it. Consider for example Babylon 5. We bought all 5 seasons of that in one fell swoop - $250 for the set I think it was. There's 110 episodes there. Each one when aired was an hour - with 20 minutes of commercials. That's 36 -hours- of commercials for the entire season and we aren't talking the movies. Well, I don't know about anyone else, but my time is worth a lot more than $6.94 an hour. ($250 / 36 hours) Now it is true we watched Bab-5 when it aired. But, that was a decade ago, we didn't have the option of paying to opt-out of commercials. And we also missed a few episodes anyway. Watching them nowadays, without the commercial interruptions, it's the way TV should be. Far more enjoyable way to spend some time. We are doing this with Star Trek Enterprise. Both my wife and I are ST fans and we tried watching Enterprise the first season. But we just couldn't do it. Having to deal with setting the timer on the VCR (since the air times were never convenient) was a pain to have to remember - as you know shows will go to repeats without warning in the middle of a season. And then watching the show and having to fast-forward through the commercials was an even greater pain - you just start getting into the story and it breaks for commercial. Well, neither my wife and I suffer from Attention Deficit Disorder where we need that commercial break to reboot our brains. It really ruined the stories. So we gave up and just waited. Eventually, as all things in life do, Enterprise ended. This Christmas we will get the boxed set and start watching it from the beginning. Also, more and more of the shows these days are on the web. If there's a show we want to watch, why would we want to watch it on network TV and suffer through all the commercials when we can just stream it off the same network's website -without- commercials? Take Saturday Night Live, well that's not a show I'd really want to bother archiving - it's really not classic TV - but it is sometimes fun to kill an hour watching it. The web is great for that. And once more, the 1 or 2 national commercials you might have to deal with watching the show over the Internet are far better than the local network affiliate which inserts a lot of really crappy commercials from local car dealers and whatnot. Anyway, I am a supporter of over-the-air broadcast TV, it was a great invention. I was born in '66 so I grew up pre-VCR and I remember how it was. I remember how everyone would plan their lives around the special TV shows, and how everyone the next day would be talking about a particular show. Remember Roots? I think a good case could be made that Barak Obama would not have existed as a politician if it hadn't been for Roots. Remember Shogun? Remember Centennial in '78 & '79? Unless you lived through those days you don't understand the effect on American culture that broadcast TV had. But, videotape changed everything. And today, I feel that the television networks really have nothing to offer beyond immediate things such as news, or sporting events, or election returns, or something like that. Ted From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 10:01:50 2008 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 303B1106564A for ; Mon, 10 Nov 2008 10:01:50 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from ghirai.com (ghirai.com [195.74.52.87]) by mx1.freebsd.org (Postfix) with ESMTP id E7DE58FC1C for ; Mon, 10 Nov 2008 10:01:49 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from deimos.bsd.nix (unknown [89.123.28.226]) by ghirai.com (Postfix) with ESMTPSA id 3A23D16FFD for ; Sat, 8 Nov 2008 18:06:51 +0000 (GMT) Date: Sat, 8 Nov 2008 20:06:50 +0200 From: Ghirai To: freebsd-questions@freebsd.org Message-Id: <20081108200650.6b472d7b.ghirai@ghirai.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: trouble building postgresql-client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 10:01:50 -0000 Hello list, I haven't been able to upgrade PostgreSQL from 8.3.3 to 8.3.5. I'm running 7.0-RELEASE-p5, amd64. # pkg_version -vL = postgresql-client-8.3.3 < needs updating (port has 8.3.5) postgresql-server-8.3.3 < needs updating (port has 8.3.5) # After that i used portupgrade -a. Output is below. ... cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -shared -Wl,-x,-soname,libpq.so.5 fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../src/port -L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -pthread -Wl,-R'/usr/local/lib' -o libpq.so.5 /usr/bin/ld: /usr/lib/libpthread.a (thr_syscalls.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/lib/libpthread.a: could not read symbols: Bad value gmake[1]: *** [libpq.so.5] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/databases/postgresql83-client. *** Error code 1 Stop in /usr/ports/databases/postgresql83-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.62208.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=postgresql-client-8.3.3 UPGRADE_PORT_VER=8.3.3 make ** Fix the problem and try again. ---> Skipping 'databases/postgresql83-server' (postgresql-server-8.3.3) because a requisite package 'postgresql-client-8.3.3' (databases/postgresql83-client) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/postgresql83-client (postgresql-client-8.3.3) (unknown build error) * databases/postgresql83-server (postgresql-server-8.3.3) However, on a roughly similar machine, the process went fine. Any ideas? -- Regards, Ghirai. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 11:08:16 2008 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 355C610656BA for ; Mon, 10 Nov 2008 11:08:16 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id A6AC38FC3E for ; Mon, 10 Nov 2008 11:08:15 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id mAAB85O6018212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 10 Nov 2008 12:08:13 +0100 Date: Mon, 10 Nov 2008 12:08:05 +0100 From: Albert Shih To: freebsd-questions@freebsd.org Message-ID: <20081110110805.GK1302@obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Mon, 10 Nov 2008 12:08:13 +0100 (CET) X-Virus-Scanned: ClamAV 0.94/8596/Mon Nov 10 06:27:14 2008 on blade2-ext.obspm.fr X-Virus-Status: Clean Subject: PATH problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 11:08:16 -0000 Hi all I've PATH problem with a perl package (I don't knwon anything about perl....). I run rt (3.8) under apache22 + mod_perl2 and on some p5 librairie I've got message like Command 'dot' not found in /bin, /usr/bin at /usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm and yes «dot» is not in /bin or /usr/bin but it's in /usr/local/bin So...how can I tell .... who ?(maybe www) to try to find «dot» in /usr/local/bin Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 10 nov 2008 12:05:08 CET From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 11:43:39 2008 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 1FF381065677 for ; Mon, 10 Nov 2008 11:43:39 +0000 (UTC) (envelope-from marii.vasile@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id E468C8FC1C for ; Mon, 10 Nov 2008 11:43:38 +0000 (UTC) (envelope-from marii.vasile@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2417115wfc.6 for ; Mon, 10 Nov 2008 03:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=YJ1KnTNGk/NVcqg5gctCV2uDTq/kf+sT+uEsV5ieEmk=; b=Bh+0FzNgxt/fiHo40zTr9/uPuxb1XNKO8cM+gZGKNeUB3s6eQO0Vmd90jXZft0ajM0 NEfOzP8o8XaSZ6BU3CXHaTMRrAodI3jBhsiz6Whl1F7mdvjsD7sRvJJJ2zhqWoTwY5mW QExkd8PIy/YnnZKC9nh6PsMrHzNOvbfHdxXe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=C3Hk8ly2otrxWaxiwb+bVm9d2IAHQr/k0IQMm/Mk7mvwcAP6HbUqnCEHrR2U84D+0y tPZQj//xNuaCBemU9wyAWqX5WNGNXWxu+tJq0dxmOpd+kmoFcMOo6UTKceygwFBF0gMW tQfMbAZ0rssb3qm3SeKSPSZGBl8ApqgIwL52s= Received: by 10.142.144.16 with SMTP id r16mr2334348wfd.77.1226315736756; Mon, 10 Nov 2008 03:15:36 -0800 (PST) Received: by 10.143.168.20 with HTTP; Mon, 10 Nov 2008 03:15:36 -0800 (PST) Message-ID: Date: Mon, 10 Nov 2008 13:15:36 +0200 From: "Vasile Marii" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: crypto API question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 11:43:39 -0000 Hello! I'm developing a driver for a crypto-accelerating device and i have some problem when trying to make AES & HMAC256 at once on the comming pachet because as i see there is no such posibility(meaning AES-CBC & HMAC from one operation). Anywy i found domwhere that such operation are possible. Could you please say where i ca find mor info about this? Thanks in advance! -- Vasile Marii From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 03:59:24 2008 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 D2BE7106568F for ; Mon, 10 Nov 2008 03:59:24 +0000 (UTC) (envelope-from rumuru@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 925178FC14 for ; Mon, 10 Nov 2008 03:59:24 +0000 (UTC) (envelope-from rumuru@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1409578qwb.7 for ; Sun, 09 Nov 2008 19:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=nsYU549I2Ajjf9rNiHRksifeQFySfX0kuZ96xHfp98w=; b=DaYxfYiEg99hydvGYjXxGO13N4vEIVkRP0Fr1soXh+SPEKB5MOeAQ6mJ7GBJBR3jo4 KeG/Fe2G1AYUbuaOLn+k1Vy4tpfgpkdTerU3RdJtnhv/8xbo/WN5YJB6UrW/mABTSifM kkcNpr0XSn6XaI5kjWn5JK1rT0uPKJQEFkLg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qaqkXAKDeCWTSyr3PfTCj7m/2SbsxL/wiPnG2zGVEFFCHrOsBBoFU0ZYk0+lT+cJVY K2i9azzdPepAK/apIh646eeZYWnOgnOgeCveSiZl/zgBXuj/JAVOR3iuQVNVi8WTAztH F3pNzSxntsuiC6mH1G/+a1urLzjfTFwE9eAJg= Received: by 10.215.39.5 with SMTP id r5mr6029091qaj.149.1226287891867; Sun, 09 Nov 2008 19:31:31 -0800 (PST) Received: by 10.215.41.10 with HTTP; Sun, 9 Nov 2008 19:31:31 -0800 (PST) Message-ID: Date: Sun, 9 Nov 2008 22:31:31 -0500 From: "Mungyung Ryu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 10 Nov 2008 12:15:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: eclipse-cdt debugging doesn't work on FreeBSD 7.0 amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 03:59:24 -0000 Hello BSD guys, My system information is like this. - FreeBSD 7.0-RELEASE amd64 - gcc 4.2.1 - gdb 6.1.1 - eclipse-cdt-3.1.2_1 I used ports tree to compile and install eclipse-cdt-3.1.2_1. Running eclipse and compiling my C++ project are fine. But, when I try to debug, an error dialog box pops up and says 'Target selection failed'. The verbose console mode of the debugger option prints below. 46-gdb-set confirm off 46^done (gdb) 47-gdb-set width 0 47^done (gdb) 48-gdb-set height 0 48^done (gdb) 49-interpreter-exec console echo 49^done (gdb) 50-gdb-show prompt 50^done,value="(gdb) " (gdb) 51-gdb-set auto-solib-add on 51^done (gdb) 52-gdb-set stop-on-solib-events 0 52^done (gdb) 53-gdb-set stop-on-solib-events 1 53^done (gdb) 54-gdb-set remotebaud 115200 54^done (gdb) 55-target-select remote /dev/ttyS0 &"/dev/ttyS0: No such file or directory.\n" /dev/ttyS0: No such file or directory. 55^error,msg="/dev/ttyS0: No such file or directory." (gdb) 56-gdb-exit 56^exit The default debugger option of the eclipse is below. Debugger: gdbserver Debugger GDB debugger: gdb GDB command file: .gdbinit GDB command set: Standard Protocol: mi Connection Type: Serial Device: /dev/ttyS0 Speed: 115200 As the error message says, there is no file or directory at /dev/ttyS0 in my system. I've also tried another debugger connection option like below. Connection Type: TCP Host name or IP address: localhost Port number: 10000 It prints message like this. 68-gdb-set confirm off 68^done (gdb) 69-gdb-set width 0 69^done (gdb) 70-gdb-set height 0 70^done (gdb) 71-interpreter-exec console echo 71^done (gdb) 72-gdb-show prompt 72^done,value="(gdb) " (gdb) 73-gdb-set auto-solib-add on 73^done (gdb) 74-gdb-set stop-on-solib-events 0 74^done (gdb) 75-gdb-set stop-on-solib-events 1 75^done (gdb) 76-target-select remote localhost:10000 &"localhost:10000: Connection refused.\n" localhost:10000: Connection refused. 76^error,msg="localhost:10000: Connection refused." (gdb) 77-gdb-exit 77^exit I'm using PF for a firewall and opened TCP connection for port 10000 and I even disabled PF, but it has same error. There is anybody who've had and solved this kind of problem of eclipse? I'll really appreciate your solution. Going back to the command line gdb is quite miserable. I really wanna use eclipse for C++ debugging. Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 12:18:34 2008 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 3016E106567B for ; Mon, 10 Nov 2008 12:18:34 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id D24378FC1C for ; Mon, 10 Nov 2008 12:18:33 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so289108ana.13 for ; Mon, 10 Nov 2008 04:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=sIq8aAPgDKcw4TYLtkOOlq7A1KKeXGEt3szjuCXA+cI=; b=ab+mbtiX3mDQ9xlnQVH67/wOs5FRtNrN27tM/HKsVYwt7GetkRR1WZ443GU16jQWrx DBZJ9P6Yux/cmT2xEHm6SdpSZ3Nw0N+M3YpT0JzD8ZYInEp0KA5W2swqpcL+aa0DWC99 2K1ceaO5llvvVCAcJ63dbf51vnp4naENl44PM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=ba8/wAGz2twSw6wCsZzYnZA5zx67JaHM6vwTJAGk1ClJNiDgm3y6cVjMuuAi9zp8AK Fjh1bBdWRSE+e/kVXEpewAZc8ONdl+ElNoCXrjNVsKcwMGxkTCzY7dIkrPdlxfQNAim8 1o359S2YFqbOtPBRQWNgVqX6g/kj7RqfnxsC8= Received: by 10.65.73.16 with SMTP id a16mr6689157qbl.89.1226319512773; Mon, 10 Nov 2008 04:18:32 -0800 (PST) Received: from ansarmm2 (206-248-188-124.dsl.teksavvy.com [206.248.188.124]) by mx.google.com with ESMTPS id p30sm11566597qbp.14.2008.11.10.04.18.31 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Nov 2008 04:18:31 -0800 (PST) From: "Ansar Mohammed" To: Date: Mon, 10 Nov 2008 07:18:30 -0500 Message-ID: <0edc01c9432e$720b9c90$5622d5b0$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclDLnBIWRWDpwqrQKCY7APoVER/Ow== Content-Language: en-ca Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kerberos keytab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:18:34 -0000 Does anyone know what is the actual purpose of the Kerberos krb5.keytab file? I have a freebsd 7 configured to authenticate users via Kerberos (both apache and ssh). Although the authentication between apache and browser is still basic and between the ssh client and server is still keyboard interactive. FreeBSD validates the account in the background using Kerberos to AD. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 12:37:52 2008 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 C20F41065670 for ; Mon, 10 Nov 2008 12:37:52 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 670798FC1F for ; Mon, 10 Nov 2008 12:37:52 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA06.westchester.pa.mail.comcast.net with comcast id dPup1a0040xGWP856Qd9B1; Mon, 10 Nov 2008 12:37:09 +0000 Received: from [10.0.1.200] ([76.122.47.225]) by OMTA12.westchester.pa.mail.comcast.net with comcast id dQdr1a00N4rWgJL3YQdriL; Mon, 10 Nov 2008 12:37:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=fCFpeZYdyr4_xjegtGAA:9 a=jkN9ZkgvbU3eeja_tDEA:7 a=AcUzl3j3Zzkr_vhGj_d9z2FxZQIA:4 a=AOyaYllYYJ4A:10 a=SV7veod9ZcQA:10 a=2uiCRmbCp6AA:10 Message-Id: <2ED0375C-4259-4E86-AD98-2AF49C963ADE@comcast.net> From: Tom Marchand To: freebsd-questions@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 10 Nov 2008 07:37:51 -0500 References: X-Mailer: Apple Mail (2.929.2) Subject: Re: crypto API question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:37:52 -0000 Have you tried openssl.org? On Nov 10, 2008, at 6:15 AM, Vasile Marii wrote: > Hello! > I'm developing a driver for a crypto-accelerating device and i have > some problem when trying to make AES & HMAC256 at once on the comming > pachet because as i see there is no such posibility(meaning AES-CBC & > HMAC from one operation). Anywy i found domwhere that such operation > are possible. Could you please say where i ca find mor info about > this? > Thanks in advance! > > -- > Vasile Marii > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 12:43:30 2008 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 5E1171065674 for ; Mon, 10 Nov 2008 12:43:30 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 42F078FC26 for ; Mon, 10 Nov 2008 12:43:28 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 22056 invoked from network); 10 Nov 2008 12:43:26 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.187.12) by smtp.mel.people.net.au with SMTP; 10 Nov 2008 12:43:26 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id D7321187F1; Mon, 10 Nov 2008 23:43:24 +1100 (EST) Date: Mon, 10 Nov 2008 23:43:24 +1100 From: andrew clarke To: freebsd-questions@freebsd.org Message-ID: <20081110124324.GA68575@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: "Invalid address" running apps using wine-1.1.8,1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:43:30 -0000 Hi, I'm getting an "Invalid address" error trying to run Windows apps under WINE. "wineconsole cmd" works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winamp>winamp.exe wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ pkg_info | grep wine wine-1.1.8,1 Microsoft Windows compatibility layer for Unix-like systems Any ideas? Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 12:45:57 2008 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 950621065674 for ; Mon, 10 Nov 2008 12:45:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 47ECA8FC22 for ; Mon, 10 Nov 2008 12:45:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KzW9Q-0004pp-Q6 for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 12:45:52 +0000 Received: from 58.85-200-255.bkkb.no ([85.200.255.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 12:45:52 +0000 Received: from solskogen by 58.85-200-255.bkkb.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 12:45:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christer Solskogen Date: Mon, 10 Nov 2008 13:45:44 +0100 Lines: 22 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: 58.85-200-255.bkkb.no User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) Sender: news Subject: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:45:57 -0000 I have a server with a em interface. Whenever the server has a high load (compiling world for instance) the network connectivity is lost. dmesg tells me this: em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP em0: link state changed to DOWN em0: link state changed to UP Do anyone have a tips for how to workaround this or is the server just junk? The server is running FreeBSD 7.0 (i386) with latest patches from freebsd-update. -- chs From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 12:52:50 2008 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 8D71B1065670 for ; Mon, 10 Nov 2008 12:52:50 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7B08FC20 for ; Mon, 10 Nov 2008 12:52:49 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [192.168.0.185]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 0A8A84093 for ; Mon, 10 Nov 2008 22:53:12 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <0edc01c9432e$720b9c90$5622d5b0$@com> References: <0edc01c9432e$720b9c90$5622d5b0$@com> Content-Type: text/plain Date: Mon, 10 Nov 2008 22:53:41 +1000 Message-Id: <1226321621.1220.74.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit Subject: Re: Kerberos keytab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 12:52:50 -0000 On Mon, 2008-11-10 at 07:18 -0500, Ansar Mohammed wrote: > Does anyone know what is the actual purpose of the Kerberos krb5.keytab > file? > > > > I have a freebsd 7 configured to authenticate users via Kerberos (both > apache and ssh). > > > > Although the authentication between apache and browser is still basic and > between the ssh client and server is still keyboard interactive. FreeBSD > validates the account in the background using Kerberos to AD. Actually from my understanding (which may very well be basic, but I have done some very extensive research) browser auth with kerberos and apache may be possible on firefox 2 and IE6. The older browsers are a dead loss, but it will fallback gracefully I've read. One thing that makes this possible is navigating to about:config in firefox and updating negotiate uri's. In IE6 you don't need to do anything, but that does increase the security risk (ergo the firefox method of negotiate). The keytab file (again, only from my understanding) contains the current keys in use mapped to the users. These change as per the kerberos ttl settings for tickets. Check the kerberos site for further, more accurate info, and run a google search for browser kerberos auth with apache. You do need the right module for apache to achieve this though- mod_auth_kerb. Some only offer a link between apache and kdc with base64 encryption. I'm pretty sure of my facts here, but I'll appreciate a correction of my comments. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:04:48 2008 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 BEC32106567C for ; Mon, 10 Nov 2008 13:04:48 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 70BCF8FC1B for ; Mon, 10 Nov 2008 13:04:48 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so885865yxb.13 for ; Mon, 10 Nov 2008 05:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=iTkpvYio99jT3NMOsePgjHVzcoLwlTxvCXwvwndfBuo=; b=YVwfgzZwzf/HTVTezYjmzDXRcXQlVperlnEe6kzm8aYIFOTZ51Gy1QmiYrgpu35Q0R OFYOMGmfDDoByjKUPr2+4xs7nOuasKA5G/NKgEpLLNNvx9ZlQXylslLYit9K69MCXz3U x11TLigs2jLHUTJVcOTFLZf5xweLJrimCRzEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=x4cNL/hyoOTNucwwyytXygmbXlKRakHzbjop48wgArT44o/Yd4VLjkPijF5iCKkQ7z QEgJRxkbdI3S/617ccHszmcjl8Jq3OXIlh4Ks34bh0tTeMoNIt9KTuvsmImDKvd0Tasw OrVevfDheN3A+x+XsQAP3ed7MjxYn162VNuTg= Received: by 10.65.96.17 with SMTP id y17mr6724886qbl.2.1226322287193; Mon, 10 Nov 2008 05:04:47 -0800 (PST) Received: from ansarmm2 (206-248-188-124.dsl.teksavvy.com [206.248.188.124]) by mx.google.com with ESMTPS id p31sm11563733qbp.18.2008.11.10.05.04.45 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Nov 2008 05:04:46 -0800 (PST) From: "Ansar Mohammed" To: Date: Mon, 10 Nov 2008 08:04:44 -0500 Message-ID: <0ee101c94334$e7b3a400$b71aec00$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclDNOaxa80eqWdVRkO/BSZ8g+Wy1g== Content-Language: en-ca Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SSHD/Kerberos on FreeBSD 7 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:04:48 -0000 Is sshd compiled with Kerberos support on freebsd 7.0? From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:06:49 2008 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 84010106567C for ; Mon, 10 Nov 2008 13:06:49 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3D39B8FC3E for ; Mon, 10 Nov 2008 13:06:48 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 08:06:48 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PFN98399; Mon, 10 Nov 2008 08:06:48 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 08:06:46 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18712.12773.515079.902143@jerusalem.litteratus.org> Date: Mon, 10 Nov 2008 08:06:45 -0500 To: Christer Solskogen In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:06:49 -0000 Christer Solskogen writes: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. > > dmesg tells me this: > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN Have you double-checked the hardware? (Includes the cable connection.) The "em" driver has a very good reputation and others - includong myself - use it under siilar load profiles with no problems. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:18:20 2008 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 12203106567A for ; Mon, 10 Nov 2008 13:18:20 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D019A8FC1D for ; Mon, 10 Nov 2008 13:18:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 65610AFC1C7; Mon, 10 Nov 2008 04:18:18 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2008 14:17:53 +0100 User-Agent: KMail/1.9.7 References: <0edc01c9432e$720b9c90$5622d5b0$@com> <1226321621.1220.74.camel@laptop1.herveybayaustralia.com.au> In-Reply-To: <1226321621.1220.74.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811101417.54805.fbsd.questions@rachie.is-a-geek.net> Cc: Da Rock Subject: Re: Kerberos keytab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:18:20 -0000 On Monday 10 November 2008 13:53:41 Da Rock wrote: > Check the kerberos site for further, more accurate info, and run a > google search for browser kerberos auth with apache. You do need the > right module for apache to achieve this though- mod_auth_kerb. Some only > offer a link between apache and kdc with base64 encryption. Non-related to the OP's problem, but base64 is a transport encoding and not encryption. It is used as 7-bit transport for 8bit (or more) data, like attachments (email) and form uploads (web). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:28:32 2008 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 336931065674 for ; Mon, 10 Nov 2008 13:28:32 +0000 (UTC) (envelope-from james.williams1952@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id D89988FC1E for ; Mon, 10 Nov 2008 13:28:31 +0000 (UTC) (envelope-from james.williams1952@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so298595ana.13 for ; Mon, 10 Nov 2008 05:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Gw2/BaRbAG1gT7vL7iyxe3W8X/0FXJVi0EnNQA7VsOg=; b=kC9RdG+fe+XlkPKY6PAeVUIyKrjaSOXMM9Qmp1HrPW9JTB2gC0AVtTIfy8jXq35DTy vxTz00VLQl5ZUmFo+nnvQcxZbCXfN5fHCE82wOQWjjYyIiray/hpH7YYBZRt2oP2vALn Y+2zzseUF5eupkmyTMILdys8mGasU/4Z1D6bI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mZmgIPSd+p/WtvNl5DSbXb6qEGRmjHS+54JTzO/FuecF+VgACpPGrTXK/YkzwEfjQK m99WEG3FSNVQXOdhuQJbj2GGCKvGx0fEIgM2C5bBXlomtx5b5sN02aNz7cYCU89kNfz5 BMBFk9YlhOOuswUleY0XrNlzN9+Zs52SkFu6I= Received: by 10.100.227.6 with SMTP id z6mr1888640ang.34.1226323711206; Mon, 10 Nov 2008 05:28:31 -0800 (PST) Received: by 10.100.8.5 with HTTP; Mon, 10 Nov 2008 05:28:31 -0800 (PST) Message-ID: <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> Date: Mon, 10 Nov 2008 18:58:31 +0530 From: "James Williams" To: freebsd-questions@freebsd.org In-Reply-To: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> Subject: Console size and scrollback buffer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:28:32 -0000 Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:37:27 2008 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 CA14E1065672 for ; Mon, 10 Nov 2008 13:37:27 +0000 (UTC) (envelope-from james.williams1952@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF328FC3F for ; Mon, 10 Nov 2008 13:37:27 +0000 (UTC) (envelope-from james.williams1952@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so299970ana.13 for ; Mon, 10 Nov 2008 05:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Gw2/BaRbAG1gT7vL7iyxe3W8X/0FXJVi0EnNQA7VsOg=; b=Yn5Lkl/cslehrul+gwmGFAff15HrHpwaoemc586wIWGBzUvygOwe2/UAFnV7hSiIQe QGNkq4DwpEvTrV1xc4Ix62m5LGYZ5/c4c7pSn2JhWABBH42e7aQwSscOu3I0Wt2Hxq6v CQnwdthcFMchdBojm4zJMDL+jH/iopYoBzgoI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=RTCU14kE5xVFRR/aSVBTfoZ6tNbmo+EV4E6liufRmbhcB8Ac9J58fQUUfC0XlPPjWQ alYjcgjh/qoaXFuEqIx1ZuYo4AuW0Sm8NqcOW2fyaiaxpD61npqDgLQo3Jbr68QXFc3C 7Vqo+gbWTZsZaPZOFoYRCasJsg+9LHnb5ePlg= Received: by 10.100.107.17 with SMTP id f17mr1876705anc.51.1226322443689; Mon, 10 Nov 2008 05:07:23 -0800 (PST) Received: by 10.100.8.5 with HTTP; Mon, 10 Nov 2008 05:07:23 -0800 (PST) Message-ID: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> Date: Mon, 10 Nov 2008 18:37:23 +0530 From: "James Williams" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Console size and scrollback buffer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:37:27 -0000 Hello List, [On FreeBSD 7.1-BETA2, i386.] 1) How can I change the number of rowsxcols of the console? I'd like to use the maximum rows/cols available for the 1440x900 screen. 2) How can these settings be made default (takes effect at boot)? IOW, what is the equivalent of the "vga=0x365" Linux kernel option? 3) How I can set the scrollback buffer size (if that's the name) of the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I played around with vidcontrol but was not quite successful. Thanks in advance. -James. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:46:29 2008 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 32A1810656A9 for ; Mon, 10 Nov 2008 13:46:29 +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 E002E8FC12 for ; Mon, 10 Nov 2008 13:46:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx02.qsc.de (Postfix) with ESMTP id 5956716C046B; Mon, 10 Nov 2008 14:46:27 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAADkQ8t006315; Mon, 10 Nov 2008 14:46:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 10 Nov 2008 14:46:26 +0100 From: Polytropon To: "James Williams" Message-Id: <20081110144626.e25d1f4e.freebsd@edvax.de> In-Reply-To: <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> References: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Console size and scrollback buffer. 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 Nov 2008 13:46:29 -0000 On Mon, 10 Nov 2008 18:58:31 +0530, "James Williams" wrote: > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. You can use vidcontrol to do that. > 2) How can these settings be made default (takes effect at boot)? At boot? Never tried this, but I think there are some kernel settings that are relevant for this; they'll be documented in the NOTES files for the kernel. > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? In FreeBSD, use the Scroll Lock key (that's why it's there); the length of the scrollback buffer can be controlled by vidcontrol, too. Refer to "man vidcontrol" and its EXAMPLES section. > I played around with vidcontrol but was not quite successful. Make sure the requested videomode is available, "vidcontrol -i mode" will tell you. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:04:57 2008 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 424E31065674 for ; Mon, 10 Nov 2008 14:04:57 +0000 (UTC) (envelope-from fbsd1@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 24C008FC18 for ; Mon, 10 Nov 2008 14:04:56 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.173.101]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Nov 2008 06:04:20 -0800 Message-ID: <49183FA8.5070807@a1poweruser.com> Date: Mon, 10 Nov 2008 22:05:28 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: James Williams References: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> In-Reply-To: <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Nov 2008 14:04:21.0011 (UTC) FILETIME=[3A7D0E30:01C9433D] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Console size and scrollback buffer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:04:57 -0000 James Williams wrote: > Hello List, > > [On FreeBSD 7.1-BETA2, i386.] > > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. > > 2) How can these settings be made default (takes effect at boot)? > > IOW, what is the equivalent of the "vga=0x365" Linux kernel option? > > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? > > I played around with vidcontrol but was not quite successful. > > Thanks in advance. > -James. > _______________________________________________ > 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" > > try adding this in /etc/rc.conf vidcontrol -h 200 # -h = Set the size of the history scrollback buffer in number of lines. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:18:56 2008 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 4C4CD1065670 for ; Mon, 10 Nov 2008 14:18:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id F0A088FC19 for ; Mon, 10 Nov 2008 14:18:55 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KzXbM-0008WB-M5 for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 14:18:48 +0000 Received: from 58.85-200-255.bkkb.no ([85.200.255.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 14:18:48 +0000 Received: from solskogen by 58.85-200-255.bkkb.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 14:18:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christer Solskogen Date: Mon, 10 Nov 2008 15:18:40 +0100 Lines: 23 Message-ID: References: <18712.12773.515079.902143@jerusalem.litteratus.org> 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: 58.85-200-255.bkkb.no User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <18712.12773.515079.902143@jerusalem.litteratus.org> Sender: news Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:18:56 -0000 Robert Huff wrote: > Have you double-checked the hardware? (Includes the cable > connection.) The "em" driver has a very good reputation and others > - includong myself - use it under siilar load profiles with no > problems. > Yeah, I have. The error is replicated just by giving the machine something to do. It might also have something to do with the auto neogation and the switch. the wierd thing is that the only message in the log is: Nov 10 13:29:58 caius kernel: em0: link state changed to DOWN Nov 10 13:29:59 caius kernel: em0: link state changed to UP Nov 10 13:30:08 caius kernel: em0: link state changed to DOWN Nov 10 13:30:10 caius kernel: em0: link state changed to UP Nothing else :/ -- chs From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:21:06 2008 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 1F6371065676 for ; Mon, 10 Nov 2008 14:21:06 +0000 (UTC) (envelope-from fbsd1@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 064048FC20 for ; Mon, 10 Nov 2008 14:21:05 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.173.101]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Nov 2008 06:20:30 -0800 Message-ID: <49184372.7010209@a1poweruser.com> Date: Mon, 10 Nov 2008 22:21:38 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Nov 2008 14:20:30.0427 (UTC) FILETIME=[7C4E32B0:01C9433F] X-Sender: fbsd1@a1poweruser.com Subject: trouble getting x11 xdm to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:21:06 -0000 logging in at command line works and startx works. Now want to use x11 xdm to control logins for virtual terminals 9+ Followed handbook instructions 5.6.2 Using XDM doing this ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure Then kill -HUP 1 to reread the file. Also created the .xsessions file in the users home directory. Keep getting this console error message hundreds of times init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:30:02 2008 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 613A3106568D for ; Mon, 10 Nov 2008 14:30:02 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 29B578FC2F for ; Mon, 10 Nov 2008 14:30:01 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id A8BC1AFC1C7; Mon, 10 Nov 2008 05:30:00 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2008 15:29:56 +0100 User-Agent: KMail/1.9.7 References: <18712.12773.515079.902143@jerusalem.litteratus.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811101529.57983.fbsd.questions@rachie.is-a-geek.net> Cc: Christer Solskogen Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:30:02 -0000 On Monday 10 November 2008 15:18:40 Christer Solskogen wrote: > Robert Huff wrote: > > Have you double-checked the hardware? (Includes the cable > > connection.) The "em" driver has a very good reputation and others > > - includong myself - use it under siilar load profiles with no > > problems. > > Yeah, I have. The error is replicated just by giving the machine > something to do. It might also have something to do with the auto > neogation and the switch. > > the wierd thing is that the only message in the log is: > Nov 10 13:29:58 caius kernel: em0: link state changed to DOWN > Nov 10 13:29:59 caius kernel: em0: link state changed to UP > Nov 10 13:30:08 caius kernel: em0: link state changed to DOWN > Nov 10 13:30:10 caius kernel: em0: link state changed to UP Any shared interrupts? What does vmstat -i show under the load you describe? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:35:54 2008 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 5E3221065693 for ; Mon, 10 Nov 2008 14:35:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 06FFE8FC24 for ; Mon, 10 Nov 2008 14:35:53 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id mAAEZYI3045311; Mon, 10 Nov 2008 08:35:34 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081110083433.025f01c8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 10 Nov 2008 08:35:22 -0600 To: Christer Solskogen , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: Mime-Version: 1.0 X-Antivirus: avast! (VPS 081109-0, 11/09/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.94-exp/8597/Mon Nov 10 05:55:17 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: mAAEZYI3045311 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:35:54 -0000 At 06:45 AM 11/10/2008, Christer Solskogen wrote: >I have a server with a em interface. Whenever the server has a high load >(compiling world for instance) the network connectivity is lost. > >dmesg tells me this: >em0: link state changed to DOWN >em0: link state changed to UP >em0: link state changed to DOWN >em0: link state changed to UP >em0: link state changed to DOWN >em0: link state changed to UP >em0: link state changed to DOWN >em0: link state changed to UP >em0: link state changed to DOWN >em0: link state changed to UP > >Do anyone have a tips for how to workaround this or is the server just junk? > >The server is running FreeBSD 7.0 (i386) with latest patches from >freebsd-update. > >-- >chs Check your switch and the wiring. I use em drivers and hardware without issues. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:37:26 2008 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 B1070106567D for ; Mon, 10 Nov 2008 14:37:26 +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 473CF8FC1D for ; Mon, 10 Nov 2008 14:37:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx01.qsc.de (Postfix) with ESMTP id 38E2B5142A; Mon, 10 Nov 2008 15:37:23 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAAEbMd0006573; Mon, 10 Nov 2008 15:37:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 10 Nov 2008 15:37:22 +0100 From: Polytropon To: Fbsd1 Message-Id: <20081110153722.ba124d03.freebsd@edvax.de> In-Reply-To: <49184372.7010209@a1poweruser.com> References: <49184372.7010209@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: trouble getting x11 xdm to work 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 Nov 2008 14:37:26 -0000 On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 wrote: > Also created the .xsessions file in the users home directory. The file is ~/.xsession, without an s at the end. I assume that csh is your login shell. Put these in your ~/.xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc This sources your individual user setting from .cshrc and the executes .xinitrc (trivial, isn't it?) to control how the startuo of your xsession will go. Make sure both files (.xinitrc and .xsession) are +x attribute. > Keep getting this console error message hundreds of times > > init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second Hey, I saw this one... but I'm not sure how I solved it. Is your /etc/hosts and hostname set correctly? I think it was something like this, something I would never had put in any combination with X... By the way, in order to try if xdm is working correctly it can be started directly by the command "xdm" anytime. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:45:18 2008 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 C5E7C1065678 for ; Mon, 10 Nov 2008 14:45:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7587C8FC2A for ; Mon, 10 Nov 2008 14:45:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KzY0t-0001P5-Nl for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 14:45:11 +0000 Received: from 58.85-200-255.bkkb.no ([85.200.255.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 14:45:11 +0000 Received: from solskogen by 58.85-200-255.bkkb.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 14:45:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christer Solskogen Date: Mon, 10 Nov 2008 15:44:59 +0100 Lines: 16 Message-ID: References: <18712.12773.515079.902143@jerusalem.litteratus.org> <200811101529.57983.fbsd.questions@rachie.is-a-geek.net> 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: 58.85-200-255.bkkb.no User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <200811101529.57983.fbsd.questions@rachie.is-a-geek.net> Sender: news Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:45:18 -0000 Mel wrote: > Any shared interrupts? What does vmstat -i show under the load you describe? > irq1: atkbd0 531 0 irq6: fdc0 10 0 irq14: ata0 95 0 irq18: em0 atapci1 1198845 4 cpu0: timer 559484003 1999 cpu1: timer 559483898 1999 Total 1120167382 4004 -- chs From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:57:18 2008 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 3E2B3106567B for ; Mon, 10 Nov 2008 14:57:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 08B0C8FC20 for ; Mon, 10 Nov 2008 14:57:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id EB7A7AFC1C7; Mon, 10 Nov 2008 05:57:15 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2008 15:57:12 +0100 User-Agent: KMail/1.9.7 References: <200811101529.57983.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200811101557.13176.fbsd.questions@rachie.is-a-geek.net> Cc: Christer Solskogen Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:57:18 -0000 On Monday 10 November 2008 15:44:59 Christer Solskogen wrote: > irq18: em0 atapci1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1198845 =A0 =A0 =A0 =A0 = =A04 Since disk and network card share the same IRQ, does the problem occur if y= ou=20 generate a similar load, without using disk IO? Like, put a big file on a=20 memory disk and bzip it. Could be a red herring, but good to rule out. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:24:31 2008 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 A0E4C106567F for ; Mon, 10 Nov 2008 13:24:31 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: from n70.bullet.mail.sp1.yahoo.com (n70.bullet.mail.sp1.yahoo.com [98.136.44.38]) by mx1.freebsd.org (Postfix) with SMTP id 7924A8FC0C for ; Mon, 10 Nov 2008 13:24:31 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: from [69.147.84.144] by n70.bullet.mail.sp1.yahoo.com with NNFMP; 10 Nov 2008 13:10:37 -0000 Received: from [68.142.237.90] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 10 Nov 2008 13:10:37 -0000 Received: from [216.252.111.168] by t6.bullet.re3.yahoo.com with NNFMP; 10 Nov 2008 13:10:37 -0000 Received: from [127.0.0.1] by omp103.mail.re3.yahoo.com with NNFMP; 10 Nov 2008 13:10:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 402702.60163.bm@omp103.mail.re3.yahoo.com Received: (qmail 24980 invoked by uid 60001); 10 Nov 2008 13:10:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=D9ZZlMCjwBWfWEFdwPDfSF7ErFhZmlqnZdjcyjRfM8k800HEVByRsNbF6CRUhPk3+O8lRG7HQ4xtD8V4MJrS4uzev8yLTs/+MFucd7OMXRWGQymh8E6tEjbkEnvWJhHbHBCONWvLF/RFLZhufGY1zmPJJ94RJNzTvd+nzhNaoHE=; X-YMail-OSG: it2hfosVM1kAjACJhwsCf12dB5qJ3vueMOKALsL2RxGBpxigLSgjNP4nwEy4Xb_xDIkrL06aF8lkPGfKoGoaIPhmKHXQpwGh1328VHKUjl.V0eeTDUKPmRND40KSCZmgJPgdASIBg.uKNv7maQ.2xfCwM8s- Received: from [67.212.0.57] by web57412.mail.re1.yahoo.com via HTTP; Mon, 10 Nov 2008 08:10:36 EST Date: Mon, 10 Nov 2008 08:10:36 -0500 (EST) From: chloe K To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <257066.24717.qm@web57412.mail.re1.yahoo.com> X-Mailman-Approved-At: Mon, 10 Nov 2008 14:57:30 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hundred files to tar and untar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:24:31 -0000 Hi I have hundred files to tar How can I make tar the file but untar in different folder? eg: tar cvf html.tar /var/web/data/verion/cc.html untar html.tar /var/web/data/root/cc.html Thank you --------------------------------- Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 13:42:23 2008 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 175EC106564A for ; Mon, 10 Nov 2008 13:42:23 +0000 (UTC) (envelope-from ing_nagel@desof.com) Received: from mail1.correonegocios.com (mail1.correonegocios.com [200.57.129.33]) by mx1.freebsd.org (Postfix) with ESMTP id BC96D8FC14 for ; Mon, 10 Nov 2008 13:42:22 +0000 (UTC) (envelope-from ing_nagel@desof.com) X-IronPort-AV: E=Sophos;i="4.33,303,1220245200"; d="scan'208,217";a="963070226" Received: from smtp.mailex.triara.com (HELO mtysmtp04.mexico.hosting.triara) ([200.57.145.5]) by apiron01.correonegocios.com with ESMTP; 10 Nov 2008 07:12:12 -0600 Received: from hp6515b ([189.130.182.116]) by mtysmtp04.mexico.hosting.triara with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Nov 2008 07:20:08 -0600 From: "Edgar Nagel" To: Date: Mon, 10 Nov 2008 07:13:22 -0600 Organization: Grupo Desof Message-ID: <878F3884C4754E7DB1562B25854A0409@hp6515b> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AclB2DjA4Utb4dbDTGWh2rlpRvB8Cg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-OriginalArrivalTime: 10 Nov 2008 13:20:09.0162 (UTC) FILETIME=[0DDD02A0:01C94337] X-Mailman-Approved-At: Mon, 10 Nov 2008 14:57:54 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Support ATOM!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 13:42:23 -0000 The mother intel D945 GCLF - ATOM processor integrate will be supported? Thank you very much! I apologize for my bad English! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:59:19 2008 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 D45D01065670 for ; Mon, 10 Nov 2008 14:59:19 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.freebsd.org (Postfix) with ESMTP id A3B618FC14 for ; Mon, 10 Nov 2008 14:59:19 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from localhost (ool-457f63f5.dyn.optonline.net [69.127.99.245]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with SMTP id <0KA4006SRG8OP541@mta3.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 09:29:12 -0500 (EST) Date: Mon, 10 Nov 2008 09:29:12 -0500 From: Eduardo Cerejo In-reply-to: <20081110124324.GA68575@ozzmosis.com> To: andrew clarke Message-id: <20081110092912.47ef4647.ejcerejo@optonline.net> MIME-version: 1.0 X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20081110124324.GA68575@ozzmosis.com> Cc: freebsd-questions@freebsd.org Subject: Re: "Invalid address" running apps using wine-1.1.8,1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:59:19 -0000 > Hi, > > I'm getting an "Invalid address" error trying to run Windows apps > under WINE. "wineconsole cmd" works OK though, and so does winefile. > The error seems to only occur with apps that aren't supplied with > WINE, eg. > > C:\Program Files\Winamp>winamp.exe > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address > > $ uname -a > FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: > Wed Oct 1 05:34:19 UTC 2008 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > $ pkg_info | grep wine > wine-1.1.8,1 Microsoft Windows compatibility layer for Unix-like systems > > Any ideas? > > Regards > Andrew I'm getting the same error after portupgrading wine. I haven't found anything on it yet! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 14:59:54 2008 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 4A1F910656AB for ; Mon, 10 Nov 2008 14:59:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id E3B768FC14 for ; Mon, 10 Nov 2008 14:59:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA03.westchester.pa.mail.comcast.net with comcast id dRWH1a0081GhbT853SzBgr; Mon, 10 Nov 2008 14:59:11 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA07.westchester.pa.mail.comcast.net with comcast id dSzs1a00E2P6wsM3TSzsY2; Mon, 10 Nov 2008 14:59:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=_MmO1-8Pv2Po9y_EOjAA:9 a=_reVIEAwD8yjwk06y_BpaUi0zt0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 1B7C45C1A; Mon, 10 Nov 2008 06:59:52 -0800 (PST) Date: Mon, 10 Nov 2008 06:59:52 -0800 From: Jeremy Chadwick To: Christer Solskogen Message-ID: <20081110145952.GA72821@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 14:59:54 -0000 On Mon, Nov 10, 2008 at 01:45:44PM +0100, Christer Solskogen wrote: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. > > dmesg tells me this: > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > em0: link state changed to DOWN > em0: link state changed to UP > > Do anyone have a tips for how to workaround this or is the server just junk? Can you provide "dmesg | grep em0" output? I'd like to see what version of NIC this is. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 15:13:18 2008 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 6EEDE106568E for ; Mon, 10 Nov 2008 15:13:18 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE788FC19 for ; Mon, 10 Nov 2008 15:13:17 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 10:13:15 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PFO45095; Mon, 10 Nov 2008 10:13:14 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 10:13:14 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18712.20361.197150.902952@jerusalem.litteratus.org> Date: Mon, 10 Nov 2008 10:13:13 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <20081110092912.47ef4647.ejcerejo@optonline.net> References: <20081110124324.GA68575@ozzmosis.com> <20081110092912.47ef4647.ejcerejo@optonline.net> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: gerald@FreeBSD.org Subject: Re: "Invalid address" running apps using wine-1.1.8,1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 15:13:18 -0000 [Port maintainer CC:'d] Eduardo Cerejo writes: > > I'm getting an "Invalid address" error trying to run Windows apps > > under WINE. "wineconsole cmd" works OK though, and so does winefile. > > The error seems to only occur with apps that aren't supplied with > > WINE, eg. > > > > C:\Program Files\Winamp>winamp.exe > > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address > > I'm getting the same error after portupgrading wine. I haven't > found anything on it yet! I have at least one non-Wine-supplied program that runs without this problem under wine-1.1.8.1. Mind you, it complains of stuff I don't think it sed to complain about ... but it runs. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 15:19:32 2008 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 637D4106567D for ; Mon, 10 Nov 2008 15:19:32 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id EC2838FC1F for ; Mon, 10 Nov 2008 15:19:31 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 18732 invoked by uid 0); 10 Nov 2008 15:19:30 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (75.76.211.79) by smtp8.knology.net with SMTP; 10 Nov 2008 15:19:30 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 6933528429; Mon, 10 Nov 2008 09:19:30 -0600 (CST) Date: Mon, 10 Nov 2008 09:19:30 -0600 From: David Kelly To: chloe K Message-ID: <20081110151930.GB73102@Grumpy.DynDNS.org> References: <257066.24717.qm@web57412.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <257066.24717.qm@web57412.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: hundred files to tar and untar 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: Mon, 10 Nov 2008 15:19:32 -0000 On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you RTFM. Specifically look at the -C option. Or you could do it the simple way (note parenthesis, the cd only applies within the parenthesis, when the command clompletes your shell is back to the original directory): (cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * ) (cd /var/web/data/root/cc.html ; tar -xvf /html.tar ) The above does not store the path prefix in the tar archive, which is perhaps the problem you were trying to solve? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 15:23:17 2008 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 AD0F11065686 for ; Mon, 10 Nov 2008 15:23:17 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id A0E218FC21 for ; Mon, 10 Nov 2008 15:23:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mAAFN8RH097223; Mon, 10 Nov 2008 16:23:08 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mAAFN8OH097220; Mon, 10 Nov 2008 16:23:08 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 10 Nov 2008 16:23:08 +0100 (CET) From: Wojciech Puchar To: James Williams In-Reply-To: <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> Message-ID: <20081110162152.Y97140@wojtek.tensor.gdynia.pl> References: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> <6cadf1f00811100528v479e2e91s8d62552aa8a469e1@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Console size and scrollback buffer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 15:23:17 -0000 i think it can be done somehow, but isn't the best to run X on your card with 1440x900 resolution and run one (or several) xterms full screen. that's what i do with fvwm2 window manager and "slightly" modified config. no window frames, no titlebars, buttons etc, 100% screen for program, not only xterm On Mon, 10 Nov 2008, James Williams wrote: > Hello List, > > [On FreeBSD 7.1-BETA2, i386.] > > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. > > 2) How can these settings be made default (takes effect at boot)? > > IOW, what is the equivalent of the "vga=0x365" Linux kernel option? > > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? > > I played around with vidcontrol but was not quite successful. > > Thanks in advance. > -James. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 15:29:51 2008 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 EAFEA106567F for ; Mon, 10 Nov 2008 15:29:51 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id BB3148FC1D for ; Mon, 10 Nov 2008 15:29:51 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from localhost (ool-457f63f5.dyn.optonline.net [69.127.99.245]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with SMTP id <0KA400CNZJ1O3140@mta2.srv.hcvlny.cv.net>; Mon, 10 Nov 2008 10:29:49 -0500 (EST) Date: Mon, 10 Nov 2008 10:29:48 -0500 From: Eduardo Cerejo In-reply-to: <18712.20361.197150.902952@jerusalem.litteratus.org> To: Robert Huff Message-id: <20081110102948.661b2b1e.ejcerejo@optonline.net> MIME-version: 1.0 X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20081110124324.GA68575@ozzmosis.com> <20081110092912.47ef4647.ejcerejo@optonline.net> <18712.20361.197150.902952@jerusalem.litteratus.org> Cc: gerald@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: "Invalid address" running apps using wine-1.1.8,1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 15:29:52 -0000 > Eduardo Cerejo writes: > > > I'm getting an "Invalid address" error trying to run Windows apps > > > under WINE. "wineconsole cmd" works OK though, and so does winefile. > > > The error seems to only occur with apps that aren't supplied with > > > WINE, eg. > > > > > > C:\Program Files\Winamp>winamp.exe > > > wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address > > > > I'm getting the same error after portupgrading wine. I haven't > > found anything on it yet! > > I have at least one non-Wine-supplied program that runs without > this problem under wine-1.1.8.1. > Mind you, it complains of stuff I don't think it sed to complain > about ... but it runs. It is frustrating when you try running an app and all you get is a little window saying "invalid address" and nothing else to work with. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 15:31:54 2008 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 4581E106567C for ; Mon, 10 Nov 2008 15:31:54 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56803.mail.re3.yahoo.com (web56803.mail.re3.yahoo.com [66.196.97.77]) by mx1.freebsd.org (Postfix) with SMTP id 009C98FC25 for ; Mon, 10 Nov 2008 15:31:53 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 2598 invoked by uid 60001); 10 Nov 2008 15:31:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=4VxGHi6w5sGAV5R5XPjCPml4UVPh9XW1H1izNzt2RH/pvrQaDQ4ariHL5DSMQVWVdfyqzu6z0fnrSwpMY3smE6+oUfNKxtCAasA3PJE8SuBRPsMfId+2+D6XmAKZfWTC2zDATWaf4bvHCJuLsbAV/O2SNCFz4onCO+FnO5e38po=; X-YMail-OSG: 9P4m6rUVM1mPkfjmc1RPyeqeLwFwKoLGkXD5KcQSP9.QHELvxinaiD.gLRRX_6PAIV95mZRz_9w9lKPgnp_OUBaZJHmTz9pavrQkuACk1hJuD.1dTT4UkqQ7gImIfv4TvDwbvL8LI_MOuBewXOvwIDgssg-- Received: from [71.61.220.126] by web56803.mail.re3.yahoo.com via HTTP; Mon, 10 Nov 2008 07:31:53 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 10 Nov 2008 07:31:53 -0800 (PST) From: mdh To: David Horn In-Reply-To: <25ff90d60811091734u67775807ma67b6c1de0c59b9e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <419025.2571.qm@web56803.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 15:31:54 -0000 --- On Sun, 11/9/08, David Horn wrote: > From: David Horn > Subject: Re: host -6 failure > To: mdh_lists@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Sunday, November 9, 2008, 8:34 PM > On Sun, Nov 9, 2008 at 3:13 AM, mdh > wrote: > > --- On Sat, 11/8/08, David Horn > wrote: > >> From: David Horn > >> Subject: Re: host -6 failure > >> To: mdh_lists@yahoo.com > >> Cc: freebsd-questions@freebsd.org > >> Date: Saturday, November 8, 2008, 8:10 PM > >> On Sat, Nov 8, 2008 at 7:55 PM, mdh > >> wrote: > >> > --- On Sat, 11/8/08, David Horn > >> wrote: > >> >> From: David Horn > > >> >> Subject: Re: host -6 failure > >> >> To: mdh_lists@yahoo.com > >> >> Cc: freebsd-questions@freebsd.org > >> >> Date: Saturday, November 8, 2008, 7:25 PM > >> >> On Fri, Nov 7, 2008 at 2:18 PM, mdh > >> >> wrote: > >> >> > Howdy folks, > >> >> > I'm having a little trouble > understanding > >> a > >> >> problem that the `host` command in > RELENG_7_0 > >> (very recent) > >> >> is having. > >> >> The '-6' on the command line for > host(1) > >> forces an > >> >> IPv6 only > >> >> connection to your nameserver, not > necessarily a > >> >> "AAAA" query for the > >> >> hostname in question. In this case, your > >> nameservers > >> >> listed in the > >> >> warnings are IPv4 nameservers that > host(1) is > >> attempting to > >> >> connect to > >> >> using an ipv4 mapped ipv6 address (which > by > >> default is > >> >> disabled in the > >> >> kernel) In other words, don't use > host -6 for > >> this > >> >> scenario. > >> > > >> > Yet as I pointed out, the second nameserver > in my > >> resolv.conf is ::1 - so shouldn't it work with > that? > >> It's clearly trying to contact the first and > third > >> nameservers listed. If the behavior I'm > experiencing is > >> the proper behavior, then let me pose this > question: when > >> would anyone conceivably want to use the -6 > option, and why > >> does it exist? My intent was to force a query to > hit the > >> nameserver on ::1 rather than 127.0.0.1. > >> >> > > >> >> > domain mydomain > >> >> > search mydomain > >> >> > nameserver 127.0.0.1 > >> >> > nameserver ::1 > >> >> > nameserver IP.IP.IP.8 > >> >> > > >> >> > The DNS server running on localhost > is > >> authoritative > >> >> for mydomain. I can ping it via > localhost using > >> both v4 and > >> >> v6, and I can also ping the external v4 > and v6 > >> addresses > >> >> just fine remotely. > >> >> > > >> >> > As I said, I'm new to IPv6, but > this > >> behavior > >> >> seems to be counterintuitive. Am I just > doing it > >> wrong? > >> >> > > >> >> > >> >> For diagnosing your own nameservers, you > are > >> better off > >> >> using the > >> >> dig(1) utility. > >> >> > >> >> Example: > >> >> > >> >> dig ipv6.google.com AAAA @::1 > >> >> > >> >> This causes a dns query for an IPv6 > address (aka > >> >> "AAAA" query) for the > >> >> hostname of "ipv6.google.com" > using the > >> >> nameserver on the IPv6 > >> >> localhost loopback address (::1), and > will give a > >> very nice > >> >> verbose > >> >> output. man dig for more details. > >> > > >> > That is more useful, but still doesn't > stifle my > >> desire to stomp a potential bug in the base > system. > >> > >> Right after sending, I realized that I did not > tell you all > >> of the answer.... > >> > >> host(1) will successfully query ::1 when named is > setup to > >> listen on > >> ::1 in named.conf, and ::1 is listed in > /etc/resolv.conf (I > >> just ran a > >> test on my box to be sure that it works this way > with the > >> -6 switch) > >> > >> Example line from /etc/namedb/named.conf: > >> > >> listen-on-v6 { ::1; any; }; > >> > >> And of course you need to restart named after the > config > >> change( > >> /etc/rc.d/named restart) > >> > >> To make sure that it is listening on the IPv6 > loopback > >> address: > >> > >> netstat -anW -f inet6 > >> > >> I do not remember the minimum version of bind (aka > named) > >> required for > >> IPv6 off the top of my head, but I am running > 9.4.2-P2 on > >> my IPv6 > >> machine. > > > > All of the conditions for success are true, however it > fails. My DNS server software is responsing on ::1 port 53 > (tcp and udp), and ::1 is the second nameserver listed in > resolv.conf. Still, host -6 fails as previously stated... > According to what you've said so far, this leads me to > believe that it ought to work as expected, and not error out > in the way I'm seeing. > > > > Am I missing something here? Is my lack of general > IPv6 knowledge causing me to blindly assume something > incorrectly? > > If all of the conditions for success were true, you would > *not* be > having a problem. You are likely missing something simple. > I suggest that you read about about general IPv6 network > troubleshooting, and bind. The handbook has some good > information > here: > > http://www.freebsd.org/doc/en/books/handbook/network-dns.html > http://www.freebsd.org/doc/en/books/handbook/network-ipv6.html > http://www.freebsd.org/doc/en/books/developers-handbook/ipv6.html > > You have yet to provide any new diagnostic output. What > was the result of: > > netstat -anW -f inet6 Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 0 *.53 *.* LISTEN tcp6 0 0 *.22 *.* LISTEN tcp6 0 0 *.113 *.* LISTEN udp6 0 0 *.64039 *.* udp6 0 0 *.53 *.* > dig ipv6.google.com AAAA @::1 ;; QUESTION SECTION: ;ipv6.google.com. IN AAAA ;; ANSWER SECTION: ipv6.google.com. 10800 IN CNAME ipv6.l.google.com. ipv6.l.google.com. 300 IN AAAA 2001:4860:0:2001::68 ;; AUTHORITY SECTION: l.google.com. 86400 IN NS c.l.google.com. l.google.com. 86400 IN NS b.l.google.com. l.google.com. 86400 IN NS e.l.google.com. l.google.com. 86400 IN NS a.l.google.com. l.google.com. 86400 IN NS g.l.google.com. l.google.com. 86400 IN NS f.l.google.com. l.google.com. 86400 IN NS d.l.google.com. ;; Query time: 426 msec ;; SERVER: ::1#53(::1) ;; WHEN: Mon Nov 10 06:46:57 2008 ;; MSG SIZE rcvd: 194 > named -version I am running bind 9.4.2 which is part of the FreeBSD base system from RELENG_7_0 (very recent). > > Do not get hung up on the output of host(1) without trying > to diagnose > the root problem (your nameserver working properly on > ipv6). Once you > fix the root problem, the other problems will go away. I think that the host output may be the problem. Based on what some others have said, I am more firm in the belief that this is true. One individual noted that the -6 and -4 options are virtually useless, in that they cause it to only query on the v6 or v4 addr respectively, however if resolv.conf contains v4 addrs it will cause errors with the -6 option, even if it also contains v6 addrs. I believe this to be a bug, as creating virtually-useless command line options is silly. > > If in doubt, run a tcpdump or wireshark trace, and make > sure that your > firewall is not getting in the way. There is no firewall. IPFW is configured, but has only one rule - the default accept rule. I plan to use it primarily to auto-block ssh brute-force sources. - mdh From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:07:40 2008 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 39BFB1065670 for ; Mon, 10 Nov 2008 16:07:40 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from smtp1.betherenow.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by mx1.freebsd.org (Postfix) with SMTP id CB8FC8FC19 for ; Mon, 10 Nov 2008 16:07:29 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.71] (93-97-24-219.zone5.bethere.co.uk [93.97.24.219]) by smtp1.betherenow.co.uk (Postfix) with ESMTP id B68D398044; Mon, 10 Nov 2008 15:37:32 +0000 (GMT) Message-ID: <4918553C.9000508@onetel.com> Date: Mon, 10 Nov 2008 15:37:32 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.7pre (X11/20081107) MIME-Version: 1.0 To: Eduardo Cerejo References: <20081110124324.GA68575@ozzmosis.com> <20081110092912.47ef4647.ejcerejo@optonline.net> In-Reply-To: <20081110092912.47ef4647.ejcerejo@optonline.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: "Invalid address" running apps using wine-1.1.8,1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:07:40 -0000 Eduardo Cerejo wrote: >> Hi, >> >> I'm getting an "Invalid address" error trying to run Windows apps >> under WINE. "wineconsole cmd" works OK though, and so does winefile. >> The error seems to only occur with apps that aren't supplied with >> WINE, eg. >> >> C:\Program Files\Winamp>winamp.exe >> wine: could not load L"C:\\Program Files\\Winamp\\winamp.exe": Invalid address >> >> $ uname -a >> FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: >> Wed Oct 1 05:34:19 UTC 2008 >> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >> >> $ pkg_info | grep wine >> wine-1.1.8,1 Microsoft Windows compatibility layer for Unix-like systems >> >> Any ideas? >> >> Regards >> Andrew > > > I'm getting the same error after portupgrading wine. I haven't found anything on it yet! > _______________________________________________ > 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" > Same. I reverted to wine-1.1.2,1 and firefox 2 works again. Chris From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:13:48 2008 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 ECD6E1065670 for ; Mon, 10 Nov 2008 16:13:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id B17738FC22 for ; Mon, 10 Nov 2008 16:13:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id mAAGA2Vd082066; Mon, 10 Nov 2008 11:10:02 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id mAAGA2Jt082065; Mon, 10 Nov 2008 11:10:02 -0500 (EST) (envelope-from jerrymc) Date: Mon, 10 Nov 2008 11:10:02 -0500 From: Jerry McAllister To: Albert Shih Message-ID: <20081110161002.GA81960@gizmo.acns.msu.edu> References: <20081110110805.GK1302@obspm.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081110110805.GK1302@obspm.fr> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: PATH problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 16:13:49 -0000 On Mon, Nov 10, 2008 at 12:08:05PM +0100, Albert Shih wrote: > Hi all > > I've PATH problem with a perl package (I don't knwon anything about > perl....). > > I run rt (3.8) under apache22 + mod_perl2 and on some p5 librairie I've got > message like > > Command 'dot' not found in /bin, /usr/bin at /usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm > > and yes «dot» is not in /bin or /usr/bin but it's in > > /usr/local/bin > > So...how can I tell .... who ?(maybe www) to try to find «dot» in /usr/local/bin Whenever you use some command or address some file in a script or within a program, you should use the full path - starting with '/' so instead of lcalling it 'd' in the script or program, call it '/usr/local/bin/dot' You can also explicitly add /usr/local/bin to your path and/or your script's path. Something like set path=$path:/usr/local/bin or set path=/bin:/usr/bin:/usr/local/bin:/usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm or whatever you want the path to be. The syntax may vary some between different shells. ////jerry > > Regards. > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > Heure local/Local time: > Lun 10 nov 2008 12:05:08 CET > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:31:15 2008 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 1DADF106564A for ; Mon, 10 Nov 2008 16:31:15 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D77658FC18 for ; Mon, 10 Nov 2008 16:31:14 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id mAAGRTph082135; Mon, 10 Nov 2008 11:27:29 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id mAAGRTvV082134; Mon, 10 Nov 2008 11:27:29 -0500 (EST) (envelope-from jerrymc) Date: Mon, 10 Nov 2008 11:27:29 -0500 From: Jerry McAllister To: chloe K Message-ID: <20081110162729.GB81960@gizmo.acns.msu.edu> References: <257066.24717.qm@web57412.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <257066.24717.qm@web57412.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: hundred files to tar and untar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:31:15 -0000 On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > Just use cd. You can use cd in a script just like you would at the command line. cd /what/ever/the/source/directory/is tar cvf ../htmlstuff.tar /cc.html mkdir -p /where/ever/you/want/it cd /where/ever/you/want/it tar xvf /what/ever/the/source/directory/htmlstuff.tar This would eliminate the directory tree being recreated where you unroll the tar presuming that fantasy path I first cd to is, in your example, /var/web/data/verion If you want to preserve that directory path in the new place you do cd / tar cvf /htmlstuff.tar /what/ever/the/source/directory/is/cc.html mkdir -p /where/ever/you/want/it cd /where/ever/you/want/it tar xvf /htmlstuff.tar You can put that in a loop in your script if it can pick up the file names and directory paths to plug in the commands. > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you > > > > > --------------------------------- > > > Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:32:31 2008 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 C38FE1065679 for ; Mon, 10 Nov 2008 16:32:31 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: from n10.bullet.re3.yahoo.com (n10.bullet.re3.yahoo.com [68.142.237.123]) by mx1.freebsd.org (Postfix) with SMTP id 6C9CB8FC13 for ; Mon, 10 Nov 2008 16:32:31 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: from [68.142.237.87] by n10.bullet.re3.yahoo.com with NNFMP; 10 Nov 2008 16:20:18 -0000 Received: from [69.147.75.190] by t3.bullet.re3.yahoo.com with NNFMP; 10 Nov 2008 16:20:18 -0000 Received: from [127.0.0.1] by omp106.mail.re1.yahoo.com with NNFMP; 10 Nov 2008 16:20:18 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 721594.7664.bm@omp106.mail.re1.yahoo.com Received: (qmail 41067 invoked by uid 60001); 10 Nov 2008 16:20:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=aO0CLi1wNBnGO2YJxl73kj3+uwhnmUOmeqBMul29kiOi/b0hEKQBR+upjw/4VG0yuJBW4zTnV8GE9XGbX7dzIknf+R03/HRuFXXemJyPB0MJrUOBC1HDobaUvtDfjlhgbrjvLh0mGP2UWFGa6abPjMe1kWd8YDZCS1WYl5RsDLg=; X-YMail-OSG: 4rKtDkYVM1nvhbo8QZn5FS0mV4Qgr9BM18pMUf1SvtyW7WkOEq.DB0BG0fLXlrqlEtSlpD.fwt8vfPelByKI.Z1qcl9AASCxFqGWwr1tYrv90g57KFwYr5CiGUnEgr30s8YgffEmHAGZ.ZzOUB3ZJlKqrgA- Received: from [67.55.0.107] by web57403.mail.re1.yahoo.com via HTTP; Mon, 10 Nov 2008 11:20:17 EST Date: Mon, 10 Nov 2008 11:20:17 -0500 (EST) From: chloe K To: FreeBSD-Questions@FreeBSD.org In-Reply-To: <20081110151930.GB73102@Grumpy.DynDNS.org> MIME-Version: 1.0 Message-ID: <247079.34646.qm@web57403.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: hundred files to tar and untar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:32:31 -0000 Thank you but I have hundred files in different folders and it may need 3 files in 100 files in this folder. I did put "need files" in file.txt and using tar zcvf file.tar.gz -T file.txt inside file.txt eg: /var/web/data/version/cc.html but don't know how to restore as restore directory is in different folder /var/web/data/cc.html thank you David Kelly wrote: On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote: > Hi > > I have hundred files to tar > > How can I make tar the file but untar in different folder? > > eg: > > tar cvf html.tar /var/web/data/verion/cc.html > > untar html.tar /var/web/data/root/cc.html > > Thank you RTFM. Specifically look at the -C option. Or you could do it the simple way (note parenthesis, the cd only applies within the parenthesis, when the command clompletes your shell is back to the original directory): (cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * ) (cd /var/web/data/root/cc.html ; tar -xvf /html.tar ) The above does not store the path prefix in the tar archive, which is perhaps the problem you were trying to solve? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. _______________________________________________ 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" --------------------------------- Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:43:58 2008 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 23EA3106564A for ; Mon, 10 Nov 2008 16:43:58 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id D41BF8FC12 for ; Mon, 10 Nov 2008 16:43:57 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 11:43:57 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PFO91047; Mon, 10 Nov 2008 11:43:56 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Nov 2008 11:43:53 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18712.25801.39805.344752@jerusalem.litteratus.org> Date: Mon, 10 Nov 2008 11:43:53 -0500 To: questions@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Subject: USB headsets? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:43:58 -0000 I could have sworn this came up before, but can't find it in the hardware lists or by searching the mailing list (questions and multimedia) archives. So: Is anyone successfully using a USB headset? (Not head/phones/, head/set/.) If so: what make/model, how hard was it to get running, and what features (or lack thereof) do you like/dislike? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:45:08 2008 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 0A84D106564A for ; Mon, 10 Nov 2008 16:45:08 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: from ourbrains.org (li48-221.members.linode.com [66.246.76.221]) by mx1.freebsd.org (Postfix) with SMTP id C69958FC26 for ; Mon, 10 Nov 2008 16:45:07 +0000 (UTC) (envelope-from dan-freebsd-questions@ourbrains.org) Received: (qmail 11338 invoked by uid 1000); 10 Nov 2008 16:45:28 -0000 Date: Mon, 10 Nov 2008 11:45:28 -0500 From: Dan To: freebsd-questions@freebsd.org Message-ID: <20081110164528.GA11301@ourbrains.org> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:45:08 -0000 Christer Solskogen(solskogen@carebears.mine.nu)@2008.11.10 13:45:44 +0100: > I have a server with a em interface. Whenever the server has a high load > (compiling world for instance) the network connectivity is lost. I have a problem where the whole machine becomes unresponsive on sustained disk IO every few seconds. 7.1-BETA2. No shared irqs. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 16:53:12 2008 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 11EBE10656AD for ; Mon, 10 Nov 2008 16:53:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1DACB8FC1A for ; Mon, 10 Nov 2008 16:53:10 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kza0f-0007CU-Df for freebsd-questions@freebsd.org; Mon, 10 Nov 2008 16:53:05 +0000 Received: from 220.85-200-86.bkkb.no ([85.200.86.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 16:53:05 +0000 Received: from solskogen by 220.85-200-86.bkkb.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Nov 2008 16:53:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christer Solskogen Date: Mon, 10 Nov 2008 17:52:59 +0100 Lines: 15 Message-ID: References: <20081110145952.GA72821@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 220.85-200-86.bkkb.no User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <20081110145952.GA72821@icarus.home.lan> Sender: news Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 16:53:12 -0000 Jeremy Chadwick wrote: > Can you provide "dmesg | grep em0" output? I'd like to see what version > of NIC this is. > No problem. em0: port 0xbc00-0xbc1f mem 0xfc5e0000-0xfc5fffff irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:02:b3:ea:28:f0 em0: [FILTER] -- chs From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 17:31:17 2008 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 B87C310656AB for ; Mon, 10 Nov 2008 17:31:17 +0000 (UTC) (envelope-from darek@nyi.net) Received: from m.nyi.net (m.nyi.net [66.111.12.250]) by mx1.freebsd.org (Postfix) with SMTP id 52EF78FC22 for ; Mon, 10 Nov 2008 17:31:17 +0000 (UTC) (envelope-from darek@nyi.net) Received: (qmail 88345 invoked by uid 79); 10 Nov 2008 17:31:14 -0000 Received: from unknown (HELO ?10.50.50.200?) (darek@nyi.net@64.147.100.2) by 0 with SMTP; 10 Nov 2008 17:31:14 -0000 Message-ID: <49186FDF.4000501@nyi.net> Date: Mon, 10 Nov 2008 12:31:11 -0500 From: "Darek M." User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Ansar Mohammed References: <0ee101c94334$e7b3a400$b71aec00$@com> In-Reply-To: <0ee101c94334$e7b3a400$b71aec00$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SSHD/Kerberos on FreeBSD 7 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 17:31:17 -0000 Ansar Mohammed wrote: > Is sshd compiled with Kerberos support on freebsd 7.0? > Yup: ldd /usr/sbin/sshd: ... libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x28124000) libkrb5.so.9 => /usr/lib/libkrb5.so.9 (0x2812b000) ... Otherwise, you should be able to use PAM, with /etc/pam.d/sshd having the line auth sufficient pam_krb5.so before auth required pam_unix.so - Darek > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 18:09:55 2008 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 E13F1106567E for ; Mon, 10 Nov 2008 18:09:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id CA8D38FC28 for ; Mon, 10 Nov 2008 18:09:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mAAI9UwE098134; Mon, 10 Nov 2008 19:09:30 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mAAI9UU8098131; Mon, 10 Nov 2008 19:09:30 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 10 Nov 2008 19:09:30 +0100 (CET) From: Wojciech Puchar To: Robert Huff In-Reply-To: <18712.12773.515079.902143@jerusalem.litteratus.org> Message-ID: <20081110190844.K98114@wojtek.tensor.gdynia.pl> References: <18712.12773.515079.902143@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Christer Solskogen , freebsd-questions@freebsd.org Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:09:56 -0000 >> em0: link state changed to DOWN >> em0: link state changed to UP >> em0: link state changed to DOWN > > Have you double-checked the hardware? (Includes the cable > connection.) The "em" driver has a very good reputation and others > - includong myself - use it under siilar load profiles with no and including myself. intel card+em driver are perfect. this >> em0: link state changed to UP >> em0: link state changed to DOWN suggest switch and/or cable problem. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 18:11:16 2008 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 1DF0A106568C for ; Mon, 10 Nov 2008 18:11:16 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2E73C8FC19 for ; Mon, 10 Nov 2008 18:11:14 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mAAIArP2098157; Mon, 10 Nov 2008 19:10:53 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mAAIArM6098154; Mon, 10 Nov 2008 19:10:53 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 10 Nov 2008 19:10:53 +0100 (CET) From: Wojciech Puchar To: Christer Solskogen In-Reply-To: Message-ID: <20081110191004.E98114@wojtek.tensor.gdynia.pl> References: <18712.12773.515079.902143@jerusalem.litteratus.org> <200811101529.57983.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: High load - lost network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:11:16 -0000 i don't think it's interrupt sharing problems. anyway - turn on MSI interrupts if your hardware can. check if producing high load on atapci1 make problem worse or not. On Mon, 10 Nov 2008, Christer Solskogen wrote: > Mel wrote: > >> Any shared interrupts? What does vmstat -i show under the load you describe? >> > > irq1: atkbd0 531 0 > irq6: fdc0 10 0 > irq14: ata0 95 0 > irq18: em0 atapci1 1198845 4 > cpu0: timer 559484003 1999 > cpu1: timer 559483898 1999 > Total 1120167382 4004 > > > -- > chs > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 18:22:51 2008 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 8A747106568C for ; Mon, 10 Nov 2008 18:22:51 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5267B8FC2B for ; Mon, 10 Nov 2008 18:22:51 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [192.168.213.128] (BSTech1.uncc.edu [152.15.200.209]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id mAAIMnUf061486; Mon, 10 Nov 2008 13:22:50 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2008 13:22:42 -0500 User-Agent: KMail/1.9.10 References: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> In-Reply-To: <6cadf1f00811100507r3347e30ft2c7a3ed22f9c049b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811101322.42981.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: James Williams Subject: Re: Console size and scrollback buffer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:22:51 -0000 On Monday 10 November 2008 08:07:23 am James Williams wrote: > Hello List, > > [On FreeBSD 7.1-BETA2, i386.] > > 1) How can I change the number of rowsxcols of the console? I'd like > to use the maximum rows/cols available for the 1440x900 screen. In order to use "graphical" VESA modes you need a custom kernel that includes these options: options VESA options SC_PIXEL_MODE You will only be able to use a 1440x900 resolution if your video hardware advertises that as a standard VESA mode. Once you are running a kernel with the above options you can use vidcontrol to list the available options: vidcontrol -i mode When you see a mode you like you can switch to it using vidcontrol again. For example: vidcontrol MODE_XX -f 8x8 cp437-8x8.fnt Replace XX with the number of the mode you'd like to use. Adjust the arguments to -f to suit your needs. Other sizes are 8x14 and 8x16. You should choose a font to match the specified size and the character set you're using. See the manpage for vidcontrol for greater detail. With a standard kernel you can use "text" modes like 80x50 or even 80x60 to get more rows than the standard 80x25. e.g: vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x60 > 2) How can these settings be made default (takes effect at boot)? > > IOW, what is the equivalent of the "vga=0x365" Linux kernel option? Use the "allscreens_flags" option in rc.conf. For the text example above you'd want: allscreens_flags="-f 8x8 cp437-8x8.fnt VGA_80x60" Similarly for graphics modes, just include everything you'd include on the command line to vidcontrol. > 3) How I can set the scrollback buffer size (if that's the name) of > the console -- the equivalent of Shift+{PgUp,PgDn} on Linux? I usually do this via the SC_HISTORY_SIZE kernel option. Scroll-lock can be used to browse the history in any console virtual terminal. See the sc(4) manpage for details on this option and the SC_PIXEL_MODE option mentioned above. JN From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 17:53:39 2008 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 C7C14106567E for ; Mon, 10 Nov 2008 17:53:39 +0000 (UTC) (envelope-from jnatola@familycareintl.org) Received: from mail.familycareintl.org (static-64-61-120-78.isp.broadviewnet.net [64.61.120.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6DF8FC1D for ; Mon, 10 Nov 2008 17:53:39 +0000 (UTC) (envelope-from jnatola@familycareintl.org) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Nov 2008 12:53:38 -0500 Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E3FA1@www.fcimail.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: file harvest Thread-Index: AclDXUKc+S2XJSw4QLGAFmeR5C4akQ== From: "Jean-Paul Natola" To: "FreeBSD Questions" X-Mailman-Approved-At: Mon, 10 Nov 2008 18:24:54 +0000 Subject: file harvest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 17:53:39 -0000 Hi all, I have a SNAP 4100 appliance that lost 2 directories, no backup , I = sent it out to a DR service and they have told me that all they can do is file harvest, where I would get a list of files such as file0001.xls = file0002.xls etc... With no guarantee of what will come out, now we are a non-profit so 3k = with no guarantees is kind of hard to swallow- Question is how can I, if it all possible, do a harvest of my own? I believe the snap uses UFS=20 TIA j From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 18:29:09 2008 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 0533C1065673 for ; Mon, 10 Nov 2008 18:29:09 +0000 (UTC) (envelope-from dannyman@toldme.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id DAAEA8FC1E for ; Mon, 10 Nov 2008 18:29:08 +0000 (UTC) (envelope-from dannyman@toldme.com) Received: by rv-out-0506.google.com with SMTP id b25so2495447rvf.43 for ; Mon, 10 Nov 2008 10:29:08 -0800 (PST) Received: by 10.143.11.11 with SMTP id o11mr2564999wfi.193.1226341748364; Mon, 10 Nov 2008 10:29:08 -0800 (PST) Received: by 10.142.87.13 with HTTP; Mon, 10 Nov 2008 10:29:08 -0800 (PST) Message-ID: <2a5241e00811101029g6f2501b4t395e30b5d10a1212@mail.gmail.com> Date: Mon, 10 Nov 2008 10:29:08 -0800 From: "Daniel Howard" To: bsd In-Reply-To: <4B1A9F30-B8BC-4C48-A85F-3697C6AB3B7B@todoo.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4B1A9F30-B8BC-4C48-A85F-3697C6AB3B7B@todoo.biz> Cc: Liste FreeBSD Subject: Re: scripting text replacement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:29:09 -0000 On Sat, Nov 8, 2008 at 10:43 AM, bsd wrote: > I have a file containing a list of items like that: > > line1item1 line1item2 line1item3 > line2item1 line2item2 line2item3 > =85400 times > > I need to insert this into another text file using printf() items should = be > converted into variable looping=85 like that: > > printf "Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2" awk '{print "Bla bla bla "$1" bla bla "$2" bla bla "$3" bla bla "$2}' < file.txt > file-bla-bla-bla.txt -d --=20 http://dannyman.toldme.com From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 18:28:14 2008 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 4B8511065672 for ; Mon, 10 Nov 2008 18:28:14 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-gx0-f13.google.com (mail-gx0-f13.google.com [209.85.217.13]) by mx1.freebsd.org (Postfix) with ESMTP id D0DE08FC22 for ; Mon, 10 Nov 2008 18:28:13 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by gxk6 with SMTP id 6so2068373gxk.19 for ; Mon, 10 Nov 2008 10:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xiHOxpSbtY9UYi2HDMOST89MVYgaFHRZ5CE0vOJ5Y8o=; b=mbDjTYCOP9OFhVkT1CCU36ssOK274+sKGEwXxA04ZtKzvVZ+Ejc+gPiPlweCdtaFKj Ez0ziTS+4LGUxJ9M1jqBwI+h7uAP1LWzg5PABkmrF9+rzhVakpDYRaiau/SxtK+OipfU n7qbTQYBRCjmyamtf4aJ+Z7ec9J/T3tMNziwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fMCFA1XUPFZf6pEyproWhcV0h3RrSODcKCplbUhEP5jyHT7MwKZ/Jnpar/LJG/4m8E OQbQh3MwjzYa6i3fokDUKZTWlOxW4g1c4HXVh7Mva7RJKYkjFmJcfSOqmbGTelQv8ib6 v2fJvfhVDAuajUMw9CivjhpT7FhUadzSwbsys= Received: by 10.151.102.16 with SMTP id e16mr10295801ybm.240.1226341542516; Mon, 10 Nov 2008 10:25:42 -0800 (PST) Received: by 10.150.135.11 with HTTP; Mon, 10 Nov 2008 10:25:42 -0800 (PST) Message-ID: <25ff90d60811101025j4a787b2esb4bb27c1ac5c3e8c@mail.gmail.com> Date: Mon, 10 Nov 2008 13:25:42 -0500 From: "David Horn" To: mdh_lists@yahoo.com In-Reply-To: <419025.2571.qm@web56803.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25ff90d60811091734u67775807ma67b6c1de0c59b9e@mail.gmail.com> <419025.2571.qm@web56803.mail.re3.yahoo.com> X-Mailman-Approved-At: Mon, 10 Nov 2008 18:47:45 +0000 Cc: freebsd-questions@freebsd.org Subject: Re: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Nov 2008 18:28:14 -0000 On Mon, Nov 10, 2008 at 10:31 AM, mdh wrote: > --- On Sun, 11/9/08, David Horn wrote: >> From: David Horn >> Subject: Re: host -6 failure >> To: mdh_lists@yahoo.com >> Cc: freebsd-questions@freebsd.org >> Date: Sunday, November 9, 2008, 8:34 PM >> On Sun, Nov 9, 2008 at 3:13 AM, mdh >> wrote: >> > --- On Sat, 11/8/08, David Horn >> wrote: >> >> From: David Horn >> >> Subject: Re: host -6 failure >> >> To: mdh_lists@yahoo.com >> >> Cc: freebsd-questions@freebsd.org >> >> Date: Saturday, November 8, 2008, 8:10 PM >> >> On Sat, Nov 8, 2008 at 7:55 PM, mdh >> >> wrote: >> >> > --- On Sat, 11/8/08, David Horn >> >> wrote: >> >> >> From: David Horn >> >> >> >> Subject: Re: host -6 failure >> >> >> To: mdh_lists@yahoo.com >> >> >> Cc: freebsd-questions@freebsd.org >> >> >> Date: Saturday, November 8, 2008, 7:25 PM >> >> >> On Fri, Nov 7, 2008 at 2:18 PM, mdh >> >> >> wrote: