From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 00:49:03 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 41A23106566B for ; Sun, 18 Oct 2009 00:49:03 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id EEE358FC16 for ; Sun, 18 Oct 2009 00:49:02 +0000 (UTC) Received: by yxe1 with SMTP id 1so2870583yxe.3 for ; Sat, 17 Oct 2009 17:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+Ko4WXVUGVHeUB5qmIUHOcL+wFgx43CWFd/zfptkudw=; b=HV5rXR7Ibc+V84u8KWHUqFDyiXr0XbcqregxbvcVFXkQ8C0kxWrhrMDGs2Zeg1NF8G cAnyiI5uT59AjzOitYX2NGGUsSxSq5n2vObTKP1etMmTBp/qDy7KWF4q40e2PiVrumor 6p+l5HALFpCYix3TClYaBN9pIxB9uFkpy8ht0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=s2Ahy+TdinGfD/6EnhXwMxYcsQVE/nyGm3efJZbZvqlI/++t/KFeu5gxL5sXG7dTnP /qA0hcYgQFnIPdHqW7JbjAPdl5waivatXO+6d/nMdUUoeNOwSsy467IM6tP9KQKg9rPu dFj8w0TIwAz9/SkVlpNxH6hARl95G4ojckIIA= MIME-Version: 1.0 Received: by 10.101.191.1 with SMTP id t1mr2958864anp.67.1255826942260; Sat, 17 Oct 2009 17:49:02 -0700 (PDT) In-Reply-To: <20091017232131.GB66093@gizmo.acns.msu.edu> References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> Date: Sat, 17 Oct 2009 18:49:02 -0600 Message-ID: From: Tim Judd To: Jerry McAllister Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 00:49:03 -0000 On 10/17/09, Jerry McAllister wrote: > You do not need to. dump alrady writes that when it finishes each time. > If you to that, you will get a second one at that location. > > You do not need to do the rewind and mt fsf between each dump. I just > do it to make it very clear to myself in my scripts what I am expecting > and that I am doing it right. > > ////jerry If dump is the tool for tapes, and tar is named after tape archives... Do both of these utilities write the *proper* EOF to whatever medium it's writing to? I bring this up, because dump can also write to a file on a formatted FS. Does the file end with this same EOF? What does tar do? Why have a mt weof function if it's useless? I'm loosing the logic in this one, trying to make sure things work as they should. I admit tapes on bsd are so foreign to me, I might as well be speaking $another-language. Please help. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 01:14:49 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 4536C106566B for ; Sun, 18 Oct 2009 01:14:49 +0000 (UTC) (envelope-from stevan-tiefert@kabelmail.de) Received: from smtpa1.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id CC8FA8FC18 for ; Sun, 18 Oct 2009 01:14:48 +0000 (UTC) Received: from r300-4 (balancer4.mediabeam.com [194.25.41.40]) by smtpa1.mediabeam.com (8.13.8/8.13.1) with ESMTP id n9I1ElKC021718; Sun, 18 Oct 2009 03:14:47 +0200 Received: from [88.134.129.233] (88-134-129-233-dynip.superkabel.de [88.134.129.233]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.8/8.13.1) with ESMTP id n9I1EkCv021711; Sun, 18 Oct 2009 03:14:47 +0200 From: Stevan Tiefert To: Tim Judd In-Reply-To: References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> Content-Type: text/plain Date: Sun, 18 Oct 2009 03:14:45 +0200 Message-Id: <1255828485.5100.3.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Content-Transfer-Encoding: 7bit Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 01:14:49 -0000 Am Samstag, den 17.10.2009, 18:49 -0600 schrieb Tim Judd: > On 10/17/09, Jerry McAllister wrote: > > > > You do not need to. dump alrady writes that when it finishes each time. > > If you to that, you will get a second one at that location. > > > > You do not need to do the rewind and mt fsf between each dump. I just > > do it to make it very clear to myself in my scripts what I am expecting > > and that I am doing it right. > > > > ////jerry > > > > If dump is the tool for tapes, and tar is named after tape archives... Please, no flamewar!!! > Do both of these utilities write the *proper* EOF to whatever medium > it's writing to? They both write EOF. > I bring this up, because dump can also write to a file on a formatted > FS. Does the file end with this same EOF? What does tar do? There is only one EOF: The EOF. > Why have a mt weof function if it's useless? I'm loosing the logic in > this one, trying to make sure things work as they should. I admit > tapes on bsd are so foreign to me, I might as well be speaking > $another-language. weof is not useless. There are some file operations without writing an EOF, like streams or something like that, but tar and dump are writing with an EOF at the end of files :-) > _______________________________________________ > 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 Oct 18 02:09:24 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 234FE106566B for ; Sun, 18 Oct 2009 02:09:24 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id CCAAD8FC0C for ; Sun, 18 Oct 2009 02:09:23 +0000 (UTC) Received: by ywh8 with SMTP id 8so2981621ywh.3 for ; Sat, 17 Oct 2009 19:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=qdgTZeossD7bMKvG8KyvPh35vpXD33IGeG3nZCicJRo=; b=R4mcWFe3L2rvYlZB8axOJcPnEc1qKGmTYdsP1rmUaQRJCxOIdWx8DZfTn35HfjsgPr IA/fPoxRa9Y4Ftyj7UyZ6BXOAA1JTpLjansWlO413gDvrPelaJoIW8uZpxOL4kmTxapb hGupPiAUbpFwmgrFNF3faAe7YfIM7nGcZNGDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wH7RQHAbKFKze1QetSgiua7RqnordtDD6KWo1BBcUktLHb0a+Aw2hpdb3mPYiV4p8V 7nZUpvgfm7OjXOL4ikm6QJmvxyAHXRUHXIM66AWtb6LeR9Adgz7LgYEGX2G5ZOgAttL9 eYzXYw4Jnt8VrTxLQmwcBni5LHdHgzQnrKGso= MIME-Version: 1.0 Received: by 10.101.10.13 with SMTP id n13mr2929141ani.88.1255831763208; Sat, 17 Oct 2009 19:09:23 -0700 (PDT) In-Reply-To: <1255828485.5100.3.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> <1255828485.5100.3.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> Date: Sat, 17 Oct 2009 20:09:22 -0600 Message-ID: From: Tim Judd To: Stevan Tiefert Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 02:09:24 -0000 On 10/17/09, Stevan Tiefert wrote: > Am Samstag, den 17.10.2009, 18:49 -0600 schrieb Tim Judd: >> On 10/17/09, Jerry McAllister wrote: >> >> >> > You do not need to. dump alrady writes that when it finishes each time. >> > If you to that, you will get a second one at that location. >> > >> > You do not need to do the rewind and mt fsf between each dump. I just >> > do it to make it very clear to myself in my scripts what I am expecting >> > and that I am doing it right. >> > >> > ////jerry >> >> >> >> If dump is the tool for tapes, and tar is named after tape archives... > > Please, no flamewar!!! Wasn't planning on starting one. Sorry if it came across that way. > >> Do both of these utilities write the *proper* EOF to whatever medium >> it's writing to? > > They both write EOF. > >> I bring this up, because dump can also write to a file on a formatted >> FS. Does the file end with this same EOF? What does tar do? > > There is only one EOF: The EOF. > > >> Why have a mt weof function if it's useless? I'm loosing the logic in >> this one, trying to make sure things work as they should. I admit >> tapes on bsd are so foreign to me, I might as well be speaking >> $another-language. > > weof is not useless. There are some file operations without writing an > EOF, like streams or something like that, but tar and dump are writing > with an EOF at the end of files :-) So it's a item for "good measure" rather than an item "as necessity" in creating backups. Thanks for all the info. I'm happy knowing more. --Tim From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 02:35:30 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 C2795106566B for ; Sun, 18 Oct 2009 02:35:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 50FB78FC08 for ; Sun, 18 Oct 2009 02:35:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MzLcG-0002Vv-I0 for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 04:35:28 +0200 Received: from pool-70-21-18-105.res.east.verizon.net ([70.21.18.105]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Oct 2009 04:35:28 +0200 Received: from nightrecon by pool-70-21-18-105.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Oct 2009 04:35:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 17 Oct 2009 22:35:44 -0400 Lines: 35 Message-ID: References: <4AD8EB8F.9010900@videotron.ca> <20091017010758.088b8b8c.freebsd@edvax.de> <4AD9016E.20302@videotron.ca> <4AD90946.4020204@ibctech.ca> <4AD91DE0.3030701@videotron.ca> <200910170234.n9H2YeRI077329@asarian-host.net> <4ADA2647.3020405@videotron.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-18-105.res.east.verizon.net Sender: news Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 02:35:30 -0000 PJ wrote: [snip] >> >> > I think you're trying to take the meaning of "should" a little too > far... to keep it simple, and without trying to intellectualize it, it > simply means (and this can change within certain contexts) "normally, it > should work" (in our context, here) but there is no implication of any > warnings or dangers ... the "normally" is implied, the rest you can do > with it as you wish, obviously at your rist... but even then the > interpretation goes too far. As I suggested to Polytropon, in this > particular case the instructions for the implementation of the procedure > are very clear: use on an inactive system or SUM... so where's the > bug... to suggest that it "should work" on an active system is confusing > - if the author thought it important that it wouldl not work on an > active system, perhaps he should have merely said "do not use on an > active system"... that would be consistent and very clear. ;-) Sorry, I'm not totally clear on everything either, but it is clearly contained within a section called 'BUGS'. This should set the context and will affect how the comment should be construed. If it were located anywhere else in the man page the context would be different, this altering the intended meaning or purpose. Content within any 'BUGS' section should not be considered for normal usage of a command, unless it is something you think you can/should try and it is warning you not to do so. It is more of a disclosure of 'gotcha' potential, aka 'here be dragons' or other potential method by which an admin may shoot him/herself in the foot. Just my meager $.02, fwiw -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 02:37:19 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 18A091065694 for ; Sun, 18 Oct 2009 02:37:19 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65506.mail.ac4.yahoo.com (web65506.mail.ac4.yahoo.com [76.13.9.50]) by mx1.freebsd.org (Postfix) with SMTP id B693F8FC17 for ; Sun, 18 Oct 2009 02:37:18 +0000 (UTC) Received: (qmail 49172 invoked by uid 60001); 18 Oct 2009 02:37:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1255833438; bh=68osROOwzCk2npqqTnb/g5rBwF55GFBvnNnrdWfVL6g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OiTIOmzVMsZt24ZyZ1EDwP8C+fL+avXaqr/13exP/UFuDCPLw6984Y/a5cLe4NfZpBlSNE+gm5uj3+1t1Yqwj4yUV3GNnqoamav9xM+OZP7fSGz7E130T9p2A3CdcG8MNpdhb8ZSXkwKWSXLZQLFOEhrGMZZ46N5Sp5ubh55Bd0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bJ/3y50tvL1Nsys7p50H8UdwFfVX0/fPNneHMz5NWyXP7s3xuYDpRx//TwDj5zQakDbwARmLKbGHysbrEHiTjaeqWKgQEItk7G6i14HAsTMrd5mm24BVqucyjzn5fbx0hHa4z6AqOjjt5JS1algCZZcvK1q7LEzIrQhY1er+1Nc=; Message-ID: <47491.48249.qm@web65506.mail.ac4.yahoo.com> X-YMail-OSG: E6uijdYVM1m0fht3L6kt3ZGXE7GOKYIO13hvztX4avpSV6xRtnIXxAhhHmWgbaFDyjcN5WRoR9WxtFhe700XiA6qwrJrODCWjHQVW5TMYN8siki_yfDUm9_jD.NPJPMHkZMFT0VJ2vVaaNNVTKfLwu3Bm2T2i2BRABu1MuhX4bs8xo0nXZhqlE7Dvl3JIbQZ2NNgbwMg99sFwm2Wgf1n78Jirow_xauX3pUuv.EuUz5sCHjAMN3InODmiVw6yRrFet0LID8tCmtbeSC_BkOAEXAVCqum.4dpnW5WTOh6JTZ7ab6H7qhrEvNWzm.c1jVzPrlrG3qO.vQ_rX6P7TkQ46VRHI6GsQu9PSXhewiO8geuhbUz2QFwHzEsc7Si5L8RtalYiSyoJs69kqasjze8hWmL Received: from [208.99.137.71] by web65506.mail.ac4.yahoo.com via HTTP; Sat, 17 Oct 2009 19:37:17 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Sat, 17 Oct 2009 19:37:17 -0700 (PDT) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20091017223503.B774C10656D3@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 02:37:19 -0000 =0A=0A=0A> =0A> Message: 9=0A> Date: Sat, 17 Oct 2009 16:07:25 -0400=0A> Fr= om: PJ =0A> Subject: Re: I hate to bitch but bitch= I must=0A> To: Polytropon =0A> Cc: Steve Bertrand ,=A0=A0=A0=0A> "freebsd-questions@freebsd.org"=0A> =A0=A0=A0 =0A> Message-ID: <4ADA23FD.8020003@videotron.c= a>=0A> Content-Type: text/plain; charset=3DUTF-8=0A> =0A> Polytropon wrote:= =0A> > On Fri, 16 Oct 2009 21:29:04 -0400, PJ =0A>= wrote:=0A> >=A0=A0=A0=0A> >> It is simple to understand Emglish but not so= =0A> simple what was meant by=0A> >> whoever wrote it...I cannot correct so= mething that=0A> I do not uderstand...=0A> >> come on, man, that should be = easy to understand.=0A> >>=A0 =A0=A0=A0=0A> >=0A> > As English is not my na= tive language, I *now*=0A> understand the=0A> > meaning of "it should"; in = this case, it seems to mean=0A> something=0A> > like "basically, it is supp= osed to, but in this case,=0A> it does=0A> > not", regarding the desired ac= tion.=0A> >=A0=A0=A0=0A=0A> To be as precise as possible, it means normally= it should=0A> work so go=0A> ahead; then the question is - what do you mea= n by=0A> normally.=0A=0AYou made the blunder of using the word "should" in = your definition of "should" :)=0A=0A> In our case above, the instructions w= ere to do the=0A> operation with the=0A> disk not in use and the os in SUM.= That's very clear. Now,=0A> I f they=0A> wanted to point out a bug, the bu= g means that there is an=0A> anomaly under=0A> certain circumstances - and = in this case there really is no=0A> bug as it is=0A> very clear as to how t= he instructions should be used. If=0A> they consider=0A> the operation unde= r a live files system a bug, then they=0A> should just=0A> make a warning a= nd say something along the lines of "do not=0A> use on live=0A> system as t= hat may destroy data" or something to that=0A> effect.=0A=0AAs others have = mentioned, context is important. Somebody even suggested a re-wording dropp= ing the word "should."=0A=0AIf there was a risk of data-loss, (somebody not= ed the program refuses to touch a live filesystem,) the bugs section would = have read something more like:=0A(Program) SHOULD NOT try writing to a live= file-system.=0A=0AThat is to say, the word "should" in a "Bugs" section im= plies a wish-list item. Meaning: it is technically possible, but the mainta= iners have not done the necessary (possibly tedious) work yet.=0A=0A=0ARega= rds,=0A=0AJames Phillips=0A=0A=0A__________________________________________= ________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has the best spam p= rotection around =0Ahttp://mail.yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 04:32:18 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 6AB6A1065672 for ; Sun, 18 Oct 2009 04:32:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id EC00E8FC12 for ; Sun, 18 Oct 2009 04:32:17 +0000 (UTC) Received: by ewy18 with SMTP id 18so2934544ewy.43 for ; Sat, 17 Oct 2009 21:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=HJS9KThL2zIlmWOWp/y+ddY72qKqhpvQK35prfNg6tY=; b=WUyQlWq8gxFIbBBCDFeKyU1WGE8fB30n1CmlpQ7z9XZ/VCojnIDIwsVUNMhTxL3mTh OqbKz77h53JNLxyr7CNHLZH+2UVXc+rvZfoRJJZftOxdMrpUWfyScKWfwbhs0iuRgj75 fw/1tA+K18VZX/U6z/AgEatu9m7sjsg5qaQAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=qd/5BlJp2Ey8aGn7v/BevI77w+y9c+0uT4HqXoXXaZNgTb7KlHpEFle9uJzGf+l8LZ RKfuw+RLyVFmYabbClhOtoEG1J4M9TCnebLvhZk7RgjYYpf48ID/cjioMtCptUFUoDys Axk284qykkewhUK5WADW7oaaVaqtotBbuVwBM= Received: by 10.216.89.11 with SMTP id b11mr1150575wef.171.1255840336763; Sat, 17 Oct 2009 21:32:16 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id i35sm8422319gve.28.2009.10.17.21.32.15 (version=SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 21:32:15 -0700 (PDT) Date: Sun, 18 Oct 2009 05:32:12 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20091018053212.60b6ea4d@gumby.homeunix.com> In-Reply-To: <20091017034952.GA26451@stainmore> References: <4AD8EB8F.9010900@videotron.ca> <20091017010758.088b8b8c.freebsd@edvax.de> <4AD9016E.20302@videotron.ca> <4AD90946.4020204@ibctech.ca> <4AD91DE0.3030701@videotron.ca> <200910170234.n9H2YeRI077329@asarian-host.net> <20091017034952.GA26451@stainmore> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 04:32:18 -0000 On Fri, 16 Oct 2009 23:49:52 -0400 Bob Hall wrote: > On Sat, Oct 17, 2009 at 02:34:40AM +0000, Mark wrote: > > Actually, this has got very little to do with being a native English > > speaker or not. It's ere a matter of intonation (which, in writing, > > can only be conveyed to a certain degree, of course). 'Should' can > > certainly mean "Don't try that." As in: > > > > Will the ice hold me? > > Well, technically it should. > > > > (Meaning: it probably will, but I'm not overly confident.) > > Actually, what's happening here is dropping part of a sentence. It's > common in English to shorten > Yea, it should work, but it doesn't. Not really, but the only sensible meaning is that it should, in an ideal world, work. It seems that people are grasping for ambiguity here. If a phrase has one sensible meaning and other absurd meanings then there really is no ambiguity all unless one is trying to be deliberately obtuse. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 04:36:45 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 9E0A9106568F for ; Sun, 18 Oct 2009 04:36:45 +0000 (UTC) (envelope-from michael.copeland@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4FAF18FC08 for ; Sun, 18 Oct 2009 04:36:45 +0000 (UTC) Received: by yxe1 with SMTP id 1so2946869yxe.3 for ; Sat, 17 Oct 2009 21:36:44 -0700 (PDT) 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=tSfCHRQSR8U15DLxBbyjEvcvHtcPVbqdr9YHzwJSEcw=; b=w9eVIs0UJH2QHaE8nh0NocukDx656mFE4lbPVxzAhr3Yss9v5HDsKsPXV0pBEaaYfU qFO0ewVmBY6KMweT8jwUgmuUo/ok8pJPdYw+6Zr8w4d2XypBUeBlj3qbXXTsObM8Dx46 ntsprxMYG00EXEVZTe5B92koySSc8blkNeh/4= 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=AjmKh892MprFWE1O0X7eqWGg63AqrBHI+C5uVEzWuafcuZkB4ptt9DthKJJi6umAU8 bZS15roxmUhCC5xCa42U53QKmaaE7W/6WkHAUkDV/olSw+AwIVYzD5/VpCMxLKZw/meY Cql2bG1xAbl+KIF8SXitSyzsqTIwrAnclnbCw= Received: by 10.150.65.19 with SMTP id n19mr5572214yba.233.1255840604675; Sat, 17 Oct 2009 21:36:44 -0700 (PDT) Received: from ?192.168.1.76? (99-166-165-150.lightspeed.jcvlfl.sbcglobal.net [99.166.165.150]) by mx.google.com with ESMTPS id 13sm938739gxk.1.2009.10.17.21.36.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 21:36:43 -0700 (PDT) Message-ID: <4ADA9B5F.4020504@gmail.com> Date: Sun, 18 Oct 2009 00:36:47 -0400 From: michael User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: RW References: <4AD8EB8F.9010900@videotron.ca> <20091017010758.088b8b8c.freebsd@edvax.de> <4AD9016E.20302@videotron.ca> <4AD90946.4020204@ibctech.ca> <4AD91DE0.3030701@videotron.ca> <200910170234.n9H2YeRI077329@asarian-host.net> <20091017034952.GA26451@stainmore> <20091018053212.60b6ea4d@gumby.homeunix.com> In-Reply-To: <20091018053212.60b6ea4d@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 04:36:45 -0000 RW wrote: > On Fri, 16 Oct 2009 23:49:52 -0400 > Bob Hall wrote: > > >> On Sat, Oct 17, 2009 at 02:34:40AM +0000, Mark wrote: >> >>> Actually, this has got very little to do with being a native English >>> speaker or not. It's ere a matter of intonation (which, in writing, >>> can only be conveyed to a certain degree, of course). 'Should' can >>> certainly mean "Don't try that." As in: >>> >>> Will the ice hold me? >>> Well, technically it should. >>> >>> (Meaning: it probably will, but I'm not overly confident.) >>> >> Actually, what's happening here is dropping part of a sentence. It's >> common in English to shorten >> Yea, it should work, but it doesn't. >> > > Not really, but the only sensible meaning is that it should, in an > ideal world, work. > > It seems that people are grasping for ambiguity here. If a phrase has > one sensible meaning and other absurd meanings then there really is > no ambiguity all unless one is trying to be deliberately obtuse. > > > i could have sworn this thread was about glabel and tunefs, whats with the grammar and linguistics? *note* not directed at RW > > _______________________________________________ > 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 Oct 18 06:40:03 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 1398A1065670 for ; Sun, 18 Oct 2009 06:40:03 +0000 (UTC) (envelope-from northsidesoxfan@comcast.net) 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 B2E3A8FC13 for ; Sun, 18 Oct 2009 06:40:02 +0000 (UTC) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA08.westchester.pa.mail.comcast.net with comcast id u6eo1c0030QuhwU586fDpp; Sun, 18 Oct 2009 06:39:13 +0000 Received: from comcast.net ([98.193.195.91]) by OMTA02.westchester.pa.mail.comcast.net with comcast id u6g21c0071ynaMN3N6g2ZF; Sun, 18 Oct 2009 06:40:02 +0000 Received: by comcast.net (nbSMTP-1.00) for uid 1001 northsidesoxfan@comcast.net; Sun, 18 Oct 2009 14:38:55 -0500 (CDT) Date: Sun, 18 Oct 2009 14:38:55 -0500 From: Bryan Cassidy To: freebsd-questions@freebsd.org Message-ID: <20091018193855.GA24597@.hsd1.tn.comcast.net.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: HP PhotoSmart C4180 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 06:40:03 -0000 Anyone have this all-in-one functioning correctly under FreeBSD? From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 07:39:19 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 D7D6E106568F for ; Sun, 18 Oct 2009 07:39:19 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 928328FC1B for ; Sun, 18 Oct 2009 07:39:19 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id n9I7cFOm006706; Sun, 18 Oct 2009 02:38:15 -0500 (CDT) Date: Sun, 18 Oct 2009 02:38:15 -0500 (CDT) From: Scott Bennett Message-Id: <200910180738.n9I7cFth006705@mp.cs.niu.edu> To: freebsd-questions@freebsd.org, Polytropon Cc: PJ Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 07:39:19 -0000 On Sat, 17 Oct 2009 05:18:48 +0200 Polytropon wrote: >On Fri, 16 Oct 2009 20:59:18 -0600 (MDT), Warren Block wrote: >> I understand it, but see ambiguity in the word "should". Easy enough to >> rewrite: >> >> BUGS ^ ^^^ ^^^^^ ^^^^^^^ ^^^ ^^^ ^^^ ^^^ Please note that the section header that reads "BUGS" is the operative word here. >> This utility does not work on active file systems. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The above is the sole bug described in the "BUGS" section. (The other entry in this section is quite obviously just a silly play on words, not a bug.) >> >> Now here's my challenge to PJ: use send-pr(1) or the web PR interface at >> http://www.freebsd.org/send-pr.html to submit this as a doc bug report. >> >> That's how FreeBSD gets better, and how you help the next person in the >> same situation. > >That's a good advice, because in this particular situation, >the utility in question does NOT work on active file systems, >it refuses to do so and throws the proper error message. > >There are cases where a program should work (under certain >circumstances), but if a specified setting is not met, it >works incorrectly (but still works), like using dump on a >filesystem that's changing - usually producing a defective >dump file that cannot be properly restored. > >For completeness: If a program does not work, the manual >should not say "it should work", but "it does not work" >regarding a given situation. The problem has nothing to do with the documention or any translation problem, as I see it. The problem is simply the failure of the OP to read the section title, which clearly says, "BUGS". Now please, all of you, stop spamming the list with all this nonsense. The very first respondent could well have pointed out the problem, and that would have been the end of the matter. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 08:53:28 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 5CA2F106566B for ; Sun, 18 Oct 2009 08:53:28 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id EAED08FC13 for ; Sun, 18 Oct 2009 08:53:27 +0000 (UTC) Received: by ewy18 with SMTP id 18so3007195ewy.43 for ; Sun, 18 Oct 2009 01:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=LhHogPTd58eFNIqznmhOwc02PeAryaMHucovgM4bTq4=; b=qe3vitbKM7Sd5MuDrVRY2B+OaeHX3grnj1UNn8+N3rzIs8iKj/2IsYVXVn043UX8SO y7aNVm7bheegAT0zmjd4lQOTLzMGuJWfSajNe27ke2tUFxt6OMswssk8KSWHc8nuZv1u /ZMMHwLtNJqR6gyZ7LQERypFbvQ4M5w2vTqxg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oPpIPfHjHT3bGpPYd1WSvzzb6I1IYN/Pxb2yZoFyhA9QtSfD+FE/PhP6vHnXN50A/h 6reUZA9hsUakz/zUJrTyKvv+4B0cVpFH9J4Ck8af6Ztd7j7DQbm/5Wm0BbzQIit+rOSJ eEgZH1xeq7KHEZudLmWN+WZD+tb37FybuPFpk= MIME-Version: 1.0 Received: by 10.211.158.15 with SMTP id k15mr4086929ebo.25.1255854341035; Sun, 18 Oct 2009 01:25:41 -0700 (PDT) Date: Sun, 18 Oct 2009 11:25:41 +0300 Message-ID: <65e9c8190910180125g4af334a7xe550e5562a6798e1@mail.gmail.com> From: Ross To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: POSIX Message queues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 08:53:28 -0000 I have a program that works with POSIX message queues, i.e. calls mq_open, mq_send, etc. These calls fail with "Bad system call" message. I googled that in order to get POSIX semaphores work on FreeBSD you should kldload sem. What should I load to make message queues work? From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 09:06:02 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 8223D106566B for ; Sun, 18 Oct 2009 09:06:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id DDDCB8FC08 for ; Sun, 18 Oct 2009 09:06:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n9I95xrZ017727; Sun, 18 Oct 2009 20:05:59 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 18 Oct 2009 20:05:59 +1100 (EST) From: Ian Smith To: PJ In-Reply-To: <20091017223504.AB7DB1065716@hub.freebsd.org> Message-ID: <20091018173037.K70724@sola.nimnet.asn.au> References: <20091017223504.AB7DB1065716@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 09:06:02 -0000 PJ, having (in this case at least) the luxury of reading freebsd-questions as a digest, I'm going to quote a few of your extracts from several messages, largely without surounding context, as it's all incredibly repetitive, masively overquoted and mostly just "grasping for ambiguity" as Warren Block so eloquently put it. > To be as precise as possible, it means normally it should work so go > ahead; then the question is - what do you mean by normally. > In our case above, the instructions were to do the operation with the > disk not in use and the os in SUM. That's very clear. Now, I f they > wanted to point out a bug, the bug means that there is an anomaly under > certain circumstances - and in this case there really is no bug as it is > very clear as to how the instructions should be used. If they consider > the operation under a live files system a bug, then they should just > make a warning and say something along the lines of "do not use on live > system as that may destroy data" or something to that effect. I think you're only being so obtuse about this because you haven't had much experience reading man pages, and seem to expect them to conform to some sort of English Literary standards that are entirely inapplicable. > Just a note: I find it strange that nobody looked into the problem of > the confusion... I thought I had pointed out where the co;nfusion > arises... and no one seems to have either understood the inconsistencies > or bothere to read the explanation... oh well... let's keep on > blundering away... ;-) Must we? The confusion, and the seems-like-a-hundred messages it's now spawned, is all yours. Many have tried relentlessly and unsuccessfully to explain to you what just about everyone else has had no difficulty in understanding, because they don't try applying linguistic contortions to a simple statement by its (entirely English-speaking) authors. M. McKusick, W. Joy, S. Leffler, and R. Fabry, "A Fast File System for UNIX", ACM Transactions on Computer Systems 2, 3, pp 181-197, August 1984, (reprinted in the BSD System Manager's Manual, SMM:5). BUGS This utility should work on active file systems. You can tune a file system, but you can't tune a fish. If you want to see the _fascinating_ history of the tunefs(8) man page: http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/tunefs/tunefs.8 First go right down the bottom, Rev 1.1, and choose 'annotated' view .. you'll see the original text committed by Rodney Grimes. If you don't know who Marshall McKusick, Bill Joy, Sam Leffler and Robert Fabry are, do some googling, or start at http://www.mckusick.com/articles.html Rev 1.4 adds an interesting warning .. perhaps some pedant had suggested that a little humour was inappropriate :) At some later point, mckusick corrected the spelling of 'Daemon', and later ru@ changed "can't" to "cannot" (FFS!). This is a very carefully considered BUGS section, with over 15 years' of history. Mess with it at your peril :) > What in the world is RFC 2119? (that's a rhetorical question....) I > prefer to stick to orinary dictionaries, like Oxford, Collins, Webster... > then again, my college university studies were in English lit... but I'm > afraid I have have neglected that and have been somewhat dragged down to > the level of the "plebes" in the hope they may catch some of my > meanings... :-D You need to use the right terms in the appropriate context, and it's best to try avoiding condescension when dealing with people who may not have attained your literary qualifications, but who clearly know a hell of a lot more about this subject than you do. If you don't know about RFCs you'll get lost with lots of UNIX (and other computer system) references. Google is your (and our!) friend. > > I understand that I'm confused :) Ok. > > Actually, what's happening here is dropping part of a sentence. It's > > common in English to shorten > > Yea, it should work, but it doesn't. > > > Absolutely not! There is nothing to suggest either statement above. If > one says it should work, it can mean (of course, it changes within > different contexts) that all is ok and normal conditions (whatever they > may be) will allow things to function correctly. There is certainly no > implication about confidence... where do you get that? It can mean ver > confident just as well. And dropping a sentence is a very presumptuous > assumption. "but is doesn't" is a specific condition... and there can me > innumerable conditions. Semantic obfuscation and failure to understand usage of 'BUGS' sections. Try reading a whole lot more manpages to get their drift, eg what would you make of "BUGS: bound to be some" without knowing the wisdom therein? > In the end, it's up to the author to clarify... I don't understand what > he's trying to do as on my stem his instructions/example just do not > work anyway. :-( You really cannot go on blaming others for your lack of comprehension, and it's best to stick to technical facts if you want good help here, though all praise to the extraordinary patience of some folks here. Ian From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 09:31:34 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 955EB106566C for ; Sun, 18 Oct 2009 09:31:34 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id ED7338FC14 for ; Sun, 18 Oct 2009 09:31:33 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1470482fga.13 for ; Sun, 18 Oct 2009 02:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=uJj6soUqnNrp5WoyrlA/lMdvkX6J/wM861THqzI5W6M=; b=JX631Z6XDBx6s2+J/kZbgK2dg4ZtQiy0kTmQ6ZWig6Lm8ZYv39qHfjcUY5SvYdEty9 d0ECOmXpd8rW5LLsN4doFCjIXlGI8n9IUFXNFse5PfaCsQbeBzasdHVq55qqtiQCGFVL 881FlDICCth6yreEY8My0M1UlmPEm6VVu3uys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jorJGNaHTeFFciQI8owpKgZFfMmA8ngbpgxSeAu1GxIKdHCN5UoTBIJKruCYvOB4r/ +h0GyBi4xGMyY3kmsTzu5ELWoGmL79fAwsIx1J4QqLhasnW6uZ7EUuTSRaQqUwbfGz/I ByfsgB0KGy1EMKARR7vawTrmnzmG9QzSHaF5I= MIME-Version: 1.0 Received: by 10.239.141.131 with SMTP id c3mr304373hba.44.1255858292743; Sun, 18 Oct 2009 02:31:32 -0700 (PDT) In-Reply-To: <4ADA4A7C.6030003@gmail.com> References: <4AD8EB8F.9010900@videotron.ca> <4AD95740.6010408@gmail.com> <4ADA3D48.70307@videotron.ca> <4ADA4A7C.6030003@gmail.com> Date: Sun, 18 Oct 2009 10:31:32 +0100 Message-ID: From: krad To: michael Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: PJ , freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 09:31:34 -0000 2009/10/17 michael > PJ wrote: > >> michael wrote: >> >> >>> PJ wrote: >>> >>> >>>> Why is it that the manual pages, as thorough as they may be, are very, >>>> very confusing. >>>> Perhaps I am being too wary, but I find that too many >>>> instructions/examples are stumbling blocks to appreciation of the whole >>>> system: >>>> for instance, let's look at the instructions for changing disk labels >>>> with glabel or is it tunefs ? >>>> man glabel(8): >>>> >>>> for UFS the file system label is set with >>>> tunefs(8) >>>> < >>>> http://www.freebsd.org/cgi/man.cgi?query=tunefs&sektion=8&apropos=0&manpath=FreeBSD+7.2-RELEASE >>>> >. >>>> >>>> what happened to glabel? >>>> man tunefs(8) >>>> The *tunefs* utility cannot be >>>> run on an active file system. To change an active file system, it must >>>> be downgraded to read-only or unmounted. >>>> >>>> So, you have to run tunefs from an active file system to modify another >>>> disk? >>>> but from man tunefs: >>>> BUGS >>>> This utility should work on active file systems. >>>> What in hades does this mean--just above it says cannot be run on active >>>> file systems. ??? >>>> To change the root file >>>> system, the system must be rebooted after the file system is tuned. >>>> >>>> You can tune a file system, but you cannot tune a fish. >>>> How cute... And fish eat bugs. >>>> >>>> Seriously, now to the manual: >>>> To create a permanent label for a UFS2 file system without destroying >>>> any data, issue the following command: >>>> # tunefs -L /home/ /dev/da3 >>>> >>>> Oh? home is what? What does this have to do with the partitions? >>>> Here's from man glabel(8): >>>> >>>> EXAMPLES >>>> The following example shows how to set up a label for disk ``da2'', cre- >>>> ate a file system on it, and mount it: >>>> glabel label -v usr /dev/da2 >>>> newfs /dev/label/usr >>>> mount /dev/label/usr /usr >>>> [...] >>>> umount /usr >>>> glabel stop usr >>>> glabel unload >>>> >>>> The next example shows how to set up a label for a UFS file system: >>>> tunefs -L data /dev/da4s1a >>>> mount /dev/ufs/data /mnt/data >>>> >>>> Am I to understand that glabel is only for a new system? What's with the >>>> newfs... I'm trying to set labels on an system that is already set up. >>>> And, the glabel examle above is not for UFS file systems? Oh, that's for >>>> tunefs? >>>> So why are we even dealing with this glabel? >>>> >>>> from manual: >>>> # tunefs -L /home/ //dev/da3/ >>>> A label should now exist in /dev/ufs which may be added to /etc/fstab: >>>> /dev/ufs/home /home ufs rw 2 2 >>>> >>>> Why? Is this necessary? and somewhere I saw "tunefs -L volume >>>> /dev/da0s1a" or something like that. Does that mean that each partition >>>> should be tunefsd? Maybe the guys who programmed this stuff understand; >>>> I sure don't. I just want to be able to set the labels according to what >>>> they say can be done... so shy not have a clear and concise explanation? >>>> >>>> Do people who write this stuff ever read it? Tell me that its clear and >>>> simple and to the point... so far, I have been running back and forth >>>> between half a dozen web pages trying to understand what is going >>>> on... and doing things through a dense fog does not produce creative >>>> results! >>>> _______________________________________________ >>>> 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" >>>> >>>> >>> ok, in short since i didn't see anyone answer this directly, your >>> question of tunefs vs glabel: >>> >>> tunefs is for UFS: it labels a UFS filesystem, no matter the device, >>> ie: ad or da. tunefs is part of the filesystem utilities for UFS. >>> good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you >>> can glabel it. >>> >>> glabel is for labeling a device itself. you can glabel an ntfs >>> filesystem or ext2, whatever. >>> >>> >>> >>> >> Thanks for that, Michael. >> But can you explain what this means? It just is not clear for me. >> "# tu;nefs -L home /dev/da3" >> This puts a label on that disk? So now it can be referred to as home? >> da3 = home ? >> >> I'll try to delve into the man glabel further... but things still look >> murky. >> >> >> > tunefs -L HOME /dev/da3 will put the label /dev/ufs/HOME pointing to > /dev/da3 . da3=home. exactly correct. > the main idea behind that is that you can move the device around, etc. > since fstab is looking in /dev/ufs/NAMES_OF_DISKS/PARTITIONS instead of > /dev/da[0-9] type setup. you can move it to any controller and still boot(if > you have the driver for the controller). > > the glabel command can label ANY disk/slice/partition. its great when you > get away form the old mbr setup and switch to gpt. gpt lets you have an > arbitrary number of partitions. and when you think about it, names are so > much better than numbers anyway, its why we use DNS on networks. imagine > having to remember every ip you have to use. > > peace > > _______________________________________________ > 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" > "arbitrary number of partitions" erm 128 IIRC, so practically yes From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 09:59:35 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 06B781065670 for ; Sun, 18 Oct 2009 09:59:35 +0000 (UTC) (envelope-from roudoudou7@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id D53E68FC13 for ; Sun, 18 Oct 2009 09:59:34 +0000 (UTC) Received: by pwj1 with SMTP id 1so485807pwj.3 for ; Sun, 18 Oct 2009 02:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=EKXD4q//LXaM4F7NlvzYTVYxslINx6KTNKLO1xZs028=; b=bjPz4tDmSZ0Ka5B9uGifhLSXp2gktKmWah4MQ8NeKw8ylDBBvFUF/92hAs0Q0znnpj udXiKNiFzNUzwNDFwEqdYBBmTiTD3ap/Glrl3BeJJJKB7EXxLz+tFtLJXoCEEFwwHXxq 8kxgpoKzCDj3zBqd4qMuXFi1QjxbTeuuuZPFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Qb2SvstnQ7ufEownIAN9t1fQcPgG2c5ZxuetF7xPf1hCEZfVFHtwcyJTsTeEG4hS3T fDr97ed579dsLV+qz4mYtXSeSA0W0V0zApFHv4nuvJVULRAowh5PK5HM7oaLDEqeYkCy k57KjmTdhotR5B4Lo0U6uN5PcH/G9sqVhKmo0= MIME-Version: 1.0 Received: by 10.140.178.2 with SMTP id a2mr1498784rvf.274.1255858686269; Sun, 18 Oct 2009 02:38:06 -0700 (PDT) Date: Sun, 18 Oct 2009 11:38:06 +0200 Message-ID: <6b7bead00910180238s398a925cv428aad381942e8ec@mail.gmail.com> From: roudoudou To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: w3c validator-0.8.5_1 port broken ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 09:59:35 -0000 Hi all, I've just updated the ports tree with portsnap and compiled the w3c validator and all its dependency with portinstall on FreeBSD 6.4 but whenever i try to validate a html document, i get the following error message: --- check: Can't load '/usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so' for module SGML::Parser::OpenSP: /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so: Undefined symbol "_ZN15SGMLApplication11nonSgmlCharERKNS_16NonSgmlCharEventE" at /usr/local/lib/perl5/5.8.9/mach/XSLoader.pm line 70 ---- I workaround the issue by installing the binary package of validator (release which is a release validator-0.8.3_1)and friends with portinstall -PP validator and it works just fine. Before opening a PR, i'm wondering if some of you could confirm the issue please :-) ? Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 11:24:35 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 DFDE6106566B for ; Sun, 18 Oct 2009 11:24:35 +0000 (UTC) (envelope-from vaibhav.gavane@gmail.com) Received: from mail-iw0-f190.google.com (mail-iw0-f190.google.com [209.85.223.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4248FC16 for ; Sun, 18 Oct 2009 11:24:35 +0000 (UTC) Received: by iwn28 with SMTP id 28so1884159iwn.3 for ; Sun, 18 Oct 2009 04:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=7lTE+gd/F1UpI2Q+Z7MVtucE5ezGGCYmEHut8wOLSFc=; b=s1O9ff4EdqiXV1oiAc1ywwv+rKRwV7tEay6OVL6T+PyiLsmJZdj/Ryz0oQOKACb/8d x1VbGCPuzdwzyweDp/P/qD4GYe7rVV845Xp7CQgzfPhd9tVBxv6LF8ur6Ai8jEtH2+Bm 5d5gMazmsJ2wtHDKH2K3evPGCm102dpUCf0SM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nbDqpSRTbL+/86PEEMe7tOUsaAZo2Jg03cAQR0XE3FWe7wmV3g9vW5gJy6s2gqHX5W cgVRDE9DQn/o+q7mZWv39ViJkpSKJldL2s1mPoMscZf284sOxvHUHLshCOVgZjFTljb1 98ImdP1cA9wtu/gwASDb2iJP5nkazgpJ+yRWc= MIME-Version: 1.0 Received: by 10.231.6.87 with SMTP id 23mr5037970iby.19.1255863812520; Sun, 18 Oct 2009 04:03:32 -0700 (PDT) In-Reply-To: <65e9c8190910180125g4af334a7xe550e5562a6798e1@mail.gmail.com> References: <65e9c8190910180125g4af334a7xe550e5562a6798e1@mail.gmail.com> Date: Sun, 18 Oct 2009 16:33:32 +0530 Message-ID: <7576e2a20910180403k1d88b261y8837c97c8309e8bd@mail.gmail.com> From: Vaibhav Gavane To: Ross , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: POSIX Message queues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 11:24:36 -0000 mqueuefs From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 11:40:57 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 5BD8E106568B for ; Sun, 18 Oct 2009 11:40:57 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id CD5C38FC19 for ; Sun, 18 Oct 2009 11:40:56 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.170.109]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id n9IBefdU031819; Sun, 18 Oct 2009 13:40:41 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 18 Oct 2009 13:40:40 +0200 User-Agent: KMail/1.9.10 References: <65e9c8190910180125g4af334a7xe550e5562a6798e1@mail.gmail.com> In-Reply-To: <65e9c8190910180125g4af334a7xe550e5562a6798e1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910181340.40606.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Ross Subject: Re: POSIX Message queues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 11:40:57 -0000 On Sunday 18 October 2009 10:25:41 Ross wrote: > I have a program that works with POSIX message queues, i.e. calls > mq_open, mq_send, etc. These calls fail with "Bad system call" > message. > I googled that in order to get POSIX semaphores work on FreeBSD you > should kldload sem. What should I load to make message queues work? kldload mqueuefs See mqueuefs(5) for more information. It probably should've been referenced from mq_open(2). -- Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 12:13:06 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 A6D16106566C for ; Sun, 18 Oct 2009 12:13:06 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 31ADB8FC15 for ; Sun, 18 Oct 2009 12:13:05 +0000 (UTC) Received: by fxm6 with SMTP id 6so3846787fxm.43 for ; Sun, 18 Oct 2009 05:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=OtnIboWiOhC/Gbxr56zsOz4M6WLbiQDVMy2YwjKhs3c=; b=dM2tiyTo0PfeRluDKoyEWRHeqO+JVHZXp686QiyCc5jlPEeboRj7hOl0fQYEtc4MHZ KhX9BZrBEhBzYP1Fph5/d+jV0/nBItGe7Qpz5pMsbuGfZoFXYYXGqEAT9aRzrcWJBKZe VXoNrhVnCdqzfeujFHgX3fVreRM2tfInKh/QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZgHiQJNa5Ivg9xtABF21EYxKCoqdGHL+jLAxh+0JYlNrel1kPuDaNJmAfwt5sFZxAy rFELOVjWzjB+/8QaKiRM9qdZxKKEtsc4204EftbDEvBDwchSss2JBUAIk/9xlENwRhPB 7tKk4bca1D0F3is53aqV1Gc5QVvLwE7yZJdEg= MIME-Version: 1.0 Received: by 10.102.193.20 with SMTP id q20mr1614100muf.28.1255867985047; Sun, 18 Oct 2009 05:13:05 -0700 (PDT) Date: Sun, 18 Oct 2009 14:13:05 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: strange quota behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 12:13:06 -0000 hi list, I am going to add user "test" in system: ~/:sudo pw useradd test -m then, I am going to check quotas ~/:sudo quota -u -v test Disk quotas for user test (uid 2022): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 Now, I am going to add another user, named "12345" ~/:sudo pw useradd 12345 -m Password for '12345' is: qdmjPx4YVP then, I am going to check quotas ~/:sudo quota -u -v 12345 Disk quotas for user (no account) (uid 12345): Filesystem usage quota limit grace files quota limit grace /home 0 0 0 0 0 0 Please, note that in quota output for user 12345, it says, there is no such user > Disk quotas for user (no account) (uid 12345): if I do this: ~/odoslat:sudo pw useradd m12345 -m Password for 'm12345' is: 8bqhCfMjZREr5D8 ~/odoslat:sudo quota -u -v m12345 Disk quotas for user m12345 (uid 2024): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 everything is fine. So question, I am able to create user 12345, but I cant set quotas for him? Isn't this a bug? FreeBSD notebook 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:38:28 CEST 2009 root@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 thank you From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 12:19:21 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 82A87106568F for ; Sun, 18 Oct 2009 12:19:21 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 0D68D8FC0C for ; Sun, 18 Oct 2009 12:19:20 +0000 (UTC) Received: by fxm6 with SMTP id 6so3849689fxm.43 for ; Sun, 18 Oct 2009 05:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=XgWRjEKFmdEDN/1TIWHaEk4aDxen4qj5JywiUycoJeM=; b=v64P9WGCNL7Q8dOPGD70shmdipuYNWtFBT/Zf0StUMxZXF974YhK9bc7qzUu0wBzFJ pl6sb4dDOTwAwKY9stNNog6+LY9n7VAQxi5hLU0YKUvwcSrUbTcAHcYYx5Ra/ttYfr14 7CgqwdeEOIZBma93NukFEE36lcP+tDLR/LG5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IFUMTm9PvKY9zN9zEOJnyj3QUoWlJgqP3MPYtSrMKZ8zFmOATuUXRtTyd0l2sNjM9y moj/LoAt6/ZRZ/ACBdF1Ij/G/xqEWhLgLuYktQMAKgfDIZjG+rgxlS386iUNh5QPb4b1 HMGhbyuaqd+w3Z5ezhwdAvBxOjRNm0ZG7JVF4= MIME-Version: 1.0 Received: by 10.103.67.25 with SMTP id u25mr1675877muk.45.1255868359906; Sun, 18 Oct 2009 05:19:19 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Oct 2009 14:19:19 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: strange quota behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 12:19:21 -0000 hi again, I correct my post, of course I can set quotas for that user, by setquota command, but I cant see quotas for that user, only by repquota. I need to see it by quota command because I write a script where I depend on it. On Sun, Oct 18, 2009 at 2:13 PM, Stefan Miklosovic < miklosovic.freebsd@gmail.com> wrote: > hi list, > > I am going to add user "test" in system: > ~/:sudo pw useradd test -m > > then, I am going to check quotas > ~/:sudo quota -u -v test > Disk quotas for user test (uid 2022): > Filesystem usage quota limit grace files quota limit > grace > /home 36 0 0 9 0 > 0 > > Now, I am going to add another user, named "12345" > ~/:sudo pw useradd 12345 -m > Password for '12345' is: qdmjPx4YVP > > then, I am going to check quotas > ~/:sudo quota -u -v 12345 > Disk quotas for user (no account) (uid 12345): > Filesystem usage quota limit grace files quota limit > grace > /home 0 0 0 0 0 > 0 > > Please, note that in quota output for user 12345, it says, there is no such > user > > Disk quotas for user (no account) (uid 12345): > > if I do this: > ~/odoslat:sudo pw useradd m12345 -m > Password for 'm12345' is: 8bqhCfMjZREr5D8 > ~/odoslat:sudo quota -u -v m12345 > Disk quotas for user m12345 (uid 2024): > Filesystem usage quota limit grace files quota limit > grace > /home 36 0 0 9 0 > 0 > > everything is fine. > > So question, I am able to create user 12345, but I cant set quotas for him? > > Isn't this a bug? > > FreeBSD notebook 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:38:28 CEST > 2009 root@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 > > thank you > > > From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 13:27:40 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 3B46C106566B for ; Sun, 18 Oct 2009 13:27:40 +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 F2FBF8FC08 for ; Sun, 18 Oct 2009 13:27:39 +0000 (UTC) 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 n9IDQhVD068616; Sun, 18 Oct 2009 09:26:43 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n9IDQhwv068615; Sun, 18 Oct 2009 09:26:43 -0400 (EDT) (envelope-from jerrymc) Date: Sun, 18 Oct 2009 09:26:42 -0400 From: Jerry McAllister To: Tim Judd Message-ID: <20091018132642.GA68596@gizmo.acns.msu.edu> References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 13:27:40 -0000 On Sat, Oct 17, 2009 at 06:49:02PM -0600, Tim Judd wrote: > On 10/17/09, Jerry McAllister wrote: > > > > You do not need to. dump alrady writes that when it finishes each time. > > If you to that, you will get a second one at that location. > > > > You do not need to do the rewind and mt fsf between each dump. I just > > do it to make it very clear to myself in my scripts what I am expecting > > and that I am doing it right. > > > > ////jerry > > > > If dump is the tool for tapes, and tar is named after tape archives... > > Do both of these utilities write the *proper* EOF to whatever medium > it's writing to? > > I bring this up, because dump can also write to a file on a formatted > FS. Does the file end with this same EOF? What does tar do? EOF means something completely different on a file system than it does on a tape. So, yes, the system knows where the file ends on both, but it is done differently. ////jerry > > Why have a mt weof function if it's useless? I'm loosing the logic in > this one, trying to make sure things work as they should. I admit > tapes on bsd are so foreign to me, I might as well be speaking > $another-language. It is not useless. It just isn't necessary in that situation. Remember, mt(1) is used on more than just dumps. ////jerry > > > Please help. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 13:29:27 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 1F2191065679 for ; Sun, 18 Oct 2009 13:29:27 +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 BA2E48FC0C for ; Sun, 18 Oct 2009 13:29:26 +0000 (UTC) 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 n9IDSUlB068643; Sun, 18 Oct 2009 09:28:30 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n9IDST8G068642; Sun, 18 Oct 2009 09:28:29 -0400 (EDT) (envelope-from jerrymc) Date: Sun, 18 Oct 2009 09:28:29 -0400 From: Jerry McAllister To: Tim Judd Message-ID: <20091018132829.GB68596@gizmo.acns.msu.edu> References: <1255727601.4640.4.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> <20091016213732.GA61433@gizmo.acns.msu.edu> <20091017232131.GB66093@gizmo.acns.msu.edu> <1255828485.5100.3.camel@x1-6-00-11-09-00-e4-00.search.b.superkabel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, Stevan Tiefert Subject: Re: small question about tape-based dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 13:29:27 -0000 On Sat, Oct 17, 2009 at 08:09:22PM -0600, Tim Judd wrote: > On 10/17/09, Stevan Tiefert wrote: > > Am Samstag, den 17.10.2009, 18:49 -0600 schrieb Tim Judd: > >> On 10/17/09, Jerry McAllister wrote: > >> > >> > >> > You do not need to. dump alrady writes that when it finishes each time. > >> > If you to that, you will get a second one at that location. > >> > > >> > You do not need to do the rewind and mt fsf between each dump. I just > >> > do it to make it very clear to myself in my scripts what I am expecting > >> > and that I am doing it right. > >> > > >> > ////jerry > >> > >> > >> > >> If dump is the tool for tapes, and tar is named after tape archives... > > > > Please, no flamewar!!! > > Wasn't planning on starting one. Sorry if it came across that way. > > > > >> Do both of these utilities write the *proper* EOF to whatever medium > >> it's writing to? > > > > They both write EOF. > > > >> I bring this up, because dump can also write to a file on a formatted > >> FS. Does the file end with this same EOF? What does tar do? > > > > There is only one EOF: The EOF. > > > > > >> Why have a mt weof function if it's useless? I'm loosing the logic in > >> this one, trying to make sure things work as they should. I admit > >> tapes on bsd are so foreign to me, I might as well be speaking > >> $another-language. > > > > weof is not useless. There are some file operations without writing an > > EOF, like streams or something like that, but tar and dump are writing > > with an EOF at the end of files :-) > > > So it's a item for "good measure" rather than an item "as necessity" > in creating backups. Not a good measure. It would do something different from what you expect. You might get 2 EOF-s in a row and the system think you have two files - one with stuff and one empty one. ////jerry > > Thanks for all the info. I'm happy knowing more. > > > --Tim > _______________________________________________ > 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 Oct 18 13:40: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 4ED721065670 for ; Sun, 18 Oct 2009 13:40:11 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s21.blu0.hotmail.com (blu0-omc4-s21.blu0.hotmail.com [65.55.111.160]) by mx1.freebsd.org (Postfix) with ESMTP id 04D408FC1E for ; Sun, 18 Oct 2009 13:40:10 +0000 (UTC) Received: from BLU0-SMTP95 ([65.55.111.136]) by blu0-omc4-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 18 Oct 2009 06:40:10 -0700 X-Originating-IP: [67.189.183.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.183.172]) by BLU0-SMTP95.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 18 Oct 2009 06:40:10 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id C76C122845 for ; Sun, 18 Oct 2009 09:40:08 -0400 (EDT) Date: Sun, 18 Oct 2009 09:40:08 -0400 From: carmel_ny To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Oct 2009 13:40:10.0505 (UTC) FILETIME=[8331E790:01CA4FF8] Subject: Accessing LDAP via web 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, 18 Oct 2009 13:40:11 -0000 I am probably doing this all wrong. I have an OpenLDAP server set up that works correctly. I wanted to be able to access it via "LDAP://" from my laptop when traveling. Unfortunately, that is not working. When trying it via Microsoft, I simply get an error that the server is either busy or not available. When I try it via Firefox from a FreeBSD environment, I get this error: Firefox doesn't know how to open this address, because the protocol (ldap) isn't associated with any program. I tried Googling; however, I did not find what I was looking for. Perhaps, someone can assist me. Thanks! -- Carmel_NY carmel_ny@hotmail.com Sweet sixteen is beautiful Bess, And her voice is changing -- from "No" to "Yes". From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 13:58:07 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 D34AC106566B for ; Sun, 18 Oct 2009 13:58:07 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id B5E988FC17 for ; Sun, 18 Oct 2009 13:58:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 1626B3A3867 for ; Sun, 18 Oct 2009 20:57:58 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1255874277; x= 1257688677; bh=ktDd1drZ41yQKNeuJaOz4EO4EXwu011Vhvk9Vyl39b8=; b=M Zb23BlI8/B46/nhcvTJaoynNpKAL0wQ+10CBMJpOIMPSlb8ZIeS4KS38YpAfvIJ6 6WKLdzMz8LsllvA+joFoLZhYBsbdXS8KLpZLnJoTN+3uUkLK2N7NHSusSzEgncxL 9iwmCszgucJL6gaIOCKMsLkqn9wQ4+nZcxQ5pbzCOg= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id audtobr-IPsJ for ; Sun, 18 Oct 2009 20:57:57 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 3CC193A385C for ; Sun, 18 Oct 2009 20:57:57 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n9IDvqBs009602; Sun, 18 Oct 2009 20:57:52 +0700 (ICT) (envelope-from on) Date: Sun, 18 Oct 2009 20:57:52 +0700 (ICT) Message-Id: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org CC: freebsd-questions@freebsd.org In-reply-to: (message from carmel_ny on Sun, 18 Oct 2009 09:40:08 -0400) References: Subject: Re: Accessing LDAP via web X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 13:58:07 -0000 > I am probably doing this all wrong. I have an OpenLDAP server set > up that works correctly. I wanted to be able to access it via "LDAP://" > from my laptop when traveling. Unfortunately, that is not working. When An LDAP server is not something that you access through a web browser. The naming of the form ldap:// does not mean you can access it with Firefox or IE, or other web browser. Now you may consider installing something like phpldapadmin that lets you administer an LDAP server through a web interface. Olivier From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 14:18:54 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 4EB5E106566C for ; Sun, 18 Oct 2009 14:18:54 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s7.blu0.hotmail.com (blu0-omc4-s7.blu0.hotmail.com [65.55.111.146]) by mx1.freebsd.org (Postfix) with ESMTP id 0284B8FC13 for ; Sun, 18 Oct 2009 14:18:53 +0000 (UTC) Received: from BLU0-SMTP11 ([65.55.111.135]) by blu0-omc4-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 18 Oct 2009 07:18:53 -0700 X-Originating-IP: [67.189.183.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.183.172]) by BLU0-SMTP11.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 18 Oct 2009 07:18:52 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id D57A122845 for ; Sun, 18 Oct 2009 10:18:51 -0400 (EDT) Date: Sun, 18 Oct 2009 10:18:51 -0400 From: carmel_ny To: freebsd-questions@freebsd.org In-Reply-To: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> References: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Oct 2009 14:18:52.0995 (UTC) FILETIME=[EB81C130:01CA4FFD] Subject: Re: Accessing LDAP via web 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, 18 Oct 2009 14:18:54 -0000 On Sun, 18 Oct 2009 20:57:52 +0700 (ICT) Olivier Nicole (Olivier.Nicole@cs.ait.ac.th) replied: >> I am probably doing this all wrong. I have an OpenLDAP server set >> up that works correctly. I wanted to be able to access it via >> "LDAP://" from my laptop when traveling. Unfortunately, that is not >> working. When > >An LDAP server is not something that you access through a web browser. > >The naming of the form ldap:// does not mean you can access it with >Firefox or IE, or other web browser. > >Now you may consider installing something like phpldapadmin that lets >you administer an LDAP server through a web interface. I have email clients on my laptops that can access the LDAP server when connected via my LAN. When traveling that is not readily possible (is it)? Therefore, how can I accomplish this or is it not possible? Remember, I am not attempting to administer the LDAP server, but rather access its stored data. -- Carmel_NY carmel_ny@hotmail.com No spitting on the Bus! Thank you, The Management. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 14:48:41 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 44D5B106566B for ; Sun, 18 Oct 2009 14:48:41 +0000 (UTC) (envelope-from alex@mailinglist.ahhyes.net) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD0A8FC16 for ; Sun, 18 Oct 2009 14:48:40 +0000 (UTC) Received: from [172.16.0.201] (c122-106-77-13.rivrw1.nsw.optusnet.com.au [122.106.77.13]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n9IEmbCK001289 for ; Mon, 19 Oct 2009 01:48:38 +1100 Message-ID: <4ADB2AC5.3020500@mailinglist.ahhyes.net> Date: Mon, 19 Oct 2009 01:48:37 +1100 From: Alex R User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: how long till 8.0-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 14:48:41 -0000 Hi Guys, It's obvious the release is behind schedule, RC2 isn't even out yet according to the freebsd site. is there any rough ideas when we can expect 8.0-release? :) From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 15:08:33 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 5F1BC1065670 for ; Sun, 18 Oct 2009 15:08:33 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 3F8F08FC0C for ; Sun, 18 Oct 2009 15:08:33 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MzXMg-0001BW-PK for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 10:08:11 -0500 Message-ID: <4ADB2F6F.8090107@identry.com> Date: Sun, 18 Oct 2009 11:08:31 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: upgrading remote 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, 18 Oct 2009 15:08:33 -0000 I just reinstalled a server that was out for repair. It's on the network in the data center, but no applications are running on it, yet. I thought this would be a perfect time to upgrade the OS. It's currently running 6.2 Release, I want to bring it up to 7.2 Release. I'd like to do this remotely, if possible, since going to the data center is a pain. I've been reading the upgrade chapter in "Absolute FreeBSD", and it seems like the best option is to download the source files for 7.2 and upgrade from sources. >>> Sanity check: Am I on the right track? I've never done a major upgrade remotely, but I guess the worst that can happen is I have to burn a CD and drive into the data center. Any thoughts, much appreciated. -- John From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 15:34:37 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 3539B1065679 for ; Sun, 18 Oct 2009 15:34:37 +0000 (UTC) (envelope-from artifexor@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id C193B8FC16 for ; Sun, 18 Oct 2009 15:34:36 +0000 (UTC) Received: by ewy18 with SMTP id 18so3157174ewy.43 for ; Sun, 18 Oct 2009 08:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=20Xx6vQaopSdD7EMV95vgPZc54PSY2rPwrp+0EJnaf4=; b=FbDMs5XOws7p1naLWiHf5SKVi9dVyHFWIMHI1owAj0nsJvEz49jwYQ5/jpXMUdHVxw 8v+nUam8zf/1U8S59bnBqW0INUnEslu1d7mLAHCVntTkpH8y0MpVjR1ijKU7FNXocmK8 ua9zsKReO5t2gDwmQPSrjFn1k2+znMSOgFqoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rBsdEXrmRn7msFOQID+rc82+0f35i9VPISXaGSPDY+D2cOEFnsiFOxyyDaXNiv8P3U /QotjzL8gZ4suc7tg8ymh7LJpi6yh6boJv4qgXvopUNH67RdCDHpCZlPiU+2Gdg1L5no BugOGcumup8EHJBAY9VTVrXcKPNLJBhtjAZbw= MIME-Version: 1.0 Received: by 10.210.156.7 with SMTP id d7mr3599335ebe.16.1255880075262; Sun, 18 Oct 2009 08:34:35 -0700 (PDT) In-Reply-To: <4ADB2F6F.8090107@identry.com> References: <4ADB2F6F.8090107@identry.com> Date: Sun, 18 Oct 2009 17:34:35 +0200 Message-ID: <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> From: Artifex Maximus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: upgrading remote 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, 18 Oct 2009 15:34:37 -0000 Hello! On Sun, Oct 18, 2009 at 5:08 PM, John Almberg wrote: > I've been reading the upgrade chapter in "Absolute FreeBSD", and it seems > like the best option is to download the source files for 7.2 and upgrade > from sources. I've done it several times via ssh between major and minor versions without any problems. You should read /usr/src/UPDATING for any additional information. Bye, a From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 15:48:53 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 321981065696 for ; Sun, 18 Oct 2009 15:48:53 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 07C688FC24 for ; Sun, 18 Oct 2009 15:48:52 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRP001WWVXFRZK1@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 11:48:52 -0400 (EDT) Message-id: <4ADB38E7.7000902@videotron.ca> Date: Sun, 18 Oct 2009 11:48:55 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Bob Hall , PJ , freebsd-questions@freebsd.org References: <4AD8EB8F.9010900@videotron.ca> <20091017010758.088b8b8c.freebsd@edvax.de> <4AD9016E.20302@videotron.ca> <4AD90946.4020204@ibctech.ca> <4AD91DE0.3030701@videotron.ca> <200910170234.n9H2YeRI077329@asarian-host.net> <20091017034952.GA26451@stainmore> <4ADA38EB.5050900@videotron.ca> <20091017215135.GA29692@stainmore> In-reply-to: <20091017215135.GA29692@stainmore> Cc: Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 15:48:53 -0000 Bob Hall wrote: > On Sat, Oct 17, 2009 at 05:36:43PM -0400, PJ wrote: > >> Bob Hall wrote: >> >>> On Sat, Oct 17, 2009 at 02:34:40AM +0000, Mark wrote: >>> >>> >>>> Actually, this has got very little to do with being a native English >>>> speaker or not. It's ere a matter of intonation (which, in writing, can >>>> only be conveyed to a certain degree, of course). 'Should' can certainly >>>> mean "Don't try that." As in: >>>> >>>> Will the ice hold me? >>>> Well, technically it should. >>>> >>>> (Meaning: it probably will, but I'm not overly confident.) >>>> >>>> >>> Actually, what's happening here is dropping part of a sentence. It's >>> common in English to shorten >>> Yea, it should work, but it doesn't. >>> >>> >> Absolutely not! There is nothing to suggest either statement above. If >> one says it should work, it can mean (of course, it changes within >> different contexts) that all is ok and normal conditions (whatever they >> may be) will allow things to function correctly. There is certainly no >> implication about confidence... where do you get that? >> > > >From common English usage. Specifically, where? Australia, England, Russia, France, USA, Canada... Again, that is your personal interpretation and certainly not "common English usage." Or better yet, try common sense. Or, better yet, you *should* go back to school. > From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 16:12:47 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 5E33B106566C for ; Sun, 18 Oct 2009 16:12:47 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 31D258FC1A for ; Sun, 18 Oct 2009 16:12:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRP00JIFX1AAI20@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 12:12:46 -0400 (EDT) Message-id: <4ADB3E82.1030006@videotron.ca> Date: Sun, 18 Oct 2009 12:12:50 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Manolis Kiagias References: <4AD8EB8F.9010900@videotron.ca> <4AD8F651.1000001@otenet.gr> <4AD8FD82.8050306@videotron.ca> <4AD90066.60606@otenet.gr> <4ADA32D2.2020802@videotron.ca> <4ADA49AD.9040304@otenet.gr> In-reply-to: <4ADA49AD.9040304@otenet.gr> Cc: "freebsd-questions@freebsd.org" Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 16:12:47 -0000 Manolis Kiagias wrote: > PJ wrote: > >> Manolis Kiagias wrote: >> >> >>> PJ wrote: >>> >>> >>> >>>> Manolis, my state of mind is quite clear... and I'm coping with >>>> everything quite allright... I'm not about to get mad at anyone or >>>> anything... >>>> but tell me, honestly, when you see the stuff I have described above? >>>> Woldn't that confuse anyone in their right mind? >>>> >>>> >>>> >>>> >>>> >>> I am sorry, but there is something here, either some mistake on your >>> part or some other weird problem on your system I can not think of. >>> >>> I don't seem to remember glabel ever failing to store metadata, unless >>> 1) The device is non-existing 2) The device is mounted. >>> As a matter of fact, I did the glabel stuff on a machine a few hours >>> ago. This was already fully installed, I rebooted single user and was >>> done in less than 2 minutes. >>> And yes, if you get a metadata error, it means nothing was done so you >>> are *not* to go and change fstab! >>> >>> Could you please send us /etc/fstab and the results of ls /dev/ad* >>> >>> >>> >> Here are the outputs: >> >> fstab: >> # Device Mountpoint FStype Options Dump Pass# >> /dev/ad12s1b none swap sw 0 0 >> /dev/ad12s1a / ufs rw 1 1 >> /dev/ad12s1h /backups ufs rw 2 2 >> /dev/ad12s1g /home ufs rw 2 2 >> /dev/ad12s1d /tmp ufs rw 2 2 >> /dev/ad12s1f /usr ufs rw 2 2 >> /dev/ad12s1e /var ufs rw 2 2 >> /dev/acd0 /cdrom cd9660 ro,noauto 0 0 >> linproc /usr/compat/linux/proc linprocfs rw 0 0 >> >> df: >> Filesystem 1K-blocks Used Avail Capacity Mounted on >> /dev/ad12s1a 2026030 319112 1544836 17% / >> devfs 1 1 0 100% /dev >> /dev/ad12s1h 50777034 4 46714868 0% /backups >> /dev/ad12s1g 50777034 6276538 40438334 13% /home >> /dev/ad12s1d 4058062 36 3733382 0% /tmp >> /dev/ad12s1f 50777034 5729324 40985548 12% /usr >> /dev/ad12s1e 2026030 176070 1687878 9% /var >> linprocfs 4 4 0 100% /usr/compat/linux/proc >> >> # ls /dev/ad* >> crw-r----- 1 root operator 0, 97 Oct 17 16:36 /dev/ad0 >> crw-r----- 1 root operator 0, 103 Oct 17 16:36 /dev/ad0s1 >> crw-r----- 1 root operator 0, 101 Oct 17 16:36 /dev/ad10 >> crw-r----- 1 root operator 0, 106 Oct 17 16:36 /dev/ad10s1 >> crw-r----- 1 root operator 0, 121 Oct 17 16:36 /dev/ad10s1a >> crw-r----- 1 root operator 0, 122 Oct 17 16:36 /dev/ad10s1b >> crw-r----- 1 root operator 0, 123 Oct 17 16:36 /dev/ad10s1c >> crw-r----- 1 root operator 0, 124 Oct 17 16:36 /dev/ad10s1d >> crw-r----- 1 root operator 0, 125 Oct 17 16:36 /dev/ad10s1e >> crw-r----- 1 root operator 0, 126 Oct 17 16:36 /dev/ad10s1f >> crw-r----- 1 root operator 0, 127 Oct 17 16:36 /dev/ad10s1g >> crw-r----- 1 root operator 0, 102 Oct 17 16:36 /dev/ad12 >> crw-r----- 1 root operator 0, 107 Oct 17 16:36 /dev/ad12s1 >> crw-r----- 1 root operator 0, 128 Oct 17 16:36 /dev/ad12s1a >> crw-r----- 1 root operator 0, 129 Oct 17 16:36 /dev/ad12s1b >> crw-r----- 1 root operator 0, 130 Oct 17 16:36 /dev/ad12s1c >> crw-r----- 1 root operator 0, 131 Oct 17 16:36 /dev/ad12s1d >> crw-r----- 1 root operator 0, 132 Oct 17 16:36 /dev/ad12s1e >> crw-r----- 1 root operator 0, 133 Oct 17 16:36 /dev/ad12s1f >> crw-r----- 1 root operator 0, 134 Oct 17 16:36 /dev/ad12s1g >> crw-r----- 1 root operator 0, 135 Oct 17 16:36 /dev/ad12s1h >> crw-r----- 1 root operator 0, 99 Oct 17 16:36 /dev/ad4 >> crw-r----- 1 root operator 0, 104 Oct 17 16:36 /dev/ad4s1 >> crw-r----- 1 root operator 0, 108 Oct 17 16:36 /dev/ad4s1a >> crw-r----- 1 root operator 0, 109 Oct 17 16:36 /dev/ad4s1b >> crw-r----- 1 root operator 0, 110 Oct 17 16:36 /dev/ad4s1c >> crw-r----- 1 root operator 0, 111 Oct 17 16:36 /dev/ad4s1d >> crw-r----- 1 root operator 0, 112 Oct 17 16:36 /dev/ad4s1e >> crw-r----- 1 root operator 0, 113 Oct 17 16:36 /dev/ad4s1f >> crw-r----- 1 root operator 0, 114 Oct 17 16:36 /dev/ad4s1g >> crw-r----- 1 root operator 0, 100 Oct 17 16:36 /dev/ad6 >> crw-r----- 1 root operator 0, 105 Oct 17 16:36 /dev/ad6s1 >> crw-r----- 1 root operator 0, 115 Oct 17 16:36 /dev/ad6s1a >> crw-r----- 1 root operator 0, 116 Oct 17 16:36 /dev/ad6s1b >> crw-r----- 1 root operator 0, 117 Oct 17 16:36 /dev/ad6s1c >> crw-r----- 1 root operator 0, 118 Oct 17 16:36 /dev/ad6s1d >> crw-r----- 1 root operator 0, 119 Oct 17 16:36 /dev/ad6s1e >> crw-r----- 1 root operator 0, 120 Oct 17 16:36 /dev/ad6s1f >> >> Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10 >> is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and >> ad6 is messed up FBSD I'm cheking & setting up with clone of ad12 >> (dump/restore) >> Now I will try the glabel again... >> # shutdown now >> # glabel label rootfs /dev/ad12s1a >> glabel: Can't store metadata on /dev/ad0s1a >> >> >> > > shutdown now will get you into single user mode, but / is still mounted > read-write. > Do a shutdown -r now and press 4 on the loader to get into single user mode. > When the single user mode finishes booting and you get to the # prompt, > '/' will be mounted read only > and glabel will succeed > > >> manual: "it is assumed that a single ATA disk is used, which is >> currently recognized by the system as ad0. It is also assumed that the >> standard FreeBSD partition scheme is used, with /, /var, /usr and /tmp >> file systems, as well as a swap partition." >> >> Now, does that mean that glabel does not work if there are several disks >> on the system... it certainly does not say so nor does it adv ertise >> that this would not work if there are several ATA disks present.. >> Previously I had also tried a reboot press 4 with exactly the same >> results.... >> >> >> > > Aha, as I said above then. > If you've done this and you are still getting the can't store metadata > message, > I am really out of ideas. > Is entirely possible that I mucked up somewhere and did not do the shutdown -r quite right... anyway, it is working fine now. I still have some minor questions, though... Can glabel be done on a dormant file system and then boot that file system to change the fstab? I would think that that would be about the same things ad doing it from a mounted system in SUM. Then, the last question... where does tunefs really come in? .. I ask this since it was not necessary to relable the disk. And that is where all the confusion came in :-( From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 16:45:36 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 8E188106566C for ; Sun, 18 Oct 2009 16:45:36 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.32]) by mx1.freebsd.org (Postfix) with ESMTP id 167788FC1B for ; Sun, 18 Oct 2009 16:45:35 +0000 (UTC) Received: from pulstar.local (athedsl-4468832.home.otenet.gr [94.71.112.80]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n9IGjYBq027701; Sun, 18 Oct 2009 19:45:34 +0300 Message-ID: <4ADB462E.5040103@otenet.gr> Date: Sun, 18 Oct 2009 19:45:34 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: PJ References: <4AD8EB8F.9010900@videotron.ca> <4AD8F651.1000001@otenet.gr> <4AD8FD82.8050306@videotron.ca> <4AD90066.60606@otenet.gr> <4ADA32D2.2020802@videotron.ca> <4ADA49AD.9040304@otenet.gr> <4ADB3E82.1030006@videotron.ca> In-Reply-To: <4ADB3E82.1030006@videotron.ca> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 16:45:36 -0000 PJ wrote: (trimmed down) > > Is entirely possible that I mucked up somewhere and did not do the > shutdown -r quite right... anyway, it is working fine now. > I still have some minor questions, though... > Can glabel be done on a dormant file system and then boot that file > system to change the fstab? You mean glabel the file system but still leave it as a normal device name in fstab? Sure, no problem there. The file system can either be mounted using it's /dev/adXX (or /dev/daXX) device name, it's label, or even the ufsid (assuming it is a UFS filesystem, see the section below the glabel example) So basically you can reboot after creating the label without changing the fstab if you wish and change it later when you are certain that glabel worked as you expected. > I would think that that would be about the > same things ad doing it from a mounted system in SUM. > Then, the last question... where does tunefs really come in? .. I ask > As others have said (and as explained in Handbook section 19.6.1) tunefs can only create labels for UFS filesystems. Glabel on the other hand is not filesystem specific, you can label anything (for example, you have already labeled the swap space which clearly is not a file system). That makes glabel more suitable IMHO when the purpose is to completely replace the device names in fstab. So in short: - If you wish to create permanent labels for anything including swap space and 'alien' filesystems as well as UFS, use 'glabel label' - If you wish to create temporary labels for anything including swap space and 'alien' filesystems as well as UFS, use 'glabel create' (I doubt this is very useful, but it is an option) - If you wish to create permanent labels for UFS filesystems *only* you have the option of using tunefs. - If you do not wish to create labels yourself and you are only interested in mounting UFS filesystems without using the device names, you can use the ufsid labels that are created automatically when the filesystem is first created. >From all the solutions, the only one that covers both UFS and the swap space and is permanent is the 'glabel label' command (hence the example in the Handbook) I hope this clears it up :) From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 17:09:38 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 470451065676 for ; Sun, 18 Oct 2009 17:09:38 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 04F388FC1A for ; Sun, 18 Oct 2009 17:09:37 +0000 (UTC) Received: by yxe1 with SMTP id 1so3198048yxe.3 for ; Sun, 18 Oct 2009 10:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Iz1j19mLX0frfYmsPPqYpH/XJinwYz7W+lcvWJ05xoE=; b=QcGc6ozr5zgu1KrTEJiUHYmSxySPyecRQQwFHfbf6zjZMFYQzq+sgzDneBxS66Ou8C jEtWfMtNtvVay74UFkBsyqWcj+XMlVO56A5NLH9eCqjlEHZ/IauTAYADf0Jmw3xisUkN 8bv00QRzo1xAuJUCx6VsaEcTqwSsmKsXoHrd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=djW3i+V8lC5fk9WqRw+gX3GUFcjy/v6Ql9rX47o2PAk+EByOl8qj/kvW8AUJfkMpfS sGqrcF5XntfFVFJ1GZeCJv4gmo29OhDlpYnPPLxebZ7Ttb2yhMTbTeJrhplBHOQNlfw5 pdM7HD4/Ki1uFyajpWaimvLJegOCp7F0QtDNw= MIME-Version: 1.0 Received: by 10.91.95.5 with SMTP id x5mr3693650agl.28.1255885776874; Sun, 18 Oct 2009 10:09:36 -0700 (PDT) In-Reply-To: <4ADB2AC5.3020500@mailinglist.ahhyes.net> References: <4ADB2AC5.3020500@mailinglist.ahhyes.net> Date: Sun, 18 Oct 2009 13:09:36 -0400 Message-ID: From: "illoai@gmail.com" To: Alex R Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" Subject: Re: how long till 8.0-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 17:09:38 -0000 2009/10/18 Alex R : > Hi Guys, > > It's obvious the release is behind schedule, RC2 isn't even out yet > according to the freebsd site. is there any rough ideas when we can expect > 8.0-release? :) > I'm channelling Annie, who insists it is Tomorrow! Tomorrow! It's only a day away! -- -- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 17:34:36 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 DC162106568B for ; Sun, 18 Oct 2009 17:34:36 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id B9E248FC14 for ; Sun, 18 Oct 2009 17:34:36 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MzZe1-00057L-Bv; Sun, 18 Oct 2009 12:34:14 -0500 Message-ID: <4ADB51AA.80104@identry.com> Date: Sun, 18 Oct 2009 13:34:34 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Artifex Maximus References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> In-Reply-To: <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: upgrading remote 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, 18 Oct 2009 17:34:36 -0000 >> I've been reading the upgrade chapter in "Absolute FreeBSD", and it seems >> like the best option is to download the source files for 7.2 and upgrade >> from sources. > > > I've done it several times via ssh between major and minor versions without > any problems. You should read /usr/src/UPDATING for any additional > information. Updating the source tree was no problem. So far so good. I'm running 'make buildworld' right now. Luckily I have a remote serial port thingy, so I should be able to login to the box, even if ssh doesn't come up after reboot. Pretty interesting, though I'd be a lot more nervous if this box had live applications running... Which is why it was still on 6.2! Hopefully after this I'll feel more comfortable doing major upgrades, instead of just running freebsd-update. -- John From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 18:02:37 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 EB8F1106566B for ; Sun, 18 Oct 2009 18:02:37 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id A7D2D8FC0C for ; Sun, 18 Oct 2009 18:02:37 +0000 (UTC) Received: by yxe1 with SMTP id 1so3220507yxe.3 for ; Sun, 18 Oct 2009 11:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=HvH1HUWpfCqXjj2RAfyQW5QI4gayKet5RfiYXqs4f00=; b=HuKwLaCA5/1Us5Hz2MztzR8EhsrBSyunypHkwFhZ5yl4vyoCftDHCFJecJFIAnAZwM bzSqxVbAG0xT9jLDZrTM33hQ68My5YnbMN0DOqQRGRo2islLm6Ca0lzs9xLuU9vxOuJr amOUR0+2wu7vPdLG4S9O8HG3MwhlN6mbrLdrk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HFFp3cad/M7WHtxM/Lrn5fGLyjw5NIPS+NdF99jJh80AMM+itiZ3FIooGzDKZkHfGd yc6PyV7Z9piFQu77ndBUaLCMKjW1S5NDudln7yRgHaYmEfvEfJzugCtOOMyiuDlqAEpf 0FJn6pTI96RGmLwVczk56Tnd6zw7WsE22ZodU= MIME-Version: 1.0 Received: by 10.101.183.1 with SMTP id k1mr3057677anp.18.1255888955027; Sun, 18 Oct 2009 11:02:35 -0700 (PDT) In-Reply-To: References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> Date: Sun, 18 Oct 2009 19:02:34 +0100 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Fwd: upgrading remote 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, 18 Oct 2009 18:02:38 -0000 quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh... 2009/10/18 John Almberg : >>> I've been reading the upgrade chapter in "Absolute FreeBSD", and it see= ms >>> like the best option is to download the source files for 7.2 and upgrad= e >>> from sources. >> >> >> I've done it several times via ssh between major and minor versions >> without >> any problems. You should read /usr/src/UPDATING for any additional >> information. > > Updating the source tree was no problem. So far so good. I'm running 'mak= e > buildworld' right now. > > Luckily I have a remote serial port thingy, so I should be able to login = to > the box, even if ssh doesn't come up after reboot. > > Pretty interesting, though I'd be a lot more nervous if this box had live > applications running... Which is why it was still on 6.2! > > Hopefully after this I'll feel more comfortable doing major upgrades, > instead of just running freebsd-update. > > -- John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > -- () ASCII Ribbon Campaign | Against HTML e-mail /\ =A0www.asciiribbon.org =A0| Against proprietary extensions --=20 () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 18:13:22 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 B79DD1065676 for ; Sun, 18 Oct 2009 18:13:22 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 927118FC14 for ; Sun, 18 Oct 2009 18:13:22 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MzaFn-000Ezv-In; Sun, 18 Oct 2009 14:13:21 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 9368636244C2; Sun, 18 Oct 2009 14:13:15 -0400 (EDT) Message-ID: <4ADB5ABF.1030009@FreeBSD.org> Date: Sun, 18 Oct 2009 14:13:19 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jeronimo Calvo References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 18:13:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeronimo Calvo wrote: > quiet interesting that serial port thingy! do you know the name of it > btw? I will be interested to install on of them... and start saving > some money going to my office :D when i can not use even ssh... > Hi Jeronimo, When I had servers housed in a different data center a few years back, I had good luck with APC PDU units (http://bit.ly/TQHjv) to remotely power-cycle servers, and I also used a serial console server like one of these: http://bit.ly/uoptY This way, if you kill your network interface on a server, you still have a way to get in and fix it without physically traveling to the data center. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFK21q/0sRouByUApARAg89AJ0Wg9HLH18eDQdDKGzQd+AewqRi2ACfXtjX 3noLHY8iHn9c+1tkkGFs2lI= =QNQl -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 19:14:30 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 C7E0C106566C for ; Sun, 18 Oct 2009 19:14:30 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFE58FC19 for ; Sun, 18 Oct 2009 19:14:30 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MR-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KRQ0047C5D5ST30@VL-MR-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 15:12:41 -0400 (EDT) Message-id: <4ADB68AE.3080503@videotron.ca> Date: Sun, 18 Oct 2009 15:12:46 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Ian Smith References: <20091017223504.AB7DB1065716@hub.freebsd.org> <20091018173037.K70724@sola.nimnet.asn.au> In-reply-to: <20091018173037.K70724@sola.nimnet.asn.au> Cc: freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 19:14:30 -0000 Ian Smith wrote: > PJ, > > having (in this case at least) the luxury of reading freebsd-questions > as a digest, I'm going to quote a few of your extracts from several > messages, largely without surounding context, as it's all incredibly > repetitive, masively overquoted and mostly just "grasping for ambiguity" > as Warren Block so eloquently put it. > > > To be as precise as possible, it means normally it should work so go > > ahead; then the question is - what do you mean by normally. > > In our case above, the instructions were to do the operation with the > > disk not in use and the os in SUM. That's very clear. Now, I f they > > wanted to point out a bug, the bug means that there is an anomaly under > > certain circumstances - and in this case there really is no bug as it is > > very clear as to how the instructions should be used. If they consider > > the operation under a live files system a bug, then they should just > > make a warning and say something along the lines of "do not use on live > > system as that may destroy data" or something to that effect. > > I think you're only being so obtuse about this because you haven't had > much experience reading man pages, and seem to expect them to conform to > some sort of English Literary standards that are entirely inapplicable. > > > Just a note: I find it strange that nobody looked into the problem of > > the confusion... I thought I had pointed out where the co;nfusion > > arises... and no one seems to have either understood the inconsistencies > > or bothere to read the explanation... oh well... let's keep on > > blundering away... ;-) > > Must we? The confusion, and the seems-like-a-hundred messages it's now > spawned, is all yours. Many have tried relentlessly and unsuccessfully > to explain to you what just about everyone else has had no difficulty in > understanding, because they don't try applying linguistic contortions to > a simple statement by its (entirely English-speaking) authors. > > M. McKusick, W. Joy, S. Leffler, and R. Fabry, "A Fast File System for > UNIX", ACM Transactions on Computer Systems 2, 3, pp 181-197, August > 1984, (reprinted in the BSD System Manager's Manual, SMM:5). > > BUGS > This utility should work on active file systems. > > You can tune a file system, but you can't tune a fish. > > If you want to see the _fascinating_ history of the tunefs(8) man page: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/tunefs/tunefs.8 > > First go right down the bottom, Rev 1.1, and choose 'annotated' view .. > you'll see the original text committed by Rodney Grimes. If you don't > know who Marshall McKusick, Bill Joy, Sam Leffler and Robert Fabry are, > do some googling, or start at http://www.mckusick.com/articles.html > > Rev 1.4 adds an interesting warning .. perhaps some pedant had suggested > that a little humour was inappropriate :) At some later point, mckusick > corrected the spelling of 'Daemon', and later ru@ changed "can't" to > "cannot" (FFS!). This is a very carefully considered BUGS section, with > over 15 years' of history. Mess with it at your peril :) > > > What in the world is RFC 2119? (that's a rhetorical question....) I > > prefer to stick to orinary dictionaries, like Oxford, Collins, Webster... > > then again, my college university studies were in English lit... but I'm > > afraid I have have neglected that and have been somewhat dragged down to > > the level of the "plebes" in the hope they may catch some of my > > meanings... :-D > > You need to use the right terms in the appropriate context, and it's > best to try avoiding condescension when dealing with people who may not > have attained your literary qualifications, but who clearly know a hell > of a lot more about this subject than you do. > > If you don't know about RFCs you'll get lost with lots of UNIX (and > other computer system) references. Google is your (and our!) friend. > > > > I understand that I'm confused :) > > Ok. > > > > Actually, what's happening here is dropping part of a sentence. It's > > > common in English to shorten > > > Yea, it should work, but it doesn't. > > > > > Absolutely not! There is nothing to suggest either statement above. If > > one says it should work, it can mean (of course, it changes within > > different contexts) that all is ok and normal conditions (whatever they > > may be) will allow things to function correctly. There is certainly no > > implication about confidence... where do you get that? It can mean ver > > confident just as well. And dropping a sentence is a very presumptuous > > assumption. "but is doesn't" is a specific condition... and there can me > > innumerable conditions. > > Semantic obfuscation and failure to understand usage of 'BUGS' sections. > Try reading a whole lot more manpages to get their drift, eg what would > you make of "BUGS: bound to be some" without knowing the wisdom therein? > > > In the end, it's up to the author to clarify... I don't understand what > > he's trying to do as on my stem his instructions/example just do not > > work anyway. :-( > > You really cannot go on blaming others for your lack of comprehension, > and it's best to stick to technical facts if you want good help here, > though all praise to the extraordinary patience of some folks here. > > Ian > > It's owrthless to read your entire comment here as everyone is forgetting two things, here... 1. COMMON SENSE 2. NOT EVERYONE WHO READS MANUALS OR MAN PAGES IS NECESSARILY LIMITED TO THE NARROW MINDBEND OF THE "INITIATED". That said, I sope the stupidity that has been flowing in these pages stops as the context was supposed to be tunefs and glabel. "How easy it is to lead the sheep astray." You can quote me. And thanks to Giorgios and Manolis and Polytropon for their very helpful explanations and guidance. Thanks to all the other for their participation. I now understand things much better and glabel does work on my system at last. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 20:09:00 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 3A66C1065670 for ; Sun, 18 Oct 2009 20:09:00 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id 159DE8FC1B for ; Sun, 18 Oct 2009 20:08:59 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mzc3O-0005Vr-2I; Sun, 18 Oct 2009 15:08:37 -0500 Message-ID: <4ADB75D8.5060404@identry.com> Date: Sun, 18 Oct 2009 16:08:56 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Jeronimo Calvo References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote 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, 18 Oct 2009 20:09:00 -0000 Jeronimo Calvo wrote: > quiet interesting that serial port thingy! do you know the name of it > btw? I will be interested to install on of them... and start saving > some money going to my office :D when i can not use even ssh... I had to look it up... Here's what I have: http://www.digi.com/products/serialservers/portservertsmei.jsp#overview Basically, this box needs its own internet connection. You can ssh into it. I think it has some sort of embedded Linux system. Then the box has two serial port connectors -- this is a real rs-232 type interface, that most servers have, but hardly any desktops have anymore. You plug the serial connector into the computer and that's it. Knock on wood, I've never needed it, but I bought it for just this sort of thing. My build-world is finally done, so going to see if it works, now... -- John From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 20:14:07 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 0C6E1106566C for ; Sun, 18 Oct 2009 20:14:07 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id C7FF78FC16 for ; Sun, 18 Oct 2009 20:14:06 +0000 (UTC) Received: from [10.0.0.3] (really [76.182.207.101]) by cdptpa-omta04.mail.rr.com with ESMTP id <20091018201405771.LTUE13254@cdptpa-omta04.mail.rr.com>; Sun, 18 Oct 2009 20:14:05 +0000 Date: Sun, 18 Oct 2009 15:14:04 -0500 From: Paul Schmehl To: Jeronimo Calvo , freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Fwd: upgrading remote server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 20:14:07 -0000 --On October 18, 2009 7:02:34 PM +0100 Jeronimo Calvo wrote: > quiet interesting that serial port thingy! do you know the name of it > btw? I will be interested to install on of them... and start saving > some money going to my office :D when i can not use even ssh... > Google IPKVM. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 20:46:01 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 5B618106566B for ; Sun, 18 Oct 2009 20:46:01 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0CA8FC16 for ; Sun, 18 Oct 2009 20:46:00 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9084100; Sun, 18 Oct 2009 16:45:59 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 9084101; Sun, 18 Oct 2009 16:45:43 -0400 Message-ID: <4ADB7E77.900@radel.com> Date: Sun, 18 Oct 2009 16:45:43 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: PJ References: <20091017223504.AB7DB1065716@hub.freebsd.org> <20091018173037.K70724@sola.nimnet.asn.au> <4ADB68AE.3080503@videotron.ca> In-Reply-To: <4ADB68AE.3080503@videotron.ca> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010006020404080201090302" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 20:46:01 -0000 This is a cryptographically signed message in MIME format. --------------ms010006020404080201090302 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit PJ wrote: > > It's owrthless to read your entire comment here as everyone is > forgetting two things, here... > 1. COMMON SENSE > 2. NOT EVERYONE WHO READS MANUALS OR MAN PAGES IS NECESSARILY LIMITED TO > THE NARROW MINDBEND OF THE "INITIATED". There are those who think those who bitch because they've not taken the time to understand "terms of art" (to borrow language from yet another of the many, many sub-varieties of English) that have been widely used in the community for decades, and seem to feel that their resulting confusion is obviously somebody else's fault and duty to fix, lack sense, common or otherwise. On this, I suspect we'll just have to disagree. (Though I will point out that in the above passage you've just told us that you admit to having forgotten common sense. Ordinarily I wouldn't stoop this low, but you've just spent much time telling us how much clearer, better, and comprehensible your brand of English is.)) Personally, I welcomed Ian's comments, as I believe he was the first to point out explicitly that language such as this is contextual, long-standing in the community in which it is used, and really not that confusing once you pay attention. (My apologies to anyone else who discussed this earlier; I found it difficult to read every message in this thread.) BTW, it's hard for me, personally, to take seriously anyone who quotes in full, with no trimming, something which he dismisses as "worthless to read." -- --Jon Radel jon@radel.com --------------ms010006020404080201090302 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wOTEwMTgyMDQ1NDNaMCMGCSqGSIb3DQEJBDEWBBR9MDFEwIWmydlczl8jrWxqYwCM8jBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAc7yk ecWZcba0yusr1m9qLyR42ACUUxAuujVOJBOhVaar4JqrlhSwB9vbJu2h84urP6yQi0eAfayq j4C+K9kHn07HljNqeuqle5miXg8xscCTvwsIMoqJ2xL+Q/uUQbd1oLFHvTD2AIodqW/J1T0t w1DQwU+7RatyjYvm0679yg4EXHWA95JQ1iLGYeMFUPA8pUSO5sTwmIHGURi2HKrMinya9x4O Y7nNxWNbSHsXHhOoxoZtlsdTtzr7L5UQzUL2BMn7oFJe2QixDutN4cNlOo5Xl3dUZGQX+5VL FeZ+HqpXKB9tY3tIQumxNgLeAZpZtN91ISPmUvKp/3dhSr5kGwAAAAAAAA== --------------ms010006020404080201090302-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 21:18:44 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 1FA641065670 for ; Sun, 18 Oct 2009 21:18:44 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw51.mailanyone.net (smtp-gw51.mailanyone.net [208.70.128.77]) by mx1.freebsd.org (Postfix) with ESMTP id ED7A18FC0C for ; Sun, 18 Oct 2009 21:18:43 +0000 (UTC) Received: from mailanyone.net by smtp-gw51.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mzd91-0003Qf-Q0 for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 16:18:28 -0500 Message-ID: <4ADB8631.7000800@identry.com> Date: Sun, 18 Oct 2009 17:18:41 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> In-Reply-To: <4ADB75D8.5060404@identry.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Fwd: upgrading remote 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, 18 Oct 2009 21:18:44 -0000 > My build-world is finally done, so going to see if it works, now... H'mmm... I have a question about the kernel configuration file... I am currently using a customer kernel. Unfortunately, this machine was installed by someone before my time, so I don't know the details. Can I make a 7.2 kernel using this 6.3 custom kernel configuration file? Or should I start with the 7.2 generic, and somehow customize it correctly? I've been looking at the custom configuration file... so far, I can see that it: 1. adds PF to the kernel 2. deletes unneeded drivers, like unused RAID cards and unused serial interfaces. Or should I just try the GENERIC kernel, and maybe just add PF to it? -- John From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 21:38:33 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 649671065670 for ; Sun, 18 Oct 2009 21:38:33 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id E69448FC15 for ; Sun, 18 Oct 2009 21:38:32 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so840897eyd.9 for ; Sun, 18 Oct 2009 14:38:31 -0700 (PDT) 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=JwoqxXVvaae02YtrpMXKijsBGfz14Gx6CzJA4S9Psf8=; b=N36HW/nuBWBDuWCnpfpOsUQpoFhAPBdjGLhtupUZ/j9dCaShfmZdCLmsh3F7ppT2qF 35B5Mx/f7RmuMzzNUvDRUJz0skr3quhhaMYNtZTN/ODWDD+78nsTTTBzs1P9UzTNAcem kNbyzKz1IgtFZKOzz7i1nobIccMAyzF/e/arY= 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=sW047yZ36oTEAoW9tAYZA0/lFaO5TvHX22wZkPtLrMTLU5nv553LyeSGH2GMQWFKQH Asm8eMKk1jDp6gYhVzKIpLw7xXvBNmFDG4QtEn5t/y31xEDk+GTiBi19t+5zN66Wy+Cr fSODzW4q1NDNbqTK2VVaPBK2ObUpBwtle20p4= Received: by 10.216.88.85 with SMTP id z63mr1373287wee.129.1255901911863; Sun, 18 Oct 2009 14:38:31 -0700 (PDT) Received: from ?131.230.191.154? (ee173.engr.siu.edu [131.230.191.154]) by mx.google.com with ESMTPS id i34sm11654798gve.23.2009.10.18.14.38.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Oct 2009 14:38:30 -0700 (PDT) Message-ID: <4ADB8AD3.5050009@gmail.com> Date: Sun, 18 Oct 2009 16:38:27 -0500 From: LoH User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: John Almberg References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> <4ADB8631.7000800@identry.com> In-Reply-To: <4ADB8631.7000800@identry.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote 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, 18 Oct 2009 21:38:33 -0000 John Almberg wrote: >> My build-world is finally done, so going to see if it works, now... > > H'mmm... I have a question about the kernel configuration file... > > I am currently using a customer kernel. Unfortunately, this machine > was installed by someone before my time, so I don't know the details. > > Can I make a 7.2 kernel using this 6.3 custom kernel configuration > file? Or should I start with the 7.2 generic, and somehow customize it > correctly? > > I've been looking at the custom configuration file... so far, I can > see that it: > > 1. adds PF to the kernel > 2. deletes unneeded drivers, like unused RAID cards and unused serial > interfaces. > > Or should I just try the GENERIC kernel, and maybe just add PF to it? The 7.2 GENERIC kernel includes PF, but not ALTQ. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 22:53:06 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 7AC6B1065676 for ; Sun, 18 Oct 2009 22:53:06 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id 561B28FC1B for ; Sun, 18 Oct 2009 22:53:06 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MzecE-0000Jn-FR; Sun, 18 Oct 2009 17:52:43 -0500 Message-ID: <4ADB9C50.3000505@identry.com> Date: Sun, 18 Oct 2009 18:53:04 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: LoH References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> <4ADB8631.7000800@identry.com> <4ADB8AD3.5050009@gmail.com> In-Reply-To: <4ADB8AD3.5050009@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote 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, 18 Oct 2009 22:53:06 -0000 > The 7.2 GENERIC kernel includes PF, but not ALTQ. Okay, that's good to know. Thanks. Well, I was able to boot the new kernel in single user mode, but when I tried to run mergemaster -p, it couldn't find mergemaster. It looks like only one file system is mounted... nothing in /usr for instance. I should be able to figure out how to mount the others, but my brain is done for today. Will tackle this fresh tomorrow, but good progress, I think! Thank goodness for that serial port thingy... not sure how I would have booted into single user mode, otherwise. -- John From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 23:12:19 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 44E6B106566B for ; Sun, 18 Oct 2009 23:12:19 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6B08FC08 for ; Sun, 18 Oct 2009 23:12:18 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n9INCHxP066795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Oct 2009 18:12:18 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n9INCHpg010755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Oct 2009 18:12:17 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n9INCHHY010754 for freebsd-questions@freebsd.org; Sun, 18 Oct 2009 18:12:17 -0500 (CDT) (envelope-from dan) Date: Sun, 18 Oct 2009 18:12:17 -0500 From: Dan Nelson To: freebsd-questions@freebsd.org Message-ID: <20091018231217.GF29215@dan.emsphone.com> References: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 18 Oct 2009 18:12:18 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Subject: Re: Accessing LDAP via web X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Oct 2009 23:12:19 -0000 In the last episode (Oct 18), carmel_ny said: > On Sun, 18 Oct 2009 20:57:52 +0700 (ICT) > Olivier Nicole (Olivier.Nicole@cs.ait.ac.th) replied: > > >> I am probably doing this all wrong. I have an OpenLDAP server set up > >> that works correctly. I wanted to be able to access it via "LDAP://" > >> from my laptop when traveling. Unfortunately, that is not working. > >> When > > > >An LDAP server is not something that you access through a web browser. > > > >The naming of the form ldap:// does not mean you can access it with > >Firefox or IE, or other web browser. > > > >Now you may consider installing something like phpldapadmin that lets you > >administer an LDAP server through a web interface. > > I have email clients on my laptops that can access the LDAP server when > connected via my LAN. When traveling that is not readily possible (is > it)? Therefore, how can I accomplish this or is it not possible? > > Remember, I am not attempting to administer the LDAP server, but rather > access its stored data. You will probably want to use an email client to access the ldap database. Seamonkey, for example, has an Address Book window where you can add an external LDAP directory server and then do searches on it. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 23:16:51 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 AF02E106566B for ; Sun, 18 Oct 2009 23:16:51 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id 751748FC16 for ; Sun, 18 Oct 2009 23:16:51 +0000 (UTC) Received: from [10.0.0.3] (really [76.182.207.101]) by cdptpa-omta03.mail.rr.com with ESMTP id <20091018231650335.IZPQ12700@cdptpa-omta03.mail.rr.com>; Sun, 18 Oct 2009 23:16:50 +0000 Date: Sun, 18 Oct 2009 18:16:48 -0500 From: Paul Schmehl To: John Almberg , LoH Message-ID: In-Reply-To: <4ADB9C50.3000505@identry.com> References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> <4ADB8631.7000800@identry.com> <4ADB8AD3.5050009@gmail.com> <4ADB9C50.3000505@identry.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 23:16:51 -0000 --On October 18, 2009 6:53:04 PM -0400 John Almberg wrote: >> The 7.2 GENERIC kernel includes PF, but not ALTQ. > > Okay, that's good to know. Thanks. > > Well, I was able to boot the new kernel in single user mode, but when I > tried to run mergemaster -p, it couldn't find mergemaster. > > It looks like only one file system is mounted... nothing in /usr for > instance. I should be able to figure out how to mount the others, but my > brain is done for today. Will tackle this fresh tomorrow, but good > progress, I think! After you boot into single user mode, type mount -a. Then cd to /usr/src and run mergemaster -p. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 23:22:54 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 38B5F106568B for ; Sun, 18 Oct 2009 23:22:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id EA2B38FC1D for ; Sun, 18 Oct 2009 23:22:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n9INMrVJ094597; Sun, 18 Oct 2009 17:22:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n9INMrgH094594; Sun, 18 Oct 2009 17:22:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 18 Oct 2009 17:22:53 -0600 (MDT) From: Warren Block To: John Almberg In-Reply-To: <4ADB9C50.3000505@identry.com> Message-ID: References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> <4ADB8631.7000800@identry.com> <4ADB8AD3.5050009@gmail.com> <4ADB9C50.3000505@identry.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Sun, 18 Oct 2009 17:22:53 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote 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, 18 Oct 2009 23:22:54 -0000 On Sun, 18 Oct 2009, John Almberg wrote: >> The 7.2 GENERIC kernel includes PF, but not ALTQ. > > Okay, that's good to know. Thanks. > > Well, I was able to boot the new kernel in single user mode, but when I tried > to run mergemaster -p, it couldn't find mergemaster. Booting to single-user isn't strictly necessary. If you're the only person on it, it certainly should be fine to boot multi-user after installing the new kernel. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 00:17:15 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 0E45E1065670 for ; Mon, 19 Oct 2009 00:17:15 +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 C16B88FC14 for ; Mon, 19 Oct 2009 00:17:14 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id 159F43C5B5; Mon, 19 Oct 2009 02:17:12 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9J0HAP8001609; Mon, 19 Oct 2009 02:17:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Oct 2009 02:17:10 +0200 From: Polytropon To: Gary Kline Message-Id: <20091019021710.6f25c602.freebsd@edvax.de> In-Reply-To: <20091017052510.GA1893@thought.org> References: <20091017052510.GA1893@thought.org> 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 Mailing List Subject: Re: using split, can i break up a huge txt file using a regex 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, 19 Oct 2009 00:17:15 -0000 On Fri, 16 Oct 2009 22:25:13 -0700, Gary Kline wrote: > I would like to put back the > huge text file into its 66 smaller files using split. Can I break this > very large journeyTowardtheDawn.txt using the regex > "Chapter [:digit:]{1,2}" ?? > > Or maybe just "Chapter " ? Maybe FreeBSD's csplit program is the right tool for this job. It supports splitting files based on context; you can use regex to express where a new file should be opened. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 00:51:36 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 AC2C5106566C for ; Mon, 19 Oct 2009 00:51:36 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay1.uni-muenster.de (ZIVM-EXRELAY1.UNI-MUENSTER.DE [128.176.192.14]) by mx1.freebsd.org (Postfix) with ESMTP id 429038FC08 for ; Mon, 19 Oct 2009 00:51:35 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,582,1249250400"; d="scan'208";a="285827670" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay1.uni-muenster.de with ESMTP; 19 Oct 2009 02:51:34 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id 6104E1B0750; Mon, 19 Oct 2009 02:51:34 +0200 (CEST) Date: Mon, 19 Oct 2009 02:51:33 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: tft pivot support and auto rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 00:51:36 -0000 hi there, my tft comes with pivot support. i'm running x with the nvidia closed source drivers and added Option "RandRRotation" "True" to my xorg.conf. so now when i do `xrandr -o left` or `xrandr -o right` X gets rotated which is great. under windows however i've been told that this is being done automatically when the screen gets rotated. is it possible to do this too under X without having to use xrandr manually? i guess the tft must be sending some sort of signal over the vga/dvi port to signal that it's been rotated. cheers. alex From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 01:26:41 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 4D930106566C for ; Mon, 19 Oct 2009 01:26:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.tele2.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id D56AC8FC14 for ; Mon, 19 Oct 2009 01:26:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j9CC8HtPQ6QA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=GjJEomlsuOF1M2Sj0vEA:9 a=60f86-FYpBYoBiqTIayNqPgL0vwA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 578633501; Mon, 19 Oct 2009 02:26:34 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, freebsd-questions@freebsd.org Date: Mon, 19 Oct 2009 02:27:33 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910190227.34688.hselasky@c2i.net> Cc: Alexander Best Subject: Re: device nodes in usb2 stack (fwd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 01:26:41 -0000 On Sunday 18 October 2009 23:08:14 Alexander Best wrote: > posted this to freebsd-questions@ a while ago and got no answer. > > alex Hi, For every USB device there is /dev/usb/XXX . Currently the USB Bluetooth driver does not have any file nodes. Entries appearing in devd.conf might not always be matched due to /dev/XXX creation. In that regard the USB stack fakes ugenX.Y device messages for devd.conf. --HPS From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 01:33:49 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 A2BC31065676 for ; Mon, 19 Oct 2009 01:33:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 648DB8FC0A for ; Mon, 19 Oct 2009 01:33:49 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n9J1XdVg021156 for ; Sun, 18 Oct 2009 18:33:39 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 18 Oct 2009 18:33:43 -0700 (PDT) Date: Sun, 18 Oct 2009 18:33:43 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091019013337.GA9522@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 01:33:49 -0000 Guys, maybe this can't be done reading in a file with fgets(buffer[128], fp), then calling skiptags(), conditionally, to while () past ',' and '>'. I know I need to calll skipTags with its address, skipTags(&buffer);, but then how to i handle the variable "s" in skipTags? Anybody? // redo, skip TAGS skipTags((char *)&s) { if (*s == '<') { while (*s != '>') { s++; } s++; } } -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 02:02:32 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 EE5521065672 for ; Mon, 19 Oct 2009 02:02:32 +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 ACB718FC0A for ; Mon, 19 Oct 2009 02:02:32 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id 818383C95B; Mon, 19 Oct 2009 04:02:31 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9J22TD1002164; Mon, 19 Oct 2009 04:02:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Oct 2009 04:02:29 +0200 From: Polytropon To: Gary Kline Message-Id: <20091019040229.b4e11bbc.freebsd@edvax.de> In-Reply-To: <20091019013337.GA9522@thought.org> References: <20091019013337.GA9522@thought.org> 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 Mailing List Subject: Re: need C help, passing char buffer[] by-value.... 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, 19 Oct 2009 02:02:33 -0000 On Sun, 18 Oct 2009 18:33:43 -0700, Gary Kline wrote: > Guys, > > maybe this can't be done reading in a file with fgets(buffer[128], fp), > then calling skiptags(), conditionally, to while () past ',' and '>'. > > I know I need to calll skipTags with its address, skipTags(&buffer);, > but then how to i > handle the variable "s" in skipTags? Anybody? It's quite complicated. Soes it need to be? :-) > // redo, skip TAGS Is this C or C++ source code? I always thought // was C++ specific... > skipTags((char *)&s) Where's my return datatype? And when (int) is the default, where is my return statement? :-) > { > if (*s == '<') > { > while (*s != '>') > { > s++; > } > s++; > } > } If you need type conversion, you can't do this in the function's declaration. You need to perform this with the call. The function would rather start as void skipTags(char *s) and then be called with the correct pointer char *bla; ... skipTags(bla); Instead of pointer arithmethics, which is one of the ultimate skills in C, you could use an iterator from 0 to strlen(s). I think the code above is just part of a bigger mechanism. Looks like you want to "shift" the character pointer to override any <...> segments, and then let some other parts do something more, right? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 02:16:29 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 C1FF71065670 for ; Mon, 19 Oct 2009 02:16:29 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 59FD38FC17 for ; Mon, 19 Oct 2009 02:16:28 +0000 (UTC) Received: by fxm6 with SMTP id 6so4301173fxm.43 for ; Sun, 18 Oct 2009 19:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=mxd/OQH6jICO+WZNL2it39/+QWVncAi1PBiz9VbEZ1c=; b=bfMgWx3PdGGSZb8LElhWdumzhKxaW+otN6eZfK/y66GGg0HK5jezvM0CijiD6dOTo5 KReZLf/khD8S2IcYybnC9iag+BziV5Gl9MtxYsJ//JmSW7Kbq/2o9tg4thg9ZoxCUWL5 tb1DZWe73cp8ZBmTkqFsSo2DMJa0VOF+q3oXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TWDhKlk4hd6XEf69iLQavqSK6MzkAoMIr6tTN1a6smJ8lvs1Tho0ody8adnAAhHqN+ anQsWfgbX3kVR1pwSNK1rqaKU93ICTLkd5ww0FfMeSjh4lYj8H/T9HPCM5FLtLAz6QYk 7/bRqPcdQpnrE+e6riZwnhBnHiz95LdOj4yhc= MIME-Version: 1.0 Received: by 10.223.143.79 with SMTP id t15mr853102fau.2.1255918588222; Sun, 18 Oct 2009 19:16:28 -0700 (PDT) In-Reply-To: <20091019040229.b4e11bbc.freebsd@edvax.de> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> Date: Sun, 18 Oct 2009 22:16:28 -0400 Message-ID: <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> From: Glen Barber To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 02:16:29 -0000 On Sun, Oct 18, 2009 at 10:02 PM, Polytropon wrote: [snip] > >> // redo, skip TAGS > > Is this C or C++ source code? I always thought // was C++ > specific... > "//" comments are recognized by both C and C++. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 02:26:09 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 213851065692 for ; Mon, 19 Oct 2009 02:26:09 +0000 (UTC) (envelope-from andoriyu@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 A943B8FC23 for ; Mon, 19 Oct 2009 02:26:08 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1688955fga.13 for ; Sun, 18 Oct 2009 19:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=CdcsMK0j0lAopluMmEZ+kk6sRB4WliaGwjY6fggH0BU=; b=H/vl9gyyS4o+Xtn2tJap9374NopF+eKUamVBbGx2nysDpU67JMVBe2cbcFR5vMgfh0 m7z2mdqQFwl3skedco5xgInoS+wi1vnFarD500IS7y4bufWJ1fZKqHT0fOSkA50mHMLo B2rRWiQxtE5XOo2jM2NH0fbV03WbSdKleyCCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=n3zfQx05Xz7j7iXxtLp/Jl2scALPnJKR/cTLagaE70wjND+eFpXKNW7rHo86CgUoP+ kLhWTnYv6SqCy9L3clGjGNT141cuv/uB9bOqDQmrz9gRCzeOgy3PZEHsjukV4oM/mtOa yDhmQ2zxpVLdIkxPei07MPkenbJI82634qSTQ= Received: by 10.86.227.26 with SMTP id z26mr2787576fgg.76.1255917199388; Sun, 18 Oct 2009 18:53:19 -0700 (PDT) Received: from ?192.168.2.4? (ip24-254-87-165.sb.sd.cox.net [24.254.87.165]) by mx.google.com with ESMTPS id e20sm5186976fga.0.2009.10.18.18.53.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Oct 2009 18:53:18 -0700 (PDT) Message-Id: <2E3D1F6C-FB44-4023-BB3F-23BDC85F4CA2@gmail.com> From: Andrew Cherkashin To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 18 Oct 2009 18:53:13 -0700 X-Mailer: Apple Mail (2.936) Cc: Subject: Certification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 02:26:09 -0000 Hello. Where i can take FreeBSD exam? In California. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 02:30:55 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 9EB59106566C for ; Mon, 19 Oct 2009 02:30:55 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 36DD48FC0A for ; Mon, 19 Oct 2009 02:30:54 +0000 (UTC) Received: by fxm6 with SMTP id 6so4309097fxm.43 for ; Sun, 18 Oct 2009 19:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Dz+V/Z+ushGRaboluRt5bFVhlr9KD8NMO2Q4AD4WhnE=; b=vEaJvA3NgSSxt29afXJ22LTmwaFYZtF1gybaa8GSmxlYfpiJ5zmCbXqp8TWvJnSj2G 1jjhTWX5sXWKlBHqWJIGZLLEJY/SfiogQ0Le/zhFA4miZ11NSoGOrDiy7ZAUIY7R0IB/ hs/pos4jbhuXcKwBFvC8Oj+nEhG2LYBXRGqNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EyYqxC2bEq71ASkRL3lRUYTrGCbnWoOB4HIDwDsf6D+M2SYbyZAwV7pPl0rGZchuUb 29mUAe5WI6DjDpRsrA1ulNV6sXWdSgR/IqEK6vlRLgYJ+lHgSK9naQeKyg9/EpiPUvOf YMX5U5fqWle7NhmlN6aWq9OkaQHQAi7NVlEQk= MIME-Version: 1.0 Received: by 10.223.18.137 with SMTP id w9mr970607faa.61.1255919454353; Sun, 18 Oct 2009 19:30:54 -0700 (PDT) In-Reply-To: <2E3D1F6C-FB44-4023-BB3F-23BDC85F4CA2@gmail.com> References: <2E3D1F6C-FB44-4023-BB3F-23BDC85F4CA2@gmail.com> Date: Sun, 18 Oct 2009 22:30:54 -0400 Message-ID: <4ad871310910181930w4bfb7265mc2bf9085ba3dca76@mail.gmail.com> From: Glen Barber To: Andrew Cherkashin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Certification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 02:30:55 -0000 Hello, On Sun, Oct 18, 2009 at 9:53 PM, Andrew Cherkashin wrote: > Hello. Where i can take FreeBSD exam? In California. This link may be helpful: http://www.bsdcertification.org/ Cheers, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:07:34 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 7A8D2106566B for ; Mon, 19 Oct 2009 03:07:34 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 23F988FC0C for ; Mon, 19 Oct 2009 03:07:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 7C6F13A383A for ; Mon, 19 Oct 2009 10:07:32 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1255921652; x= 1257736052; bh=o5yQj/W6YNpqmufXyDhNKc4GlNGboLdkwUlukQ6qFfY=; b=B KrY4iAh0u8CHl/v1lZGInbdDjQxLugW0ZkH5C734biu0W2m+Txa3FotFMDFZTJb1 lHr6c5Kn5P5BwnqNlous/6Xos5IdX4HxGOYLLUuLFMg92scm6Uhd4bM7jvbDrJ1D w3OnplPxoPL8nsgSBCtgZZONQ2FGy0gduV/djvEfVY= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id a11kE2ZAGsl8 for ; Mon, 19 Oct 2009 10:07:32 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id BBA3F3A3836 for ; Mon, 19 Oct 2009 10:07:31 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n9J37VtJ045747; Mon, 19 Oct 2009 10:07:31 +0700 (ICT) (envelope-from on) Date: Mon, 19 Oct 2009 10:07:31 +0700 (ICT) Message-Id: <200910190307.n9J37VtJ045747@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org CC: freebsd-questions@freebsd.org In-reply-to: (message from carmel_ny on Sun, 18 Oct 2009 10:18:51 -0400) References: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> Subject: Re: Accessing LDAP via web X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 03:07:34 -0000 Hi Carmen, > I have email clients on my laptops that can access the LDAP server when > connected via my LAN. When traveling that is not readily possible (is > it)? Therefore, how can I accomplish this or is it not possible? > > Remember, I am not attempting to administer the LDAP server, but rather > access its stored data. It would need more information then, for me to be able to answer. Usual thing LDAP is used in conjunction with email is for authentication: when you want to read or send email, you have to authenticate and this is done against the LDAP server. But this authentication is never done by your email client, rather by your POP, IMAP and SMTP servers, so it should really not matter your are traveling or not. I don't know any usage when the email client needs to access the LDAP server directly (keeping some address book on LDAP?) In that case it is a problem of making the LDAP server accessible for traveling users, opening the firewall and so on. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:18:21 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 B4DA21065676 for ; Mon, 19 Oct 2009 03:18:21 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 80EC28FC16 for ; Mon, 19 Oct 2009 03:18:21 +0000 (UTC) Received: by yxe1 with SMTP id 1so3471332yxe.3 for ; Sun, 18 Oct 2009 20:18:20 -0700 (PDT) MIME-Version: 1.0 Sender: carl@chave.us Received: by 10.101.176.38 with SMTP id d38mr3147715anp.12.1255922300699; Sun, 18 Oct 2009 20:18:20 -0700 (PDT) Date: Sun, 18 Oct 2009 23:18:20 -0400 X-Google-Sender-Auth: 9adf9de7cfbb57ce Message-ID: From: Carl Chave To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Write attempt to file in ZFS snapshot dir causes panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 03:18:21 -0000 I'm new to FreeBSD. Been experimenting with 8.0-RC1 and zfs in a VM. Really haven't even installed it yet, just getting familiar with zfs usage from the fixit environment. I experienced some strange behavior and was wondering if this would warrant a bug report: 1. load zfs from bootloader prompt and then boot. 2. enter fixit environment. 3. import zpool (in this case a 2 disk vmware mirror named sodpool) 4. cd to previously created snapshot at sodpool/test/myfs/.zfs/snapshot/one 5. attempting to create a new file here results in: Fixit# echo hello > hello.txt cannot create hello.txt: Read-only file system 6. That seems like the desired response. Next, attempt to modify a file that already exists in the snapshot: Fixit# echo hello >> test.txt panic: dirtying snapshot! I know I'm not supposed to be modifying a snapshot file, but a panic doesn't seem like the best response to this situation. I'm using DVD iso named 8.0-RC1-amd64-dvd1.iso This bug report has the same panic but the scenario is different: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/138764 Is there someplace else I should check for existing issues? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:23:58 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 5FE8E1065672 for ; Mon, 19 Oct 2009 03:23:58 +0000 (UTC) (envelope-from dkelly@hiwaay.net) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id E19878FC0C for ; Mon, 19 Oct 2009 03:23:57 +0000 (UTC) Received: (qmail 27904 invoked by uid 0); 19 Oct 2009 03:23:55 -0000 Received: from unknown (HELO ?10.0.0.9?) (24.42.224.110) by smtp1.knology.net with SMTP; 19 Oct 2009 03:23:55 -0000 References: <20091019013337.GA9522@thought.org> In-Reply-To: <20091019013337.GA9522@thought.org> Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Message-Id: <72213BBF-5E05-430D-BF9A-FCD2666951C6@hiwaay.net> Content-Transfer-Encoding: 7bit From: David Kelly Date: Sun, 18 Oct 2009 22:23:43 -0500 To: Gary Kline X-Mailer: Apple Mail (2.1076) Cc: FreeBSD Mailing List Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 03:23:58 -0000 On Oct 18, 2009, at 8:33 PM, Gary Kline wrote: > Guys, > > maybe this can't be done reading in a file with fgets(buffer[128], > fp), > then calling skiptags(), conditionally, to while () past ',' and '>'. > > I know I need to calll skipTags with its address, skipTags > (&buffer);, but then how to i > handle the variable "s" in skipTags? Anybody? The skipTags() you wrote doesn't return its result. Without actually trying it I think this will work: // redo, skip TAGS char *skipTags( char *s ) { if( *s == '<' ) { while( *s && ( *s++ != '>' ) ) ; // on a line of its own to make sure you see it } return s; } When not using a count to indicate how much data is in a char* you should always test for null. Testing for null is not a sure fire way to prevent buffer over runs but its better than nothing. Use the above something like this: char *buffPtr; buffPtr = skipTags( buffPtr ); // advance over < > tags -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:29:51 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 EB3F1106566C for ; Mon, 19 Oct 2009 03:29:51 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id C40778FC1D for ; Mon, 19 Oct 2009 03:29:51 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mziw2-0004T6-Hn; Sun, 18 Oct 2009 22:29:27 -0500 Message-ID: <4ADBDD2D.5040709@identry.com> Date: Sun, 18 Oct 2009 23:29:49 -0400 From: John Almberg User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Paul Schmehl References: <4ADB2F6F.8090107@identry.com> <9cbf3f070910180834g775f7116o688ffbdc1861642d@mail.gmail.com> <4ADB51AA.80104@identry.com> <4ADB75D8.5060404@identry.com> <4ADB8631.7000800@identry.com> <4ADB8AD3.5050009@gmail.com> <4ADB9C50.3000505@identry.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: LoH , freebsd-questions@freebsd.org Subject: Re: Fwd: upgrading remote 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, 19 Oct 2009 03:29:52 -0000 > After you boot into single user mode, type mount -a. Then cd to /usr/src > and run mergemaster -p. This worked, thanks. mergemaster -p then ran fine with no errors, but when I tried 'make installworld', it stopped on this error: -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/amd64 (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib install: crt1.o: No such file or directory *** Error code 71 Stop in /usr/src/lib/csu/amd64. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # Ah well, tomorrow is another day! -- John From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:30:52 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 48DA2106566B for ; Mon, 19 Oct 2009 03:30:52 +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 078D28FC16 for ; Mon, 19 Oct 2009 03:30:51 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 18 Oct 2009 23:30:51 -0400 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.7-GA) with ESMTP id LES01941; Sun, 18 Oct 2009 23:30:50 -0400 (EDT) Received: from 209-6-22-227.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.227]) by smtp01.lnh.mail.rcn.net with ESMTP; 18 Oct 2009 23:30:50 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19163.56681.724615.44106@jerusalem.litteratus.org> Date: Sun, 18 Oct 2009 23:30:49 -0400 To: Glen Barber In-Reply-To: <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> 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) Cc: Polytropon , FreeBSD Mailing List Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 03:30:52 -0000 Glen Barber writes: > >> // redo, skip TAGS > > > > Is this C or C++ source code? I always thought // was C++ > > specific... > > > > "//" comments are recognized by both C and C++. How about "... are recognized by both C++ and more recent versions of C."? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:32:24 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 20D31106568F for ; Mon, 19 Oct 2009 03:32:24 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq4.gn.mail.iss.as9143.net (smtpq4.gn.mail.iss.as9143.net [212.54.34.167]) by mx1.freebsd.org (Postfix) with ESMTP id CED948FC0C for ; Mon, 19 Oct 2009 03:32:22 +0000 (UTC) Received: from [212.54.34.132] (helo=smtp1.gn.mail.iss.as9143.net) by smtpq4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Mziyr-0005bK-1C; Mon, 19 Oct 2009 05:32:21 +0200 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Mziyq-0000be-7Y; Mon, 19 Oct 2009 05:32:20 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id C124439840; Mon, 19 Oct 2009 05:32:18 +0200 (CEST) Message-ID: <4ADBDDC1.6090302@boosten.org> Date: Mon, 19 Oct 2009 05:32:17 +0200 From: Peter Boosten User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Olivier Nicole References: <200910181357.n9IDvqBs009602@banyan.cs.ait.ac.th> <200910190307.n9J37VtJ045747@banyan.cs.ait.ac.th> In-Reply-To: <200910190307.n9J37VtJ045747@banyan.cs.ait.ac.th> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Mziyq-0000be-7Y X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0, vereist 5, autolearn=not spam, BAYES_50 0.00, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Accessing LDAP via web X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 03:32:24 -0000 Olivier Nicole wrote: > Hi Carmen, > >> I have email clients on my laptops that can access the LDAP server when >> connected via my LAN. When traveling that is not readily possible (is >> it)? Therefore, how can I accomplish this or is it not possible? >> >> Remember, I am not attempting to administer the LDAP server, but rather >> access its stored data. > > It would need more information then, for me to be able to answer. > > Usual thing LDAP is used in conjunction with email is for > authentication: when you want to read or send email, you have to > authenticate and this is done against the LDAP server. But this > authentication is never done by your email client, rather by your POP, > IMAP and SMTP servers, so it should really not matter your are > traveling or not. > That's a rather limited view of the capabilities of an LDAP server. Most modern browsers support the ldap:// syntax, to browse the LDAP server as an address book. For you to do so over the internet, you would need access to 389 TCP/UDP, are these ports opened up? Furthermore, you would require anonymous (read-)access. Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:43:47 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 17DC6106566B for ; Mon, 19 Oct 2009 03:43:47 +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 CB5F98FC17 for ; Mon, 19 Oct 2009 03:43:46 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id E7EBE3C967 for ; Mon, 19 Oct 2009 05:43:45 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9J3hiWF002569 for ; Mon, 19 Oct 2009 05:43:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Oct 2009 05:43:44 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20091019054344.bb4822ca.freebsd@edvax.de> In-Reply-To: <72213BBF-5E05-430D-BF9A-FCD2666951C6@hiwaay.net> References: <20091019013337.GA9522@thought.org> <72213BBF-5E05-430D-BF9A-FCD2666951C6@hiwaay.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 Subject: Re: need C help, passing char buffer[] by-value.... 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, 19 Oct 2009 03:43:47 -0000 On Sun, 18 Oct 2009 22:23:43 -0500, David Kelly wrote: > When not using a count to indicate how much data is in a char* you > should always test for null. Testing for null is not a sure fire way > to prevent buffer over runs but its better than nothing. There are means like #include ... assert(s); to make sure s is not NULL, or testing for it explicitely like if(!s) ... error handling here ... is possible. Furthermore, it is a proven way to give a length argument along with the (char *) argument, such as the "new" l-functions for strings, e. g. strlcat() and strlcpy(), do. char *skiptags(char *s, int l); You can even double-check for l begin != 0. Or you employ a test with strlen() function-internally. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:46:23 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 4796D106566B for ; Mon, 19 Oct 2009 03:46:23 +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 053108FC12 for ; Mon, 19 Oct 2009 03:46:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id 679173CA51; Mon, 19 Oct 2009 05:46:22 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9J3kKt1002589; Mon, 19 Oct 2009 05:46:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Oct 2009 05:46:20 +0200 From: Polytropon To: Robert Huff Message-Id: <20091019054620.9cc1b05c.freebsd@edvax.de> In-Reply-To: <19163.56681.724615.44106@jerusalem.litteratus.org> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> <19163.56681.724615.44106@jerusalem.litteratus.org> 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: Polytropon , Glen Barber , FreeBSD Mailing List Subject: Re: need C help, passing char buffer[] by-value.... 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, 19 Oct 2009 03:46:23 -0000 On Sun, 18 Oct 2009 23:30:49 -0400, Robert Huff wrote: > > Glen Barber writes: > > > >> // redo, skip TAGS > > > > > > Is this C or C++ source code? I always thought // was C++ > > > specific... > > > > > > > "//" comments are recognized by both C and C++. > > How about "... are recognized by both C++ and more recent versions > of C."? That's what I thought. In fact, I *had* C programs containing the // comments, but they failed to compile. After changing the // to /* ... */ it worked. Maybe that's not an issue anymore, but I've been told by a long-time C programmer that // should be kept out of C code for maximum compatibility. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 04:47:30 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 2B3E01065670 for ; Mon, 19 Oct 2009 04:47:30 +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 E085D8FC17 for ; Mon, 19 Oct 2009 04:47:29 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id 1E4053C93E for ; Mon, 19 Oct 2009 06:47:29 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9J4lRiS002772 for ; Mon, 19 Oct 2009 06:47:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Oct 2009 06:47:27 +0200 From: Polytropon To: FreeBSD Questions Message-Id: <20091019064727.fc002b1f.freebsd@edvax.de> 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 Subject: IBM Thinkpad 755C and FreeBSD's minimal hardware requirements - still usable? 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, 19 Oct 2009 04:47:30 -0000 Dear list, I'm about to try something strange. Recently, I got back my IBM Thinkpad 755C. It's from ca. 1995, has a 486 processor at 75 MHz, 20 MB RAM and a 640x480x256 display. The hard disk is 330 MB, but I have a 500 MB disk that I want to use. Use for what? FreeBSD, of course. Allthough this device is quite old, the battery lasts 3 hours. I'm not joking, I tried it. The laptop contains two PCCARD (PCMCIA) slots for expansions. A floppy disk drive is built in, as well as audio (builtin microphone and speaker, connectors for line in and headphones). On the back, there are connectors for VGA, serial (9 pin), and parallel, as well as for some kind of docking station. There's no USB and no CD drive. Here's my question: Is it, under any circumstances, possible to run FreeBSD on this configuration in order to have a portable and lightweight (in regards of software) diagnostic computer? I thought about putting in a PCCARD based NIC (I have a Realtek one that works well with FreeBSD), as well as a WLAN card. On the software side I would think about CLI tools mostly, but it would be great to run X (even at this limited screen, but there's always the option of using a bigger virtual desktop). Programs should include a web browser, mail client, and finally a network traffic diagnostic tool, such as Wireshark (ex Ethereal). I had FreeBSD 4 running on this device from floppy for testing purposes, so I know I have to pay attention to the fact that the keyboard needs to be flagged as XT (not AT) - very stange. I had FreeBSD 4 running on a 486/60 Toshiba T2130ct with 8 MB RAM in the past, but I'm using this one now for programming Motorola mobile radios. It's builtin trackpoint is not working anymore, but the Thinkpad's is in perfect condition, so I have a good pointing device. Furthermore, the Thinkpad's keyboard is excellent, compared to the Toshiba and to "modern" notebooks with their floppy-sloppy keys. Is this imaginable at all? Any ideas, comments or suggestions are appreciated. PS. Of course I would buy one of those modern "Netbooks" to have the same effect, but why buy when the stuff I have arund anywill will work, too? I know, I'm just plain mean, and I diskike the Netbook's nearly unusable keyboards as well as the absence of a proper pointing device (the ugly slimy fingerprint-glidepad is no solution). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 05:16:07 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 1AFAB1065670 for ; Mon, 19 Oct 2009 05:16:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id ADC798FC18 for ; Mon, 19 Oct 2009 05:16:06 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n9J5FsVI022605; Sun, 18 Oct 2009 22:15:54 -0700 (PDT) (envelope-from kline@thought.org) From: Gary Kline Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 18 Oct 2009 22:15:58 -0700 (PDT) Date: Sun, 18 Oct 2009 22:15:58 -0700 Cc: freebsd-questions@freebsd.org Message-ID: <20091019051557.GC9657@thought.org> References: <20091019013337.GA9522@thought.org> <72213BBF-5E05-430D-BF9A-FCD2666951C6@hiwaay.net> <20091019054344.bb4822ca.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019054344.bb4822ca.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-3.1 required=3.6 tests=ALL_TRUSTED,BAYES_00, MISSING_HEADERS autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 05:16:07 -0000 On Mon, Oct 19, 2009 at 05:43:44AM +0200, Polytropon wrote: > On Sun, 18 Oct 2009 22:23:43 -0500, David Kelly wrote: > > When not using a count to indicate how much data is in a char* you > > should always test for null. Testing for null is not a sure fire way > > to prevent buffer over runs but its better than nothing. > > There are means like > > #include > ... > assert(s); > > to make sure s is not NULL, or testing for it explicitely like > > if(!s) > ... error handling here ... > > is possible. Furthermore, it is a proven way to give a length > argument along with the (char *) argument, such as the "new" > l-functions for strings, e. g. strlcat() and strlcpy(), do. > > char *skiptags(char *s, int l); > > You can even double-check for l begin != 0. Or you employ a > test with strlen() function-internally. > > right; i will add error checking once i've got things working. but i think i meant to say that i was calling by-reference, sing fgets was reading the file from a char buffer[256]; or whatever. so, given this, shouldn't i need to step past some N bytes of "buffer[]? i'll experiement and see, again, but in my one compile that worked, by-value, left in the gary > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 05:25:10 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 AD54A1065692 for ; Mon, 19 Oct 2009 05:25:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3118FC1C for ; Mon, 19 Oct 2009 05:25:10 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n9J5OvEG022673; Sun, 18 Oct 2009 22:24:57 -0700 (PDT) (envelope-from kline@thought.org) From: Gary Kline Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 18 Oct 2009 22:25:01 -0700 (PDT) Date: Sun, 18 Oct 2009 22:25:01 -0700 To: Polytropon Message-ID: <20091019052501.GD9657@thought.org> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019040229.b4e11bbc.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i /rom: Gary Kline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 05:25:10 -0000 On Mon, Oct 19, 2009 at 04:02:29AM +0200, Polytropon wrote: > On Sun, 18 Oct 2009 18:33:43 -0700, Gary Kline wrote: > > Guys, > > > > maybe this can't be done reading in a file with fgets(buffer[128], fp), > > then calling skiptags(), conditionally, to while () past ',' and '>'. > > > > I know I need to calll skipTags with its address, skipTags(&buffer);, > > but then how to i > > handle the variable "s" in skipTags? Anybody? > > It's quite complicated. Soes it need to be? :-) > > > > > // redo, skip TAGS > > Is this C or C++ source code? I always thought // was C++ > specific... > > > > > skipTags((char *)&s) > > Where's my return datatype? And when (int) is the default, > where is my return statement? :-) > > > { > > if (*s == '<') > > { > > while (*s != '>') > > { > > s++; > > } > > s++; > > } > > } > > If you need type conversion, you can't do this in the > function's declaration. You need to perform this with > the call. The function would rather start as > > void skipTags(char *s) > > and then be called with the correct pointer > > char *bla; > ... > skipTags(bla); > > Instead of pointer arithmethics, which is one of the > ultimate skills in C, you could use an iterator from 0 > to strlen(s). > > I think the code above is just part of a bigger mechanism. > Looks like you want to "shift" the character pointer to > override any <...> segments, and then let some other > parts do something more, right? i hadn't thought of this approach, but counting the number of bytes in a might wwork!! gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 05:48:41 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 B581B106566C for ; Mon, 19 Oct 2009 05:48:41 +0000 (UTC) (envelope-from bmettee@pchotshots.com) Received: from mail.pchotshots.com (ns1.pchotshots.com [12.172.123.235]) by mx1.freebsd.org (Postfix) with SMTP id 7A8C58FC28 for ; Mon, 19 Oct 2009 05:48:41 +0000 (UTC) Received: (qmail 45034 invoked by uid 89); 19 Oct 2009 05:50:18 -0000 Received: from unknown (HELO ?12.172.123.228?) (bmettee@pchotshots.com@12.172.123.228) by mail.pchotshots.com with SMTP; 19 Oct 2009 05:50:18 -0000 Message-ID: <4ADBFDBA.6040702@pchotshots.com> Date: Mon, 19 Oct 2009 01:48:42 -0400 From: Brad Mettee User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Gary Kline , FreeBSD Mailing List References: <20091019013337.GA9522@thought.org> In-Reply-To: <20091019013337.GA9522@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 05:48:41 -0000 Gary Kline wrote: > Guys, > > maybe this can't be done reading in a file with fgets(buffer[128], fp), > then calling skiptags(), conditionally, to while () past ',' and '>'. > > I know I need to calll skipTags with its address, skipTags(&buffer);, but then how to i > handle the variable "s" in skipTags? Anybody? > > > > > // redo, skip TAGS > skipTags((char *)&s) > { > if (*s == '<') > { > while (*s != '>') > { > s++; > } > s++; > } > } > Your function may not work exactly as you think it will. Your basic idea runs on the assumption that the tag will never be broken during the file read. It's possible that you'll read "some datamore data here", or some variation thereof. If you know for a fact that the string you read in will always be complete, then what's below should work fine: // where *s is the address of a string to be parsed // maxlen represents the maximum number of chars potentially in the string and is not zero based (ie: maxlen 256 = char positions 0-255) // *curpos is the current position of the pointer (this prevents bounds errors) skipTags(char *s, long maxlen, long *curpos) { if (*s == '<') { while (*s != '>' && && *s && *curpos < maxlen) { s++; (*curpos)++; } if (*curpos < maxlen) { s++; (*curpos)++; } } } When you read in the next line of the file, reset curpos to zero, set maxlen to number of bytes read. As you process each char after the function is called, you'll need to increment curpos as well. Depending on the size of the files you are reading, you may be able to read the entire file into memory at once and avoid any possible TAG splitting. If you explain exactly what you're trying to accomplish, we may be able to come up with an easier/cleaner solution. (warning: none of the above code is tested, but in concept it should work ok) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 11:12:25 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 4BDBA1065802 for ; Mon, 19 Oct 2009 11:12:25 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A9B698FC25 for ; Mon, 19 Oct 2009 11:12:23 +0000 (UTC) Received: (qmail invoked by alias); 19 Oct 2009 11:12:21 -0000 Received: from host-194126238033.net-serwis.pl (EHLO localhost) [194.126.238.33] by mail.gmx.net (mp008) with SMTP; 19 Oct 2009 13:12:21 +0200 X-Authenticated: #18511094 X-Provags-ID: V01U2FsdGVkX1+ODEtHOJqOyI3sjju6rihhYbbK2kSYQ6zSWh1bUT khbvsU/9CN5NKa Date: Mon, 19 Oct 2009 13:12:19 +0200 From: herbert langhans To: Polytropon Message-ID: <20091019111219.GA896@sandcat> References: <20091019064727.fc002b1f.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019064727.fc002b1f.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46 Cc: FreeBSD Questions Subject: Re: IBM Thinkpad 755C and FreeBSD's minimal hardware requirements - still usable? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 11:12:29 -0000 Not a long time ago I got an old Thinkpad 600. With 300MHz and 165MB Ram. Also the same challenge - small and fast ports for daily work. I run X11 with fluxbox (installed without! hal support). Recommendable ports are: Opera (smaller then Firefox) or even Elinks (there is a setting 'graphic mode'). Mutt for e-mails, vim (also gvim) is my text editor - it replaces word processing software. Centerim for instant messaging (instead of pidgin). Axyftp is a fast ftp-client, also for X11. Generally all the motif-programs are small and fast. For a few bucks I got the PCMCIA-Card TP-Link TL-WN610G. It works perfect, but only without hal. And my battery lasts easily over three hours, almost four with just a text editor running. Maybe you go for a bigger harddisk? Costs a few bucks and will have enough space for BSD 7.2 (what I use) and some of the ports? Compiling your own kernel and cleaning out the kernel source and the distfiles of the ports is also a good idea.. Cheers herb langhans On Mon, Oct 19, 2009 at 06:47:27AM +0200, Polytropon wrote: > Dear list, > > I'm about to try something strange. Recently, I got back my > IBM Thinkpad 755C. It's from ca. 1995, has a 486 processor > at 75 MHz, 20 MB RAM and a 640x480x256 display. The hard disk > is 330 MB, but I have a 500 MB disk that I want to use. Use > for what? FreeBSD, of course. > > Allthough this device is quite old, the battery lasts 3 hours. > I'm not joking, I tried it. > > The laptop contains two PCCARD (PCMCIA) slots for expansions. > A floppy disk drive is built in, as well as audio (builtin > microphone and speaker, connectors for line in and headphones). > On the back, there are connectors for VGA, serial (9 pin), > and parallel, as well as for some kind of docking station. > There's no USB and no CD drive. > > Here's my question: > > Is it, under any circumstances, possible to run FreeBSD on this > configuration in order to have a portable and lightweight (in > regards of software) diagnostic computer? > > I thought about putting in a PCCARD based NIC (I have a Realtek > one that works well with FreeBSD), as well as a WLAN card. > > On the software side I would think about CLI tools mostly, but > it would be great to run X (even at this limited screen, but > there's always the option of using a bigger virtual desktop). > Programs should include a web browser, mail client, and finally > a network traffic diagnostic tool, such as Wireshark (ex Ethereal). > > I had FreeBSD 4 running on this device from floppy for testing > purposes, so I know I have to pay attention to the fact that > the keyboard needs to be flagged as XT (not AT) - very stange. > I had FreeBSD 4 running on a 486/60 Toshiba T2130ct with 8 MB > RAM in the past, but I'm using this one now for programming > Motorola mobile radios. It's builtin trackpoint is not working > anymore, but the Thinkpad's is in perfect condition, so I have > a good pointing device. Furthermore, the Thinkpad's keyboard > is excellent, compared to the Toshiba and to "modern" notebooks > with their floppy-sloppy keys. > > Is this imaginable at all? > > Any ideas, comments or suggestions are appreciated. > > > PS. Of course I would buy one of those modern "Netbooks" to > have the same effect, but why buy when the stuff I have > arund anywill will work, too? I know, I'm just plain mean, > and I diskike the Netbook's nearly unusable keyboards as > well as the absence of a proper pointing device (the ugly > slimy fingerprint-glidepad is no solution). > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 12:10:41 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 B5158106566B for ; Mon, 19 Oct 2009 12:10:41 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) Received: from ppsw-1.csi.cam.ac.uk (ppsw-1.csi.cam.ac.uk [131.111.8.131]) by mx1.freebsd.org (Postfix) with ESMTP id 598148FC1A for ; Mon, 19 Oct 2009 12:10:41 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from nat2.cjkey.org.uk ([88.97.163.221]:3594 helo=[192.168.2.58]) by ppsw-1.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.151]:465) with esmtpsa (PLAIN:cjk32) (TLSv1:DHE-RSA-AES256-SHA:256) id 1MzqnJ-0007lz-5h (Exim 4.70) for freebsd-questions@freebsd.org (return-path ); Mon, 19 Oct 2009 12:52:57 +0100 Message-ID: <4ADC5318.2010706@cam.ac.uk> Date: Mon, 19 Oct 2009 12:52:56 +0100 From: Christopher Key User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ZFS: Strange performance issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 12:10:41 -0000 Hello, I'm running FreeBSD 7.2 amd64 on a system with 2GB RAM. I've a zfs pool using raidz1 over five 2Tb SATA drives connected via a port multiplier and a RR2314 card. I can write to a filesystem on this pool at approx 20MB/s: # dd if=/dev/urandom of=$FS/testdump bs=1m count=1k 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 47.096440 secs (22798790 bytes/sec) and zpool iostat -v is consistent with this capacity operations bandwidth pool used avail read write read write -------------- ----- ----- ----- ----- ----- ----- films 6.37T 2.69T 11 440 53.2K 23.0M raidz1 6.37T 2.69T 11 440 53.2K 23.0M da0 - - 1 214 88.2K 5.58M da1 - - 1 209 88.6K 5.58M da2 - - 1 211 76.0K 5.70M da3 - - 1 213 88.6K 5.77M da4 - - 1 213 88.6K 5.71M -------------- ----- ----- ----- ----- ----- ----- However, the read behaviour is strange: dd if=$FS/testdump of=/dev/null bs=1m count=1k 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 40.392055 secs (26582996 bytes/sec) but here, zpool iostat -v is odd: capacity operations bandwidth pool used avail read write read write -------------- ----- ----- ----- ----- ----- ----- films 6.37T 2.69T 1.52K 0 194M 0 raidz1 6.37T 2.69T 1.52K 0 194M 0 da0 - - 420 0 48.2M 0 da1 - - 274 0 24.0M 0 da2 - - 270 0 24.4M 0 da3 - - 418 0 48.4M 0 da4 - - 418 0 48.4M 0 -------------- ----- ----- ----- ----- ----- ----- Notice that dd was reading at ~27MB/s, but zfs is reading from the vdev at ~200MB/s. Also odd is that fact the reduced read rates for da1, da2. I'm struggling to understand what's happening to the extra data being read. The most likely scenario seems to be that ZFS is inflating its read size, knowing that it won't delay the transfer significantly, and hoping to pull in some useful data to the cache. However, it's either failing the cache this data correctly, or the file is highly non-contiguous, and the extra data read doesn't contain anythign useful to out read. I'm also somewhat surpised by the poor performance of the pool. From memory, when it was first configured (on identical hardware and software), I could write at ~130MB/s and read at ~200MB/s. Once conclusion is that the pool is suffering from something akin to fragmentation, perhaps with files always being allocated from very small blacks. The vast majority of the data comprises large (~1Gb) files, that are written to one 'import' pool, moved to the main pool, then never modified. There are however a lot (~5000) of small (<1k) files that get rewritten half hourly, and I'm wondering if that might be causing problems, and confusing ZFS's block sizing algorithm. Can anyone shed any light on what might be going on, or how to further diagnose this problem. Do any of my tentative conclusions make any sense? Kind regards, Christopher Key From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 13:24:21 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 41AE6106566B for ; Mon, 19 Oct 2009 13:24:21 +0000 (UTC) (envelope-from henry.olyer@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id CCAB28FC12 for ; Mon, 19 Oct 2009 13:24:20 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so972632eyd.9 for ; Mon, 19 Oct 2009 06:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aChpJHBFyipmRjuZdNmUmO5KbXXNhAiXB3LXjns7SeA=; b=wVA+8OKeXZNIvBPyss+ordUlXFkL7KlPOpKF+Kgc+1Pihv55PW22VLjwPx4myvCC9L 6WGNz7sdJkneCcBw+FYU7ExQRcrmfyGRDyQf/04ZMN9nw4+RDqggZh7PRzr7BRMUh5Hy ljydCMkiz2nt7O/wMgdviH5SXUWcB+yRG/KwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RIvX1rGe3bdiJwmQ2ZerWuxqC0aGIg3T5munxBexH0I5icycpkJFQQ4vZRa2q+IYxi OyPxuxY41cYsKx/gkCBpjX+1/WQv4if2BlVa8m4xtw1Fyd1bGWMTeLGvqwFxicWpk2cd paIe0yB4Y5muMmtmYMbSwq6KvZ+sA2Q/NEQSA= MIME-Version: 1.0 Received: by 10.210.156.7 with SMTP id d7mr4838674ebe.16.1255958658468; Mon, 19 Oct 2009 06:24:18 -0700 (PDT) Date: Mon, 19 Oct 2009 09:24:16 -0400 Message-ID: <1d7089c40910190624m7bad83c9t95b1f724d3bf01dc@mail.gmail.com> From: Henry Olyer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: USB modem support on a FreeBSD box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 13:24:21 -0000 I know about all the drivers being for windoz. And how we're pretty much left out in the cold. Does any solution exist? For example, if I access my USB modem via the Wine emulator, will that work? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 13:45:56 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 908701065694 for ; Mon, 19 Oct 2009 13:45:56 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF458FC25 for ; Mon, 19 Oct 2009 13:45:56 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR00FNSKW4GVB0@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 09:45:40 -0400 (EDT) Message-id: <4ADC6D89.10600@videotron.ca> Date: Mon, 19 Oct 2009 09:45:45 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: "freebsd-questions@freebsd.org" Subject: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 13:45:56 -0000 I understood that labeling a disk with glabel would permit the disk to be switched to another system and booting from that disk would not require other manupulations than adjusting network configuration, samba, rc.conf and a few others.. But what if there is already a disk on the system with the identical labels in /dev/label/ ? I understood that whatever the actual disk might be (ad4, ad12, ad1...)would be irrelevant? It would appear that the actual booting goes according to the label; so, if there are duplicate labels the boot will not necessarily be from the newly installed disk if there is another disk with duplicate glabel labels? So doing a glabel seems superfluous... What then is the real purpose of glabel, since the boot process seems to need a unique identifier? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 13:58:07 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 C33C21065670 for ; Mon, 19 Oct 2009 13:58:07 +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 4F6308FC12 for ; Mon, 19 Oct 2009 13:58:06 +0000 (UTC) Received: (qmail 4507 invoked by uid 0); 19 Oct 2009 13:58:05 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp1.knology.net with SMTP; 19 Oct 2009 13:58:05 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id AD64228435; Mon, 19 Oct 2009 08:58:05 -0500 (CDT) Date: Mon, 19 Oct 2009 08:58:05 -0500 From: David Kelly To: FreeBSD-Questions@FreeBSD.org Message-ID: <20091019135805.GA35875@Grumpy.DynDNS.org> References: <20091019013337.GA9522@thought.org> <72213BBF-5E05-430D-BF9A-FCD2666951C6@hiwaay.net> <20091019054344.bb4822ca.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019054344.bb4822ca.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: need C help, passing char buffer[] by-value.... 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, 19 Oct 2009 13:58:07 -0000 On Mon, Oct 19, 2009 at 05:43:44AM +0200, Polytropon wrote: > On Sun, 18 Oct 2009 22:23:43 -0500, David Kelly wrote: > > When not using a count to indicate how much data is in a char* you > > should always test for null. Testing for null is not a sure fire way > > to prevent buffer over runs but its better than nothing. > > There are means like > > #include > ... > assert(s); > > to make sure s is not NULL, or testing for it explicitely like > > if(!s) > ... error handling here ... You are missing my point that *s == 0 is not a good out of bounds range check. > is possible. Furthermore, it is a proven way to give a length > argument along with the (char *) argument, such as the "new" > l-functions for strings, e. g. strlcat() and strlcpy(), do. > > char *skiptags(char *s, int l); > > You can even double-check for l begin != 0. Or you employ a > test with strlen() function-internally. strlen() knows nothing about the buffer allocation. As I originally said, testing for null (and my example tested) is not foolproof but its better than nothing. One should *also* test for the known end of the allocated buffer. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 13:59:48 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 4001A1065692 for ; Mon, 19 Oct 2009 13:59:48 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id D083B8FC28 for ; Mon, 19 Oct 2009 13:59:47 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9JDxkuQ037889; Mon, 19 Oct 2009 15:59:46 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 19 Oct 2009 15:59:43 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: glabel clarification Thread-Index: AcpQw7N5mhaGPdO1TGOsA3VnwldUnwAABLug References: <4ADC6D89.10600@videotron.ca> From: "Johan Hendriks" To: "PJ" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 13:59:48 -0000 >I understood that labeling a disk with glabel would permit the disk to >be switched to another system and booting from that disk would not >require other manupulations than adjusting network configuration, samba, >rc.conf and a few others.. >But what if there is already a disk on the system with the identical >labels in /dev/label/ ? >I understood that whatever the actual disk might be (ad4, ad12, >ad1...)would be irrelevant? >It would appear that the actual booting goes according to the label; so, >if there are duplicate labels the boot will not necessarily be from the >newly installed disk if there is another disk with duplicate glabel labels? >So doing a glabel seems superfluous... >What then is the real purpose of glabel, since the boot process seems to >need a unique identifier? Switching between machines is not what labels are for.(enlighten me if it is) As far as understand, it makes switching the drive in the same machine easier. It does not matter if labels are used, that the device is seen as /dev/ad0 or /dev/ad{x}. This makes adding and replacing disk much easier. Sometimes the disk numbers change when removing raid controllers or other hardware. Regards, Johan =20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.422 / Virus Database: 270.14.20/2444 - Release Date: 10/18/09 09:04:00 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:03:24 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 E09321065693 for ; Mon, 19 Oct 2009 14:03:24 +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 6B8F38FC1B for ; Mon, 19 Oct 2009 14:03:24 +0000 (UTC) Received: (qmail 9330 invoked by uid 0); 19 Oct 2009 14:03:22 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp2.knology.net with SMTP; 19 Oct 2009 14:03:22 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 2DD0B28435; Mon, 19 Oct 2009 09:03:22 -0500 (CDT) Date: Mon, 19 Oct 2009 09:03:22 -0500 From: David Kelly To: FreeBSD-Questions@FreeBSD.org Message-ID: <20091019140322.GB35875@Grumpy.DynDNS.org> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> <19163.56681.724615.44106@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19163.56681.724615.44106@jerusalem.litteratus.org> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: need C help, passing char buffer[] by-value.... 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, 19 Oct 2009 14:03:25 -0000 On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > Glen Barber writes: > > > > "//" comments are recognized by both C and C++. > > How about "... are recognized by both C++ and more recent versions > of C."? I think gcc++ and gcc use the same preprocessor? Comments are stripped in the preprocessor. The only thing we can really say is that gcc accepts // as a comment. Is becoming an accepted convention in other C's but I doubt one can universally state that its accepted in all "recent versions". -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:09:28 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 6A922106568B for ; Mon, 19 Oct 2009 14:09:28 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 429B98FC25 for ; Mon, 19 Oct 2009 14:09:28 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR000RULYZ3U30@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 10:09:00 -0400 (EDT) Message-id: <4ADC7300.7050506@videotron.ca> Date: Mon, 19 Oct 2009 10:09:04 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Johan Hendriks References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> In-reply-to: <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> Cc: freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:09:28 -0000 Johan Hendriks wrote: >> I understood that labeling a disk with glabel would permit the disk to >> be switched to another system and booting from that disk would not >> require other manupulations than adjusting network configuration, >> > samba, > >> rc.conf and a few others.. >> But what if there is already a disk on the system with the identical >> labels in /dev/label/ ? >> I understood that whatever the actual disk might be (ad4, ad12, >> ad1...)would be irrelevant? >> It would appear that the actual booting goes according to the label; >> > so, > >> if there are duplicate labels the boot will not necessarily be from the >> newly installed disk if there is another disk with duplicate glabel >> > labels? > >> So doing a glabel seems superfluous... >> What then is the real purpose of glabel, since the boot process seems >> > to > >> need a unique identifier? >> > > Switching between machines is not what labels are for.(enlighten me if > it is) > As far as understand, it makes switching the drive in the same machine > easier. > It does not matter if labels are used, that the device is seen as > /dev/ad0 or /dev/ad{x}. > This makes adding and replacing disk much easier. > Sometimes the disk numbers change when removing raid controllers or > other hardware. > Here are my specifics: I just cloned disk - ad6 from ad12... I assume that the two are identical except for their bios assignments - that is ad6 and ad12. Other than that they are quite identical, or should be. ad12 was just glabeled, so I would assume that the clone would have all the identical information - anyway, it looks like it does. To test things, I booted from ad12 and then from ad6 but the boot is always from ad12 - this is evidenced from changing the motd on ad6s1a... the fstab on both ad4 and ad12 are identical... and dmesg shows the boot device... so, where have I erred? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:19:51 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 64A7C1065694 for ; Mon, 19 Oct 2009 14:19:51 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp03.sth.basefarm.net (ch-smtp03.sth.basefarm.net [80.76.149.214]) by mx1.freebsd.org (Postfix) with ESMTP id 01C058FC2D for ; Mon, 19 Oct 2009 14:19:50 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:65277 helo=falcon.midgard.homeip.net) by ch-smtp03.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Mzt4t-0005vB-AL for FreeBSD-Questions@FreeBSD.org; Mon, 19 Oct 2009 16:19:17 +0200 Received: (qmail 91960 invoked from network); 19 Oct 2009 16:19:11 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 19 Oct 2009 16:19:11 +0200 Received: (qmail 57868 invoked by uid 1001); 19 Oct 2009 16:19:11 +0200 Date: Mon, 19 Oct 2009 16:19:11 +0200 From: Erik Trulsson To: FreeBSD-Questions@FreeBSD.org Message-ID: <20091019141911.GA57854@owl.midgard.homeip.net> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> <19163.56681.724615.44106@jerusalem.litteratus.org> <20091019140322.GB35875@Grumpy.DynDNS.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019140322.GB35875@Grumpy.DynDNS.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Mzt4t-0005vB-AL. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1Mzt4t-0005vB-AL 0db5d2be543e608af6c869b83d021a78 Cc: Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:19:51 -0000 On Mon, Oct 19, 2009 at 09:03:22AM -0500, David Kelly wrote: > On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > > > Glen Barber writes: > > > > > > "//" comments are recognized by both C and C++. > > > > How about "... are recognized by both C++ and more recent versions > > of C."? > > I think gcc++ and gcc use the same preprocessor? Comments are stripped > in the preprocessor. > > The only thing we can really say is that gcc accepts // as a comment. Is > becoming an accepted convention in other C's but I doubt one can > universally state that its accepted in all "recent versions". It is accepted in recent versions of C, but not necessarily by all C compilers, depending on which version of C they support. "//" comments were added to C in the 1999 revision of the C standard, and was already then a very common extension that was supported by many compilers. If gcc supports "//" comments or not depends on which mode it is running in. If you run it in strict C89 mode, then it will not support "//" comments, but if you run it in C99 mode (or as a C++ compiler), it will support them. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:26:51 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 B18FF106566C for ; Mon, 19 Oct 2009 14:26:51 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8919A8FC0C for ; Mon, 19 Oct 2009 14:26:51 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR000HHMSQ3U60@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 10:26:50 -0400 (EDT) Message-id: <4ADC772F.3060303@videotron.ca> Date: Mon, 19 Oct 2009 10:26:55 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Johan Hendriks References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> In-reply-to: <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:26:51 -0000 Johan Hendriks wrote: >> I understood that labeling a disk with glabel would permit the disk to >> be switched to another system and booting from that disk would not >> require other manupulations than adjusting network configuration, >> > samba, > >> rc.conf and a few others.. >> But what if there is already a disk on the system with the identical >> labels in /dev/label/ ? >> I understood that whatever the actual disk might be (ad4, ad12, >> ad1...)would be irrelevant? >> It would appear that the actual booting goes according to the label; >> > so, > >> if there are duplicate labels the boot will not necessarily be from the >> newly installed disk if there is another disk with duplicate glabel >> > labels? > >> So doing a glabel seems superfluous... >> What then is the real purpose of glabel, since the boot process seems >> > to > >> need a unique identifier? >> > > Switching between machines is not what labels are for.(enlighten me if > it is) > As far as understand, it makes switching the drive in the same machine > easier. > It does not matter if labels are used, that the device is seen as > /dev/ad0 or /dev/ad{x}. > This makes adding and replacing disk much easier. > Sometimes the disk numbers change when removing raid controllers or > other hardware. > Yes, this is true and that is why I thought that glabel would work; I am trying to set up my computers with identical clones that I can update with changes on the master machine from time to time and thus prevent data loss in case of problems. So I use ad12 as the main system; if it were to crash I would then boot from ad6 which is identical. But the /etc/fstab is identical in both machines. So if I boot from ad6, I will get booted from ad12 ... so that doesn't work. It looks like we need an unique identifier for each disk. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:29:42 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 37AA51065670 for ; Mon, 19 Oct 2009 14:29:42 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id E3C378FC1D for ; Mon, 19 Oct 2009 14:29:41 +0000 (UTC) Received: by yxe14 with SMTP id 14so6060334yxe.7 for ; Mon, 19 Oct 2009 07:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IiB4QlVGsPmV1FJXYYmaT58350TkdWCz1D9VLu3hOYQ=; b=KRMC8rc7tFc/+2ky0ENulwpBbDgQMeIR7N0uNCNwl4Kn/0A9/LuIfjNhkiWN6SCTaF Fz8hehGvVfFcPAAA0E2FIPWoClNYtlA09ZLvILxVLkJvX1RanvXkJvKTC6p6n0viEz5m n3pQ+LXfTJTL1Jk/EQiKxGO/LR5d51d0RKXAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aGzOauiw1Ytuhi46bfk3rmfQC0EnAseqiwPQZ8PHHkz9zIuSQJoIZLxEe4AcySYr67 9prBLNMZm4zfNJzbtRSoKe3Y19Wj1gK9vYgb9ERux9sj5sO/LiUv66j+mExlWdg2GHx0 r66ztQ/H7NM3XEyPFq3rlybBjnWwO8sd1oszo= MIME-Version: 1.0 Received: by 10.150.171.6 with SMTP id t6mr8228911ybe.204.1255962581111; Mon, 19 Oct 2009 07:29:41 -0700 (PDT) In-Reply-To: <4ADC772F.3060303@videotron.ca> References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> Date: Mon, 19 Oct 2009 09:29:41 -0500 Message-ID: <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> From: Adam Vande More To: PJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:29:42 -0000 On Mon, Oct 19, 2009 at 9:26 AM, PJ wrote: > Yes, this is true and that is why I thought that glabel would work; I am > trying to set up my computers with identical clones that I can update > with changes on the master machine from time to time and thus prevent > data loss in case of problems. So I use ad12 as the main system; if it > were to crash I would then boot from ad6 which is identical. But the > /etc/fstab is identical in both machines. So if I boot from ad6, I will > get booted from ad12 ... so that doesn't work. It looks like we need an > unique identifier for each disk. > Why not use gmirror? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:33:42 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 2D02E1065672 for ; Mon, 19 Oct 2009 14:33:42 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 02B3A8FC18 for ; Mon, 19 Oct 2009 14:33:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR006TAN3UNK20@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 10:33:31 -0400 (EDT) Message-id: <4ADC78BF.3010200@videotron.ca> Date: Mon, 19 Oct 2009 10:33:35 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Adam Vande More References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> In-reply-to: <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:33:42 -0000 Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:26 AM, PJ > wrote: > > Yes, this is true and that is why I thought that glabel would > work; I am > trying to set up my computers with identical clones that I can update > with changes on the master machine from time to time and thus prevent > data loss in case of problems. So I use ad12 as the main system; if it > were to crash I would then boot from ad6 which is identical. But the > /etc/fstab is identical in both machines. So if I boot from ad6, I > will > get booted from ad12 ... so that doesn't work. It looks like we > need an > unique identifier for each disk. > > > Why not use gmirror? > > > -- > Adam Vande More I've been having such headaches with glabel, I didn't want to get a migraine. ;-) Actually, I don't know gmirror but will look it up and see whatit can do for me. Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:35:55 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 88E6E106568D for ; Mon, 19 Oct 2009 14:35:55 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8158FC16 for ; Mon, 19 Oct 2009 14:35:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR0068EN7UNK30@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 10:35:54 -0400 (EDT) Message-id: <4ADC794F.3050505@videotron.ca> Date: Mon, 19 Oct 2009 10:35:59 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Adam Vande More References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> In-reply-to: <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:35:55 -0000 Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:26 AM, PJ > wrote: > > Yes, this is true and that is why I thought that glabel would > work; I am > trying to set up my computers with identical clones that I can update > with changes on the master machine from time to time and thus prevent > data loss in case of problems. So I use ad12 as the main system; if it > were to crash I would then boot from ad6 which is identical. But the > /etc/fstab is identical in both machines. So if I boot from ad6, I > will > get booted from ad12 ... so that doesn't work. It looks like we > need an > unique identifier for each disk. > > > Why not use gmirror? > > > -- > Adam Vande More because I am not using RAID. :-( From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:37:54 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 387061065679 for ; Mon, 19 Oct 2009 14:37:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id E43FD8FC22 for ; Mon, 19 Oct 2009 14:37:53 +0000 (UTC) Received: by ywh8 with SMTP id 8so3911640ywh.3 for ; Mon, 19 Oct 2009 07:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=zabZlonxhv52flPQbexdSPveA3ymt4pgY1Z8KBCEYq0=; b=XiE9OG2kzfOGtbj8rWJG4IeqWpszbom092zntXNu6XB7y/W1TQGxN9ghD0hYCzGMDl Unpd6YklALiP7dTmnyLiBtttFQRCuHZuZ/WiHlNt/zvXT+12gfsBdvmHfWiGXB0tJsa9 dbdTBTDPP7YhyXzFyjSNJfplwZ0rQFukJc3AE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oFG2QaL11+pUZ72M7VhGV4bly8Mx86X95ZnL7NcC43Seg5xRGOSR8p2AIRnuLxtTeW 9nU0K/7mU15E8VBd768Ry53TkoyFmZ12zkJnjVAMv4sO8j0tAPvqiiLcDw7NKt9E6HTz vSt3jxX80rnlSndtoPsa/vwm50RtvPaBz4rEM= MIME-Version: 1.0 Received: by 10.150.171.6 with SMTP id t6mr8244020ybe.204.1255963073238; Mon, 19 Oct 2009 07:37:53 -0700 (PDT) In-Reply-To: <4ADC794F.3050505@videotron.ca> References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> Date: Mon, 19 Oct 2009 09:37:53 -0500 Message-ID: <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> From: Adam Vande More To: PJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:37:54 -0000 On Mon, Oct 19, 2009 at 9:35 AM, PJ wrote: > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > wrote: > > > > Yes, this is true and that is why I thought that glabel would > > work; I am > > trying to set up my computers with identical clones that I can update > > with changes on the master machine from time to time and thus prevent > > data loss in case of problems. So I use ad12 as the main system; if > it > > were to crash I would then boot from ad6 which is identical. But the > > /etc/fstab is identical in both machines. So if I boot from ad6, I > > will > > get booted from ad12 ... so that doesn't work. It looks like we > > need an > > unique identifier for each disk. > > > > > > Why not use gmirror? > > > > > > -- > > Adam Vande More > because I am not using RAID. :-( > gmirror + ggated = disk or slice replicated to remote system -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:38:39 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 2FD891065676 for ; Mon, 19 Oct 2009 14:38:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gx0-f214.google.com (mail-gx0-f214.google.com [209.85.217.214]) by mx1.freebsd.org (Postfix) with ESMTP id D64EB8FC14 for ; Mon, 19 Oct 2009 14:38:38 +0000 (UTC) Received: by gxk6 with SMTP id 6so3873449gxk.13 for ; Mon, 19 Oct 2009 07:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=i2wOI3XQegI3YCbvZl0uq5QV4Di3wC7ryuXULjdWTxg=; b=NEt86s7Zrs8mlZD2iHGoVnubfiPD3EFHHrMCUYse8pQxWweDvWZpKMw+NTJ5KStGkY VKAMx4v1iwa1jKwOrpVL31FiEPnceRsWJI0q5hUQ86aCHYQGA4YWZhwaGj9RhB5GmCP4 oi2fnDGj3JVndw2qd67Ffdq2HfVLm+UsXDaug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Jwzkdx+oeCrxJty1JqhjFLBck9P+ekKH4DdgPiKic4T0oXF6DWH1HsQW1cn/hT/M7S Xy16Cvc+RKrEqyfkIcHGprktA7rQIlFGVO64IaIMJPa0HucEs/78ZL4HvHScfq9B9Ghd wkpl1GwzMzgygHvAN2hihIvQaXED3eLiFpABE= MIME-Version: 1.0 Received: by 10.150.100.17 with SMTP id x17mr8241625ybb.138.1255963118196; Mon, 19 Oct 2009 07:38:38 -0700 (PDT) In-Reply-To: <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> Date: Mon, 19 Oct 2009 09:38:38 -0500 Message-ID: <6201873e0910190738l7b65e0ep76a3cfb9ffdf7bb4@mail.gmail.com> From: Adam Vande More To: PJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:38:39 -0000 On Mon, Oct 19, 2009 at 9:37 AM, Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:35 AM, PJ wrote: > >> Adam Vande More wrote: >> > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > > wrote: >> > >> > Yes, this is true and that is why I thought that glabel would >> > work; I am >> > trying to set up my computers with identical clones that I can >> update >> > with changes on the master machine from time to time and thus >> prevent >> > data loss in case of problems. So I use ad12 as the main system; if >> it >> > were to crash I would then boot from ad6 which is identical. But the >> > /etc/fstab is identical in both machines. So if I boot from ad6, I >> > will >> > get booted from ad12 ... so that doesn't work. It looks like we >> > need an >> > unique identifier for each disk. >> > >> > >> > Why not use gmirror? >> > >> > >> > -- >> > Adam Vande More >> because I am not using RAID. :-( >> > > gmirror + ggated = disk or slice replicated to remote system > > > gmirror + ggated = disk or partition replicated to remote system -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 14:46:48 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 B0265106566C for ; Mon, 19 Oct 2009 14:46:48 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8479D8FC08 for ; Mon, 19 Oct 2009 14:46:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRR00DHENPR16N0@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Oct 2009 10:46:39 -0400 (EDT) Message-id: <4ADC7BD3.30301@videotron.ca> Date: Mon, 19 Oct 2009 10:46:43 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Adam Vande More References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> In-reply-to: <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 14:46:48 -0000 Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:35 AM, PJ > wrote: > > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > >> wrote: > > > > Yes, this is true and that is why I thought that glabel would > > work; I am > > trying to set up my computers with identical clones that I > can update > > with changes on the master machine from time to time and > thus prevent > > data loss in case of problems. So I use ad12 as the main > system; if it > > were to crash I would then boot from ad6 which is identical. > But the > > /etc/fstab is identical in both machines. So if I boot from > ad6, I > > will > > get booted from ad12 ... so that doesn't work. It looks like we > > need an > > unique identifier for each disk. > > > > > > Why not use gmirror? > > > > > > -- > > Adam Vande More > because I am not using RAID. :-( > > > gmirror + ggated = disk or slice replicated to remote system > > -- > Adam Vande More You ae trying to give me a migraine. :-) But what happens if the disks are not identical in size? Dump/restore allows for that; dump/restore will copy only the used date and not the entire partition or slice. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 15:09:55 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 70D5C1065676 for ; Mon, 19 Oct 2009 15:09:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id 24A5E8FC19 for ; Mon, 19 Oct 2009 15:09:54 +0000 (UTC) Received: by yxe14 with SMTP id 14so6197666yxe.7 for ; Mon, 19 Oct 2009 08:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vyTpqqNZzQdsoJblkjXqQGWp6lcm1ZJXIvuCKz1/58s=; b=PSEVdKeyZyTkbClPnPGIHLajAawA6b8QCJha1rCze8VbGZ+4sZ0FpPbrqWS5GmLgVR IdTA0ToYKq4lSybbSG3/RLgXXI8+KlZ2/QZZYYCHDEcHmfiktyUhBVWiXgNC1C07ZYbv zhk96+PIha0YeSOCYrFEv0D6/J+FyX/ghYikU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VqFWSCd7JuvSd9STgxCZ9YMJwxTED/imzi/eKZcvIyzDtySJXpNPxQoRy7u5VyZ1x/ tTvyfviHAO4AXxuBSrIS20wQSqO+7cOnOTRjRZkBwUzL79kXFNB/xMIBR59v7qr0O76N C5W+NYsS9dLQ+JqnpAIvmG7/l/GtkJ0uRuoRo= MIME-Version: 1.0 Received: by 10.150.112.5 with SMTP id k5mr8208944ybc.348.1255964994208; Mon, 19 Oct 2009 08:09:54 -0700 (PDT) In-Reply-To: <4ADC7BD3.30301@videotron.ca> References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> <4ADC7BD3.30301@videotron.ca> Date: Mon, 19 Oct 2009 10:09:53 -0500 Message-ID: <6201873e0910190809h3cd4416bxaaf526008110447a@mail.gmail.com> From: Adam Vande More To: PJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 15:09:55 -0000 On Mon, Oct 19, 2009 at 9:46 AM, PJ wrote: > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:35 AM, PJ > > wrote: > > > > Adam Vande More wrote: > > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > > > > >> wrote: > > > > > > Yes, this is true and that is why I thought that glabel would > > > work; I am > > > trying to set up my computers with identical clones that I > > can update > > > with changes on the master machine from time to time and > > thus prevent > > > data loss in case of problems. So I use ad12 as the main > > system; if it > > > were to crash I would then boot from ad6 which is identical. > > But the > > > /etc/fstab is identical in both machines. So if I boot from > > ad6, I > > > will > > > get booted from ad12 ... so that doesn't work. It looks like we > > > need an > > > unique identifier for each disk. > > > > > > > > > Why not use gmirror? > > > > > > > > > -- > > > Adam Vande More > > because I am not using RAID. :-( > > > > > > gmirror + ggated = disk or slice replicated to remote system > > > > -- > > Adam Vande More > You ae trying to give me a migraine. :-) > But what happens if the disks are not identical in size? Dump/restore > allows for that; dump/restore will copy only the used date and not the > entire partition or slice. > > It depends on what your end goals is which is still not entirely clear. Do you want a disk that can be unplugged from a machine and used to boot immediately in your orginal system in case of hd failure. If yes then gmirror + ggated is the way to go. If you simply want data to be backed up on regular basis, something like rsync is easier. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 15:54:59 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 9CA4C106566C for ; Mon, 19 Oct 2009 15:54:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 39FDC8FC0A for ; Mon, 19 Oct 2009 15:54:58 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n9JFsm03027777; Mon, 19 Oct 2009 08:54:48 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 19 Oct 2009 08:54:53 -0700 (PDT) Date: Mon, 19 Oct 2009 08:54:53 -0700 From: Gary Kline To: Erik Trulsson Message-ID: <20091019155452.GE9657@thought.org> References: <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> <19163.56681.724615.44106@jerusalem.litteratus.org> <20091019140322.GB35875@Grumpy.DynDNS.org> <20091019141911.GA57854@owl.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019141911.GA57854@owl.midgard.homeip.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD-Questions@freebsd.org Subject: Re: need C help, passing char buffer[] by-value.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 15:54:59 -0000 On Mon, Oct 19, 2009 at 04:19:11PM +0200, Erik Trulsson wrote: > On Mon, Oct 19, 2009 at 09:03:22AM -0500, David Kelly wrote: > > On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > > > > > Glen Barber writes: > > > > > > > > "//" comments are recognized by both C and C++. > > > > > > How about "... are recognized by both C++ and more recent versions > > > of C."? > > > > I think gcc++ and gcc use the same preprocessor? Comments are stripped > > in the preprocessor. > > > > The only thing we can really say is that gcc accepts // as a comment. Is > > becoming an accepted convention in other C's but I doubt one can > > universally state that its accepted in all "recent versions". > > It is accepted in recent versions of C, but not necessarily by all C > compilers, depending on which version of C they support. "//" comments were > added to C in the 1999 revision of the C standard, and was already then a > very common extension that was supported by many compilers. > > If gcc supports "//" comments or not depends on which mode it is running in. > If you run it in strict C89 mode, then it will not support "//" comments, > but if you run it in C99 mode (or as a C++ compiler), it will support them. > This is my FWIW, but I use the std "/*" and "*/" in C programs and often in C++ also. It's only when I'm [1] lazy, or [2] have severe shoulder pains that I'll use the "//" for comments -- anywhere. This is a bit quirky, but even in my prose I'll use #ifdef/#endif and the std C comments. Very handy for sidebar comments, thoughts, work-arounds or "write-around" in early drafts. just my $0.02-worth, gary > > > -- > > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 16:12:54 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 D1ACE1065670 for ; Mon, 19 Oct 2009 16:12:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gx0-f215.google.com (mail-gx0-f215.google.com [209.85.217.215]) by mx1.freebsd.org (Postfix) with ESMTP id 835EE8FC0C for ; Mon, 19 Oct 2009 16:12:54 +0000 (UTC) Received: by gxk7 with SMTP id 7so1615407gxk.14 for ; Mon, 19 Oct 2009 09:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=r5abxrDHj23MyiuajuuyG2pQIxPOl7Z5wsIB23d7RNA=; b=XftlljkebvQqsJanrzGr8MpCpZf8r04QtJMjXAgaSXTjXDg7Spqmk+emIwwiL7NEHz 9RjAZseilbc/ETroB+nbGBUlG64xYS2UUOGyvWCjT9WmigKKKuDyBW60RUHPSvbIQg2i 5oCrAAU9M/3i6l9Cs05jVAXD0eUCm5bP5mnPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b2vMRmcW35hZMCWNYICxZ/Fukyx8RwlWPVrkvRsgrLBA2tnTyuu+TvdtQx+DcCEqnN grC1VSCWzBPyCEw2gE0LuHVH2/uOmtKyKEto43Y4fJ3zSwbWKdSZG6brzociTIcSkLLr 7MWB0U0bgsoqQ5ApME9sW2UPYBlaiCAH7Fm+4= MIME-Version: 1.0 Received: by 10.150.28.4 with SMTP id b4mr8455641ybb.124.1255968773955; Mon, 19 Oct 2009 09:12:53 -0700 (PDT) In-Reply-To: <4ADC8C9A.4030903@videotron.ca> References: <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> <4ADC7BD3.30301@videotron.ca> <6201873e0910190809h3cd4416bxaaf526008110447a@mail.gmail.com> <4ADC8C9A.4030903@videotron.ca> Date: Mon, 19 Oct 2009 11:12:53 -0500 Message-ID: <6201873e0910190912w42325e0q541d46bc2a2972fb@mail.gmail.com> From: Adam Vande More To: PJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Oct 2009 16:12:55 -0000 On Mon, Oct 19, 2009 at 10:58 AM, PJ wrote: > Actually, I have been trying to clone a disk and then install the disk > in another machine or same clone in several machines. That's why I > thought that once the clone is make it would boot on any machine. This > in presuming that each clone is identical including the fstab file; I > understood that this would allow immediate bootup regardless of what the > disk may be ad4, ad1, ad12 or whatever. This would permit changing the > necessary configurations of samba, network, etc. Now I see that it > doesn't work that way. I can still clone the disk but then just have to > find what disk is the clone. > Are all the systems identical? If so, make sure cabling is identical as well then gmirror clone would work as well. Also my understanding of glabel is different than mentioned above. As long as fstab mounts the glabel location eg /dev/ufs/