LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-27-2016, 11:37 PM   #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, 08:52 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
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



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 01:20 AM
Can't get USB2 driver to work with External HDD (SuSE 9.1) lghtslpr Linux - Hardware 3 11-17-2006 05:22 PM
Bootable partion on external HDD? 40 gb firelight hdd. Trebile34 Linux - Hardware 1 03-14-2005 11:50 AM
Modem Driver External HDD Prob! deylon Linux - Newbie 1 10-27-2004 08:04 AM
External HDD: driver disappeared Ungluun Mandriva 2 05-15-2004 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 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
Open Source Consulting | Domain Registration