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 1PXfgn-0000lI-UG for garchives@archives.gentoo.org; Tue, 28 Dec 2010 19:58:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23226E050C; Tue, 28 Dec 2010 19:57:13 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C4540E050C for ; Tue, 28 Dec 2010 19:57:12 +0000 (UTC) Received: by wwi18 with SMTP id 18so9579481wwi.10 for ; Tue, 28 Dec 2010 11:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=0aPxOI5Lgey/N4Mj3de6x/0HtXfRAv5n0uhAl9xujYY=; b=RHc01lJsl0TkiEjyPeyBL60xuv04p8pVp58U5+PQ+7gb8gYD2vvToJ9mT4r5T9E+a/ +wEt1JFIPginxYEqv8E48PHDLhqwNiAHDPkdI63CbwNUEYAnnHi0I+pQ0SHJSUDBnPh2 S4E/s6xyUzVtZYW7XTxP4LG8TTSi5MP9+5cks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=sgw0tU7V2ACmgLjAAcy5ypNhFzyue6UnG2aZiwovCs69TA9vF12RgJIs/sdTpCMvEh eUp8Hy/bqecfTh/bJYWsiD31WM5xfJSxzXFAFfeM7TzjYGPxwPqwbfX71Bw5u1dsOz0y OQMBZsFE7GmlQWS/CSF6GOCPLPlQSOIxw6rZg= Received: by 10.227.138.71 with SMTP id z7mr8361386wbt.51.1293566230452; Tue, 28 Dec 2010 11:57:10 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id 11sm9542472wbj.19.2010.12.28.11.57.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Dec 2010 11:57:09 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Options null for ext4 as root fs Date: Tue, 28 Dec 2010 19:56:50 +0000 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <201012281350.59862.michaelkintzios@gmail.com> In-Reply-To: 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 Content-Type: multipart/signed; boundary="nextPart1348325.AtgW2WPmUV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201012281957.11223.michaelkintzios@gmail.com> X-Archives-Salt: 12505999-e4ca-403d-b0a1-040bb6fcedda X-Archives-Hash: 1c32936bec0550bec7b74c8181b4c77c --nextPart1348325.AtgW2WPmUV Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 28 December 2010 17:23:22 Paul Hartman wrote: > On Tue, Dec 28, 2010 at 7:50 AM, Mick wrote: > > What is the meaning of Opts: (null) ? >=20 > My guess is that it is showing the default mount options as stored in > the partition's superblock (set by tune2fs -o xxxxx). You can view the > current default mount options by using "tune2fs -l /dev/sda1" (or > whatever your partition is). Options given on mount commandline (or in > fstab) should override the superblock mount options. >=20 > My dmesg shows (null) as yours does, and tune2fs shows me: > Default mount options: (none) OK, same as mine. > > All ext4 partitions were created with a number of options; e.g. > >=20 > > Filesystem features: has_journal ext_attr resize_inode dir_index > > filetype needs_recovery extent flex_bg sparse_super large_file uninit_bg > > dir_nlink extra_isize >=20 > Those are characteristics of your filesystem but I don't think they > are considered mount options in this context. Yes, that's right, but they affect some mount options if the latter are=20 explicitly set at fstab. > You can view the actual mount options currently in use by doing "cat > /proc/mounts" >=20 > In my fstab I have "defaults,noatime" for my rootfs and in > /proc/mounts it shows as: >=20 > /dev/root / ext4 rw,noatime,barrier=3D1,data=3Dordered 0 0 >=20 > which looks correct to me. Same here: /dev/root / ext4 rw,noatime,barrier=3D1,data=3Dordered 0 0 Is that all that is required for ext4? Do we need to define anything else = to=20 take advantage of the various ext4 options (see below)? http://www.mjmwired.net/kernel/Documentation/filesystems/ext4.txt#125 =2D-=20 Regards, Mick --nextPart1348325.AtgW2WPmUV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk0aQRcACgkQVTDTR3kpaLY27QCggoNYMln0CQ7qfZDD+p2bZ18J eswAnR7WaNIX0X+WATcdVv2wZbx3g2fa =oG5T -----END PGP SIGNATURE----- --nextPart1348325.AtgW2WPmUV--