How to tell if a vnode resides in a usb mass storage device?
How to tell if a vnode resides in a usb mass storage device?
- Subject: How to tell if a vnode resides in a usb mass storage device?
- From: Haohao Lee <email@hidden>
- Date: Tue, 25 Sep 2018 15:58:07 +0800
Hi folks,
We need find if a vnode (file) is from a usb drive. More generally, do we
have a way to get device info from a vnode.
It can be done easily in Linux via super_block stuff, but there is no such
thing in xnu.
Any suggestion is appreciated!
Hao
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden