From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 16:22:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE9910656F8 for ; Wed, 21 Jan 2009 16:22:11 +0000 (UTC) (envelope-from apache@tracker2.aebc.com) Received: from tracker2.aebc.com (xx6651128045.cipherkey.com [66.51.128.45]) by mx1.freebsd.org (Postfix) with ESMTP id 79F568FC31 for ; Wed, 21 Jan 2009 16:22:11 +0000 (UTC) (envelope-from apache@tracker2.aebc.com) Received: from tracker2.aebc.com (localhost.localdomain [127.0.0.1]) by tracker2.aebc.com (Postfix) with ESMTP id 4575F6769CA for ; Wed, 21 Jan 2009 08:20:44 -0800 (PST) Received: (from apache@localhost) by tracker2.aebc.com (8.13.8/8.13.8/Submit) id n0LGKiL9030098; Wed, 21 Jan 2009 08:20:44 -0800 From: "AEBC Support via RT" In-Reply-To: <20090121162146.6A4F910656D1@hub.freebsd.org> References: <20090121162146.6A4F910656D1@hub.freebsd.org> Message-ID: Precedence: bulk X-RT-Loop-Prevention: tracker2.aebc.com RT-Ticket: tracker2.aebc.com #190413 Managed-by: RT 3.8.2 (http://www.bestpractical.com/rt/) RT-Originator: freebsd-questions@freebsd.org Auto-Submitted: auto-replied To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Wed, 21 Jan 2009 08:20:44 -0800 Subject: [Trouble Ticket #190413] AutoReply: freebsd-questions Digest, Vol 246, Issue 37 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Reply-To: support@aebc.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 16:22:12 -0000 Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 37", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190413]. Please include the string: [Trouble Ticket #190413] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. [Trouble Ticket #190389] AutoReply: freebsd-questions Digest, Vol 246, Issue 36 (AEBC Support via RT) 2. Resolved: freebsd-questions Digest, Vol 246, Issue 26 [SpamCop (66.51.128.45) id:3804161333][Trouble Ticket #190335] [SpamCop (66.51.128.45) id:3804161220][Trouble Ticket #190335] [SpamCop (66.51.128.45) id:380 (Jaybee Bambilla via RT) 3. Re: Is there any tools can build a mirror of portsnap? (Wojciech Puchar) 4. Re: switching bsdlabel's label (Eduardo Meyer) 5. Re: source of uname information (Trober) 6. Re: source of uname information (Trober) 7. Perl: Why not updated to latest version 5.10.0 (Robert Huff) 8. LPRng-3.8.A on FreeBSD-7.0amd64 (luizbcampos) 9. Re: Is there any tools can build a mirror of portsnap? (Vincent Hoffman) 10. Re: source of uname information (Robert Huff) 11. Re: kvm switch (Bobby) 12. [Trouble Ticket #190389] Resolved: freebsd-questions Digest, Vol 246, Issue 36 (Jaybee Bambilla via RT) 13. Re: Is there any tools can build a mirror of portsnap? (Wojciech Puchar) 14. Re: source of uname information (Trober) 15. Re: Perl: Why not updated to latest version 5.10.0 (Jerry) 16. RE: Motherboard support (Graeme Dargie) 17. Re: source of uname information (RW) 18. Re: Is there any tools can build a mirror of portsnap? (RW) 19. Re: Perl: Why not updated to latest version 5.10.0 (William Gordon Rutherdale) 20. pam_start error (William Bentley) 21. Re: source of uname information (Trober) 22. Re: Is there any tools can build a mirror of portsnap? (Razor) 23. Re: Is there any tools can build a mirror of portsnap? (Vincent Hoffman) 24. Re: switching bsdlabel's label (Jerry McAllister) 25. FreeBSD7+KDE3, IPMI module, no mouse input (Pieter Donche) 26. ipfw + bridge + pppoe (alex) 27. Re: switching bsdlabel's label (Oliver Fromme) 28. Re: source of uname information (Robert Huff) 29. Re: switching bsdlabel's label (Patrick Tracanelli) 30. HTTP proxy which prints HTTP in human readable form (Matthias Apitz) 31. Re: HTTP proxy which prints HTTP in human readable form (Dave Feustel) 32. Re: HTTP proxy which prints HTTP in human readable form (Steven Kreuzer) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Jan 2009 03:59:48 -0800 From: "AEBC Support via RT" Subject: [Trouble Ticket #190389] AutoReply: freebsd-questions Digest, Vol 246, Issue 36 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Thank you for contacting us. This message has been automatically generated in response to the creation of a trouble ticket regarding: "freebsd-questions Digest, Vol 246, Issue 36", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Trouble Ticket #190389]. Please include the string: [Trouble Ticket #190389] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, support@aebc.com ------------------------------------------------------------------------- Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. Filesystem tunning (Matias Surdi) 2. [Trouble Ticket #190387] Resolved: freebsd-questions Digest, Vol 246, Issue 35 (Jaybee Bambilla via RT) 3. [Trouble Ticket #190386] Resolved: freebsd-questions Digest, Vol 246, Issue 34 (Jaybee Bambilla via RT) 4. [Trouble Ticket #190385] Resolved: freebsd-questions Digest, Vol 246, Issue 33 (Jaybee Bambilla via RT) 5. [Trouble Ticket #190384] Resolved: freebsd-questions Digest, Vol 246, Issue 32 (Jaybee Bambilla via RT) 6. Perl: Why not updated to latest version 5.10.0 (Jerry) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Jan 2009 12:01:04 +0100 From: Matias Surdi Subject: Filesystem tunning To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, Is there any way to avoid the system going to single user mode when a secondary storage device cannot be mounted?. I mean, if all system filesystems are OK, how can set up a device with a custom mount point so that when it's tried to mount at boot time and fails doesn't cause the system to be in single user mode? I know that if in fstab I set the last parameter to "0" checking will not be made at boot time, but instead what I want is the check to be run, correct any automatically correctable error, and continue booting anyway, despite the result of the check.Later a custom script will check the filesystem and send a mail, for example. Thanks for your help. ------------------------------ Message: 2 Date: Wed, 21 Jan 2009 03:32:24 -0800 From: "Jaybee Bambilla via RT" Subject: [Trouble Ticket #190387] Resolved: freebsd-questions Digest, Vol 246, Issue 35 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 03:32:34 -0800 From: "Jaybee Bambilla via RT" Subject: [Trouble Ticket #190386] Resolved: freebsd-questions Digest, Vol 246, Issue 34 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 4 Date: Wed, 21 Jan 2009 03:32:38 -0800 From: "Jaybee Bambilla via RT" Subject: [Trouble Ticket #190385] Resolved: freebsd-questions Digest, Vol 246, Issue 33 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 5 Date: Wed, 21 Jan 2009 03:32:38 -0800 From: "Jaybee Bambilla via RT" Subject: [Trouble Ticket #190384] Resolved: freebsd-questions Digest, Vol 246, Issue 32 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 6 Date: Wed, 21 Jan 2009 06:34:01 -0500 From: Jerry Subject: Perl: Why not updated to latest version 5.10.0 To: freebsd-questions@freebsd.org Message-ID: <20090121063401.23e8de5b@scorpio> Content-Type: text/plain; charset="utf-8" I was wondering if anyone can tell me why Perl was not updated to the latest stable release; i.e. 5.10.0 rather than 5.8.9 recently? It appears that some ports are having problems with this odd version update; i.e., "/news/inn" and possibly "/mail/mailscanner" as examples. With the latest version of Perl having been released over a year ago, it doesn't seem to make a whole lot of sense to waste the time to port an older version. -- Jerry gesbbb@yahoo.com "The Vatican is against surrogate mothers. Good thing they didn't have that rule when Jesus was born." Elayne Boosler -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090121/81b38710/signature-0001.pgp ------------------------------ _______________________________________________ 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" End of freebsd-questions Digest, Vol 246, Issue 36 ************************************************** ------------------------------ Message: 2 Date: Wed, 21 Jan 2009 04:07:19 -0800 From: "Jaybee Bambilla via RT" Subject: Resolved: freebsd-questions Digest, Vol 246, Issue 26 [SpamCop (66.51.128.45) id:3804161333][Trouble Ticket #190335] [SpamCop (66.51.128.45) id:3804161220][Trouble Ticket #190335] [SpamCop (66.51.128.45) id:380 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 3 Date: Wed, 21 Jan 2009 13:10:05 +0100 (CET) From: Wojciech Puchar Subject: Re: Is there any tools can build a mirror of portsnap? To: Razor Cc: freebsd-questions@freebsd.org Message-ID: <20090121130952.B26065@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed simply do portsnap in one place and use rsync to mirror /var/db/portsnap On Wed, 21 Jan 2009, Razor wrote: > Hi, > I want to build a mirror server of portsnap in my company. But I couldn't > find any tools either in ports-mgmt or in google. So is there a tool can do > this? > > Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 4 Date: Wed, 21 Jan 2009 10:45:28 -0200 From: Eduardo Meyer Subject: Re: switching bsdlabel's label To: Jerry McAllister Cc: "Patrick M. Hausen" , stable@freebsd.org, questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 20, 2009 at 4:42 PM, Jerry McAllister wrote: > On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: > >> On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen wrote: >> > Hello, >> > >> > On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: >> >> I have a certain disk where da0s1a and da0s1d are inverted. By some >> >> reason someone labelled root as 'd' and home as 'a'. >> >> >> >> Can I just >> >> >> >> bsdlabel -n da0s1 > savedabel.txt >> >> >> >> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) >> > >> > Why not simply use bsdlabel -e da0s1? >> >> Because I didnt know about that? ;-) >> >> Thank you for the hint. >> >> However I still have the same doubt. Since basically its the same >> task, Is it safe do relabel this way? > > Hmmm. Is there stuff written on the disk. Is root stuff really written > on da0s1d and /home stuff really written on da0s1a? Does the system boot > from it OK? > > Or is it just that the mounts are switched. > The mount points are not written in to the label. That comes after > booting. If it boots, I wonder if it really is switched on the > partitions or if it is just that the partitions are mounted backwards > (probably due to editing /etc/fstab incorrectly). > > ////jerry Hello Patrick, thanks again. Yes, label is switched. Yes there really are stuff on the partitions. No, I dont boot from da0s1d. It is a disk for migration. But the one who partitioned was fooled by Sysinstall which creates the first label on extra disks as 'd' and the last from the allowed 7 as 'a'. Therefore this server is still booting on the original disk (ad6s1a) and everything else is mounted in the new one (da0s1), everything but root. > > > > >> >> > >> > Kind regards, >> > Patrick >> > -- >> > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe >> > Tel. 0721 9109 0 * Fax 0721 9109 100 >> > info@punkt.de http://www.punkt.de >> > Gf: J�rgen Egeling AG Mannheim 108285 >> > >> >> >> >> -- >> =========== >> Eduardo Meyer >> pessoal: dudu.meyer@gmail.com >> profissional: ddm.farmaciap@saude.gov.br >> _______________________________________________ >> 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" >> > -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br ------------------------------ Message: 5 Date: Wed, 21 Jan 2009 10:46:06 -0200 From: Trober Subject: Re: source of uname information To: questions@freebsd.org, "Robert Huff" Message-ID: <20090121124607.09B94140B0@karpathos.uni5.net> Content-Type: text/plain; charset="iso-8859-1" Hi. I believe "YES", based on [1]http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.b in/uname/uname.c?rev=1.14.28.1;content-type=text%2Fplain . See "NATIVE_SYSCTL2_GET(version, CTL_KERN, KERN_VERSION)", on source abov I hope I've helped. Trober trober@trober.com - - - - - ----- Mensagem Original ----- Para: [3]questions@freebsd.org< Data: Quarta, 21 De Janeiro De 2009 Assunto: source of uname information < kern Robert Huff __________________________ [4]freebsd-questions@freebsd.org mailing list [5]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb sd.org" References 1. file://localhost/tmp/3D"htt 2. 3D"mailto:roberthuff@rcn.com 3. 3D"mailto:questions@freebsd.org" 4. 3D"mailto:freebsd-questions@freebsd.org" 5. ="http://lists.freebsd.org/mailman/listinfo/freebsd-questions" ------------------------------ Message: 6 Date: Wed, 21 Jan 2009 10:38:26 -0200 From: Trober Subject: Re: source of uname information To: questions@freebsd.org, "Robert Huff" Message-ID: <20090121123826.D19AA140AD@karpathos.uni5.net> Content-Type: text/plain; charset="iso-8859-1" Hi. I believe "YES", based on [1]http://www.freebsd.org/cgi/cvsweb. cgi/src/usr.bin/uname/uname.c?rev=1.14.28.1;content-type=3 Dtext See " source above. I hope I've helpe Trober trober@trober.com - - - - - ----- Mensagem Original ----- Para: [3]questions@freebsd.org< Data: Quarta, 21 De Janeiro De 2009 Assunto: source of uname information < kern Robert Huff __________________________ [4]freebsd-questions@freebsd.org mailing list [5]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb sd.org" References 1. file://localhost/tmp/3D"htt 2. 3D"mailto:roberthuff@rcn.com 3. 3D"mailto:questions@freebsd.org" 4. 3D"mailto:freebsd-questions@freebsd.org" 5. ="http://lists.freebsd.org/mailman/listinfo/freebsd-questions" ------------------------------ Message: 7 Date: Wed, 21 Jan 2009 07:58:44 -0500 From: Robert Huff Subject: Perl: Why not updated to latest version 5.10.0 To: freebsd-questions@freebsd.org Message-ID: <18807.7172.480547.436287@jerusalem.litteratus.org> Content-Type: text/plain; charset=us-ascii > I was wondering if anyone can tell me why Perl was not updated > to the latest stable release; i.e. 5.10.0 rather than 5.8.9 > recently? This was discussed within the last 2-3 weeks, either here or on ports@. Check the archives. If this is important, you can always volunteer to help the Perl-porting team. Robert Huff ------------------------------ Message: 8 Date: Wed, 21 Jan 2009 11:00:50 -0200 From: luizbcampos Subject: LPRng-3.8.A on FreeBSD-7.0amd64 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Trying to compile the latest version of LPRng (3.8.A) compatible with all plataforms, I got an error: $ sh STANDARD_configuration #make clean all install #make: don`t know how to make AM_CPPFLAGS. Stop I`ve ever upgraded native FBSD-7.0amd64 gcc version-4.2 to the latest gcc-44 but the failure lingers on. Suggestions? ------------------------------ Message: 9 Date: Wed, 21 Jan 2009 13:01:37 +0000 From: Vincent Hoffman Subject: Re: Is there any tools can build a mirror of portsnap? To: Wojciech Puchar Cc: freebsd-questions@freebsd.org, Razor Message-ID: <49771CB1.3090106@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Wojciech Puchar wrote: > simply do portsnap in one place and use rsync to mirror /var/db/portsnap > > On Wed, 21 Jan 2009, Razor wrote: > >> Hi, >> I want to build a mirror server of portsnap in my company. But I >> couldn't >> find any tools either in ports-mgmt or in google. So is there a tool >> can do >> this? >> There is a script in the freebsd cvs repository to mirror the portsnap servers, but from the README with it. "this is not an invitation to start running a portsnap mirror as well. There is nothing to stop you from mirroring from portsnap[12].freebsd.org, but since mirroring consumes ~5GB/month of bandwidth while updating a single machine consumes ~5MB/month of bandwidth, adding unnecessary mirrors is likely to increase rather than decrease the load on the official mirrors. If in doubt, talk to me (cperciva@FreeBSD.org) first." So if you think its worth it (you have 1000 or so clients to upgrade,) go look in the cvs repository under projects. Vince >> Thanks. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > _______________________________________________ > 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" ------------------------------ Message: 10 Date: Wed, 21 Jan 2009 08:06:50 -0500 From: Robert Huff Subject: Re: source of uname information To: Trober Cc: questions@freebsd.org Message-ID: <18807.7658.648830.399278@jerusalem.litteratus.org> Content-Type: text/plain; charset=us-ascii Trober : >> Am I correct in believing "uname" gets its information from the >> kern.version sysctl? > > I believe "YES", based on > [1]http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/uname/uname.c > > See "= NATIVE_SYSCTL2_GET(ver= sion, CTL_KERN, KERN_VERSION)", on > source above. > > I hope I've helped. It does. Next question: Can someone explain this: huff@jerusalem>> sysctl kern.version kern.version: FreeBSD 8.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009 huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM huff@jerusalem>> uname -a FreeBSD jerusalem.litteratus.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009 huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM i386 Robert huff ------------------------------ Message: 11 Date: Tue, 20 Jan 2009 18:53:34 -0600 From: Bobby Subject: Re: kvm switch To: FreeBSD Questions Message-ID: <200901201853.34513.bobby@missionaccess.org> Content-Type: text/plain; charset="iso-8859-1" On Wednesday 21 January 2009 12:38:12 am Chad Perrin wrote: > On Mon, Jan 19, 2009 at 08:16:28PM -0800, Kendall Shaw wrote: > > Do you have a kvm switch that does mouse and keyboard emulation and know > > that it works with freebsd? > > > > I have an iogear kvm switch from around the last time I asked this > > question here years back, that has usually worked with linux, netbsd, > > openbsd, macos and windows. Back then to work with freebsd, each time I > > switched away and back I would login remotely and issue a command to get > > freebsd to recognize the keyboard again. > > > > The newer version of my kvm switch says it has mouse and keyboard > > emulation, but I can't get a straight answer out of them if that means > > the OS can tell that they keyboard has disconnected or not. Do you know? > > Or do you know of a KVM switch, that does that and is suitable for an > > impoverished person's home computing needs? > > > > Also, I read someone's comment on newegg that the mouse emulation only > > emulates 2 buttons. Do you know if that is true? I am using a Trendnet TK-207 USB switch and it works very well with my system. It switches between FreeBSD and Vista, and I use a zBoard keyboard with my mouse plugged in through the keyboard. I don't have any problems with this KVM, it works greaat. ------------------------------ Message: 12 Date: Wed, 21 Jan 2009 05:13:27 -0800 From: "Jaybee Bambilla via RT" Subject: [Trouble Ticket #190389] Resolved: freebsd-questions Digest, Vol 246, Issue 36 To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. ------------------------------ Message: 13 Date: Wed, 21 Jan 2009 14:17:17 +0100 (CET) From: Wojciech Puchar Subject: Re: Is there any tools can build a mirror of portsnap? To: Vincent Hoffman Cc: freebsd-questions@freebsd.org, Razor Message-ID: <20090121141701.C26218@wojtek.tensor.gdynia.pl> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed if portsnap could use proxies - it would be simple. but it cant On Wed, 21 Jan 2009, Vincent Hoffman wrote: > Wojciech Puchar wrote: >> simply do portsnap in one place and use rsync to mirror /var/db/portsnap >> >> On Wed, 21 Jan 2009, Razor wrote: >> >>> Hi, >>> I want to build a mirror server of portsnap in my company. But I >>> couldn't >>> find any tools either in ports-mgmt or in google. So is there a tool >>> can do >>> this? >>> > There is a script in the freebsd cvs repository to mirror the portsnap > servers, but from the README with it. > > "this is not an invitation to start running a portsnap mirror as well. > There > is nothing to stop you from mirroring from portsnap[12].freebsd.org, > but since mirroring consumes ~5GB/month of bandwidth while updating a > single machine consumes ~5MB/month of bandwidth, adding unnecessary > mirrors is likely to increase rather than decrease the load on the > official mirrors. If in doubt, talk to me (cperciva@FreeBSD.org) first." > > > > So if you think its worth it (you have 1000 or so clients to upgrade,) > go look in the cvs repository under projects. > > > Vince > >>> Thanks. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> _______________________________________________ >> 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" > > ------------------------------ Message: 14 Date: Wed, 21 Jan 2009 11:23:57 -0200 From: Trober Subject: Re: source of uname information To: "Robert Huff" Cc: questions@freebsd.org Message-ID: <20090121132357.BA62C140A0@karpathos.uni5.net> Content-Type: text/plain; charset="iso-8859-1" kern.version is small part only of output uname command uname command concatane KERN_OSTYPE, KERN_HOSTNAME, KERN_OSRELEASE,&nb output. I hope I've he Trober trober@trober.com - - - - - ----- Mensagem Original ----- Para: [2]Trober Cc: [3]questions@freebsd.org Data: Quarta, 21 De Janeiro De 2009 Assunto: Re: source of uname informa Trober : >> Am I cor the >> & > > I believe "YES", ba > [1]http://www.freebsd.org/cgi/cvsweb.cgi/s rc/usr.bin/uname/uname.c > > See "= NATIVE_SY KERN_VERSION)", on > sou > > I hope I've helped. It do Next question: Can someone explain this: huff@jerusalem& kern.version: FreeBSD 8.0-CURRENT #0: 2009 huff@jerusalem.litterat us.org:/usr/obj/usr/src/sys/JERUSALEM huff@jerusalem>> uname -a< 7.0-CURRENT FreeBSD 7.0-CURRENT 2009 huff@jerusalem. litteratus.org:/usr/obj/usr/src/sys/JERUSALEM i386 Rober _______________________________________________ [4]freebsd-questions@fr [5]http://lists.freebsd.o rg/mailman/listinfo/freebsd-questions To unsubscribe, send any mail "freebsd-questions-unsubscribe@freebsd.org" References 1. 3D"mailto:roberthuff@rcn.com 2. 3D"mailto:trober@trober.com" 3. 3D"mailto:questions@freebsd.org" 4. file://localhost/tmp/3D 5. 3D"http://lists.freebsd.org/mai ------------------------------ Message: 15 Date: Wed, 21 Jan 2009 08:34:04 -0500 From: Jerry Subject: Re: Perl: Why not updated to latest version 5.10.0 To: freebsd-questions@freebsd.org Message-ID: <20090121083404.5ff1f70c@scorpio> Content-Type: text/plain; charset="utf-8" On Wed, 21 Jan 2009 07:58:44 -0500 Robert Huff wrote: >> I was wondering if anyone can tell me why Perl was not updated >> to the latest stable release; i.e. 5.10.0 rather than 5.8.9 >> recently? > > This was discussed within the last 2-3 weeks, either here or on >ports@. Check the archives. > If this is important, you can always volunteer to help the >Perl-porting team. I subscribe to the port@ list as well as this one obviously and I do not remember seeing that article. I will keep looking. -- Jerry gesbbb@yahoo.com To stay young requires unceasing cultivation of the ability to unlearn old falsehoods. Lazarus Long, "Time Enough For Love" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090121/ab1f8d60/signature-0001.pgp ------------------------------ Message: 16 Date: Wed, 21 Jan 2009 13:37:22 -0000 From: "Graeme Dargie" Subject: RE: Motherboard support To: Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929560F@Mercury.galaxy.lan.lcl> Content-Type: text/plain; charset="us-ascii" Well I spent a little more time having a look in the bios Here are the results from various settings and a potential solution. SATA controller in Native IDE mode All drives show as IDE at the POST summary screen on boot In FreeBSD SATA Ports 0-3 The disks show SATA Ports 4&5 No disks show Dmesg shows the following ad4: 476940MB at ata2-master SATA300 ad6: 476940MB at ata3-master SATA300 ad8: 476940MB at ata4-master SATA300 ad10: 476940MB at ata5-master SATA300 SATA Controller in AHCI Mode All drives show up on RAID Controller POST summary screen In FreeBSD SATA Ports 0-5 now show disks connected Dmesg shows the following ad4: 476940MB at ata2-master SATA300 ad6: 476940MB at ata3-master SATA300 ad8: 476940MB at ata4-master SATA300 ad10: 476940MB at ata5-master SATA300 ad12: 476940MB at ata6-master SATA300 ad14: 476940MB at ata7-master SATA300 I have read there have been problems with the realtek 8169/8111c NIC card on some systems with under FreeBSD, but I cant seem to find a solution to this. Regards Graeme -----Original Message----- From: Da Rock [mailto:rock_on_the_web@comcen.com.au] Sent: 21 January 2009 10:36 To: freebsd-questions@freebsd.org Subject: Re: Motherboard support On Tue, 2009-01-20 at 22:58 +0000, Graeme Dargie wrote: > Hello, > > > > I have built a machine with a Gigabyte GA-MA74GM-S2, running Freebsd > 7.1. For the most part it is fine but I do have two problems > > > > 1) The NIC a realtek 8111C keeps giving watchdog timeout messages > and the link state changes from up to down and back to up again. > > > > 2) The two hard disks that are attached to the sata raid > controller are not seen by Freebsd, the raid card is set to native ide > as I want to use ZFS rather than the onboard raid system and all the > drives are present at post. I understand this motherboard uses a AMD740 > chipset and has 740 northbridge and a SB700 southbridge. > > > > Any ideas tips pointers would be most welcome I'm not sure about the NIC, but I don't think the native ide or sata control matters in terms of zfs (I could be wrong, and please correct me if so experts). The sata controller should recognize the disks with or without raid, which freebsd should recognize then install on. I use sata in this mode on my systems, and freebsd works fine. Any software raid wouldn't care then as long as freebsd itself recognizes the drives. HTH _______________________________________________ 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" ------------------------------ Message: 17 Date: Wed, 21 Jan 2009 13:39:57 +0000 From: RW Subject: Re: source of uname information To: freebsd-questions@freebsd.org Message-ID: <20090121133957.4aec8fef@gumby.homeunix.com> Content-Type: text/plain; charset=US-ASCII On Wed, 21 Jan 2009 08:06:50 -0500 Robert Huff wrote: > Can someone explain this: > > huff@jerusalem>> sysctl kern.version > kern.version: FreeBSD 8.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009 > huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM > huff@jerusalem>> uname -a > FreeBSD jerusalem.litteratus.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: > Do you have any UNAME_* variables set in the environment? ------------------------------ Message: 18 Date: Wed, 21 Jan 2009 13:55:59 +0000 From: RW Subject: Re: Is there any tools can build a mirror of portsnap? To: freebsd-questions@freebsd.org Message-ID: <20090121135559.656e37e9@gumby.homeunix.com> Content-Type: text/plain; charset=US-ASCII On Wed, 21 Jan 2009 14:17:17 +0100 (CET) Wojciech Puchar wrote: > if portsnap could use proxies - it would be simple. but it cant It's certainly supposed to, the man page says it does, fetch and phttpget are both supposed to support proxies, and there's support in the script for seeding the random selection of servers from the proxy name. ------------------------------ Message: 19 Date: Wed, 21 Jan 2009 08:57:37 -0500 From: William Gordon Rutherdale Subject: Re: Perl: Why not updated to latest version 5.10.0 To: freebsd-questions@freebsd.org Message-ID: <497729D1.20508@utoronto.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed As a newcomer to freebsd and a long time Perl user, this was one of the first things I noticed. 5.8.8 as distributed on freebsd 7.1 is extremely old. -Will Jerry wrote: > I was wondering if anyone can tell me why Perl was not updated to the > latest stable release; i.e. 5.10.0 rather than 5.8.9 recently? It > appears that some ports are having problems with this odd version > update; i.e., "/news/inn" and possibly "/mail/mailscanner" as examples. > > With the latest version of Perl having been released over a year ago, > it doesn't seem to make a whole lot of sense to waste the time to port > an older version. > > ------------------------------ Message: 20 Date: Wed, 21 Jan 2009 08:38:36 -0500 (EST) From: "William Bentley" Subject: pam_start error To: freebsd-questions@freebsd.org Message-ID: <4479cd61ae3c5428930a1c670c7661cd.squirrel@secure.futurecis.com> Content-Type: text/plain;charset=iso-8859-1 Hello all, I am currently running FreeBSD 7.1-Release and have run into a problem that I nor google can find a solution too. I get the following errors upon boot: in openpam_load_module(): no /usr/local/lib/pam_ldap.so pam_start:system error I have reinstalled the ldap client and checked all config files. I have also compared it to my other systems that are authenticating against the ldap server and they are ok. I do not believe this is an ldap issue though because I am not even able to login as root at the console. I have verified that the pam_ldap.so file is in place and all permissions and file sizes are correct. Can anyone help? ------------------------------ Message: 21 Date: Wed, 21 Jan 2009 12:00:31 -0200 From: Trober Subject: Re: source of uname information To: "Robert Huff" Cc: freebsd-questions@freebsd.org Message-ID: <20090121140032.B525F140B1@karpathos.uni5.net> Content-Type: text/plain; charset="iso-8859-1" Hi! Wow! Good question! Sorry, I had not seen the difference between 7 and 8 in uname and sysctl output. Sorry. What your /usr/obj/usr/src/include/vers.h file say in: SCCSSTR VERSTR RELSTR char ostype char osrelease int osreldate kern_ident Thanks. Trober trober@trober.com - - - - - ----- Mensagem Original ----- De: Robert Huff Para: Trober Data: Quarta, 21 De Janeiro De 2009 10:39 Assunto: Re: source of uname information > > Trober writes: > > > kern.version is small part only of output uname command. > > > > uname command concatane KERN_OSTYPE, KERN_HOSTNAME, > > KERN_OSRELEASE,&nb= sp;KERN_VERSION (not in this order) to show > > output. > > The question is: > Why do the sysctls say one thing, and uname another? > > > Robert Huff > > ------------------------------ Message: 22 Date: Wed, 21 Jan 2009 22:36:38 +0800 From: Razor Subject: Re: Is there any tools can build a mirror of portsnap? To: Vincent Hoffman Cc: Wojciech Puchar , freebsd-questions@freebsd.org Message-ID: <910c4cb0901210636o717956afrbb1af2b2da6df9e@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Thank you. I have checked out the shell script for mirroring. I read the notes in the script. My company may have a few user of portsnap. But they usually complain about the portsnap mirror on the internet is so slow. My company doesn't have a proxy, it seems to be using NAT. So if I change the interval of running the mirror script to a few hours, it should not consume lots of existing mirrors bandwidth? On Wed, Jan 21, 2009 at 9:01 PM, Vincent Hoffman wrote: > Wojciech Puchar wrote: > > simply do portsnap in one place and use rsync to mirror /var/db/portsnap > > > > On Wed, 21 Jan 2009, Razor wrote: > > > >> Hi, > >> I want to build a mirror server of portsnap in my company. But I > >> couldn't > >> find any tools either in ports-mgmt or in google. So is there a tool > >> can do > >> this? > >> > There is a script in the freebsd cvs repository to mirror the portsnap > servers, but from the README with it. > > "this is not an invitation to start running a portsnap mirror as well. > There > is nothing to stop you from mirroring from portsnap[12].freebsd.org, > but since mirroring consumes ~5GB/month of bandwidth while updating a > single machine consumes ~5MB/month of bandwidth, adding unnecessary > mirrors is likely to increase rather than decrease the load on the > official mirrors. If in doubt, talk to me (cperciva@FreeBSD.org) first." > > > > So if you think its worth it (you have 1000 or so clients to upgrade,) > go look in the cvs repository under projects. > > > Vince > > >> Thanks. > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > >> > >> > > _______________________________________________ > > 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" > > ------------------------------ Message: 23 Date: Wed, 21 Jan 2009 14:52:16 +0000 From: Vincent Hoffman Subject: Re: Is there any tools can build a mirror of portsnap? To: Wojciech Puchar Cc: freebsd-questions@freebsd.org, Razor Message-ID: <497736A0.4060000@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Wojciech Puchar wrote: > if portsnap could use proxies - it would be simple. but it cant > The manpage suggests you could, "If you wish to use portsnap to keep a large number of machines up to date, you may wish to set up a caching HTTP proxy. Since portsnap uses fetch(1) to download updates, setting the HTTP_PROXY environment variable will direct it to fetch updates from the given proxy. This is much more efficient than mirroring the files on the portsnap server, since the vast majority of files are not needed by any par- ticular client." I havent tried this though. Vince > On Wed, 21 Jan 2009, Vincent Hoffman wrote: > >> Wojciech Puchar wrote: >>> simply do portsnap in one place and use rsync to mirror >>> /var/db/portsnap >>> >>> On Wed, 21 Jan 2009, Razor wrote: >>> >>>> Hi, >>>> I want to build a mirror server of portsnap in my company. But I >>>> couldn't >>>> find any tools either in ports-mgmt or in google. So is there a tool >>>> can do >>>> this? >>>> >> There is a script in the freebsd cvs repository to mirror the portsnap >> servers, but from the README with it. >> >> "this is not an invitation to start running a portsnap mirror as well. >> There >> is nothing to stop you from mirroring from portsnap[12].freebsd.org, >> but since mirroring consumes ~5GB/month of bandwidth while updating a >> single machine consumes ~5MB/month of bandwidth, adding unnecessary >> mirrors is likely to increase rather than decrease the load on the >> official mirrors. If in doubt, talk to me (cperciva@FreeBSD.org) >> first." >> >> >> >> So if you think its worth it (you have 1000 or so clients to upgrade,) >> go look in the cvs repository under projects. >> >> >> Vince >> >>>> Thanks. >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> >>>> >>> _______________________________________________ >>> 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" >> >> ------------------------------ Message: 24 Date: Wed, 21 Jan 2009 10:00:46 -0500 From: Jerry McAllister Subject: Re: switching bsdlabel's label To: Eduardo Meyer Cc: Jerry McAllister , "Patrick M. Hausen" , stable@freebsd.org, questions@freebsd.org Message-ID: <20090121150046.GA61468@gizmo.acns.msu.edu> Content-Type: text/plain; charset=iso-8859-1 On Wed, Jan 21, 2009 at 10:45:28AM -0200, Eduardo Meyer wrote: > On Tue, Jan 20, 2009 at 4:42 PM, Jerry McAllister wrote: > > On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: > > > >> On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen wrote: > >> > Hello, > >> > > >> > On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: > >> >> I have a certain disk where da0s1a and da0s1d are inverted. By some > >> >> reason someone labelled root as 'd' and home as 'a'. > >> >> > >> >> Can I just > >> >> > >> >> bsdlabel -n da0s1 > savedabel.txt > >> >> > >> >> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) > >> > > >> > Why not simply use bsdlabel -e da0s1? > >> > >> Because I didnt know about that? ;-) > >> > >> Thank you for the hint. > >> > >> However I still have the same doubt. Since basically its the same > >> task, Is it safe do relabel this way? > > > > Hmmm. Is there stuff written on the disk. Is root stuff really written > > on da0s1d and /home stuff really written on da0s1a? Does the system boot > > from it OK? > > > > Or is it just that the mounts are switched. > > The mount points are not written in to the label. That comes after > > booting. If it boots, I wonder if it really is switched on the > > partitions or if it is just that the partitions are mounted backwards > > (probably due to editing /etc/fstab incorrectly). > > > > ////jerry > > Hello Patrick, thanks again. Yes, label is switched. Yes there really > are stuff on the partitions. No, I dont boot from da0s1d. It is a disk > for migration. But the one who partitioned was fooled by Sysinstall > which creates the first label on extra disks as 'd' and the last from > the allowed 7 as 'a'. Therefore this server is still booting on the > original disk (ad6s1a) and everything else is mounted in the new one > (da0s1), everything but root. What sysinstall does is assume that the 'a' partition will be used for a root mount and the 'b' partition will be used for swap. Sinc 'c' is reserved, it starts with 'd'. Then, if you later add an 'a' it will end up being later (higher offset) than the 'd'. I suppose it might confuse a person, but otherwise it is no problem and probably would be best to just leave it that way. You really only need to use the mount point anyway most of the time. So, if the mount point addresses the partition you want to with that name, then you should have no problem. You could switch it around using bsdlabel, but I don't think the risk would be worth the negligible gain. But, do as you wish. ////jerry > > > > > > > > > > >> > >> > > >> > Kind regards, > >> > Patrick > >> > -- > >> > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe > >> > Tel. 0721 9109 0 * Fax 0721 9109 100 > >> > info@punkt.de http://www.punkt.de > >> > Gf: J�rgen Egeling AG Mannheim 108285 > >> > > >> > >> > >> > >> -- > >> =========== > >> Eduardo Meyer > >> pessoal: dudu.meyer@gmail.com > >> profissional: ddm.farmaciap@saude.gov.br > >> _______________________________________________ > >> 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" > >> > > > > > > -- > =========== > Eduardo Meyer > pessoal: dudu.meyer@gmail.com > profissional: ddm.farmaciap@saude.gov.br > ------------------------------ Message: 25 Date: Wed, 21 Jan 2009 16:11:37 +0100 (CET) From: Pieter Donche Subject: FreeBSD7+KDE3, IPMI module, no mouse input To: "mail.list freebsd-questions" Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Installed FreeBSD7.0-amd on a Supermicro system that has an IPMI module (=Remote server management through webbrowser (Java appl.)) After installing Xorg and kde3, when connecting through the IPMI, the KDM login manager shows its login window. Keyboard input works, but mouse input does not (the mouse pointer moves, but clicking on e.g. the 'Menu' button in KDM login window does nothing) (the IPMI console window shows in the bottom right corner a keyboard and mouse icon, indicating that both should be available) Also, after some time the screen gets black and reports 'No signal' I can still do Ctrl-Alt-F1 to get a FreeBSD ASCII console login: prompt. Another Ctrl-ALt-F9 gets me back to KDE3 login window (keyboard but no mouse input accepted) what can be wrong and how to remedy? ------------------------------ Message: 26 Date: Wed, 21 Jan 2009 16:55:51 +0200 From: alex Subject: ipfw + bridge + pppoe To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi guys! Just wondering if any of you know how to filter traffic (PPPOE,TCP,IP) by the means of ipfw, on bridge with FreeBSD 7.x installed, in the case when all traffic passing through the bridge is encapsulated in PPPOE. Thanks. ------------------------------ Message: 27 Date: Wed, 21 Jan 2009 16:27:50 +0100 (CET) From: Oliver Fromme Subject: Re: switching bsdlabel's label To: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, jerrymc@msu.edu, Eduardo Meyer Message-ID: <200901211527.n0LFRoGp031740@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1 Jerry McAllister wrote: > What sysinstall does is assume that the 'a' partition will be > used for a root mount and the 'b' partition will be used for swap. > Sinc 'c' is reserved, it starts with 'd'. Then, if you later > add an 'a' it will end up being later (higher offset) than the 'd'. > > I suppose it might confuse a person, but otherwise it is no problem > and probably would be best to just leave it that way. The boot process assumes (by default) that the root file system is on the "a" partition. If it isn't, you won't be able to boot from that disk, unless you enter the real root partition at the boot0 prompt. So it is really a good idea to switch the partitions in the label before putting that disk into production. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch�ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M�n- chen, HRB 125758, Gesch�ftsf�hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I learned Java 3 years before Python. It was my language of choice. It took me two weekends with Python before I was more productive with it than with Java." -- Anthony Roberts ------------------------------ Message: 28 Date: Wed, 21 Jan 2009 10:35:35 -0500 From: Robert Huff Subject: Re: source of uname information To: Trober Cc: Robert Huff , freebsd-questions@freebsd.org Message-ID: <18807.16583.372061.713345@jerusalem.litteratus.org> Content-Type: text/plain; charset=us-ascii Trober writes: > What your /usr/obj/usr/src/include/vers.h file say in: No such file. Robert Huff ------------------------------ Message: 29 Date: Wed, 21 Jan 2009 13:13:31 -0200 From: Patrick Tracanelli Subject: Re: switching bsdlabel's label To: Jerry McAllister Cc: stable@freebsd.org, Eduardo Meyer , questions@freebsd.org Message-ID: <49773B9B.4060402@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Jerry McAllister escreveu: > On Wed, Jan 21, 2009 at 10:45:28AM -0200, Eduardo Meyer wrote: > >> On Tue, Jan 20, 2009 at 4:42 PM, Jerry McAllister wrote: >>> On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: >>> >>>> On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen wrote: >>>>> Hello, >>>>> >>>>> On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: >>>>>> I have a certain disk where da0s1a and da0s1d are inverted. By some >>>>>> reason someone labelled root as 'd' and home as 'a'. >>>>>> >>>>>> Can I just >>>>>> >>>>>> bsdlabel -n da0s1 > savedabel.txt >>>>>> >>>>>> Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) >>>>> Why not simply use bsdlabel -e da0s1? >>>> Because I didnt know about that? ;-) >>>> >>>> Thank you for the hint. >>>> >>>> However I still have the same doubt. Since basically its the same >>>> task, Is it safe do relabel this way? >>> Hmmm. Is there stuff written on the disk. Is root stuff really written >>> on da0s1d and /home stuff really written on da0s1a? Does the system boot >>> from it OK? >>> >>> Or is it just that the mounts are switched. >>> The mount points are not written in to the label. That comes after >>> booting. If it boots, I wonder if it really is switched on the >>> partitions or if it is just that the partitions are mounted backwards >>> (probably due to editing /etc/fstab incorrectly). >>> >>> ////jerry >> Hello Patrick, thanks again. Yes, label is switched. Yes there really >> are stuff on the partitions. No, I dont boot from da0s1d. It is a disk >> for migration. But the one who partitioned was fooled by Sysinstall >> which creates the first label on extra disks as 'd' and the last from >> the allowed 7 as 'a'. Therefore this server is still booting on the >> original disk (ad6s1a) and everything else is mounted in the new one >> (da0s1), everything but root. > > What sysinstall does is assume that the 'a' partition will be > used for a root mount and the 'b' partition will be used for swap. > Sinc 'c' is reserved, it starts with 'd'. Then, if you later > add an 'a' it will end up being later (higher offset) than the 'd'. > > I suppose it might confuse a person, but otherwise it is no problem > and probably would be best to just leave it that way. You really > only need to use the mount point anyway most of the time. So, if > the mount point addresses the partition you want to with that name, > then you should have no problem. > > You could switch it around using bsdlabel, but I don't think the > risk would be worth the negligible gain. But, do as you wish. > > ////jerry > > >>> >>> >>> >>>>> Kind regards, >>>>> Patrick >>>>> -- >>>>> punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe >>>>> Tel. 0721 9109 0 * Fax 0721 9109 100 >>>>> info@punkt.de http://www.punkt.de >>>>> Gf: J�rgen Egeling AG Mannheim 108285 Hello, Yes, you can do this change anytime you want, since (1) da0s1* are unmounted and (2) disk is clean. Therefore I suggest you are in single user mode. If you feel unsure, backup the current label scheme with disklabel da0s1 -n > da0s1.disklabel.bk You can restore anytime with the Rescue Disk. Go ahead, no problem. Sometimes you will really have problem booting from a disk if root is not on label 'a'. I believe it can be workarounded, but your will is safe, go ahead and switch the labels. You can always remember the person who did this from sysinstall that sysinstall will label as 'a' if the mount point is root (/). Therefore if someone wants to use sysinstall for labelling in production, and wont mount on / since / has the current root, one can always fool sysinstall, (C)reating the partition, using / as mpoint and mater redefining the (M)ount point to somewhere else, say, to /mnt. I always relabel this way, never had a problem. TinyBSD sometimes relabels this way too, for some PC Engines Wrap boards. Go ahead. -- Patrick Tracanelli Tel.: (31) 3516-0800 316601@sip.freebsdbrasil.com.br http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" ------------------------------ Message: 30 Date: Wed, 21 Jan 2009 16:47:08 +0100 From: Matthias Apitz Subject: HTTP proxy which prints HTTP in human readable form To: freebsd-questions@freebsd.org Message-ID: <20090121154708.GA14011@rebelion.Sisis.de> Content-Type: text/plain; charset=us-ascii Hello, I've to debug the HTTP traffic between Firefox and some kind of file management server to nail down a problem in the communication between them, perhaps based on the content of the cookies or other HTTP data; ofc, I could watch the connection with tcpdump, but maybe there is some better HTTP-proxy-like tool in the /usr/ports which prints the HTTP in better human readable form... any ideas? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion ------------------------------ Message: 31 Date: Wed, 21 Jan 2009 15:58:53 +0000 (UTC) From: Dave Feustel Subject: Re: HTTP proxy which prints HTTP in human readable form To: Matthias Apitz Cc: freebsd-questions@freebsd.org Message-ID: <20090121155853.D5A0F8FC26@mx1.freebsd.org> On Wed, Jan 21, 2009 at 04:47:08PM +0100, Matthias Apitz wrote: > > Hello, > > I've to debug the HTTP traffic between Firefox and some kind of file > management server to nail down a problem in the communication between > them, perhaps based on the content of the cookies or other HTTP data; > > ofc, I could watch the connection with tcpdump, but maybe there is some better > HTTP-proxy-like tool in the /usr/ports which prints the HTTP in better human > readable form... any ideas? thx > > matthias Try FireBug, a FireFox plugin documented in _Web Security Testing Cookbook_ a book which I highly recommend. It converted me from Konqueror to FireFox in about 30 seconds when I found out about NoScript, another Firefox extension. ------------------------------ Message: 32 Date: Wed, 21 Jan 2009 11:21:29 -0500 From: Steven Kreuzer Subject: Re: HTTP proxy which prints HTTP in human readable form To: Matthias Apitz Cc: freebsd-questions@freebsd.org Message-ID: <9E235687-8BF4-417E-9CD4-52D317E5B3C9@exit2shell.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jan 21, 2009, at 10:47 AM, Matthias Apitz wrote: > > Hello, > > I've to debug the HTTP traffic between Firefox and some kind of file > management server to nail down a problem in the communication between > them, perhaps based on the content of the cookies or other HTTP data; > > ofc, I could watch the connection with tcpdump, but maybe there is > some better > HTTP-proxy-like tool in the /usr/ports which prints the HTTP in > better human > readable form... any ideas? thx Take a look at HttpFox, which monitors and analyzes all incoming and outgoing HTTP traffic between the browser and the web servers. Information available per request includes: - Request and response headers - Sent and received cookies - Querystring parameters - POST parameters - Response body Its in ports (www/xpi-httpfox) or you can grab it from https://addons.mozilla.org/en-US/firefox/addon/6647 -- Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------ _______________________________________________ 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" End of freebsd-questions Digest, Vol 246, Issue 37 **************************************************