Jump to content

OS detection by checking timestamps of hidden files/folders


mkmk

Recommended Posts

I've just started looking into the concept of determining the TARGET OS by checking the timestamps of hidden folders on the bb after it has been mounted, e.g. "System Volume Information", etc.... Potentially something involving an ls -halt of the udisk directory but would be good if there are some better ideas to build on this concept.

Has anyone had much experience with this?

Link to comment
Share on other sites

I also tried this, without much luck.  I was trying to touch a new file at either [/Volumes/.../mac.txt] or [/meadi/.../linux.txt] etc. in a loop, then check for that file on the bunny side. It sort of worked, but wasn't great. HID only TARGET OS would be great, but I haven't put much time into researching 2-way HID communication possibilities with standard drivers. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...