LinuxQuestions.org
Visit Jeremy's Blog.
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 01-23-2014, 01:52 AM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
is this a typo in my LInux+ book?


hi guys,

this table:

Primary master PATA hard disk had
Primary slave PATA hard disk hdb
Secondary master PATA hard disk hdc
Secondary slave PATA hard disk hdd

Table 2-3 PATA hard disk configurations

should had actually be hda???

just wanted to make sure
 
Old 01-23-2014, 01:56 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
yes that is usually hda
 
Old 01-23-2014, 02:24 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
And these days, they will show as /dev/sda,/dev/sdb,/dev/sdc,/dev/sdd - this change of name is due to the driver Linux now uses.
 
Old 01-27-2014, 07:25 AM   #4
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
thanks syg00...
 
Old 01-27-2014, 08:16 AM   #5
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Quote:
Originally Posted by sigint-ninja View Post
hi guys,

this table:

Primary master PATA hard disk had
Primary slave PATA hard disk hdb
Secondary master PATA hard disk hdc
Secondary slave PATA hard disk hdd

Table 2-3 PATA hard disk configurations

should had actually be hda???

just wanted to make sure
A thing to be aware of / remember is that dependent on the onboard hdd controller or installed hdd controller card, it is possible that the drive assignments can change post reboot. i.e. on a reboot Primary master PATA could be assigned /dev/sdc - On the the next reboot it could be /dev/sdd So via /etc/fstab it's not recommended to mount a drive at a particular location using the device name but to use the UUID

For example to mount the primary pata drive at location /media/data1 (via /etc/fstab), rather than

/dev/sda /media/data1 ext4 defaults,noatime 0 0

you would use

"disk_drive_uuid " /media/data1 ext4 defaults,noatime 0 0

The above would force the drive to be mounted at the fixed location. The UUID of the drive can be obtained using the blkid command

Hope this helps & good luck.

Regards,

Rawcous
 
Old 01-27-2014, 08:26 AM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Quote:
Originally Posted by Rawcous View Post
A thing to be aware of / remember is that dependent on the onboard hdd controller or installed hdd controller card, it is possible that the drive assignments can change post reboot. i.e. on a reboot Primary master PATA could be assigned /dev/sdc - On the the next reboot it could be /dev/sdd
Interestingly, this was not the case for /dev/hdx devices in the pre-libata days. /dev/hda was always the master on the primary channel, /dev/hdb was always the slave on the primary channel and so on. If you connected a drive to the secondary PATA/EIDE channel and jumpered it as "slave", it became /dev/hdd even if you had no other drives.
 
Old 01-27-2014, 12:28 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by sigint-ninja View Post
hi guys,

this table:

Primary master PATA hard disk had
Primary slave PATA hard disk hdb
Secondary master PATA hard disk hdc
Secondary slave PATA hard disk hdd

Table 2-3 PATA hard disk configurations

should had actually be hda???

just wanted to make sure
yes looks like a simple autocorrect error. the primary master in a PATA (IDE) system would typically be /dev/hda as you mention.
 
  


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
typo in a/maketag ? guanx Slackware 1 09-16-2013 06:32 AM
Small typo jostber Slackware 12 07-09-2013 10:26 PM
Don't make a typo powadha General 6 09-21-2006 02:47 AM
Typo in the LQ rules Nylex LQ Suggestions & Feedback 1 07-18-2006 07:33 AM
is it an error or typo? blackcat Linux From Scratch 1 09-02-2002 06:41 PM

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

All times are GMT -5. The time now is 11:31 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