X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4cee11bc0807091952y28e65affvce86766544611e55@mail.gmail.com>
Date: Wed, 9 Jul 2008 19:52:16 -0700
From: "Sam Hanes" <elemecca@gmail.com>
To: "Cygwin General List" <cygwin@cygwin.com>
Subject: Re: use 'insmod' inside cygwin
In-Reply-To: <18374837.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <18374837.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

rike_lin wrote:
>
> I'm a new member for cygwin. As I known, the cygwin is a unix-like shell
> environment for the windows platform. It might not include the function
> 'insmod'. Is it correct? Or, is it possible to use 'insmod' inside cygwin
> and how to do it?
>

`insmod` is the POSIX command to load a kernel module into the running
kernel. Cygwin is just a POSIX emulation layer on top of Windows, and
thus doesn't have a kernel. You can't load modules into a non-extant
kernel, so there's no reason to include `insmod`.

What are you trying to do that needs `insmod`? The only reason I can
think of that you'd need to load modules is for device drivers, and
Cygwin doesn't deal directly with hardware. If you want to access your
hardware from Cygwin, make sure it works on Windows. Cygwin can't do
antyhing Windows can't.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

