Comments (5)
Sure thing. This will be an ongoing WIP I intend to further explore over the course of the next week.
Changes will surely be pushed to dev
, so feel free to take a peek at that branch and/or let me know if you want write access.
from libusbhsfs.
Thanks for the quick patch, I'll try to move my app to this system soon and give you feedback.
At a glance, I think the UsbHsFsPopulateCb
could take an additional void*
parameter, passed by the user in usbHsFsSetPopulateCallback
. This way the user can conveniently access any kind of structure (eg. a drive manager object) from the callback.
from libusbhsfs.
Additionally this could be used to enable advanced communication with the user.
For instance, there could be a callback used prior to creating the fs context and mounting to devoptab, where the user could decide on a different mountpoint, if he wants to mount as read-only, maybe even have advanced settings based on the filesystem, ...
from libusbhsfs.
Just pushed the first changes related to this issue to dev
, check 0299eae. A single callback is used at this moment, others may follow down the road.
I tested it a bit with all my flash drives and it seems to work fine.
from libusbhsfs.
@averne Had some time to spare, so I went ahead and implemented support for a user data pointer in 2c401e8. I'll be waiting for your feedback, there's some other stuff I want to tackle in the meantime.
from libusbhsfs.
Related Issues (15)
- Doesn't work on Western Digital Elements SE Portable (WDBABV) HOT 14
- EXT volume mounting: check if a EXT volume holds a journal before attempting to recover/start it. HOT 4
- Id like support for TexFAT HOT 1
- Any possible performance regression? HOT 2
- NTFS-3G: inode deletion fails for compressed NTFS volumes. HOT 7
- Build fails on windows if these are not installed: HOT 3
- Unable to build with latest git files HOT 17
- GPL version build error HOT 9
- ConcatenationFile-like ABI implementation.
- Native FsFilesystem interface HOT 1
- BOT driver: unexpected CSW received during SCP INQUIRY command. HOT 28
- BOT driver: filter invalid/unsupported peripheral qualifier and peripheral device type values from Inquiry data. HOT 12
- Question HOT 12
- BOT driver: hang up while trying to start logical units that have already been stopped during a previous session. HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libusbhsfs.