Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 12:26:41 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        rdivacky@FreeBSD.ORG (Roman Divacky)
Cc:        Alexander Leidinger <Alexander@Leidinger.net>, freebsd-emulation@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG, bsam@FreeBSD.ORG
Subject:   Re: Printing with Acrobat Reader
Message-ID:  <200704121026.l3CAQgfV063998@lurza.secnetix.de>
In-Reply-To: <20070412095811.GA87726@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Roman Divacky wrote:
 > 
 > > Acroread will use linux system calls to start the shell. This results  
 > > in the linux shell (/compat/linux/bin/sh) to start (linuxulator  
 > > directory prefixing). The linux shell will use the same linuxulator  
 > > directory prefixing to start /compat/linux/usr/bin/lpr. So we're in  
 > > the same situation like with Acroread. So when you play around with it  
 > > also try to not specify a path to the lpr call and tell us which one  
 > > works.
 > 
 > this is not entirely true (or I just read it wrong). it works like this
 > 
 > any binary (fbsd or linux) can run any binary (fbsd or linux). its just that
 > when linux binary wants to run "xyz" it searches /compat/linux first and then
 > falls back to /
 > 
 > just a clarification

I think you both mean to say exactly the same, you just
express it in different ways.  :-)

Since there is no /compat/linux/usr/bin/lpr, it should
fall back to using /usr/bin/lpr.  Anyway, I will test
it, as Alexander suggested.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"File names are infinite in length, where infinity is set to 255 characters."
        -- Peter Collinson, "The Unix File System"



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