On 26.04.22 12:37, Bastien Nocera wrote: > > I don't think anyone wants to implement path based syscalls, and again, > it's equivalent to remote closing the fd, not to disabling the access > to the device: > "If the file is a special file for a device which is open, the device > close function is called as if all open references to the file had been > closed." OK, so do we still have a need to discuss this specifically to usbfs? I suppose if you put this into VFS, you will need a hook to map the syscall to drivers that need to handling ioctl() having effects beyond their syscall abstractly speaking. Regards Oliver