Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Extended file attributes: ext4
Date: Mon, 09 Apr 2012 12:07:54
Message-Id: CADPrc83qJR8_nkLGJXcCE_F7ywzSHJ-GeZFS=0O7nwXzYjkMOw@mail.gmail.com
In Reply to: Re: [gentoo-user] Extended file attributes: ext4 by Stroller
1 On Mon, Apr 9, 2012 at 6:35 AM, Stroller <stroller@××××××××××××××××××.uk> wrote:
2 >
3 > On 9 April 2012, at 11:23, Canek Peláez Valdés wrote:
4 >> …
5 >>       The `c', 's',  and `u' attributes are not honored by the ext2
6 >> and ext3 filesystems as implemented in the current mainline Linux
7 >> kernels. …
8 >>
9 >> This means ext4 mandatory if you want to use it, and this (usually)
10 >> means GRUB2, which is still considered beta.
11 >
12 > # eix -Ic grub
13 > [I] sys-boot/grub (0.97-r10@03/07/12): GNU GRUB boot loader
14 > # df -Th
15 > Filesystem     Type      Size  Used Avail Use% Mounted on
16 > rootfs         rootfs    228G  5.8G  211G   3% /
17 > /dev/root      ext4      228G  5.8G  211G   3% /
18 > devtmpfs       devtmpfs  875M  212K  875M   1% /dev
19 > rc-svcdir      tmpfs     1.0M   60K  964K   6% /lib64/rc/init.d
20 > cgroup_root    tmpfs      10M     0   10M   0% /sys/fs/cgroup
21 > shm            tmpfs     876M     0  876M   0% /dev/shm
22 > #
23
24 Interesting. Do you have extents enabled in the filesystem? Mine does:
25
26 # tune2fs -l /dev/sda4 | grep features
27 Filesystem features: has_journal ext_attr resize_inode dir_index
28 filetype needs_recovery extent sparse_super large_file uninit_bg
29
30 I was under the impression that GRUB legacy could not read ext4
31 filesystems with extents enabled; that was the primary reason I
32 migrated to GRUB2. I believe there is a patch for GRUB legacy which
33 adds ext4+extents support, but I don't think Gentoo applies it.
34
35 If GRUB legacy supports ext4 from upstream, then it's a new feature
36 (or certainly, I hadn't heard about it until now).
37
38 Regards.
39 --
40 Canek Peláez Valdés
41 Posgrado en Ciencia e Ingeniería de la Computación
42 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] Extended file attributes: ext4 Stroller <stroller@××××××××××××××××××.uk>