rpodgorny / unionfs-fuse

union filesystem using fuse
Other
300 stars 76 forks source link

Spurious "Got ioctl: ..." messages #74

Closed lvml closed 7 years ago

lvml commented 7 years ago

unionfs-fuse/src/fuse_ops.c contains the line

fprintf(stderr, "Got ioctl: %d\n", cmd);

which emits a message whenever some application tries to perform some ioctl() on a file opened via unionfs-fuse.

This is disturbing, for example when running a script stored on a unionfs, because bash will by default try a "TCGETS" on every opened script file - resulting in numerous "Got ioctl: ..." messages emitted to the terminal.

Can you remove this line (or enable it only for debugging)?

rpodgorny commented 7 years ago

please try current master and reopen if you find any bug or it's not doing what you wanted...

lvml commented 7 years ago

(Works for me with latest git master.)