Jump to content

GFILE check volume mounted or list mounted volumes


Recommended Posts

Posted

Is there a function to check if a GFILE volume is mounted or list the current mounted volumes? I know I can just use a flag or something myself to do this but was wondering if there was any native functionality that already handled this.

Posted

Not currently.

GFILE is currently just a translation layer to the underlying file system. Some of those file systems have no concept of a volume (in fact FATFS, PETITFS and NATIVE are the only ones that do).

I presume here you are talking about a FATFS volume? If so the proper approach currently is to use the FATFS call directly to determine that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...