Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-22 Thread Marcel Hilzinger
Am Montag, 21. August 2006 19:44 schrieb JP Rosevear:
 On Mon, 2006-08-21 at 18:33 +0200, Marcel Hilzinger wrote:
  Am Montag, 21. August 2006 18:27 schrieb Tobias Burnus:
   Hello,
  
   Marcel Hilzinger schrieb:
set a symbolic link each time a CD/DVD is inserted with /media/cdrom.
The link should always point to the last inserted CD/DVD.
/media/SUSE_LINUX_10.1
is cool, but its hard to work with CDs on command line and writing
documentation for Suse is also very hard. So please let's become
cd  /media/cdrom
true for Suse Linux 10.2. Konqueror,etc should/can still show the
label of the disk.
  
   I always though this was the case since 10.0: It is mounted to
   /media/device (device could be dvdram, cdrom, cdwriter etc.)
   and there is a symbolic link from /media/LABEL to /media/device.
 
  That's true for 10.0, but not for 10.1. That's why I suggest to always
  keep the simple
 
  /media/cdrom
 
  The intermezzo with /media/cdrwriter, /media/dvdram, /media/dvdwriter was
  not very successful I guess.
 
  Coolo: Please ask also the documentation team. It's really hard to write
  docu for Suse Linux if you cannot tell users, where CDs/DVDs will be
  mounted!

 In SLE at least, and presumably in 10.2, there are udev rules which
 should handle this (works on SLE), see /etc/udev/rules.d/65-cdrom.rules

It's nice, that you want to help me, but I need no help in this case. My 
suggestion was thought to make SL 10.2 better usable _by alls users_, not by 
myself.


Best regards,
Marcel
-- 
Mit freundlichen Grüßen,
Marcel Hilzinger

Linux New Media AG
Süskindstr. 4
D-81929 München
Tel: +49 (89) 99 34 11 0
Fax: +49 (89) 99 34 11 99
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-21 Thread Stephan Kulow
Am Montag, 21. August 2006 17:51 schrieb Marcel Hilzinger:
 My personal feature request for 10.2

 set a symbolic link each time a CD/DVD is inserted with /media/cdrom. The
 link should always point to the last inserted CD/DVD.

So if you have two trays, the last one wins? Hardly a convincing concept.
Especially as you can mount and unmount CDs at free will.

Greetings, Stephan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-21 Thread Marcel Hilzinger
Am Montag, 21. August 2006 17:56 schrieb Stephan Kulow:
 Am Montag, 21. August 2006 17:51 schrieb Marcel Hilzinger:
  My personal feature request for 10.2
 
  set a symbolic link each time a CD/DVD is inserted with /media/cdrom. The
  link should always point to the last inserted CD/DVD.

 So if you have two trays, the last one wins? Hardly a convincing concept.
You can also work with

/media/cdrom
/media/cdrom0
/media/cdrom1

etc for several trays, but the last one wins seems more user friendly for 
me.

 Especially as you can mount and unmount CDs at free will.
Why should I have to

mkdir /media/cdrom
mount foo bla

manually, if it can be done automatically?

-- 
Mit freundlichen Grüßen,
Marcel Hilzinger

Linux New Media AG
Süskindstr. 4
D-81929 München
Tel: +49 (89) 99 34 11 0
Fax: +49 (89) 99 34 11 99
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-21 Thread Stephan Kulow
Am Montag, 21. August 2006 18:09 schrieb Marcel Hilzinger:
 Am Montag, 21. August 2006 17:56 schrieb Stephan Kulow:
  Am Montag, 21. August 2006 17:51 schrieb Marcel Hilzinger:
   My personal feature request for 10.2
  
   set a symbolic link each time a CD/DVD is inserted with /media/cdrom.
   The link should always point to the last inserted CD/DVD.
 
  So if you have two trays, the last one wins? Hardly a convincing concept.

 You can also work with

 /media/cdrom
 /media/cdrom0
 /media/cdrom1

 etc for several trays, but the last one wins seems more user friendly for
 me.

Well, you can add /media/cdrom to your fstab and then every CD inserted 
in /dev/hdc will be mounted there - but I'd see it as a regression.

Greetings, Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-21 Thread Tobias Burnus
Hello,

Marcel Hilzinger schrieb:
 set a symbolic link each time a CD/DVD is inserted with /media/cdrom. The 
 link 
 should always point to the last inserted CD/DVD.
 /media/SUSE_LINUX_10.1
 is cool, but its hard to work with CDs on command line and writing 
 documentation for Suse is also very hard. So please let's become
 cd  /media/cdrom
 true for Suse Linux 10.2. Konqueror,etc should/can still show the label of 
 the 
 disk.
   
I always though this was the case since 10.0: It is mounted to
/media/device (device could be dvdram, cdrom, cdwriter etc.)
and there is a symbolic link from /media/LABEL to /media/device.

I cannot check at the moment (no CD around), but I though this was the case.

See SUSE Linux 10.0 bugreport:
https://bugzilla.novell.com/show_bug.cgi?id=98347

-cut-
/From Danny Kukawka 2005-08-28 02:23:46 MST

/Changed for beta 4 to this behavior:

* if we ge a new volume /device for mount check if the device / volume is 
  already mounted (this was also in the current solution)
* if not mounted: ask udevinfo for known symlinks
* check if there is a free symlink with a related existing directory in
/media
   -- if there is a existing, not mounted dir in /media:
   - mount to this mountpoint and add a link with volume label
   -- if there is a existing, mounted dir in /media:
   - try to find an other
   -- if no dir available:
   - mount to volume label / desired_mount_point from HAL
 (if the user want a mount to a special device: change udev rule
and
 add the needed directories to /media)
-cut-

Tobias
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Symbolic link /media/cdrom

2006-08-21 Thread Marcel Hilzinger
Am Montag, 21. August 2006 18:27 schrieb Tobias Burnus:
 Hello,

 Marcel Hilzinger schrieb:
  set a symbolic link each time a CD/DVD is inserted with /media/cdrom. The
  link should always point to the last inserted CD/DVD.
  /media/SUSE_LINUX_10.1
  is cool, but its hard to work with CDs on command line and writing
  documentation for Suse is also very hard. So please let's become
  cd  /media/cdrom
  true for Suse Linux 10.2. Konqueror,etc should/can still show the label
  of the disk.

 I always though this was the case since 10.0: It is mounted to
 /media/device (device could be dvdram, cdrom, cdwriter etc.)
 and there is a symbolic link from /media/LABEL to /media/device.
That's true for 10.0, but not for 10.1. That's why I suggest to always keep 
the simple

/media/cdrom

The intermezzo with /media/cdrwriter, /media/dvdram, /media/dvdwriter was not 
very successful I guess.

Coolo: Please ask also the documentation team. It's really hard to write docu 
for Suse Linux if you cannot tell users, where CDs/DVDs will be mounted!


-- 
Mit freundlichen Grüßen,
Marcel Hilzinger

Linux New Media AG
Süskindstr. 4
D-81929 München
Tel: +49 (89) 99 34 11 0
Fax: +49 (89) 99 34 11 99
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]