Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /usr vs. initramfs redux
Date: Wed, 10 Aug 2011 20:03:51
Message-Id: robbat2-20110810T195953-134697920Z@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] /usr vs. initramfs redux by William Hubbs
1 On Wed, Aug 10, 2011 at 11:49:38AM -0500, William Hubbs wrote:
2 > On Fri, Aug 05, 2011 at 12:46:04AM +0000, Robin H. Johnson wrote:
3 > > The minimal initramfs would do the following.
4 > >
5 > > 1. Mount devtmpfs/sysfs/procfs as needed to access devices.
6 > > 2. Mount real_root to /newroot
7 > > 3. Read /newroot/etc/initramfs.mount and /newroot/etc/fstab
8 > > 4.1. If /newroot/etc/initramfs.mount does not exist
9 > > Assume it contains only: /usr /var
10 > > 5. Mount the combined items from said files
11 >
12 > Should these be mounted rread-only or just mounted? Also, will
13 > fsck still work if they are mounted?
14 read-only. Yes, this does mean that the fsck code needs some improving,
15 and potentially if it makes changes on a ro-mounted disk, the disk needs
16 to be umounted & remounted, or a reboot needs to happen. Basically what
17 we do for / now needs to extend to the other mountpoints as well.
18
19 > I am concerned about /var being included in this because of the
20 > potential of filling up the root partition.
21 Err, I don't follow. How does mounting /var fill up the root partition?
22
23 > Upstream is only talking about /usr as stated earlier in this thread,
24 > so how are we getting /var involved?
25 See my other notes on stuff in udev rules that require /var before they
26 can complete successfully.
27
28 --
29 Robin Hugh Johnson
30 Gentoo Linux: Developer, Trustee & Infrastructure Lead
31 E-Mail : robbat2@g.o
32 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] /usr vs. initramfs redux Dale <rdalek1967@×××××.com>
Re: [gentoo-dev] /usr vs. initramfs redux William Hubbs <williamh@g.o>