From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ru6tk-0004dN-GW for garchives@archives.gentoo.org; Sun, 05 Feb 2012 18:33:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C59F1E087A; Sun, 5 Feb 2012 18:32:58 +0000 (UTC) Received: from mx1.hadt.biz (boss.hadt.biz [78.47.36.129]) by pigeon.gentoo.org (Postfix) with ESMTP id 5F156E086A for ; Sun, 5 Feb 2012 18:31:57 +0000 (UTC) Received: from [192.168.255.100] (p5B3437B9.dip.t-dialin.net [91.52.55.185]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.hadt.biz (Postfix) with ESMTPSA id 41E3314C0382 for ; Sun, 5 Feb 2012 19:31:56 +0100 (CET) Message-ID: <4F2ECB1B.5090604@hadt.biz> Date: Sun, 05 Feb 2012 19:31:55 +0100 From: Michael Hampicke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120107 Thunderbird/9.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/mtab References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0f288461-40d9-45d3-8e52-225763596346 X-Archives-Hash: 859ba7ae0496cca6ad212d6f62571113 Am 05.02.2012 19:23, schrieb Grant: > I was just going over the Baselayout and OpenRC Migration Guide: > > http://www.gentoo.org/doc/en/openrc-migration.xml > > and I'm not sure how to make sure my /etc/mtab is set up according to > the instructions: > > "Previously, the initial rootfs entry was removed from /etc/mtab, and > only the real root / entry was present. The duplicate rootfs item was > actually added back during shutdown. In OpenRC, both entries must be > present for full support of initramfs and tmpfs-on-root. This also > means that less writing is required during shutdown." > > My systems have different /etc/mtab files but here is one: > > rootfs / rootfs rw 0 0 > /dev/root / ext3 rw,noatime,errors=continue,barrier=1,data=ordered 0 0 > proc /proc proc rw,relatime 0 0 > rc-svcdir /lib/rc/init.d tmpfs > rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0 > sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 > udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0 > devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 > shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0 > usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 > > Should I change anything? > > - Grant > /etc/mtab just contains whats in /proc/mounts - mtab will be set up automatically, you don't have to do anything.