[gentoo-user] No ISDN CAPI with new udev

2012-04-08 Thread Alex Schuster
Hi there!

I can no longer connect to my ISDN peers. I think the reason is a recent
change in the new udev.

I have two rules in /etc/udev/rules.d/50-capi.conf:

KERNEL==capi, NAME=capi20, SYMLINK+=isdn/capi20faxCAPI,
GROUP=uucp, MODE=0666

KERNEL==capi*,  NAME=capi/%n

The first renames /dev/capi to /dev/capi20 and creates a symlink I do
not need. The second creates a device in the capi sub-directory.

But I get this in my syslog:
Apr 08 15:34:34 [udevd] NAME=capi20 ignored, kernel device nodes can
not be renamed; please fix it in /etc/udev/rules.d/50-capi.rules:1_
Apr 08 15:34:34 [udevd] NAME=capi/%n ignored, kernel device nodes can
not be renamed; please fix it in /etc/udev/rules.d/50-capi.rules:3_

Indeed, the udev(7) man page has this:

snip
The following keys can get values assigned:


NAME

  The name to use for a network interface. The name of a device node
  can not be changed by udev, only additional symlinks can be
  created.
snap

An older version, like currently on http://linux.die.net/man/7/udev ,
still has this:

snip
NAME
The name of the node to be created, or the name the network
interface should be renamed to.
snap

So it seems that a /dev/capi gets created which cannot be renamed any
more, and so I cannot have a /dev/capi/* device.

Any ideas what to do about this? Google does not find anything when I
search for the kernel device nodes can not be renamed syslog message.

Wonko



[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





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 low level things just by adding this
 feature to the kenrel (?) ?

Yes, it's simple.

You need to ensure that your kernel configuration has the extended
attribute support (ACL is a good idea too) and you have booted with the
ext4 driver so configured.

You then add the xattr option in /etc/fstab for the filesystem(s) where
you want extended attribute support.  If you do that before you reboot
(as above) then you will have full extended attribute support.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature


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 extended file attributes without reformatting
  the disk or other very risky low level things just by adding this
  feature to the kenrel (?) ?
 
 Yes, it's simple.
 
 You need to ensure that your kernel configuration has the extended
 attribute support (ACL is a good idea too) and you have booted with the
 ext4 driver so configured.
 
 You then add the xattr option in /etc/fstab for the filesystem(s) where
 you want extended attribute support.  If you do that before you reboot
 (as above) then you will have full extended attribute support.

I thought that you are meant to pass such options on the CLI at the time you 
are formatting the partition ... is this incorrect?

Of course if you must format the drive with such options then the data won't 
survive.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


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

2012-04-08 Thread meino . cramer
Mick michaelkintz...@gmail.com [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 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 (?) ?
  
  Yes, it's simple.
  
  You need to ensure that your kernel configuration has the extended
  attribute support (ACL is a good idea too) and you have booted with the
  ext4 driver so configured.
  
  You then add the xattr option in /etc/fstab for the filesystem(s) where
  you want extended attribute support.  If you do that before you reboot
  (as above) then you will have full extended attribute support.
 
 I thought that you are meant to pass such options on the CLI at the time you 
 are formatting the partition ... is this incorrect?
 
 Of course if you must format the drive with such options then the data won't 
 survive.
 -- 
 Regards,
 Mick


Hi,

thank you very much for all the input.

To clearify things a little:

Status quo: System with ext4 and no extended attributes.
Where I want to be: The same system with extended attributes.

Way to go: No reformatting and mkfs and all that things. Only kernel
reconfiguring / recompiling / rebooting and emerging some tools.

Possible?

Best regards,
mcc




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

2012-04-08 Thread Nikos Chantziaras

On 08/04/12 19:34, Mick wrote:

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 extended file attributes without reformatting
the disk or other very risky low level things just by adding this
feature to the kenrel (?) ?


Yes, it's simple.

You need to ensure that your kernel configuration has the extended
attribute support (ACL is a good idea too) and you have booted with the
ext4 driver so configured.

You then add the xattr option in /etc/fstab for the filesystem(s) where
you want extended attribute support.  If you do that before you reboot
(as above) then you will have full extended attribute support.


I thought that you are meant to pass such options on the CLI at the time you
are formatting the partition ... is this incorrect?


Yes, it's incorrect.




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

2012-04-08 Thread Nikos Chantziaras

On 08/04/12 19:44, meino.cra...@gmx.de wrote:

Mickmichaelkintz...@gmail.com  [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 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 (?) ?


Yes, it's simple.

You need to ensure that your kernel configuration has the extended
attribute support (ACL is a good idea too) and you have booted with the
ext4 driver so configured.

You then add the xattr option in /etc/fstab for the filesystem(s) where
you want extended attribute support.  If you do that before you reboot
(as above) then you will have full extended attribute support.


I thought that you are meant to pass such options on the CLI at the time you
are formatting the partition ... is this incorrect?

Of course if you must format the drive with such options then the data won't
survive.


Status quo: System with ext4 and no extended attributes.
Where I want to be: The same system with extended attributes.

Way to go: No reformatting and mkfs and all that things. Only kernel
reconfiguring / recompiling / rebooting and emerging some tools.

Possible?


Yes.  David already explained how.  Extended attributes can be enabled 
and disabled at any time.


For even more information, Google it.




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

2012-04-08 Thread Mick
On Sunday 08 Apr 2012 18:34:46 Nikos Chantziaras wrote:
 On 08/04/12 19:34, Mick wrote:
  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 extended file attributes without reformatting
  the disk or other very risky low level things just by adding this
  feature to the kenrel (?) ?
  
  Yes, it's simple.
  
  You need to ensure that your kernel configuration has the extended
  attribute support (ACL is a good idea too) and you have booted with the
  ext4 driver so configured.
  
  You then add the xattr option in /etc/fstab for the filesystem(s) where
  you want extended attribute support.  If you do that before you reboot
  (as above) then you will have full extended attribute support.
  
  I thought that you are meant to pass such options on the CLI at the time
  you are formatting the partition ... is this incorrect?
 
 Yes, it's incorrect.

Thanks for letting me know.  :-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


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,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [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 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 (?) ?
 
  Yes, it's simple.
 
  You need to ensure that your kernel configuration has the extended
  attribute support (ACL is a good idea too) and you have booted with the
  ext4 driver so configured.
 
  You then add the xattr option in /etc/fstab for the filesystem(s) where
  you want extended attribute support.  If you do that before you reboot
  (as above) then you will have full extended attribute support.

 I thought that you are meant to pass such options on the CLI at the time you
 are formatting the partition ... is this incorrect?

 Of course if you must format the drive with such options then the data won't
 survive.
 --
 Regards,
 Mick


 Hi,

 thank you very much for all the input.

 To clearify things a little:

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

As others had said, this is possible. I used this guide:

http://www.debian-administration.org/articles/643

You need basically to enable the ext4-only features:

tune2fs -O extents,uninit_bg,dir_index partition

Do the fsck:

fsck.ext4 -yfD partition

And (optionally) convert all the files and directories to use extends:

find directory -xdev -type f -print0 | xargs -0 chattr +e
find directory -xdev -type d -print0 | xargs -0 chattr +e

I did this on my laptop and desktop (including the root filesystem,
booting into emergency mode with systemd), and everything worked
perfectly.

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.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



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

2012-04-08 Thread meino . cramer
Canek Peláez Valdés can...@gmail.com [12-04-08 20:28]:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
  Mick michaelkintz...@gmail.com [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 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 (?) ?
  
   Yes, it's simple.
  
   You need to ensure that your kernel configuration has the extended
   attribute support (ACL is a good idea too) and you have booted with the
   ext4 driver so configured.
  
   You then add the xattr option in /etc/fstab for the filesystem(s) where
   you want extended attribute support.  If you do that before you reboot
   (as above) then you will have full extended attribute support.
 
  I thought that you are meant to pass such options on the CLI at the time 
  you
  are formatting the partition ... is this incorrect?
 
  Of course if you must format the drive with such options then the data 
  won't
  survive.
  --
  Regards,
  Mick
 
 
  Hi,
 
  thank you very much for all the input.
 
  To clearify things a little:
 
  Status quo: System with ext4 and no extended attributes.
  Where I want to be: The same system with extended attributes.
 
  Way to go: No reformatting and mkfs and all that things. Only kernel
  reconfiguring / recompiling / rebooting and emerging some tools.
 
  Possible?
 
 As others had said, this is possible. I used this guide:
 
 http://www.debian-administration.org/articles/643
 
 You need basically to enable the ext4-only features:
 
 tune2fs -O extents,uninit_bg,dir_index partition
 
 Do the fsck:
 
 fsck.ext4 -yfD partition
 
 And (optionally) convert all the files and directories to use extends:
 
 find directory -xdev -type f -print0 | xargs -0 chattr +e
 find directory -xdev -type d -print0 | xargs -0 chattr +e
 
 I did this on my laptop and desktop (including the root filesystem,
 booting into emergency mode with systemd), and everything worked
 perfectly.
 
 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.
 
 Regards.
 -- 
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México
 

Ok, thanks for the introduction and the link, Canek! :)

Best regards,
mcc





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 can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [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 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 (?) ?
 
  Yes, it's simple.
 
  You need to ensure that your kernel configuration has the extended
  attribute support (ACL is a good idea too) and you have booted with the
  ext4 driver so configured.
 
  You then add the xattr option in /etc/fstab for the filesystem(s) where
  you want extended attribute support.  If you do that before you reboot
  (as above) then you will have full extended attribute support.

 I thought that you are meant to pass such options on the CLI at the time you
 are formatting the partition ... is this incorrect?

 Of course if you must format the drive with such options then the data won't
 survive.
 --
 Regards,
 Mick


 Hi,

 thank you very much for all the input.

 To clearify things a little:

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
being able to handle ext3 filesystems.


-- 
:wq



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

2012-04-08 Thread Canek Peláez Valdés
On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [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 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 (?) ?
 
  Yes, it's simple.
 
  You need to ensure that your kernel configuration has the extended
  attribute support (ACL is a good idea too) and you have booted with the
  ext4 driver so configured.
 
  You then add the xattr option in /etc/fstab for the filesystem(s) where
  you want extended attribute support.  If you do that before you reboot
  (as above) then you will have full extended attribute support.

 I thought that you are meant to pass such options on the CLI at the time 
 you
 are formatting the partition ... is this incorrect?

 Of course if you must format the drive with such options then the data 
 won't
 survive.
 --
 Regards,
 Mick


 Hi,

 thank you very much for all the input.

 To clearify things a little:

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

 Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
 being able to handle ext3 filesystems.

Didn't we already had this discussion? You can mount an ext3 partition
as ext4, and it will be treated as ext4, but it will keep bein fully
backwards compatible with ext3 (i.e., you can still mount it as ext3).
This, however, negates the purpose of using ext4, as you are not using
extents: From /usr/src/linux/Documentation/ext4.txt:

  - Create a new filesystem using the ext4 filesystem type:

# mke2fs -t ext4 /dev/hda1

Or to configure an existing ext3 filesystem to support extents:

# tune2fs -O extents /dev/hda1


The moment you enable extents on a ext4 partition, you need to fsck
the filesystem, and stops being backwards compatible (i.e., it will no
longer mount as ext3, and in particular GRUB will not be able to read
the kernel inside it).

If the partition has extents support, doesn't necessarily means that
their files use extents: Therefore, if you want to fully convert your
partition to ext4 (i.e., make all the files and directories to use
extents), you need to chattr +e every file and directory in the
filesystem, hence the commands:

 find directory -xdev -type f -print0 | xargs -0 chattr +e
 find directory -xdev -type d -print0 | xargs -0 chattr +e

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



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 can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-04-08 18:40]:

[snip]

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

 Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
 being able to handle ext3 filesystems.

 Didn't we already had this discussion? You can mount an ext3 partition
 as ext4, and it will be treated as ext4, but it will keep bein fully
 backwards compatible with ext3 (i.e., you can still mount it as ext3).
 This, however, negates the purpose of using ext4, as you are not using
 extents:

Sure, ext4 is a better filesystem than ext3. I'm not disputing that.
I'm disputing that. I'm disputing two things:

1) That you need to convert a filesystem to ext4 in order to use
extended attributes.
2) That you need to convert the filesystem at all; Meino's 'status
quo' filesystem is already ext4, per the portion of his email I
quoted.

-- 
:wq



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

2012-04-08 Thread Michael Mol
On Sun, Apr 8, 2012 at 2:59 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés can...@gmail.com 
 wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-04-08 18:40]:

 [snip]

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

 Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
 being able to handle ext3 filesystems.

 Didn't we already had this discussion? You can mount an ext3 partition
 as ext4, and it will be treated as ext4, but it will keep bein fully
 backwards compatible with ext3 (i.e., you can still mount it as ext3).
 This, however, negates the purpose of using ext4, as you are not using
 extents:

 Sure, ext4 is a better filesystem than ext3. I'm not disputing that.
 I'm disputing that. I'm disputing two things:

(bleh. Editing error. Omit phrase 'I'm disputing that')

-- 
:wq



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 mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés can...@gmail.com 
 wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-04-08 18:40]:

 [snip]

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

 Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
 being able to handle ext3 filesystems.

 Didn't we already had this discussion? You can mount an ext3 partition
 as ext4, and it will be treated as ext4, but it will keep bein fully
 backwards compatible with ext3 (i.e., you can still mount it as ext3).
 This, however, negates the purpose of using ext4, as you are not using
 extents:

 Sure, ext4 is a better filesystem than ext3. I'm not disputing that.
 I'm disputing that. I'm disputing two things:

 1) That you need to convert a filesystem to ext4 in order to use
 extended attributes.
 2) That you need to convert the filesystem at all; Meino's 'status
 quo' filesystem is already ext4, per the portion of his email I
 quoted.

From Mick's mail:

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

I assume with that he meant the extents option. Therefore, all the
things I already said.

Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



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 can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 1:59 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:51 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 1:41 PM, Michael Mol mike...@gmail.com wrote:
 On Sun, Apr 8, 2012 at 2:21 PM, Canek Peláez Valdés can...@gmail.com 
 wrote:
 On Sun, Apr 8, 2012 at 11:44 AM,  meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-04-08 18:40]:

 [snip]

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 Way to go: No reformatting and mkfs and all that things. Only kernel
 reconfiguring / recompiling / rebooting and emerging some tools.

 Possible?

 As others had said, this is possible. I used this guide:

 http://www.debian-administration.org/articles/643

 You need basically to enable the ext4-only features:

 tune2fs -O extents,uninit_bg,dir_index partition

 Um, why? Ext3 had extended attribute support, and ISTR the ext4 code
 being able to handle ext3 filesystems.

 Didn't we already had this discussion? You can mount an ext3 partition
 as ext4, and it will be treated as ext4, but it will keep bein fully
 backwards compatible with ext3 (i.e., you can still mount it as ext3).
 This, however, negates the purpose of using ext4, as you are not using
 extents:

 Sure, ext4 is a better filesystem than ext3. I'm not disputing that.
 I'm disputing that. I'm disputing two things:

 1) That you need to convert a filesystem to ext4 in order to use
 extended attributes.
 2) That you need to convert the filesystem at all; Meino's 'status
 quo' filesystem is already ext4, per the portion of his email I
 quoted.

 From Mick's mail:

 Status quo: System with ext4 and no extended attributes.
 Where I want to be: The same system with extended attributes.

 I assume with that he meant the extents option. Therefore, all the
 things I already said.

Ah. 'extents' and 'extended attributes' are completely different
things. I did a bit of googling to confirm my recollection.

FWIW, I came across this very excellent page in discussion of Ext4
compared to other and previous filesystems:
http://kernelnewbies.org/Ext4

-- 
:wq



[gentoo-user] Building the nvidia and ati proprietary drivers against the latest kernel.git

2012-04-08 Thread walt

For many years I've been testing kernels from Linus's git repository
and I find that about twice a year the kernel devs do something evil
that breaks proprietary video drivers. (I suspect they do it on purpose
but I can't prove it ;)

I have no idea how many of you like to test bleeding edge kernels but
I thought I'd ask.  I have some seriously ugly hacks for building the
nvidia (and very recently) the ati proprietary drivers against git
kernels, but I won't spend time explaining them here if no one is
interested.