I have an SSD I use as a cache drive for a few different applications. Rather than manually clean it all the time, I think it'd be nice to have the drive be formatted at boot time, since the applications in questions automatically recreate the directories they need at startup.
I'm aware I can make a powershell or batch script that simply calls format X: /q
at bootup. This is my plan, assuming no one here has better suggestions, which brings me to my main question: I'm wondering if there's a more elegant way. Namely,
- Can I format the drive/partition by GUID, rather than by drive letter? This way, I can ensure that it'll never format the wrong drive if drive letter settings get mangled somehow.
- Is there a filesystem whose drivers auto-wipe on startup, perhaps specifically for caching applications? This isn't required, it's more of a curiosity or a "right tool for the job" sort of thing.