Mailinglist Archive: opensuse (2974 mails)
| < Previous | Next > |
Re: [SLE] Fstab problem
- From: juergen.braukmann@xxxxxxxxxxxx
- Date: Wed, 28 Feb 2001 14:36:18 +0100
- Message-id: <3A9CFED2.C46C475@xxxxxxxxxxxx>
Mark Hounschell wrote:
>
> juergen.braukmann@xxxxxxxxxxxx wrote:
> >
> > Mark Annandale wrote:
> > >
> > > Hi all
> > >
> > > Thanks to Tor for his help on the ide-scsi problem.
> > > Just a simple question thats been bugging me for the last couple of hours.
> > > After putting hdc=ide-scsi into lilo to give me scsi emulation for my burner
> > > on hdc, what needs changing in /etc/fstab to get the burner working normally?
> > >
> > > The drive is a Samsung DVD/CD-Writer which works when using xcdroast. When I
> > > try and mount the drive normally I get :could not mount /cdrom. /dev/cdrom is
> > > not a valid block device.
> > >
> > > The relevent lines in fstab are:
> > >
> > > /dev/cdrecorder /cdrecorder auto ro,noauto,user,exec 0 0
> > > /dev/cdrom /cdrom auto ro,noauto,user,exec 0 0
> > >
> > > I guess it is something really simple.
> > >
> >
> > It is. With the SCSI emulation the IDE device (/dev/hd[a,b,c,d]) turns
> > into an SCSI device usually /dev/scd0 (0,0,0 in cdrecord btw.). "rm
> > /dev/cdrom; ln -s /dev/scd0 /dev/cdrom" should cure your problem.
>
> Mine turned into sr0 and sr1 with sr0 being a real scsi cd writer and
> sr1 being my IDE cdrom. The new xcdroast requires that even the cdrom
> use scsi emulation. Does it matter if sr0 or scd0. Why is mine sr0/1?
I think they are both the same... Aehmm I use a real scsi burner too.
But to my knowledge, sr0 vs. scd0 is the same device. See also the same
major/minor numbers. But you answered an unasked question: ide-scsi
works with cdroms as well. I cannot use my cdrom as source for reading
audio. But I'll experiment a bit with IDE-SCSI.
brauki@marvin:/dev > ls -l sr0
brw-rw-rw- 2 root disk 11, 0 Jul 29 2000 sr0
brauki@marvin:/dev > ls -l scd0
brw-rw-rw- 2 root disk 11, 0 Jul 29 2000 scd0
brauki@marvin:/dev >
Juergen
> --
> Mark Hounschell
> markh@xxxxxxxxxx
--
=========================================== __ _
Juergen Braukmann juergen.braukmann@xxxxxx| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
>
> juergen.braukmann@xxxxxxxxxxxx wrote:
> >
> > Mark Annandale wrote:
> > >
> > > Hi all
> > >
> > > Thanks to Tor for his help on the ide-scsi problem.
> > > Just a simple question thats been bugging me for the last couple of hours.
> > > After putting hdc=ide-scsi into lilo to give me scsi emulation for my burner
> > > on hdc, what needs changing in /etc/fstab to get the burner working normally?
> > >
> > > The drive is a Samsung DVD/CD-Writer which works when using xcdroast. When I
> > > try and mount the drive normally I get :could not mount /cdrom. /dev/cdrom is
> > > not a valid block device.
> > >
> > > The relevent lines in fstab are:
> > >
> > > /dev/cdrecorder /cdrecorder auto ro,noauto,user,exec 0 0
> > > /dev/cdrom /cdrom auto ro,noauto,user,exec 0 0
> > >
> > > I guess it is something really simple.
> > >
> >
> > It is. With the SCSI emulation the IDE device (/dev/hd[a,b,c,d]) turns
> > into an SCSI device usually /dev/scd0 (0,0,0 in cdrecord btw.). "rm
> > /dev/cdrom; ln -s /dev/scd0 /dev/cdrom" should cure your problem.
>
> Mine turned into sr0 and sr1 with sr0 being a real scsi cd writer and
> sr1 being my IDE cdrom. The new xcdroast requires that even the cdrom
> use scsi emulation. Does it matter if sr0 or scd0. Why is mine sr0/1?
I think they are both the same... Aehmm I use a real scsi burner too.
But to my knowledge, sr0 vs. scd0 is the same device. See also the same
major/minor numbers. But you answered an unasked question: ide-scsi
works with cdroms as well. I cannot use my cdrom as source for reading
audio. But I'll experiment a bit with IDE-SCSI.
brauki@marvin:/dev > ls -l sr0
brw-rw-rw- 2 root disk 11, 0 Jul 29 2000 sr0
brauki@marvin:/dev > ls -l scd0
brw-rw-rw- 2 root disk 11, 0 Jul 29 2000 scd0
brauki@marvin:/dev >
Juergen
> --
> Mark Hounschell
> markh@xxxxxxxxxx
--
=========================================== __ _
Juergen Braukmann juergen.braukmann@xxxxxx| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\
| < Previous | Next > |