Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e3728cd2
Commit
e3728cd2
authored
Feb 05, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use vfat/win95 as default.
parent
676a5135
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
9 deletions
+28
-9
wine.man
documentation/wine.man
+15
-4
drive.c
files/drive.c
+3
-3
wine.ini
wine.ini
+10
-2
No files found.
documentation/wine.man
View file @
e3728cd2
...
...
@@ -311,11 +311,22 @@ number.
.PP
.I format: Filesystem = <fstype>
.br
default:
unix
default:
win95
.br
Used to specify the type of the filesystem on which the drive resides;
supported types are msdos (or fat), win95 (or vfat), unix. If the
drive spans several different filesystems, say unix.
Used to specify the type of the file system Wine should emulate on a given
directory structure/underlying file system.
.br
Supported types are msdos (or fat), win95 (or vfat), unix.
.br
Recommended:
.br
win95 for ext2fs, VFAT and FAT32
.br
msdos for FAT16 (ugly)
.br
You definitely don't want to use "unix" unless you intend to port programs using Winelib.
.br
Always try to avoid using FAT16. Use VFAT/FAT32 OS file system driver instead !
.PP
.B [wine]
.br
...
...
files/drive.c
View file @
e3728cd2
...
...
@@ -120,9 +120,9 @@ static UINT32 DRIVE_GetFSFlags( const char *name, const char *value )
for
(
descr
=
DRIVE_Filesystems
;
descr
->
name
;
descr
++
)
if
(
!
strcasecmp
(
value
,
descr
->
name
))
return
descr
->
flags
;
MSG
(
"%s: unknown filesystem type '%s', defaulting to '
unix
'.
\n
"
,
MSG
(
"%s: unknown filesystem type '%s', defaulting to '
win95
'.
\n
"
,
name
,
value
);
return
DRIVE_CASE_
SENSITIVE
|
DRIVE_CASE_
PRESERVING
;
return
DRIVE_CASE_PRESERVING
;
}
...
...
@@ -184,7 +184,7 @@ int DRIVE_Init(void)
drive
->
serial
=
strtoul
(
buffer
,
NULL
,
16
);
/* Get the filesystem type */
PROFILE_GetWineIniString
(
name
,
"Filesystem"
,
"
unix
"
,
PROFILE_GetWineIniString
(
name
,
"Filesystem"
,
"
win95
"
,
buffer
,
sizeof
(
buffer
)
);
drive
->
flags
=
DRIVE_GetFSFlags
(
name
,
buffer
);
...
...
wine.ini
View file @
e3728cd2
...
...
@@ -8,6 +8,12 @@
;; Label=xxx (drive label, at most 11 characters)
;; Serial=xxx (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx (supported types are 'msdos','win95','unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; Device=/dev/xx (only if you want to allow raw device access)
;;
[Drive A]
...
...
@@ -21,23 +27,25 @@ Device=/dev/fd0
Path
=
/c
Type
=
hd
Label
=
MS-DOS
Filesystem
=
msdos
Filesystem
=
win95
[Drive D]
Path
=
/cdrom
Type
=
cdrom
Label
=
CD-Rom
Filesystem
=
win95
[Drive E]
Path
=
/tmp
Type
=
hd
Label
=
Tmp Drive
Filesystem
=
win95
[Drive F]
Path
=
${HOME}
Type
=
network
Label
=
Home
Filesystem
=
unix
Filesystem
=
win95
[wine]
Windows
=
c:
\w
indows
...
...
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