Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Reinout van Schouwen

On 28 Aug 2002, Pixel wrote:

 ?? xine use /dev/dvd doesn't it?

rdvd, if raw devices are enabled.

-- 

Reinout van SchouwenArtificial Intelligence student
email: [EMAIL PROTECTED] mobile phone: +31-6-44360778
GPG public key http://www.cs.vu.nl/~reinout/reinout.asc





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Buchan Milne

Pixel wrote:
 Gabriel Phoenix [EMAIL PROTECTED] writes:
 
 
hdd is a DVD which was correctly identified in the Control Center as a
DVD but mounted as cdrom2

trivial yes but I think it just adds a touch of class that Mandrake
mounts a DVD as /mnt/dvd instead of /mnt/cdrom2
 
 
 quite a late for such a change. but maybe...
 
 
Also programs like xine default DVD drives to /mnt/dvd so the above
change should make programs like xine without the need for extra
configuration.
 
 
 ?? xine use /dev/dvd doesn't it?

Yes, IMHO, better to link /dev/dvd to /dev/hdd (in this case). I don't 
know if this would be easy or not with Devfs, or if an option should be 
available in mcc.

Then, being able to set hdX=ide-scsi from there would also be cool ...

Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

Reinout van Schouwen [EMAIL PROTECTED] writes:

 On 28 Aug 2002, Pixel wrote:
 
  ?? xine use /dev/dvd doesn't it?
 
 rdvd, if raw devices are enabled.

both /dev/dvd and /dev/rdvd are there




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

Buchan Milne [EMAIL PROTECTED] writes:

[...]

 Also programs like xine default DVD drives to /mnt/dvd so the above
 change should make programs like xine without the need for extra
 configuration.
  ?? xine use /dev/dvd doesn't it?
 
 Yes, IMHO, better to link /dev/dvd to /dev/hdd (in this case). I don't know if
 this would be easy or not with Devfs,

it is done

 or if an option should be available in
 mcc.
 
 Then, being able to set hdX=ide-scsi from there would also be cool ...

hdX=ide-scsi is done




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Michael Reinsch

Hi!

On 28 Aug 2002 14:12:37 +0200
Pixel [EMAIL PROTECTED] wrote:

 Buchan Milne [EMAIL PROTECTED] writes:
  Yes, IMHO, better to link /dev/dvd to /dev/hdd (in this case). I
  don't know if this would be easy or not with Devfs,
 it is done

Hmmm, I'd vote for linking it to /dev/cdroms/cdromX. Why? Well, on my
Notebook I can remove the DVD drive an put a normal harddisk in it
instead - so /dev/hdc is now no longer a DVD but a normal harddisk... so
/dev/dvd shouldn't be there.

-- 
  Michael Reinsch [EMAIL PROTECTED]   http://mr.uue.org





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

Michael Reinsch [EMAIL PROTECTED] writes:

 Hi!
 
 On 28 Aug 2002 14:12:37 +0200
 Pixel [EMAIL PROTECTED] wrote:
 
  Buchan Milne [EMAIL PROTECTED] writes:
   Yes, IMHO, better to link /dev/dvd to /dev/hdd (in this case). I
   don't know if this would be easy or not with Devfs,
  it is done
 
 Hmmm, I'd vote for linking it to /dev/cdroms/cdromX. Why? Well, on my
 Notebook I can remove the DVD drive an put a normal harddisk in it
 instead - so /dev/hdc is now no longer a DVD but a normal harddisk... so
 /dev/dvd shouldn't be there.

I won't do this. Too late, too many upcoming pbs

sorry





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Michael Reinsch

Hi!

On 28 Aug 2002 14:53:43 +0200
Pixel [EMAIL PROTECTED] wrote:

  Hmmm, I'd vote for linking it to /dev/cdroms/cdromX. Why? Well, on
  my Notebook I can remove the DVD drive an put a normal harddisk in
  it instead - so /dev/hdc is now no longer a DVD but a normal
  harddisk... so/dev/dvd shouldn't be there.
 I won't do this. Too late, too many upcoming pbs

Too late for 9.0 or too late for ever? Too late for 9.0: That's OK, I
know that Cooker is frozen and this isn't a critical issue.

-- 
  Michael Reinsch [EMAIL PROTECTED]   http://mr.uue.org





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread andre

On Wednesday 28 August 2002 12:47, Pixel wrote:
 Gabriel Phoenix [EMAIL PROTECTED] writes:
  hdd is a DVD which was correctly identified in the Control Center as a
  DVD but mounted as cdrom2
 
  trivial yes but I think it just adds a touch of class that Mandrake
  mounts a DVD as /mnt/dvd instead of /mnt/cdrom2

 quite a late for such a change. but maybe...


I think this is always suggested when cooker is in the freezer. lsb could be a 
problem when one uses /mnt/dvd etc. 


and may i add /mnt/burner for when you have a cdwriter

and pixel i think somebody even had a solution in mind :)
http://www.mail-archive.com/cooker@linux-mandrake.com/msg40615.html




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

Michael Reinsch [EMAIL PROTECTED] writes:

 Hi!
 
 On 28 Aug 2002 14:53:43 +0200
 Pixel [EMAIL PROTECTED] wrote:
 
   Hmmm, I'd vote for linking it to /dev/cdroms/cdromX. Why? Well, on
   my Notebook I can remove the DVD drive an put a normal harddisk in
   it instead - so /dev/hdc is now no longer a DVD but a normal
   harddisk... so/dev/dvd shouldn't be there.
  I won't do this. Too late, too many upcoming pbs
 
 Too late for 9.0 or too late for ever?

well, since devfs may not last forever, keeping compatibility with old
names is still the way.

hum thinking about it, it's not very easy since /dev/cdroms/* are
moving independently of the names.




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

andre [EMAIL PROTECTED] writes:

 and may i add /mnt/burner for when you have a cdwriter

same pb.

 
 and pixel i think somebody even had a solution in mind :)
 http://www.mail-archive.com/cooker@linux-mandrake.com/msg40615.html

now i even know how to detect dvd  burner for scsi's

so that's not the pb (and DrakX creates /dev/dvd)




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Buchan Milne

Pixel wrote:
 andre [EMAIL PROTECTED] writes:

 
 now i even know how to detect dvd  burner for scsi's
 
 so that's not the pb (and DrakX creates /dev/dvd)

Also for CDRW/DVD combo? Sorry, just saw a question on MF with title 
Beta 4 did not setup my DVD here:

http://mandrakeforum.com/comments.php?sid=2386pid=0mode=order=0thold=0lang=en

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Pixel

Buchan Milne [EMAIL PROTECTED] writes:

 Pixel wrote:
  andre [EMAIL PROTECTED] writes:
 
  now i even know how to detect dvd  burner for scsi's
  so that's not the pb (and DrakX creates /dev/dvd)
 
 Also for CDRW/DVD combo? Sorry, just saw a question on MF with title Beta 4
 did not setup my DVD here:
 
 http://mandrakeforum.com/comments.php?sid=2386pid=0mode=order=0thold=0lang=en

i now use /proc/sys/dev/cdrom/info




Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Michael Reinsch

Hi!

On 28 Aug 2002 17:02:26 +0200
Pixel [EMAIL PROTECTED] wrote:

Hmmm, I'd vote for linking it to /dev/cdroms/cdromX. Why? Well,
on my Notebook I can remove the DVD drive an put a normal
harddisk in it instead - so /dev/hdc is now no longer a DVD but
a normal harddisk... so/dev/dvd shouldn't be there.
   I won't do this. Too late, too many upcoming pbs
  Too late for 9.0 or too late for ever?
 well, since devfs may not last forever, keeping compatibility with old
 names is still the way.

Well, very few things do last forever - that's why I prefere the eXtreme
Programming style for software development. One aspect of it is: don't
think about the future, because the future is unknown. Just take the
simplest solution available for your current problem. If the
requirements change, do the same again.

 hum thinking about it, it's not very easy since /dev/cdroms/* are
 moving independently of the names.

Well, what about e.g. /dev/ide/host0/bus1/target0/lun0/cd then? ;-)

-- 
  Michael Reinsch [EMAIL PROTECTED]   http://mr.uue.org





Re: [Cooker] Mount dvd drives to /mnt/dvd not /mnt/cdromX

2002-08-28 Thread Gabriel Phoenix

On Wed, 2002-08-28 at 19:52, andre wrote:
 On Wednesday 28 August 2002 12:47, Pixel wrote:
  Gabriel Phoenix [EMAIL PROTECTED] writes:
   hdd is a DVD which was correctly identified in the Control Center as a
   DVD but mounted as cdrom2
  
   trivial yes but I think it just adds a touch of class that Mandrake
   mounts a DVD as /mnt/dvd instead of /mnt/cdrom2
 
  quite a late for such a change. but maybe...
 
 
 I think this is always suggested when cooker is in the freezer. lsb could be a 
 problem when one uses /mnt/dvd etc. 
 
 
 and may i add /mnt/burner for when you have a cdwriter
 
 and pixel i think somebody even had a solution in mind :)
 http://www.mail-archive.com/cooker@linux-mandrake.com/msg40615.html
 

Now first I admit ignorance but isn't a mount point just a directory reference in 
fstab?

That is, link /dev/hdX to /mnt/, or any other directory for that
matter?

The mount point should be a trivial change. Since you can already
identify a DVD player you know which is which.

It kept throwing me off so I made the change myself and thought most
people new to Linux would intuitively call the device dvd (/mnt/dvd) not
cdromX.

Sorry about reference to xine, thought that was /mnt/dvd not /dev/dvd.

Gabriel