[PATCH REPOST] tools/wineconf
Speeddymon
speeddymon at yahoo.com
Wed Apr 24 20:59:30 CDT 2002
not sure if this one was accepted so here it is again
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
-------------- next part --------------
Name: tools_wineconf-dnavea-patch.diff
ModifiedFiles: tools/wineconf
ChangeLog: Add check for ntfs drives (wouldn't recommend writing to them
if you have it enabled tho), fixed check for non-supermount
cdroms mounted at /cdrom (only got broken when I added in
supermount checking), added supermount cdrom checking
===============================================================================
--- tools/wineconf Sat Mar 9 18:24:22 2002
+++ /tmp/wineconf Tue Apr 23 18:50:41 2002
@@ -93,13 +93,20 @@
my ($device, $mntpoint, $type, @rest) = split(' ', $_);
if ($device !~ m"^/dev/fd") {
- if ($type eq "msdos" || $type eq "vfat") {
+ if ($type eq "ntfs") {
+ push(@::FatDrives, [$device, $mntpoint, 'win95']);
+ }
+ elsif ($type eq "msdos" || $type eq "vfat") {
push(@::FatDrives, [$device, $mntpoint, $type]);
}
elsif ($type eq "iso9660" ||
- $mntpoint eq "/cdrom" ||
+ ($mntpoint eq "/cdrom" && ! $type eq 'supermount') ||
($device eq '/dev/cdrom' && $type eq 'auto') ) {
push(@::CdromDrives, [$device, $mntpoint, 'win95']);
+ }
+ elsif ( ($mntpoint eq '/mnt/cdrom' || $mntpoint eq '/cdrom')
+ && $type eq 'supermount') {
+ push(@::CdromDrives, [ '/dev/cdrom', $mntpoint, 'win95']);
}
}
}
More information about the wine-patches
mailing list