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 03-24-2003, 06:42 AM   #1
Vincentius
LQ Newbie
 
Registered: Mar 2003
Distribution: Debian 3.0r2 SuSE 9.0 professional
Posts: 10

Rep: Reputation: 0
Question fstab, /dev, dvd, writer


I'm not stupid, I suppose...
But I don't understand the following.
I mainly use SuSE 8.1, with 1. a dvd-rom and 2. a cd/rw -rom drive
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache

My /etc/fstab file looks like this:
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/cdrom1 /media/cdrom1 auto ro,noauto,user,exec 0 0
/dev/cdrom2 /media/cdrom2 auto ro,noauto,user,exec 0 0

When I want to play an audio cd, I configure the player (KsCD) with /dev/hdc or /dec/hdd as drive. This works without any problem. Also cd-roms and dvd's are mounted just as it had to be done, I suppose because it works..
But I can't find /dev/hdd and /dev/hdc in fstab, why??
When I use Konqueror to browse the directory /dev, I get to see the links of the devices, this I really don't understand:
/dev/cdrom1 and /dev/cdrom2 are linked to hdd, but
/dev/dvd doesn't have a link and
/dev/cdrom isn't even there!!!

By the way, but that's a question for after this tread, my writer cannot be found bij writing programs...
Can someone please explain me what is goning on here? I you can, can you please tell me what to do, to have this as it should be? I'd rather not re-install SuSE AGAIN...

thanks!
Vincentius
 
Old 03-24-2003, 11:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
But I can't find /dev/hdd and /dev/hdc in fstab, why??
"/dev/hdd" is one example of a representation of an (E)IDE harddisk in Linux. It's contents are partitions, which in Linux are marked with from #1 up, like the first one, "/dev/hdd1", or the 3rd one on the 1st SCSI disk: "/dev/sda3".

/dev/cdrom1 and /dev/cdrom2 are linked to hdd, but
/dev/dvd doesn't have a link and /dev/cdrom isn't even there!!!

Links can be built during install of the OS, automagically by any app that has/needs access, or during install of some app, or whatever else. In your case something() has linked /dev/cdrom1 and /dev/cdrom2 to hdd, so I spose you don't need a /dev/cdrom link.
If you need one I'm sure an app will complain :-]

my writer cannot be found bij writing programs
Try posting the output of "cdrecord -scanbus" and I'm sure someone will help.
 
Old 03-25-2003, 02:19 PM   #3
markgdiesel
LQ Newbie
 
Registered: Mar 2003
Location: Zeewolde, Holland
Distribution: Debian Woody, Gentoo
Posts: 24

Rep: Reputation: 15
Probably /dev/hdc and /dev/hdd are hardlinked to /dev/cdrom and /dev/dvd. At least that is how i dit it.

You can't write maybe because all these programs only work with a SCSI-drive. You can emulate a scsi-drive but it is a long story. See the CD-writing how to how to fix this problem. After you have read that everything will be clear an you will be able to use Ccrecord. But remember if you emulate a SCSI-drive you need to make new hardlinks for your cd and dvd-drives because the they are /dev/scdx instead of /dev/hddx now.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
No /dev/hdd file for my dvd writer ? slzckboy Linux - Hardware 10 09-24-2005 03:48 PM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 06:00 PM
/dev/dvd in /etc/fstab jayhel Slackware 1 12-28-2004 11:23 AM
/etc/fstab and dvd writer minm Linux - Newbie 4 12-19-2004 01:43 AM


All times are GMT -5. The time now is 07:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration