winecfg and cdrom drives

EA Durbin ead1234 at hotmail.com
Sun Apr 1 11:42:31 CDT 2007



>Aren't we doing this already?
>
>
>Alexander N. Sørnes
>
> > >> >
> > >> >cd rom drives should be detected without user intervention, imho
> > >> >
> > >> >users shouldn't have to run a special gui config tool to get their
> > >> >drives recognized
> > >> >
> > >> >so if it needs fixing, let's fix it in e.g. wineprefixcreate
> > >
> > >--
> > >Wine for Windows ISVs: http://kegel.com/wine/isv
>
>

No, we aren't. I have to setup the cdrom drive manually on every distro I've 
tried. Wineprefixcreate only sets up the C:\ and Z:\ drives, no cdrom drives 
are configured.


# Create the drive symlinks

if [ ! -d "$WINEPREFIX/dosdevices" ]
then
    mkdir "$WINEPREFIX/dosdevices"
    [ -d "$WINEPREFIX/drive_c" ] || mkdir "$WINEPREFIX/drive_c"
    ln -s "../drive_c" "$WINEPREFIX/dosdevices/c:"
    ln -s "/" "$WINEPREFIX/dosdevices/z:"
fi

CROOT="$WINEPREFIX/dosdevices/c:"





More information about the wine-devel mailing list