Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to manually exclude some drives from Select Drive #3147

Closed
kennu opened this issue May 11, 2020 · 2 comments
Closed

Option to manually exclude some drives from Select Drive #3147

kennu opened this issue May 11, 2020 · 2 comments

Comments

@kennu
Copy link

kennu commented May 11, 2020

  • Etcher version: 1.5.86
  • Operating system and architecture: Windows 64-bit

I use Etcher a lot (thanks for making it!) to burn custom images on Windows. My problem is that my external SSD drive and my external Storages Spaces RAID devices appear in the target selection and I would like to hide them. I only want to burn images on SD cards and I don't like having to always select the right SD device among the SSD and RAID drives. I'm afraid sometime I'll make a mistake.

My feature request is to somehow manually exclude those unwanted drives from the Etcher target menu. This could happen by editing a configuration file, or by creating a ".etcherignore" hidden file on the drives, or whatever makes best sense.

Here's a screenshot of the target menu I get every time I burn something. You might notice that the "large drive" warning is also unhelpful since I'm using a 64GB SDXC card.

image

@lurch
Copy link
Contributor

lurch commented May 11, 2020

I've no idea if it's still included in Etcher, or how you'd set it, but I remember the Etcher developers talking about a "blacklist" feature at one point? https://github.com/balena-io/etcher/search?q=BLACKLIST&type=Commits 🤷‍♂️ 🤷

See #2638 and #1728 and #2071 for similar discussions...

And see also #2116

@kennu
Copy link
Author

kennu commented May 12, 2020

Thanks @lurch I figured it out. I added this to my %APPDATA%\balena-etcher\config.json:

{
  ...
  "driveBlacklist": [
    "\\\\.\\PhysicalDrive2",
    "\\\\.\\PhysicalDrive5"
  ]
}

I guess this issue can be closed since the feature already exists.

Btw, if anybody is wondering, you can list your drives with wmic diskdrive list brief. But the name is case-sensitive in Etcher and must be in CamelCase like in my example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants