Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ro /
Date: Tue, 17 Jan 2017 02:43:16
Message-Id: 89fb8eae-168a-41eb-fbf6-26d8f97c024b@gmail.com
In Reply to: Re: [gentoo-user] ro / by Jorge Almeida
1 Jorge Almeida wrote:
2 > On Fri, Jan 13, 2017 at 3:50 PM, Michael Morak <michael.morak@×××××.com> wrote:
3 >> On 13 January 2017 at 23:04, Jorge Almeida <jjalmeida@×××××.com> wrote:
4 >> Almost, but not quite. The problem is that the POSIX standard requires that
5 >> any file *must* continue to exist until all file handles pointing to it are
6 >> closed. Thus, using your example, when file foo.so gets replaced, the new
7 >> foo.so is written to the disk somewhere, but, since foobard holds an open
8 >> file handle, the old file is not deleted from the disk yet. At that point,
9 >> the content of *both* files (and relevant inodes, etc.) exists on the
10 >> *disk*, and, in addition, there is a pending delete operation for the old
11 >> file (that is, a "write" operation to /). This prevents / from being mounted
12 >> ro, since the pending write must be executed first (hence the message "/ is
13 >> busy").
14 >>
15 > OK, I think I understand it.
16 >
17 >
18 >> operation and output a list for you. The needrestart script can also try to
19 >> automatically restart them for you.
20 > I wouldn't want that.
21 >
22 > Thanks
23 >
24 > Jorge
25 >
26 > .
27
28 To be more clear, it ASKS if you want to restart them. If you don't,
29 you can hit "n" to skip restarting it. For example, if you are in
30 Konsole running the command and it wants to restart the GUI, which would
31 kill your Konsole session and anything else not saved, then you can say
32 no and move on. Later on, you can logout and restart or whatever.
33
34 Main point tho, it only asks you if you want to. It doesn't blindly do
35 it.
36
37 Dale
38
39 :-) :-)

Replies

Subject Author
Re: [gentoo-user] ro / Neil Bothwick <neil@××××××××××.uk>