Access to partition or entire disk

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
xerces8
Newbie
Newbie
Posts: 4
Joined: Tue Aug 12, 2008 10:37 am

Access to partition or entire disk

Post by xerces8 »

Hi!

Is it possible to set up Wine for access to a real partition or entire disc over standard Windows API ?

Or at least access to "disk-file" ?
(that is : a file in the linux system that appears to Wine processes as a physical disk)

Thanks,
David
Last edited by xerces8 on Tue Aug 12, 2008 11:53 am, edited 1 time in total.
John Drescher

Access to partition or entrie disk

Post by John Drescher »

On Tue, Aug 12, 2008 at 11:40 AM, xerces8 <[email protected]> wrote:
Hi!

Is it possible to set up Wine for access to a real partition or entire disc over standard Windows API ?

Or at least access to "disk-file" ?
(that is : a file in the linux system that appears to Wine processes as a physical disk)
Not sure what the heck you are talking about but you do not want to
have you wine C: drive mapped to the real windows c: because this will
lead to corruption of your windows drive and also break your wine as
well.

John
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Access to partition or entrie disk

Post by austin987 »

On Tue, Aug 12, 2008 at 10:40 AM, xerces8 <[email protected]> wrote:
Hi!

Is it possible to set up Wine for access to a real partition or entire disc over standard Windows API ?

Or at least access to "disk-file" ?
(that is : a file in the linux system that appears to Wine processes as a physical disk)

Thanks,
David





I.e., you want to mount an ISO, point to it in winecfg as a real
drive, and have the ISO file be the 'physical' device?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Access to partition or entrie disk

Post by vitamin »

xerces8 wrote:Or at least access to "disk-file" ?
(that is : a file in the linux system that appears to Wine processes as a physical disk)
No Wine can not do things like that. You have to mount such a "disk-files" with your system and them point Wine to it.
xerces8
Newbie
Newbie
Posts: 4
Joined: Tue Aug 12, 2008 10:37 am

Re: Access to partition or entrie disk

Post by xerces8 »

austin987 wrote: I.e., you want to mount an ISO, point to it in winecfg as a real
drive, and have the ISO file be the 'physical' device?
More or less (but for a hard drive, not CD/DVD).

For others, I would use a dedicated disk for this, no data on it to be lost or corrupted.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Access to partition or entire disk

Post by austin987 »

On Tue, Aug 12, 2008 at 11:55 AM, xerces8 <[email protected]> wrote:
austin987 wrote:
I.e., you want to mount an ISO, point to it in winecfg as a real
drive, and have the ISO file be the 'physical' device?
More or less (but for a hard drive, not CD/DVD).

For others, I would use a dedicated disk for this, no data on it to be lost or corrupted.





Wine does not emulate a hard drive. You could use dd to make a disk
image, format it ext3 with mkfs.ext3, mount the image, then use wine
to access it. It's a lot of trouble though, not sure why you'd want
to...
xerces8
Newbie
Newbie
Posts: 4
Joined: Tue Aug 12, 2008 10:37 am

Post by xerces8 »

Because some windows programs work like that (access the disk) and therefore fail in Wine.

But if Wine does not offer this then I accept that ;)
Locked