From: Nikolaus R. <Nik...@ra...> - 2011-09-20 16:48:05
|
Sven Utcke <sve...@pu...> writes: > Hello Nikolaus, > >> Is there a way from within the file system to make the mountpoint >> inaccessible? I would like to have the same effect as if the file >> system process had crashed, only that it's still running. > > Just return whatever it is that accessing a mountpoint with a crashed > filesystem returns? But somehow I'm missing the point... In case of a fatal error in the file system, I'd like to signal this by making the mountpoint inaccessible and ending the file system process. However, during testing I discovered that a fatal error often leads to hanging (non-fuse started) background threads which prevent the process from terminating. So, since I'm no longer in the FUSE main loop, I can't return the error codes myself. So I'd like to somehow tell FUSE that nothing useful is going to come from this file system process anymore, even if it's still running. Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C |