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 1SPEfx-00020H-E2 for garchives@archives.gentoo.org; Tue, 01 May 2012 15:07:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3B6DE07A7; Tue, 1 May 2012 15:07:27 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A59AE07BE for ; Tue, 1 May 2012 15:06:45 +0000 (UTC) Received: by yhjj72 with SMTP id j72so296903yhj.40 for ; Tue, 01 May 2012 08:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=LTZWG3VJvn4fqelZGYAJLLNuFgYvMrpUI25GWGWM4OI=; b=EzpHLe9ozhlgiGi2ahnKAcAcy6JNBE86j36VrE0EJ1jMSZ+DeniMY8S/9ljWuEMj/i 9IXQ8udl705GLbrz0eO6M1Lz2uE68Pgor7nONN5KtU/faqLXfmltALg4LMtKVe4eiHEy OsW03Npk/sfsOnDrhGg3Yi/hW6n9pGQyWQq1F3GdoNDtpqZ5edEFjd2/PdP3G1s/SuIf swA9E+JgYGsU72K7uHs78AF3HyIZJegwiAjmSejJ69QTlQv3Fzri1Ug1q7uYzG3dTNbq s0oMpFIuUZVtv16SBax7IByn3Q+zLDb+kZDNOIB9BuPfNEeKU8m3WNrrVg6N+Z0dNQ6p ZTvA== Received: by 10.60.0.226 with SMTP id 2mr33474800oeh.18.1335884804880; Tue, 01 May 2012 08:06:44 -0700 (PDT) Received: from linux1 (cpe-76-187-77-158.tx.res.rr.com. [76.187.77.158]) by mx.google.com with ESMTPS id a8sm16586273oea.8.2012.05.01.08.06.42 (version=SSLv3 cipher=OTHER); Tue, 01 May 2012 08:06:43 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Tue, 01 May 2012 10:06:42 -0500 Date: Tue, 1 May 2012 10:06:42 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: vapier@gentoo.org Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle Message-ID: <20120501150642.GA17362@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org References: <201204292200.26618.vapier@gentoo.org> <201204300048.55862.vapier@gentoo.org> <20120430052858.GA11735@linux1> <201204301159.02950.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <201204301159.02950.vapier@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 35c96c38-2a48-4220-b750-a5c521304d43 X-Archives-Hash: a8a52bc79e22931ebab28bffb932be67 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2012 at 11:59:02AM -0400, Mike Frysinger wrote: > the fact that the script leaves your system in a hard to recover state is= what=20 > i'm whining about, not that udev requires devtmpfs. So why did you decide to whine instead of opening a bug? :p > /dev/pts isn't created, thus devpts doesn't get mounted, thus you cannot = log=20 > in to your system to fix it. would also be trivial to run the all of thr= ee=20 > commands so people could recover: > mount -t tmpfs dev /dev > busybox mdev -s > mkdir /dev/pts Yes, I could do this. > we already have examples of the init scripts modifying /etc/issue to noti= fy=20 > login entry points that their system needs manual attention to recover. This part can't happen in the udev init script since / is ro when it is run. Doing something in udev-postmount is also eroneous because that assumes that the user is booting to the default runlevel which they may not be. The best thing I can think of to do is to just log a message about it in udev-mount and fail which will cause udev to fail. William --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk+f/AIACgkQblQW9DDEZTiCrACfSp8ONkOsptafCA9TbyoyxWqZ 1AsAoIa/dpoTrw9fHKCFMlrO57up+MXO =4/sh -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--