From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 24 Mar 2010 17:16:25 +0000 Subject: Re: Make an un-device? Message-Id: List-Id: References: <20100324124352.0978847e@zooty> In-Reply-To: <20100324124352.0978847e@zooty> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Mar 24, 2010 at 17:43, Tom Horsley wrote: > Usually people want to know how to make udev recognize > devices. I have a device that is recognized just fine, but > I'd really like to declare it an un-device. I don't > want any /dev/ files created for it, I don't want the > driver loaded unless something else needs it. I want > it to disappear from creation completely. > > Can custom udev rules do this? > > Specifically, the device is the incredibly annoying fake CD > drive that appears along side my usb hard disk > when I plug it in. Udev can't really do anything here. In many cases there are tools available from the disk vendor to disable the fake cd drive. Kay