How do I hide Drive C

Questions about Wine on Linux
Post Reply
jixiang
Newbie
Newbie
Posts: 2
Joined: Sat May 25, 2024 1:06 am

How do I hide Drive C

Post by jixiang »

Hi~,

When I need to save, I don't want the C disk to appear under linux, how do I set it up in wine? thank you
Attachments
hide c.png
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1247
Joined: Tue Nov 22, 2016 5:39 pm

Re: How do I hide Drive C

Post by DarkShadow44 »

Why would you want to hide the C drive? Windows programs need that.
jixiang
Newbie
Newbie
Posts: 2
Joined: Sat May 25, 2024 1:06 am

Re: How do I hide Drive C

Post by jixiang »

Thanks for reply!
I just want to hide C drive,not to delete drive.There are some scenarios in which it is very weird to display C drive under linux, so I want to hide it, is there any good way?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1247
Joined: Tue Nov 22, 2016 5:39 pm

Re: How do I hide Drive C

Post by DarkShadow44 »

Well, it's not displayed under Linux, it's only used inside Wine.
BobLovesWine
Level 1
Level 1
Posts: 8
Joined: Mon Feb 06, 2023 8:17 pm

Re: How do I hide Drive C

Post by BobLovesWine »

you understand it's not your C: drive, it's merely the root of your current WINEPREFIX, right? I'm not sure if un-mapping it would break anything, but all drives are just symlinks, under your $WINEPREFIX/dosdevices... I'm guessing it symlinks c:->../drive_c/ so break that link... if things don't work afterwards, whoops! put it back. (you can also configure this if you prefer a GUI to console with winecfg)
Post Reply