LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2016, 12:37 AM   #1
sonia49
LQ Newbie
 
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose


Hi,
I am new to linux kernel development.
I am implementing a customised hdd driver and wants it to run only for my external hard-disk not for my bootable hard-disk.
Any idea how this can be achieved in an efficient manner?

Any thoughts on this, will be a great help!!!

Regards,
Sonia
 
Old 09-28-2016, 09:52 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
Hello and welcome to LQ.

There are a number of ways to identify a drive like uuid for exampe.. There are also ways to identify a type of connection for example sata or usb. Modern linux is trying to start to follow BSD type identification of device so maybe that would be the place to start.

Some ideas like this maybe? https://access.redhat.com/documentat...nt_naming.html

Also if this is a one of a kind versus some deployed scheme may be an issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow USB transfer rates (60kb p/s) External HDD --> Internal HDD drfrostbyte Linux - Hardware 4 03-28-2011 02:20 AM
Can't get USB2 driver to work with External HDD (SuSE 9.1) lghtslpr Linux - Hardware 3 11-17-2006 06:22 PM
Bootable partion on external HDD? 40 gb firelight hdd. Trebile34 Linux - Hardware 1 03-14-2005 12:50 PM
Modem Driver External HDD Prob! deylon Linux - Newbie 1 10-27-2004 09:04 AM
External HDD: driver disappeared Ungluun Mandriva 2 05-15-2004 07:36 AM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration