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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-24-2007, 04:07 AM
|
#1
|
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:
|
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
|
|
|
10-24-2007, 04:13 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
10-24-2007, 05:39 AM
|
#3
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
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.
|
|
|
10-25-2007, 02:09 AM
|
#4
|
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:
|
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.
|
|
|
10-25-2007, 02:40 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
10-25-2007, 02:46 AM
|
#6
|
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:
|
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...
|
|
|
10-25-2007, 02:51 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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...
|
|
|
10-25-2007, 02:55 AM
|
#8
|
Member
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Rep:
|
Quote:
Originally Posted by vishwas786
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
|
|
|
All times are GMT -5. The time now is 05:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|