Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5847517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:43:46+00:00 2026-05-22T12:43:46+00:00

I am writing an embedded system multimedia application where support to play from USB

  • 0

I am writing an embedded system multimedia application where support to play from USB drive is there. Generally when a USB drive is inserted, the application parses the entire USB drive to list all songs and videos present in the drive. This list is stored in a database. In case the same drive is connected later, the application uses the list from the database.

Identification of the drive is done using the serial number from the USB device descriptor. But the problem is how do I detect that any new content is added or any existing content is deleted?
Currently I am targeting for supporting FAT32 formatted USB drives only.

Is there any way to detect the change in the content of the drive? Like last accessed time-stamp or last modified cluster?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:43:47+00:00Added an answer on May 22, 2026 at 12:43 pm

    If you’ve got access to the raw block device, you could cache the relevant parts of the FS information sector. Either the number of free clusters or the number of the most recently allocated cluster changing will tell you that something changed, although you’d have to track down what that was manually. The last modified entry in the directory table might be useful for this, but I don’t think it’s necessarily reliable – that depends on how stringent whatever wrote to the device was.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a project in C++ for an embedded system with no OS
I am writing a Cocoa application with Mono embedded. I want to run and
I'm writing an embedded control system in C that consists of multiple tasks that
I'm writing system-level code for an embedded system without memory protection (on an ARM
I'm writing several C programs for an embedded system where every bit of performance
I am writing a program, more specifically a bootloader, for an embedded system. I
I'm writing a program that has an NSView embedded in an NSScrollView which user
Writing my first Linq application, and I'm trying to find the best way to
When writing a switch statement, there appears to be two limitations on what you
I worked on an embedded system this summer written in straight C. It was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.