rtems filesystem question

Till Straumann strauman at SLAC.Stanford.EDU
Tue Oct 15 03:51:34 UTC 2002


At a first glance, it seems that 'umount()' is not really
safe. It seems that umount() does not inspect all the
userenv current_filesystem nodes to verify that no
thread has its cwd on the FS to be unmounted.

Also, there seems to be no protection against
one thread mounting stuff onto (or chdir()ing into)
a FS which another thread is just about to unmount.

Am I missing something?

-- Till




More information about the users mailing list