Re: [expert] mounting cdrw

1999-10-23 Thread sphilp

On Sat, Oct 23, 1999 at 10:08:41PM -0400, John Aldrich wrote:
> On Sat, 23 Oct 1999, you wrote:
> > On Sat, Oct 23, 1999 at 08:20:16AM -0400, John Aldrich wrote:
> > > On Sat, 23 Oct 1999, you wrote:
> > > > On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > > > > Larry Sword wrote:
> > > > > > 
> > > > > > Try /dev/sdc0
> > > > > 
> > > > > My ATAPI cd burner mounts as /dev/sga
> > > > 
> > > > Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> > > > 
> > > > Strange little buggers, aren't they?  :)
> > > > 
> > > Probably /dev/scd0 is a symlink from /dev/sr0. :-)
> > 
> > Nope, sr0 doesn't even exist!
> > 
> Hmm...strange Oh, well.. :-)

Yup, can't say it really bothered me either.  Just created the link to
/dev/cdrom and off I went!

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [expert] mounting cdrw

1999-10-23 Thread John Aldrich

On Sat, 23 Oct 1999, you wrote:
> On Sat, Oct 23, 1999 at 08:20:16AM -0400, John Aldrich wrote:
> > On Sat, 23 Oct 1999, you wrote:
> > > On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > > > Larry Sword wrote:
> > > > > 
> > > > > Try /dev/sdc0
> > > > 
> > > > My ATAPI cd burner mounts as /dev/sga
> > > 
> > > Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> > > 
> > > Strange little buggers, aren't they?  :)
> > > 
> > Probably /dev/scd0 is a symlink from /dev/sr0. :-)
> 
> Nope, sr0 doesn't even exist!
> 
Hmm...strange Oh, well.. :-)
John



Re: [expert] mounting cdrw

1999-10-23 Thread Axalon Bloodstone

On Sat, 23 Oct 1999, Ramon Gandia wrote:

> Larry Sword wrote:
> > 
> > Try /dev/sdc0
> 
> My ATAPI cd burner mounts as /dev/sga
> 

/dev/sga is backwards compatibility, that is actualy /dev/sg0
These are the generic scsi access devices. 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] mounting cdrw

1999-10-23 Thread Axalon Bloodstone

On Sat, 23 Oct 1999 [EMAIL PROTECTED] wrote:

> On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > Larry Sword wrote:
> > > 
> > > Try /dev/sdc0
> > 
> > My ATAPI cd burner mounts as /dev/sga
> 
> Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> 
> Strange little buggers, aren't they?  :)
 
Should mount as either (eject doesnt seem to work with scd0 though)
ls -l /dev/sr0 /dev/scd0
brw-rw-r--   1 root cdwriter  11,   0 May  5  1998 /dev/scd0
brw-rw-r--   1 root cdwriter  11,   0 Oct 22 01:14 /dev/sr0

- 
For the original poster,
copy the /dev/cdrom line you already have in fstab, replace /mnt/cdrom
with /mnt/cdrw, and /dev/cdrom with /dev/scd0 or /dev/sr0.

Ass for auto loading the ide-scsi module so you can mount it easy, there
are two suggested ways (both from this list, check archive for details)
in your /etc/conf.modules add either
alias scsi_hostadapter0 ide-scsi 
I may have typed this one wrong add a _ between host and adapter if so
or
alias block-major-11 ide-scsi 

and you will not have to worry about ide-scsi needing modprobed by hand.

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] mounting cdrw

1999-10-23 Thread sphilp

On Sat, Oct 23, 1999 at 08:20:16AM -0400, John Aldrich wrote:
> On Sat, 23 Oct 1999, you wrote:
> > On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > > Larry Sword wrote:
> > > > 
> > > > Try /dev/sdc0
> > > 
> > > My ATAPI cd burner mounts as /dev/sga
> > 
> > Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> > 
> > Strange little buggers, aren't they?  :)
> > 
> Probably /dev/scd0 is a symlink from /dev/sr0. :-)

Nope, sr0 doesn't even exist!

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [expert] mounting cdrw

1999-10-23 Thread John Aldrich

On Sat, 23 Oct 1999, you wrote:
> On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > Larry Sword wrote:
> > > 
> > > Try /dev/sdc0
> > 
> > My ATAPI cd burner mounts as /dev/sga
> 
> Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> 
> Strange little buggers, aren't they?  :)
> 
Probably /dev/scd0 is a symlink from /dev/sr0. :-)
John



Re: [expert] mounting cdrw

1999-10-23 Thread John Aldrich

On Sat, 23 Oct 1999, you wrote:
> On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > Larry Sword wrote:
> > > 
> > > Try /dev/sdc0
> > 
> > My ATAPI cd burner mounts as /dev/sga
> 
> Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> 
> Strange little buggers, aren't they?  :)
> 
FWIW, my SCSI CD is actually /dev/scd0, but it's hardlinked (at
install, apparenlty, 'cause I didn't do it ) to /dev/cdrom. :-)
John



Re: [expert] mounting cdrw

1999-10-22 Thread Ron Stodden

David van Balen wrote:

> Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> It's an ATAPI BCE 62IE drive and works fine for writing.

If it is an ATAPI drive, then it will work as a reader directly.

That is, unless you have done something to tell Linux that it is a simulated 
SCSI device.If so, remove that, and you should have a CDROM reader.

For kernels 2.2.10 or later, to utilise the writer part of the drive (since 
ALL CD writers use the SCSI command set - even across an ATAPI interface) as 
superuser you must manually:

rmmod ide-cd   // if it exists
modprobe ide-scsi

Use cdrecord -scanbus to check that the writer is now accessible.

After writing is completed, remember to put it back to reader state as 
superuser by manually:

rmmod ide-scsi 
modprobe ide-cd// if it existed

I hope this gives you enough starting clues to get both sides working .  
You do not have to specify which device if your kernel is 2.2.10 or later.

Finally, you should never attempt to mount a CD writer.   The writing 
software provides the SCSI device lister (-scanbus) and the hardware driver. 
 The kernel is NOT involved.  One day (perhaps) the kernel will support CD 
writers in a generic fashion .

Regards,
 
Ron Stodden





Re: [expert] mounting cdrw

1999-10-22 Thread Thomas J. Hamman

On Sat, 23 Oct 1999 [EMAIL PROTECTED] wrote:

> On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> > Larry Sword wrote:
> > > 
> > > Try /dev/sdc0
> > 
> > My ATAPI cd burner mounts as /dev/sga
> 
> Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.
> 
> Strange little buggers, aren't they?  :)

Have you tried sr0?  I think they generally both work... at least, mine can be
mounted with either sr0 or scd0.

-Tom



Re: [expert] mounting cdrw

1999-10-22 Thread sphilp

On Sat, Oct 23, 1999 at 01:36:36AM +, Ramon Gandia wrote:
> Larry Sword wrote:
> > 
> > Try /dev/sdc0
> 
> My ATAPI cd burner mounts as /dev/sga

Mine shows as /dev/sr0 in the boot logs, but mounts from /dev/scd0.

Strange little buggers, aren't they?  :)

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [expert] mounting cdrw

1999-10-22 Thread John Aldrich

On Fri, 22 Oct 1999, you wrote:
> > >
> > > Try /dev/sdc0
> > 
> >   
> > That should be /dev/scd0
> 
> 
> 
> Actually, /dev/sr0 worked. Just got around to trying it. Thanks to
> everyone who responded.
> 
Ahh..great! :-)
John



Re: [expert] mounting cdrw

1999-10-22 Thread David van Balen

On Fri, 22 Oct 1999, Larry Sword wrote:

> Larry Sword wrote:
> 
> > John Aldrich wrote:
> >
> > > On Fri, 22 Oct 1999, you wrote:
> > > > > > Do you have the drive set up using SCSI emulation? If so, just create a
> > > > > > link between /dev/cdrom and /dev/sg1.
> > > > > >
> > > > > Problem is, I *think* he's already got a CDROM in there
> > > > > and he wants to be able to use BOTH.
> > > > > John
> > > >
> > > > If you're using an ATAPI drive under SCSI emulation then you need to mount it
> > > > using the appropriate SCSI device.  i.e. replace /dev/hdd in your mount 
>command with
> > > >dev/sr0 (or whatever device the drive is using; my CDR
> > > >ses sr0).
> > > >
> > > OTOH, he also said he's tried /dev/sr0 and that didn't work
> > > either. :-( I'm not sure what the answer is, but it's not
> > > something I have any knowledge of. I was just trying to
> > > point out something I think the original respondent
> > > overlooked. :-)
> > > John
> >
> > Try /dev/sdc0
> 
>   
> That should be /dev/scd0



Actually, /dev/sr0 worked. Just got around to trying it. Thanks to
everyone who responded.

DvB



Re: [expert] mounting cdrw

1999-10-22 Thread Ramon Gandia

Larry Sword wrote:
> 
> Try /dev/sdc0

My ATAPI cd burner mounts as /dev/sga

-- 
Ramon Gandia  ---Sysadmin  ---  http://www.nook.net
285 West 1st Avenue  ISP for Western Alaska
P.O. Box 970  tel. 907-443-7575
Nome, Alaska 99762fax. 907-443-2487
===



Re: [expert] mounting cdrw

1999-10-22 Thread Larry Sword

Larry Sword wrote:

> John Aldrich wrote:
>
> > On Fri, 22 Oct 1999, you wrote:
> > > > > Do you have the drive set up using SCSI emulation? If so, just create a
> > > > > link between /dev/cdrom and /dev/sg1.
> > > > >
> > > > Problem is, I *think* he's already got a CDROM in there
> > > > and he wants to be able to use BOTH.
> > > > John
> > >
> > > If you're using an ATAPI drive under SCSI emulation then you need to mount it
> > > using the appropriate SCSI device.  i.e. replace /dev/hdd in your mount command 
>with
> > >dev/sr0 (or whatever device the drive is using; my CDR
> > >ses sr0).
> > >
> > OTOH, he also said he's tried /dev/sr0 and that didn't work
> > either. :-( I'm not sure what the answer is, but it's not
> > something I have any knowledge of. I was just trying to
> > point out something I think the original respondent
> > overlooked. :-)
> > John
>
> Try /dev/sdc0

  
That should be /dev/scd0




Re: [expert] mounting cdrw

1999-10-22 Thread Larry Sword

John Aldrich wrote:

> On Fri, 22 Oct 1999, you wrote:
> > > > Do you have the drive set up using SCSI emulation? If so, just create a
> > > > link between /dev/cdrom and /dev/sg1.
> > > >
> > > Problem is, I *think* he's already got a CDROM in there
> > > and he wants to be able to use BOTH.
> > > John
> >
> > If you're using an ATAPI drive under SCSI emulation then you need to mount it
> > using the appropriate SCSI device.  i.e. replace /dev/hdd in your mount command 
>with
> >dev/sr0 (or whatever device the drive is using; my CDR
> >ses sr0).
> >
> OTOH, he also said he's tried /dev/sr0 and that didn't work
> either. :-( I'm not sure what the answer is, but it's not
> something I have any knowledge of. I was just trying to
> point out something I think the original respondent
> overlooked. :-)
> John

Try /dev/sdc0




Re: [expert] mounting cdrw

1999-10-22 Thread John Aldrich

On Fri, 22 Oct 1999, you wrote:
> > > Do you have the drive set up using SCSI emulation? If so, just create a
> > > link between /dev/cdrom and /dev/sg1.
> > > 
> > Problem is, I *think* he's already got a CDROM in there
> > and he wants to be able to use BOTH.
> > John
> 
> If you're using an ATAPI drive under SCSI emulation then you need to mount it
> using the appropriate SCSI device.  i.e. replace /dev/hdd in your mount command with 
>dev/sr0 (or whatever device the drive is using; my CDR
>ses sr0). 
>
OTOH, he also said he's tried /dev/sr0 and that didn't work
either. :-( I'm not sure what the answer is, but it's not
something I have any knowledge of. I was just trying to
point out something I think the original respondent
overlooked. :-)
John



Re: [expert] mounting cdrw

1999-10-22 Thread John Aldrich

On Fri, 22 Oct 1999, you wrote:
> > > Do you have the drive set up using SCSI emulation? If so, just create a
> > > link between /dev/cdrom and /dev/sg1.
> > > 
> > Problem is, I *think* he's already got a CDROM in there
> > and he wants to be able to use BOTH.
> > John
> 
> Yes. Yes. That's it!
> Problem is I can't mount it!
> 
Heh. I thought I grepped your situation, but I don't have
the solution. :-( Sorry... Hopefully someone else will be
able to help. :-)
John



Re: [expert] mounting cdrw

1999-10-22 Thread John Aldrich

On Fri, 22 Oct 1999, you wrote:
> > 
> > Do you have the drive set up using SCSI emulation? If so, just create a
> > link between /dev/cdrom and /dev/sg1.
> 
> 
> 
> 
> Hmm... you mean a symbolic link? (ln -s /dev/sg1 /mnt/cdrw). I can do that
> but it doesn't do me much good since the link isn't a directory... I can't
> use the mount command on /dev/sg1 either since it's "not a block device."
> 
> ... any other ideas? BTW, I am using SCSI emulation.
> 
No...what he's saying is make a symbolic link between
/dev/cdrom and /dev/sg1. However, since you can't mount
/dev/sg1, I agree, it's not likely to make any difference.
John



Re: [expert] mounting cdrw

1999-10-22 Thread David van Balen

On Fri, 22 Oct 1999, John Aldrich wrote:

> On Thu, 21 Oct 1999, you wrote:
> > ---Reply to mail from David van Balen about [expert] mounting cdrw
> > > 
> > > Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> > > It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
> > > -t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
> > > or too many mounts. I tried a couple other fs types and they didn't work
> > > either (i.e. auto the way the cdrom is configured in /etc/fstab).
> > > Is there a way to do this?
> > > 
> > > DvB
> > > 
> > > 
> > 
> > Do you have the drive set up using SCSI emulation? If so, just create a
> > link between /dev/cdrom and /dev/sg1.
> > 
> Problem is, I *think* he's already got a CDROM in there
> and he wants to be able to use BOTH.
>   John
> 



Yes. Yes. That's it!
Problem is I can't mount it!



DvB




Re: [expert] mounting cdrw

1999-10-22 Thread Thomas J. Hamman

On Fri, 22 Oct 1999, John Aldrich wrote:

> On Thu, 21 Oct 1999, you wrote:
> > ---Reply to mail from David van Balen about [expert] mounting cdrw
> > > 
> > > Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> > > It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
> > > -t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
> > > or too many mounts. I tried a couple other fs types and they didn't work
> > > either (i.e. auto the way the cdrom is configured in /etc/fstab).
> > > Is there a way to do this?
> > > 
> > > DvB
> > > 
> > > 
> > 
> > Do you have the drive set up using SCSI emulation? If so, just create a
> > link between /dev/cdrom and /dev/sg1.
> > 
> Problem is, I *think* he's already got a CDROM in there
> and he wants to be able to use BOTH.
>   John

If you're using an ATAPI drive under SCSI emulation then you need to mount it
using the appropriate SCSI device.  i.e. replace /dev/hdd in your mount command with 
/dev/sr0 (or whatever device the drive is using; my CDR uses sr0).

-Tom



Re: [expert] mounting cdrw

1999-10-22 Thread John Aldrich

On Thu, 21 Oct 1999, you wrote:
> ---Reply to mail from David van Balen about [expert] mounting cdrw
> > 
> > Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> > It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
> > -t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
> > or too many mounts. I tried a couple other fs types and they didn't work
> > either (i.e. auto the way the cdrom is configured in /etc/fstab).
> > Is there a way to do this?
> > 
> > DvB
> > 
> > 
> 
> Do you have the drive set up using SCSI emulation? If so, just create a
> link between /dev/cdrom and /dev/sg1.
> 
Problem is, I *think* he's already got a CDROM in there
and he wants to be able to use BOTH.
John



Re: [expert] mounting cdrw

1999-10-21 Thread David van Balen

On Thu, 21 Oct 1999, Jonathan Dlouhy wrote:

> ---Reply to mail from David van Balen about [expert] mounting cdrw
> > 
> > Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> > It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
> > -t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
> > or too many mounts. I tried a couple other fs types and they didn't work
> > either (i.e. auto the way the cdrom is configured in /etc/fstab).
> > Is there a way to do this?
> > 
> > DvB
> > 
> > 
> 
> Do you have the drive set up using SCSI emulation? If so, just create a
> link between /dev/cdrom and /dev/sg1.




Hmm... you mean a symbolic link? (ln -s /dev/sg1 /mnt/cdrw). I can do that
but it doesn't do me much good since the link isn't a directory... I can't
use the mount command on /dev/sg1 either since it's "not a block device."

... any other ideas? BTW, I am using SCSI emulation.




> 
> Peace,
> ---End reply
> 
> -- 
> Jonathan Dlouhy
> Principal Oboe,
> Atlanta Symphony Orchestra
> Thursday, October 21, 1999
> 
> "We are Microsoft.  Resistance Is Futile.  You Will Be Assimilated."
> 
> 
> 
> 
> 

DvB




Re: [expert] mounting cdrw

1999-10-21 Thread Jonathan Dlouhy

---Reply to mail from David van Balen about [expert] mounting cdrw
> 
> Is there a way to mount my cdrw drive so that I can view it like my cdrom?
> It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
> -t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
> or too many mounts. I tried a couple other fs types and they didn't work
> either (i.e. auto the way the cdrom is configured in /etc/fstab).
> Is there a way to do this?
> 
> DvB
> 
> 

Do you have the drive set up using SCSI emulation? If so, just create a
link between /dev/cdrom and /dev/sg1.

Peace,
---End reply

-- 
Jonathan Dlouhy
Principal Oboe,
Atlanta Symphony Orchestra
Thursday, October 21, 1999

"We are Microsoft.  Resistance Is Futile.  You Will Be Assimilated."






[expert] mounting cdrw

1999-10-21 Thread David van Balen


Is there a way to mount my cdrw drive so that I can view it like my cdrom?
It's an ATAPI BCE 62IE drive and works fine for writing. I've tried mount
-t iso9660 /dev/hdd /mnt/cdrw and that doesn't work, it says wrong fs type
or too many mounts. I tried a couple other fs types and they didn't work
either (i.e. auto the way the cdrom is configured in /etc/fstab).
Is there a way to do this?

DvB