On Wednesday 12 Feb 2003 17:16, gabor wrote:
> or ( and i recommend this solution ),
> make i symlink from your dvd device to /dev/dvd
>
> this way you don't have to specify the dvd drive in any dvd players
> (ogle,mplayer,xine)

Ideally you should do this in /etc/devfsd.conf:

# Create /dev/dvd for the first cdrom drive
# (change 'cdroms/cdrom1' to suite your setup)
# NOTE: We add the fully qualified path here, else some apps
#       have problems to resolve the true device (drip comes to mind)
LOOKUP          ^dvd$            CFUNCTION GLOBAL mksymlink \ 
        ${mntpnt}/cdroms/cdrom0 dvd
REGISTER        ^cdroms/cdrom0$  CFUNCTION GLOBAL mksymlink ${devpath} dvd
UNREGISTER      ^cdroms/cdrom0$  CFUNCTION GLOBAL unlink dvd

Peter
-- 
Gentoo-1.4.2.8 Stable. KDE: 3.1.0 Qt: 3.1.0
AMD Athlon(tm) XP 1900+ 512MB.  Kernel: 2.4.20-xfs_pre5-pnr.    GCC 3.2.1


--
[EMAIL PROTECTED] mailing list

Reply via email to