LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-24-2007, 04:07 AM   #1
vishwas786
LQ Newbie
 
Registered: Oct 2007
Location: The country that converted APES to Human Beings.
Distribution: Ubuntu, Solaris, OLE, Red Hat, Asianux, Turbo Linux
Posts: 10

Rep: Reputation: 0
Which file is created after installing cdrom on red hat linux


Sir,
Which file is created after installing cdrom on red hat linux or sun solaris 10.

kindly help me out.

thanks and regards
 
Old 10-24-2007, 04:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please use better thread titles than "help!!!"

please pay attention to the forum you post in. this clearly has nothing at all to do with networking.

moved to Linux - Newbie.
 
Old 10-24-2007, 05:39 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
What do you mean by "which file"? If you mean after you install a cd-rom device (i.e. plug it into the system and boot), then my lucky guess would be that it's the device file..but it's another matter then if it's created by some program (like udev) or by you yourself (the old fashion).

If you could clarify the question more, it could possibly clarify the answer too.
 
Old 10-25-2007, 02:09 AM   #4
vishwas786
LQ Newbie
 
Registered: Oct 2007
Location: The country that converted APES to Human Beings.
Distribution: Ubuntu, Solaris, OLE, Red Hat, Asianux, Turbo Linux
Posts: 10

Original Poster
Rep: Reputation: 0
I want to ask one simple question.
which file is created in UNIX OS when we install a CDROM (H/W device) by any means(USB/DATA BUS(40 pin)/etc.).??

this definetly means that the file is created in /dev file system.but i wanna know the name of that file.this was asked to me in an interview.
 
Old 10-25-2007, 02:40 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well this varies hugely depending on the operating system. under linux it'll be /dev/hd[X[ for an ide device, /dev/sd[X] for a scsi device
 
Old 10-25-2007, 02:46 AM   #6
vishwas786
LQ Newbie
 
Registered: Oct 2007
Location: The country that converted APES to Human Beings.
Distribution: Ubuntu, Solaris, OLE, Red Hat, Asianux, Turbo Linux
Posts: 10

Original Poster
Rep: Reputation: 0
thanks moderator..

see i know this...for example if we r mounting a pendrive then it takes sda1 (most probably).
but there is one file specifically meant for cdrom which i wanna know.

well....
i'm w8ing for replies friends,brothers...
 
Old 10-25-2007, 02:51 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
some distributions might add a /dev/cdrom as well as the real block device or something, but as i already said, there's no specific file, as you clearly already know for usb sticks... brother...
 
Old 10-25-2007, 02:55 AM   #8
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
Quote:
Originally Posted by vishwas786 View Post
I want to ask one simple question.
which file is created in UNIX OS when we install a CDROM (H/W device) by any means(USB/DATA BUS(40 pin)/etc.).??

this definetly means that the file is created in /dev file system.but i wanna know the name of that file.this was asked to me in an interview.
Hello,
I'm not sure what you mean. The name will vary depending on where you plug it in & what other drives are there. If it is a IDE/PATA it will be called /dev/hda?
If it is in the first slot it will be /dev/hda1 USB drives are /dev/sd??

nigelc
 
  


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
Trying to Add Users to Newly Created Group (Red Hat version) Linux_Enabled Red Hat 1 07-31-2007 10:13 PM
installing red hat linux nitin403 Red Hat 3 07-25-2004 06:19 PM
Installing Red hat Linux 8.0 piggysmile Linux - Newbie 1 04-25-2004 08:49 AM
Help installing Red Hat Linux bryanthebold Red Hat 6 11-17-2003 10:54 AM
installing red hat from a desktop file NOT from booting the CD maoinchina Red Hat 2 10-02-2003 03:02 PM

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

All times are GMT -5. The time now is 05:48 AM.

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