Hacker News new | ask | show | jobs
by pdntspa 996 days ago
I really wish I could configure this crap to cache somewhere other than my C: drive

Or better yet, how about asking me where I want to store my models?

2 comments

On linux there's the XDG_CACHE_HOME env variable for pip, but strangely enough there doesn't seem to be an windows equivalent.
I haven’t used windows in a while but I thought it supported some form of cross-volume symlink? Or at least mounting an image stored on another volume to an arbitrary path.
Links in windows are a thing, but not well known. I must have been using Windows for close to 20 years before I realized they were in there.

https://learn.microsoft.com/en-us/windows/win32/fileio/hard-...

https://learn.microsoft.com/en-us/windows-server/administrat...

So not-well-known that several tools that really should know better don't check for junctions with occasionally disastrous results in a fs walk. (Using junctions sounded really clever to me until this had me up all night figuring out why the backup system crashed.)
mklink /d on windows has saved me many times.