"Igor Karasynskyi":
> When I trying to find file vcsa2 the result only was /dev/vcsa*, so I
> think it was device file, and as I say because image is based on 2.4
> kernel stuff, the dev files is located on "image" branch (last index):
> br:/cur=rw:/base=ro:/image=ro. So maybe problem in dev files if they
> located on branches (because when I mount branch with 2.6 stuff, init
> initialize udev on /dev and dev files then not located on branch
> anymore).
Hmm,,,
Won't you try this patch?
> Today when I trying to create swap file on my aufs system I receive
> error (mkswap return error), is it correct? If i create swap file on
> mounted filesystem all ok.
You are fast. :-)
What you did is,,,
# mkswap /aufs/regular/file NNNN
- failed
# mkswap /branch/regular/file NNNN
- succeeded
right?
Please send me the output of strace mkswap /aufs/regular/file.
But I am not sure it will be supported.
Junjiro Okajima
----------------------------------------------------------------------
Index: fs/aufs/branch.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/branch.c,v
retrieving revision 1.51
diff -u -p -r1.51 branch.c
--- fs/aufs/branch.c 4 Jun 2007 02:15:32 -0000 1.51
+++ fs/aufs/branch.c 15 Jun 2007 09:16:41 -0000
@@ -781,6 +791,10 @@ int br_mod(struct super_block *sb, struc
//file_list_lock();
list_for_each_entry(file, &sb->s_files, f_u.fu_list) {
LKTRTrace("%.*s\n", DLNPair(file->f_dentry));
+ if (unlikely(file->f_dentry->d_inode->i_mode
+ & (S_IFCHR | S_IFBLK | S_IFIFO |
S_IFSOCK)))
+ continue;
+
fi_read_lock(file);
if (!S_ISREG(file->f_dentry->d_inode->i_mode)
|| !(file->f_mode & FMODE_WRITE)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/