question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drive-filtering suggestion

See original GitHub issue

After https://github.com/resin-io-modules/drivelist/issues/98 has been implemented (i.e. we can get info about all the mountpoints which are used by each physical drive), we could filter out the drive on which the image we’re going to be flashing is stored on.

Currently, this scenario is possible (which would be prevented if this issue is implemented) :

  1. User has a USB Flash drive (e.g. /dev/sdb) and a USB SD-reader (e.g. /dev/sdc) connected to their computer
  2. User is running out of space on their computer’s HDD, so they download e.g. 2016-09-23-raspbian-jessie-lite.zip to their USB Flash drive
  3. User launches Etcher, and selects the 2016-09-23-raspbian-jessie-lite.zip file they’ve stored on their USB Flash drive
  4. User accidentally selects /dev/sdb as the drive they want to flash to
  5. User clicks Flash!
  6. ??? (I didn’t actually try this myself to see what happens)

If this issue was fixed, /dev/sdb would automatically be filtered out (until the user selects an image not stored on their USB Flash drive), and Etcher would auto-select /dev/sdc.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
WasabiFancommented, Nov 9, 2016

Side-note: It would be great if labels like this “locked” one explained why the device is locked. I could easily imagine a user looking at this and thinking that Etcher locked it as opposed to the device being locked by the OS/hardware. Is there a tooltip already there that serves this purpose?

0reactions
jviotticommented, Jan 31, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter Suggestions designs, themes, templates and ... - Dribbble
Filter Suggestions. Inspirational designs, illustrations, and graphic elements from the world's best designers. Want more inspiration?
Read more >
IBM Spectrum Virtualize Family Release Note v8.2.1.16
APAR Affected Products Severity Resolved in HU02327 All HIPER 8.2.1.15 HU02400 All HIPER 8.2.1.15 HU02342 All Critical 8.2.1.15
Read more >
All drives filtered out in Media Creation - Avid Community
Nothing is checked off in the Drive filtering box. All the drives have Read and Write ... I tried NYnutz suggestion also, but...
Read more >
BASIC VFD DIAGRAM
Revision Date: Friday, March 8, 2019. Page 1 of 7. File Name: Variable Speed Drive Filtering Options Ver 1 ... This is my...
Read more >
INA321 INA2321 - Texas Instruments
It is suggested that a variable capacitor be used for the feedback capacitor since input ... optional right leg drive. Filtering can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found