[4004] in testers
detach rmdir diagnostic
daemon@ATHENA.MIT.EDU (Robert A Basch)
Tue May 11 16:20:44 1999
Message-Id: <199905112017.UAA19076@boom.mit.edu>
To: testers@MIT.EDU
Date: Tue, 11 May 1999 16:17:39 -0400
From: Robert A Basch <rbasch@MIT.EDU>
When you detach a filesystem now, detach complains about being
unable to rmdir /mit, if other filesystems remain attached:
<fsname>: Could not remove mountpoint component /mit:
File exists.
detach -a gives this diagnostic for each filesystem attached (minus 1),
so you can see a lot of these at reboot or reactivate time.
Is this the expected behavior now? It might be a bit disconcerting,
particularly in the detach -a case. I assume it's non-trivial to
change things to just do the rmdir at the end, though.
Maybe we should suppress the diagnostic in the EEXIST case, or at
least use the rmdir command's trick, and explicitly say "Directory not
empty".
Bob