Coder Social home page Coder Social logo

Disk not recognized about fat-drive-sorter HOT 34 OPEN

lwouis avatar lwouis commented on May 27, 2024
Disk not recognized

from fat-drive-sorter.

Comments (34)

GusJeep avatar GusJeep commented on May 27, 2024 1

Ok, please don´t be sorry! I really appreciate all you have done to make it work! Thank you a lot! Don´t worry about this, Mac Os isn´t easy! Best regards!!!

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Hi,

Could you please share more details?

Is it recognized by macOS? Can you read/write contents?
What does FatDriveSorter show?

Thank you

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Could you share a screenshot of how FatDriveSorter main window shows?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

I'm sorry, I can't see the image

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

I'm sorry, I still can't see it. I think it's the way you send the messages through email. I suggest using github in the web browser

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024
image

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hi! I send you the screenshot.
Captura de pantalla 2023-08-31 a la(s) 19 27 01

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Thank you for sharing this screenshot.

Here's the code which lists mounted drives.

FatDriveSorter asks the OS for the drives, straight up. It's surprising that the OS is not listing the drive here, since you mentioned that you see it in Finder.

The only thing I can imagine is that somehow your drive is not removable or ejectable. FatDriveSorter will only sort removable and ejectable drives. Maybe it was a mistake to not show non-removable drives. I added that check because in my tests, all external drives had that. But I found this definition online which seems to imply that we shouldn't check those probably:

As they use the term, "removable" means that the media and the drive for the media are separate (like a floppy drive or CD-ROM). Anything that doesn't allow a single drive to hold different media at different times is a "fixed" drive.

I've created a local build which doesn't have that check. Could you please test this build and let me know if it lists your drive?

If it works for you, I'll release an official version with this fix.

Thank you

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hi! Sorry for the inconvenients! It doesn´t let me open it.
Captura de pantalla 2023-09-01 a la(s) 13 13 13

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Finally I could open FatDriveSorter but it still not detect de HDD. Sorry! And thanks a lot for your effort!

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

The Disk is a SSD 240 GB, formated MS-DOS Fat 32.

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

I'm surprised it didn't work. I wonder why it's not showing. Is the drive not ejectable somehow? Can you eject it?

Could you please open Disk Utility.app and screenshot the drive information? Usually there are multiple nested sections within a drive. Could you please share each?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hi!! I´m really sorry for bothering you for this inconvenient and I appreciate so much your effort!
Yes, I can eject the disk normally. I also tried with another SSD and another case and it doesn´t detect them.
This are the
Captura de pantalla 2023-09-01 a la(s) 18 43 55
screenshots:
Captura de pantalla 2023-09-01 a la(s) 18 45 12

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Thank you for sharing these screenshots.

The Drive looks healthy. It's intriguing why the app is not listing it.

Could you please try this build?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Yes! Now it detects the disk, but I can not see the directory order, when I click on see current file order, the drive tab changes to Mac Disk.

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Can it be something with mbr?

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Sorry to ask again: could you please try and this build and share a screenshot of the list of Drives shown in the app?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Please don´t you sorry! No, didn´t work. Maybe is the way my SSD is formated. With a pendrive the original version works well.

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Hi @GusJeep,

Since I can't reproduce the issue on my side, I need your help to investigate. Could you please run this build from Terminal.app?

In order to do this, here are steps to guide you:

  • Download the build I linked above. Unzip it. Move FatDriveSorter.app to the /Applications folder
  • Open Terminal.app. You can find it in /Applications/Utilities
  • On the window, paste this command: /Applications/FatDriveSorter.app/Contents/MacOS/FatDriveSorter
  • Press enter
  • It should now launch FatDriveSorter, and you should see logs in the Terminal window
  • Please share those logs here, so I may be able to deduct what's happening on your side

Thank you

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hii!! Again, sorry for all this extra work! Here I send you the sanpshot. The disk JeepBup is the Fat32 one. Thanks !!
Captura de pantalla 2023-09-04 a la(s) 17 31 54

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Thank you for sharing this screenshot. So it's confirmed: this disk is not showing because it's flagged by macOS as "not ejectable".

As I said above, when I wrote this app, I thought we should only list external drives, not internal drives. I don't see a use-case for wanting to alphabetize an internal drive. People want to alphabetize external drives which they use with mp3 players, and other devices.

There is technical way to filter only "external drive" with the macOS APIs. So I used "ejectable" as a proxy for "external".

I'm surprised to see you have an external drive here which is deemed "not ejectable" by macOS. I'm not sure how that makes sense. And I'm not sure how I could exclude internal drives without using the "is ejectable?" check.

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hi! I use this disk for playing mp3 music and video music in my car. I don´t have any problem ejecting the disk from my Mac. I don´t know how can I help you to fix it, or there is no fix? Thanks!

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Could you please try this build? You can launch it normally.

I removed the check on "is the drive ejectable". To mitigate risk for the users to format their internal drives, I added a check to only show "FAT" drives (e.g. FAT16, FAT32, exFAT).

Could you please tell me if it lists your drive, or not other drives?

Thank you

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Now I can see the disk, but it doesn´t show directories or the see current file order doesn´t show anything

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Do you mean that you clicked "See current file order", and it didn't show you anything? Could you please share a screenshot?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024
IMG_3869.mp4

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Oh right, I didn't think of this.

The way the app works is that when you do actions like listing files, or sorting the drive, it will first unmount the drive, then do the operation on the unmounted drive, then remount it so it's accessible to the user again.

It's a technical requirement to operate on the unmounted drive. We can't list or sort files on a mounted drive.

I guess your drive not being ejectable means it can't be unmounted?

I wish I had a drive like yours at home to play with and understand why it's not ejectable. I don't know what can be done with such a drive. I don't see why it can't be ejected or unmounted since it's an external USB drive.

I'm sorry, I'm running out of ideas here to get it to work on the drive 🙇

from fat-drive-sorter.

lwouis avatar lwouis commented on May 27, 2024

Could you please run the latest build I shared above, from the Terminal?

I think it will log interesting things when you press "See current file order". Could you please share those logs?

from fat-drive-sorter.

GusJeep avatar GusJeep commented on May 27, 2024

Hey!!!! Now it works!!!! Great job! Thank you so much!! You are a genius!!

from fat-drive-sorter.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.