How to tell if a vnode resides in a usb mass storage device?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0OEKndcHrlQvpbRFaELpfTzCGYEFqQG7KHv45Ox6VIs=; b=HCnup+aceH0v2wprbwafU1h9+PNtVvxHQKwDY7pzwTVHE0X/SOkMxX7aemF8Ond3JN 2RoWVMC1zy31yd1Sp8RmQa9SuZM2to72AoUMYfsa4OdNTuvv6y+Qzq9N1WVue4ZX/AL4 OA4YNhAMEzvCSLtTejsRAdhyE3N0RNICjuBheQxc3iA2kuntMkKkYUMdPivTKBbdCH0m lgGdNKX6U3anjd57bxpyxYXZuCDD7KDneWP896di99n8nQ55nLalOs5OBfMW+zbW3JW7 Q+6EDoiZ3cWVfbiPzqhgIJoSJtnkFilayJR9EFeTXVCW4sLxsrm+E4SS6Y9gAUoBPXjQ sAfQ== 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Haohao Lee