[lkml]   [1996]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: getting Linux into business..
In, article <>,
"Eric Youngdale" <> writes:
> I am wondering whether umount should be made more robust so that
> it essentially forks prior to each unmount attempt. When all the children
> have died we know that everything is unmounted, and we can proceed. If
> one of the umounts hangs, then at least all of the remaining partitions
> are cleanly unmounted.

Something like that would probably be a good idea.

int try = 0;
do {
/* try to unmount, return success or ENOENT or whatever */
} while(1);
> If some NFS partition cannot be unmounted, can we still force the
> root partition back to R/O status so that it is also marked clean?

The best may slip, and the most cautious fall;
He's more than mortal that ne'er err'd at all.
-- Pomfret
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail:
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="">here</A>. 42

 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean