Richard W.M. Jones
77df7d6d53
daemon: Replace root_mounted global with intelligence.
...
We used to maintain a global flag 'root_mounted' which tells us if the
user has mounted something on root (ie. on the sysroot directory).
This flag caused a lot of trouble (eg. RHBZ#599503) because it's hard
to keep the flag updated correctly when the user can do arbitrary
mounts and also use mkmountpoint.
Remove this flag and replace it with a test to see if something is
mounted on *or under* the sysroot. (It has to be *or under* because
of mkmountpoint and friends).
This also replaces a rather convoluted "have we mounted root yet"
check in the mount* APIs with a simpler check to see if the mountpoint
exists and is an ordinary directory.
2011-01-27 18:08:45 +00:00
..
2010-05-13 17:08:02 +01:00
2010-06-04 10:19:33 +01:00
2010-04-13 22:09:21 +01:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-11-24 09:41:48 +00:00
2010-03-26 13:36:30 +00:00
2010-11-26 10:18:29 +00:00
2010-02-12 16:49:00 +00:00
2010-11-03 13:15:19 +00:00
2010-12-06 14:32:50 +00:00
2009-03-03 08:58:37 +00:00
2010-02-12 16:49:00 +00:00
2011-01-27 18:08:45 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-09-15 17:16:51 +01:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-02-12 16:49:00 +00:00
2009-11-25 16:28:26 +00:00
2010-11-03 13:15:19 +00:00
2009-09-14 10:13:03 +01:00
2011-01-14 13:40:17 +00:00
2010-05-27 09:48:22 +01:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-11-16 15:56:54 +00:00
2010-03-26 13:36:30 +00:00
2010-02-12 16:49:00 +00:00
2010-11-03 13:15:19 +00:00
2010-03-26 13:36:30 +00:00
2011-01-27 15:55:12 +00:00
2010-11-03 13:15:19 +00:00
2010-05-07 15:27:28 +01:00
2009-11-26 11:52:44 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-02-12 16:49:00 +00:00
2009-11-09 22:34:16 +01:00
2010-09-10 22:57:52 +01:00
2010-07-16 15:49:50 +01:00
2010-12-07 17:57:08 +00:00
2010-11-03 18:48:56 +00:00
2011-01-26 15:34:01 +00:00
2010-11-03 13:15:19 +00:00
2010-03-26 13:36:30 +00:00
2011-01-27 18:08:45 +00:00
2010-12-10 17:38:17 +00:00
2010-10-18 12:56:54 +01:00
2009-07-03 17:04:21 +02:00
2010-12-02 13:32:40 +00:00
2009-11-20 10:38:07 +00:00
2009-03-03 08:58:37 +00:00
2010-02-12 16:49:00 +00:00
2010-03-26 13:36:30 +00:00
2010-11-03 13:15:19 +00:00
2010-11-23 18:42:26 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-05-13 16:22:10 +01:00
2010-11-03 13:15:19 +00:00
2010-03-12 16:23:46 +00:00
2010-12-10 17:38:17 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-12-01 13:35:32 +00:00
2010-11-03 13:15:19 +00:00
2010-11-03 13:15:19 +00:00
2010-12-16 20:05:48 +00:00
2010-09-01 10:00:40 +01:00
2010-03-26 13:36:30 +00:00