POL_Wine_LinkCDROM

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 75180
Wine: System

Retours d'expérience

Description

Link a real CD-Rom to wine

Usage: POL_Wine_LinkCDROM [letter]

Code source

#!/bin/bash

if [ "$1" ]; then 
        letter="$1"
else
        letter="w"
fi

[ "$CDROM" = "" ] && POL_Debug_Error "Please select a cdrom first"

DEVNODE="$(mount | grep "$CDROM" | awk '{print $1}')"

cd "$WINEPREFIX/dosdevices"

rm "$letter:" 2> /dev/null
rm "$letter::" 2> /dev/null

ln -s "$CDROM" "$letter:"
ln -s "$DEVNODE" "$letter::"

Contributions

Filters:

Contribuer
Membre Messages

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com