From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 22:17:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6B5C120 for ; Mon, 29 Dec 2014 22:17:16 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 62CDF1D9A for ; Mon, 29 Dec 2014 22:17:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBTMHEeH045931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 29 Dec 2014 15:17:14 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBTMHEvj045928; Mon, 29 Dec 2014 15:17:14 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 29 Dec 2014 15:17:14 -0700 (MST) From: Warren Block To: Odhiambo Washington Subject: Re: Adding more swap for FreeBSD 10 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 29 Dec 2014 15:17:14 -0700 (MST) Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 22:17:16 -0000 On Tue, 30 Dec 2014, Odhiambo Washington wrote: > wash@mail:~$ gpart show ada0 > =>                     0   976773168  ada0  BSD         (466G) >                          0   964689920     1  freebsd-ufs  (460G) >          964689920   12083248        - free -            (5.8G) > > > Oh, just bare bsdlabels... (untested): > >   gpart add -t freebsd-swap -a4k ada0 > > The device for the swap entry in /etc/fstab will be ada0b. > > > > "untested" is rather scary:) > > This server is over 1800km away from me! > > And there is nobody there to rescue if I blow it away:) Back up that machine, restore it into a local VM, and test it there first. But still be ready for a quick trip. :) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 22:37:02 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CED63DA for ; Mon, 29 Dec 2014 22:37:02 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DA7A3062 for ; Mon, 29 Dec 2014 22:37:01 +0000 (UTC) Received: from r56.edvax.de (port-92-195-39-170.dynamic.qsc.de [92.195.39.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0C8BA27806; Mon, 29 Dec 2014 23:36:57 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sBTMavRv002101; Mon, 29 Dec 2014 23:36:57 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 29 Dec 2014 23:36:57 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: How do I print .... Message-Id: <20141229233657.c033a0d0.freebsd@edvax.de> In-Reply-To: <54A16ACB.3080805@hiwaay.net> References: <54A16ACB.3080805@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 22:37:02 -0000 On Mon, 29 Dec 2014 08:52:59 -0600, William A. Mahaffey III wrote: > [How do I print ....] > .... pdf files which were created as portrait layout in landscape ? I > normally pipe them through pdf2ps to lpr to print them. Pdf2ps is just a > wrapper for ghostscript, I think (according to the man page). FreeBSD > 9.3-RELEASE-p5, whatever lpr is current, I can't seem to determine lpr > version. Any more info needed, just ask & TIA .... You could use pdftk to preprocess the input PDF file, then continue printing as usual: % pdftk in.pdf cat 1-endE output out.pdf Sometimes programs capable of printing PDF files are able to adjust the output format from default portrait to landscape. Maybe acroread can do this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...