From owner-freebsd-emulation@freebsd.org Thu Sep 24 22:50:00 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D96FDA08E2F for ; Thu, 24 Sep 2015 22:50:00 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A3DD119A for ; Thu, 24 Sep 2015 22:49:59 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgev79 with SMTP id v79so56923263qge.0 for ; Thu, 24 Sep 2015 15:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:organization:mime-version :content-type:content-transfer-encoding; bh=TGOz4w55IJ9LXdF0kNVVWZW/TZ2DQ37OoyAiPK2dBfA=; b=da8Lal0pFgEQA0zg9Fz+2OQwXqgEvJk7B3GPLPN1QBZbpQKsP3BSXfFYuvVT5vm0Z8 F/pxArBHVbPJElScqeCciPZs+aT156CwcT86CUlucEzemrDvCRw3xnsAwiuKegLDp0Ko QNcLLGCDNyhN7v9mhSD5NwTWukSEJfB2UgiNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:organization :mime-version:content-type:content-transfer-encoding; bh=TGOz4w55IJ9LXdF0kNVVWZW/TZ2DQ37OoyAiPK2dBfA=; b=EdfP9NDkUMgrHsL7biky5dQ69cPzLcJsvnHP83khis2oqAnZaQl73KoM9zAKRxqoZ6 9nwO/PQLdDbD7JfPs64k70Iqm5P0BGZWOGaTNjmZOBwqTzkroqaqkt9TlDepiyvUvF1I cNSqLtcm5NmFOwD/rqdHaSRPb+waf+p6apYXjxgE/pCE14SPWs3Ti8e1KBHPaNTvBrbh QbvSjPi2H3TrngoiS1nRjUrCicbcU097pWYHh2PnRfi+bRBfdJXpLmmP7xhzlF9POrj2 RiHWlQCA0hKgo4aRBn12WLd/NTX7+0RXs/gNoGooAn4CaJ1zrzd7BqbHUEiVIuxWmfV8 Eeww== X-Gm-Message-State: ALoCoQng/ujuOQ1C/IlmVniiJyVB1aX+dtdgEGv6zP9eRNL/eY2t5KmSy4lEXcrZ7ML3f+GfeIbu X-Received: by 10.140.99.49 with SMTP id p46mr2602580qge.76.1443134998978; Thu, 24 Sep 2015 15:49:58 -0700 (PDT) Received: from Papi (177.206.184.165.dynamic.adsl.gvt.net.br. [177.206.184.165]) by smtp.gmail.com with ESMTPSA id i199sm246346qhc.44.2015.09.24.15.49.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 15:49:58 -0700 (PDT) Date: Thu, 24 Sep 2015 19:54:43 -0300 From: Mario Lobo To: "freebsd-emulation@freebsd.org" Subject: /dev for Linux binaries in freebsd Message-ID: <20150924195443.1805e50d@Papi> Organization: BSD X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.25; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 22:50:00 -0000 Hi; Using 11-CURRENT. I was trying to find out where a linux binary will look for the /dev directory. I tried to link the device I need to /compat/linux/dev but that didn't work. How can a linux binary see the devices (serial ports, usb, etc) of the system? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."