lkml.org 
[lkml]   [1996]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: getting Linux into business..
Date
In linux.dev.kernel, article <9608210930.ZM14969@aib.com>,
"Eric Youngdale" <eric@aib.com> 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 */
sleep(++try);
} 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?
>
Yes.

--
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: urlichs@noris.de
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="http://info.noris.de/~smurf/finger">here</A>. 42

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.448 / U:0.080 seconds]
©2003-2011 Jasper Spaans