Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 15:17:14 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Adding more swap for FreeBSD 10
Message-ID:  <alpine.BSF.2.11.1412291509260.43879@wonkity.com>
In-Reply-To: <CAAdA2WNZnV5JquwQ-mrCqyVVE3NAK-Q0cpGq=Pk%2B-dxZ%2BhfgsA@mail.gmail.com>
References:  <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com> <alpine.BSF.2.11.1412291042580.77379@wonkity.com> <CAAdA2WP4f%2BR%2BKm0yr0_mncPE3h0YZO2CRnYfjFp%2BDsoH=JrTqg@mail.gmail.com> <alpine.BSF.2.11.1412291405300.28382@wonkity.com> <CAAdA2WNZnV5JquwQ-mrCqyVVE3NAK-Q0cpGq=Pk%2B-dxZ%2BhfgsA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <freebsd@edvax.de>
To: "William A. Mahaffey III" <wam@hiwaay.net>
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 <freebsd@edvax.de>
Organization: EDVAX
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1412291509260.43879>