Re: [gentoo-user] Extended file attributes: ext4

2012-04-12 Thread Canek Peláez Valdés
On Thu, Apr 12, 2012 at 5:24 PM, Frank Steinmetzger wrote: > On Sun, Apr 08, 2012 at 01:21:05PM -0500, Canek Peláez Valdés wrote: > >> Note, however, that you *need* GRUB2 if your kernel lives in an ext4 >> partition that it's not longer compatible with ext3. Don't do the >> change without migrati

Re: [gentoo-user] Extended file attributes: ext4

2012-04-12 Thread Frank Steinmetzger
On Fri, Apr 13, 2012 at 12:24:38AM +0200, Frank Steinmetzger wrote: > On Sun, Apr 08, 2012 at 01:21:05PM -0500, Canek Peláez Valdés wrote: > > > Note, however, that you *need* GRUB2 if your kernel lives in an ext4 > > partition that it's not longer compatible with ext3. Don't do the > > change wit

Re: [gentoo-user] Extended file attributes: ext4

2012-04-12 Thread Frank Steinmetzger
On Sun, Apr 08, 2012 at 01:21:05PM -0500, Canek Peláez Valdés wrote: > Note, however, that you *need* GRUB2 if your kernel lives in an ext4 > partition that it's not longer compatible with ext3. Don't do the > change without migrating to GRUB2 before. Hm... I wonder what I’m missing in my setup.

Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 6:00 AM, Stroller wrote: > > On 9 April 2012, at 13:04, Canek Peláez Valdés wrote: … This means ext4 mandatory if you want to use it, and this (usually) means GRUB2, which is still considered beta. >>> >> … >> Interesting. Do you have extents enabled in the f

Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Stroller
On 9 April 2012, at 13:04, Canek Peláez Valdés wrote: >>> … >>> This means ext4 mandatory if you want to use it, and this (usually) >>> means GRUB2, which is still considered beta. >> > … > Interesting. Do you have extents enabled in the filesystem? Mine does: > > # tune2fs -l /dev/sda4 | grep

Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Stroller
On 9 April 2012, at 15:09, Michael Mol wrote: > … > So, ext2's extended attribute set listed support for compression > (among other things), but it wasn't implemented. … > > Digging into the kenrel source for ext4 in linux-3.2.1.-gentoo-r2, > there are symbols defined for managing compression,

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Michael Mol
On Mon, Apr 9, 2012 at 6:06 AM, Stroller wrote: > > On 8 April 2012, at 19:21, Canek Peláez Valdés wrote: >> … >> And (optionally) convert all the files and directories to use extends: >> >> find -xdev -type f -print0 | xargs -0 chattr +e >> find -xdev -type d -print0 | xargs -0 chattr +e > > Ok

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Canek Peláez Valdés
On Mon, Apr 9, 2012 at 6:35 AM, Stroller wrote: > > On 9 April 2012, at 11:23, Canek Peláez Valdés wrote: >> … >>       The `c', 's',  and `u' attributes are not honored by the ext2 >> and ext3 filesystems as implemented in the current mainline Linux >> kernels. … >> >> This means ext4 mandatory i

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Neil Bothwick
On Mon, 9 Apr 2012 12:35:44 +0100, Stroller wrote: > Yeah, I got the notion from `man chattr` ("with the `c' attribute set … > A read from this file returns uncompressed data. A write to this file > compresses data before storing them on the disk.") that one might be > initiate the dd copying pro

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Stroller
On 9 April 2012, at 11:23, Canek Peláez Valdés wrote: > … > The `c', 's', and `u' attributes are not honored by the ext2 > and ext3 filesystems as implemented in the current mainline Linux > kernels. … > > This means ext4 mandatory if you want to use it, and this (usually) > means GRUB2,

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Canek Peláez Valdés
On Mon, Apr 9, 2012 at 5:06 AM, Stroller wrote: > > On 8 April 2012, at 19:21, Canek Peláez Valdés wrote: >> … >> And (optionally) convert all the files and directories to use extends: >> >> find -xdev -type f -print0 | xargs -0 chattr +e >> find -xdev -type d -print0 | xargs -0 chattr +e > > Ok

Re: [gentoo-user] Extended file attributes: ext4

2012-04-09 Thread Stroller
On 8 April 2012, at 19:21, Canek Peláez Valdés wrote: > … > And (optionally) convert all the files and directories to use extends: > > find -xdev -type f -print0 | xargs -0 chattr +e > find -xdev -type d -print0 | xargs -0 chattr +e Ok, so I was just casually reading the chattr manpage, follo

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Michael Mol
On Sun, Apr 8, 2012 at 3:04 PM, Canek Peláez Valdés wrote: > On Sun, Apr 8, 2012 at 1:59 PM, Michael Mol wrote: >> On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés wrote: >>> On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol wrote: On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés wr

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Canek Peláez Valdés
On Sun, Apr 8, 2012 at 1:59 PM, Michael Mol wrote: > On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés wrote: >> On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol wrote: >>> On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés >>> wrote: On Sun, Apr 8, 2012 at 11:44 AM,   wrote: > Mick [1

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Michael Mol
On Sun, Apr 8, 2012 at 2:59 PM, Michael Mol wrote: > On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés wrote: >> On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol wrote: >>> On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés >>> wrote: On Sun, Apr 8, 2012 at 11:44 AM,   wrote: > Mick [1

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Michael Mol
On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés wrote: > On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol wrote: >> On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés wrote: >>> On Sun, Apr 8, 2012 at 11:44 AM,   wrote: Mick [12-04-08 18:40]: [snip] Status quo: System with ext4 and

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Canek Peláez Valdés
On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about >>>> > >>>> > [gentoo-user] Extended file attributes: ext4: >>>> > > is it possible to go from an ext4-filesystem with no extended file >>>> > > attributes to one wi

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Michael Mol
On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés wrote: > On Sun, Apr 8, 2012 at 11:44 AM,   wrote: >> Mick [12-04-08 18:40]: >>> On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: >>> > On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about >>&

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread meino . cramer
Canek Peláez Valdés [12-04-08 20:28]: > On Sun, Apr 8, 2012 at 11:44 AM, wrote: > > Mick [12-04-08 18:40]: > >> On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: > >> > On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about > >> > >

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Canek Peláez Valdés
On Sun, Apr 8, 2012 at 11:44 AM, wrote: > Mick [12-04-08 18:40]: >> On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: >> > On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about >> > >> > [gentoo-user] Extended file attributes: ext4: >

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread meino . cramer
Mick [12-04-08 18:40]: > On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: > > On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about > > > > [gentoo-user] Extended file attributes: ext4: > > > is it possible to go from an ext4-filesystem with no ext

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread Mick
On Sunday 08 Apr 2012 16:56:23 David W Noon wrote: > On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about > > [gentoo-user] Extended file attributes: ext4: > > is it possible to go from an ext4-filesystem with no extended file > > attributes to one with ext

Re: [gentoo-user] Extended file attributes: ext4

2012-04-08 Thread David W Noon
On Sun, 8 Apr 2012 17:26:03 +0200, meino.cra...@gmx.de wrote about [gentoo-user] Extended file attributes: ext4: > is it possible to go from an ext4-filesystem with no extended file > attributes to one with extended file attributes without reformatting > the disk or other very risky

[gentoo-user] Extended file attributes: ext4

2012-04-08 Thread meino . cramer
Hi, is it possible to go from an ext4-filesystem with no extended file attributes to one with extended file attributes without reformatting the disk or other very risky low level things just by adding this feature to the kenrel (?) ? Thank you very much in advance for any help! Best regards, mcc