Discussion:
diskless/rm causing deadlock?
(too old to reply)
Danny Braniss
2007-04-04 08:55:10 UTC
Permalink
I stumbled on this in -current, but it's also true for 6.2.
/(root) is mounted diskless, doing rm of a file in /, even as a lowly mortal
will hang the network, and hence everything.
on a 6.1 system, it works as expected.

badwolf> rm /usr/ports
rm: /usr/ports: Read-only file system

i'll try to hunt this down, but some pointers where to start might be
helpfull

danny
Kris Kennaway
2007-04-04 16:04:36 UTC
Permalink
Danny Braniss
2007-04-19 09:21:09 UTC
Permalink
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Post by Danny Braniss
I stumbled on this in -current, but it's also true for 6.2.
/(root) is mounted diskless, doing rm of a file in /, even as a lowly mor=
tal
Post by Danny Braniss
will hang the network, and hence everything.
on a 6.1 system, it works as expected.
=20
badwolf> rm /usr/ports
rm: /usr/ports: Read-only file system
=20
i'll try to hunt this down, but some pointers where to start might be
helpfull
I have seen something similar myself, but have not yet tracked it down.
it's because / is mounted NFS/V2 - so the 'bug' must be in the V2 stack.

danny

Loading...