Ticket #1995: mplayer-dvd.diff

File mplayer-dvd.diff, 1.8 KB (added by dnicholson@…, 19 years ago)

Pointer back to LFS custom symlinks page

  • TabularUnified multimedia/videoutils/mplayer.xml

     
    466466    </sect3>
    467467
    468468    <!--
     469      Following section should be removed after BLFS-6.2.
     470      Current Udev creates persistent cd/dvd links automatically
     471    -->
    469472    <sect3>
    470473      <title>Installation for DVD Playback (Optional)</title>
    471474
    472475      <para>If you want DVD playback with <application>MPlayer</application>,
    473476      you need to ensure a link exists between your DVD drive and
    474       <filename>/dev/dvd</filename>. If necessary, create the link using the
    475       following commands:</para>
     477      <filename>/dev/dvd</filename>. This process is described in the
     478      <ulink url="&lfs-root;/chapter07/symlinks.html">Creating custom
     479      symlinks to devices</ulink> section in LFS. The user must be part
     480      of the <systemitem class="groupname">cdrom</systemitem> group in
     481      order to use the device.</para>
    476482
    477 <screen role="root"><userinput>cat &gt;&gt; /etc/udev/rules.d/24-dvd.rules &lt;&lt; "EOF"
    478 <literal># Create a /dev/dvd symlink
    479 
    480 KERNEL="<replaceable>&lt;dvd drive&gt;</replaceable>", SYMLINK="dvd"</literal>
    481 
    482 EOF
    483 udevstart</userinput></screen>
    484 
    485       <para>Replace <replaceable>&lt;dvd drive&gt;</replaceable> with whatever
    486       device is appropriate, for example <filename>hdc</filename>. If
    487       you don't know which device to choose, type:</para>
    488 
    489 <screen><userinput>dmesg | grep DVD</userinput></screen>
    490 
    491       <para>It should result in an output like:</para>
    492 
    493 <screen><computeroutput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
    494 ATAPI CD/DVD-ROM drive</computeroutput></screen>
    495 
    496483    </sect3>
    497     -->
    498484
    499485  </sect2>
    500486