bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linux 2.6 PATCH] support for Hurd ext2 format extensions


From: Roland McGrath
Subject: Re: [Linux 2.6 PATCH] support for Hurd ext2 format extensions
Date: Mon, 22 Mar 2004 22:39:40 -0500 (EST)

> In the meantime, I installed Debian GNU/Hurd with a patched Linux/star a
> couple of times and have not experienced any problems.

Glad to hear it.

> dagobert~$ getfattr -d -e hex -m "gnu.*" packages
> dagobert~$ cp packages /gnu/tmp/
> dagobert~$ getfattr -d -e hex -m "gnu.*" /gnu/tmp/packages
> getfattr: Removing leading '/' from absolute path names
> # file: gnu/tmp/packages
> gnu.author=0x00000000

This here is not what we want.  But I think it makes sense from my code.
Try replacing the ialloc.c diff with this one:

Index: ialloc.c
===================================================================
RCS file: /home/roland/redhat/bkcvs/linux-2.5/fs/ext2/ialloc.c,v
retrieving revision 1.40
diff -u -b -p -r1.40 ialloc.c
--- ialloc.c  7 Mar 2004 08:50:11 -0000 1.40
+++ ialloc.c  23 Mar 2004 03:37:39 -0000
@@ -590,6 +590,10 @@ got:
        ei->i_frag_size = 0;
        ei->i_file_acl = 0;
        ei->i_dir_acl = 0;
+#ifdef CONFIG_EXT2_FS_XATTR_HURD
+       ei->i_hurd_translator = 0;
+       ei->i_hurd_author = inode->i_uid;
+#endif
        ei->i_dtime = 0;
        ei->i_block_group = group;
        ei->i_next_alloc_block = 0;

> Somewhat related seems to be that I get a lot of warnings/errors from
> star when I try to extract my gnu-latest.tar.gz. Star seemingly wants to
> set gnu.author for a lot of files (I think those that got modified while
> running GNU/Hurd, before I generated the tarball), but fails. I can't
> remember the exact error here, but I could reproduce it if needed.

I can't comment on this without more detailed information.


Thanks,
Roland





reply via email to

[Prev in Thread] Current Thread [Next in Thread]