kengineer Posted August 2, 2016 Report Posted August 2, 2016 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.
inmarket Posted August 2, 2016 Report Posted August 2, 2016 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now