Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4940c377
Commit
4940c377
authored
Apr 23, 2002
by
Dustin Navea
Committed by
Alexandre Julliard
Apr 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Find ntfs drives and supermount cd-roms.
Fix finding non-supermount cd-roms mounted at /cdrom.
parent
e0521961
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
wineconf
tools/wineconf
+9
-2
No files found.
tools/wineconf
View file @
4940c377
...
...
@@ -93,14 +93,21 @@ sub ReadFSTAB {
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'
]);
}
}
}
if
(
!
@::FatDrives
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment