-
Senior Member
registered user
Originally Posted by
kl522
If you are talking about aufs kernel module for KNOPPIX, there is nothing to worry, Klaus K would have compiled the right version for it. If it had been the wrong version, it wouldn't compile with newer kernel and it won't run. It would be noticed !
By contrast the debian version might be old and faulty, because a typical debian user won't use aufs, so even if it is old and faulty, it would go unnoticed.
If you are talking about aufs-utils or aufs-tools, then I can't say anything about the debian version, because in a typical use, the aufs-utils are not used at all. It would not be surprising if the package faulty.
May I suggest that you seem very optimistic about the situation?
First, aufs is a general tool, and it is used "everywhere", not only in Knoppix. The message I linked to was in response to a Debian user. A "typical" Debian user may not need it, true. But many essential libraries are never required by "typical" users, still they are essential.
Second, IF Klaus K has compiled the right version for aufs, then he has done a (rare) departure from his (recent?) general Debian compliance. Which would probably mostly be regarded as a hack, since it is not in sync with utils and tools, which we frequently need when we will modify or check something.
Third, I tend to believe the creator and maintainer of aufs. And the aufs relation to the mainline kernel is - well - "undecided" at best, see for instance the main sourceforge page (http://aufs.sourceforge.net/ ) :
Note: it becomes clear that "Aufs was rejected. Let's give it up." According to Christoph Hellwig, linux rejects all union-type filesystems but UnionMount.
So, as I interpret this, the last thing we should expect, is any kind of automagical updating and integration of aufs.
-
Senior Member
registered user
Originally Posted by
dinosoep
[/code]when I tried compiling from source it gave me:
Code:
install -d /usr/share/man/man5
install -o root -g root -p -m 644 aufs.5 /usr/share/man/man5
install -d /sbin
install -o root -g root -p -m 755 mount.aufs umount.aufs auplink /sbin
install: cannot stat `umount.aufs': No such file or directory
make: *** [install_sbin] Error 1
The maintainer suggested updating the kernel module which I'm going to try this evening
I have more confidence on the installed aufs kernel module than your compilation.
Your compilation output seems to suggest that umount.aufs is not present. But 'umount.aufs' is to be provided by YOUR compilation, so it is still more like your compilation has error. Furthermore the output is coming from 'make install', you should have an error free 'make' prior to 'sudo make install'. Perhaps you have a wrong version of /usr/include/linux/aufs_type.h installed on knoppix.
-
Senior Member
registered user
Originally Posted by
Capricorny
May I suggest that you seem very optimistic about the situation?
Yes I am. Because I update my kernel very often, each time I have to match it against the correct version of aufs. I have compiled aufs kernel module too many times already.
First, aufs is a general tool, and it is used "everywhere", not only in Knoppix. The message I linked to was in response to a Debian user. A "typical" Debian user may not need it, true. But many essential libraries are never required by "typical" users, still they are essential.
I don't know what "essential" libraries you are talking about. A typical aufs user does not even use the aufs tools. Even knoppix does not use the aufs tools ! Only in rare occasions that you need to use the aufs utils or tools.
-
Yeah, Make was succesfull ...
Are you able to compile it succesfully?
-
Senior Member
registered user
Originally Posted by
dinosoep
Yeah, Make was succesfull ...
Are you able to compile it succesfully?
You may have to re-read your 'make' output more carefully. Here is my output :-
Code:
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" ver.c -o ver
./ver
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" c2tmac.c -o c2tmac
rm -f aufs.5
./c2tmac > aufs.5
awk '{ \
gsub(/\140[^\047]*\047/, "\\[oq]&\\[cq]"); \
gsub(/\\\[oq\]\140/, "\\[oq]"); \
gsub(/\047\\\[cq\]/, "\\[cq]"); \
gsub(/\047/, "\\[aq]"); \
print; \
}' aufs.in.5 >> aufs.5
chmod a-w aufs.5
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o proc_mnt.o proc_mnt.c
ar rv libautil.a proc_mnt.o
ar: creating libautil.a
a - proc_mnt.o
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o br.o br.c
ar rv libautil.a br.o
a - br.o
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o plink.o plink.c
ar rv libautil.a plink.o
a - plink.o
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o mtab.o mtab.c
ar rv libautil.a mtab.o
a - mtab.o
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o auibusy.o auibusy.c
cc -static -s auibusy.o -L. -lautil -o auibusy
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o auplink.o auplink.c
cc -static -s auplink.o -L. -lautil -o auplink
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o mount.aufs.o mount.aufs.c
cc -static -s mount.aufs.o -L. -lautil -o mount.aufs
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" -c -o umount.aufs.o umount.aufs.c
cc -static -s umount.aufs.o -L. -lautil -o umount.aufs
cc -I./libau -O -Wall -DMOUNT_CMD_PATH=\"\" c2sh.c -o c2sh
rm -f etc_default_aufs
echo '# aufs variables for shell scripts' > etc_default_aufs
./c2sh >> etc_default_aufs
echo >> etc_default_aufs
sed -e '0,/^$/d' aufs.shlib >> etc_default_aufs
make -C libau all
make[1]: Entering directory `/mnt/part3/tmp/linux-2.6.38.7/aufs2-util.git/libau'
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -DMOUNT_CMD_PATH=\"\" -c -o libau.o libau.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -DMOUNT_CMD_PATH=\"\" -c -o rdu_lib.o rdu_lib.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -DMOUNT_CMD_PATH=\"\" -c -o rdu.o rdu.c
ln -sf rdu.c rdu64.c
cc -I./libau -O -Wall -DRdu64 -fPIC -DNDEBUG -D_REENTRANT -I. -DMOUNT_CMD_PATH=\"\" -c -o rdu64.o rdu64.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -DMOUNT_CMD_PATH=\"\" -c -o pathconf.o pathconf.c
cc --shared -Wl,-soname,libau.so.2 \
-o libau.so.2.5 libau.o rdu_lib.o rdu.o rdu64.o pathconf.o -ldl -lpthread
ln -sf libau.so.2.5 libau.so.2
ln -sf libau.so.2 libau.so
make[1]: Leaving directory `/mnt/part3/tmp/linux-2.6.38.7/aufs2-util.git/libau'
ln -sf ./libau/libau*.so .
rm ver c2tmac c2sh
-
Senior Member
registered user
Originally Posted by
kl522
Yes I am. Because I update my kernel very often, each time I have to match it against the correct version of aufs. I have compiled aufs kernel module too many times already.
If you compile from latest sourceforge version from the developer, it is surely OK. My concern was about the "correct" version of aufs.
Originally Posted by
kl522
I don't know what "essential" libraries you are talking about. A typical aufs user does not even use the aufs tools. Even knoppix does not use the aufs tools ! Only in rare occasions that you need to use the aufs utils or tools.
"Essential" is of course a relative concept. As a new example, on Friday an error message appeared on R-help: http://www.mail-archive.com/r-help@r...msg137086.html
A possible explanation, mentioned by Brian Ripley, is Debian's versions of the lapack and blas libraries. When Debian is used on a scientific/engineering workstation, those libraries are surely essential, even though the vast majority of users don't use them. They could, however, crop up anywhere, embedded in image processing routines, games etc.
A more actual example is provided by this thread: Use of aufs-tools to make no-wear Knoppix versions for flash memory. With widespread use, those tools could migrate into the "essential" category, I think.
-
this is my make output:
Code:
cc -I./libau -O -Wall c2tmac.c -o c2tmac
rm -f aufs.5
./c2tmac > aufs.5
awk '{ \
gsub(/\140[^\047]*\047/, "\\[oq]&\\[cq]"); \
gsub(/\\\[oq\]\140/, "\\[oq]"); \
gsub(/\047\\\[cq\]/, "\\[cq]"); \
gsub(/\047/, "\\[aq]"); \
print; \
}' aufs.in.5 >> aufs.5
chmod a-w aufs.5
cc -I./libau -O -Wall -c -o proc_mnt.o proc_mnt.c
ar rv libautil.a proc_mnt.o
ar: creating libautil.a
a - proc_mnt.o
cc -I./libau -O -Wall -c -o br.o br.c
ar rv libautil.a br.o
a - br.o
cc -I./libau -O -Wall -c -o plink.o plink.c
ar rv libautil.a plink.o
a - plink.o
cc -I./libau -O -Wall -c -o mtab.o mtab.c
ar rv libautil.a mtab.o
a - mtab.o
cc -I./libau -O -Wall -c -o auplink.o auplink.c
cc -static -s auplink.o -L. -lautil -o auplink
cc -I./libau -O -Wall -c -o mount.aufs.o mount.aufs.c
cc -static -s mount.aufs.o -L. -lautil -o mount.aufs
cc -I./libau -O -Wall c2sh.c -o c2sh
rm -f etc_default_aufs
echo '# aufs variables for shell scripts' > etc_default_aufs
./c2sh >> etc_default_aufs
echo >> etc_default_aufs
sed -e '0,/^$/d' aufs.shlib >> etc_default_aufs
make -C libau all
make[1]: Entering directory `/home/knoppix/aufs2.1-tools/libau'
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -c -o libau.o libau.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -c -o rdu_lib.o rdu_lib.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -c -o rdu.o rdu.c
ln -sf rdu.c rdu64.c
cc -I./libau -O -Wall -DRdu64 -fPIC -DNDEBUG -D_REENTRANT -I. -c -o rdu64.o rdu64.c
cc -I./libau -O -Wall -fPIC -DNDEBUG -D_REENTRANT -I. -c -o pathconf.o pathconf.c
cc --shared -Wl,-soname,libau.so.2 \
-o libau.so.2.3 libau.o rdu_lib.o rdu.o rdu64.o pathconf.o -ldl -lpthread
ln -sf libau.so.2.3 libau.so.2
ln -sf libau.so.2 libau.so
make[1]: Leaving directory `/home/knoppix/aufs2.1-tools/libau'
ln -sf ./libau/libau*.so .
rm c2tmac c2sh
as you can see, no errors at all.
only mount.aufs gets made, umount.aufs doesn't...
-
hehe, whiteout files seem to simply be .wh..original_filename So rsync should do the job as capricony suggested, going to try it out now
-
Senior Member
registered user
Originally Posted by
dinosoep
as you can see, no errors at all.
only mount.aufs gets made, umount.aufs doesn't...
Then it is obvious your version of source code is faulty.
If you check careful, my source compilation also compiles another program called 'ver'. This is a program which verifies version matching. If there is a version mismatch, compilation of 'ver' will not pass.
Last edited by kl522; 06-05-2011 at 11:24 AM.
Reason: Additional notes
-
Senior Member
registered user
Originally Posted by
Capricorny
If you compile from latest sourceforge version from the developer, it is surely OK. My concern was about the "correct" version of aufs.
Whatever it is, the point I want to make is that, I am pretty confident that Klaus K have compiled aufs correctly to match his version of kernel. The last thing to suspect is the version of kernel aufs module is wrong. Knoppix will not run if the kernel aufs module is wrong.
The aufs toolset is a totally different story. Knoppix does not use it. Most debian users also do not use it. So I am not surprised that it might be faulty.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Lenovo Yoga 6 Laptop, 13.3" IPS 60Hz, Ryzen 7 7730U, 16GB, 1TB, Win 11 Home
$714.99
Lenovo ThinkPad T580 15.6" Laptop i7-8550U 1.8GHz 8GB RAM 256GB SSD Win 11 Pro
$175.00
Lenovo ThinkPad T580 15.6" Laptop i7-8550U 1.8GHz 8GB RAM 256GB SSD Win 11 Pro
$175.00
Lenovo Ideapad 1i 15.6" FHD Touch Laptop - Intel Core i3-1215U with 8GB Memor...
$279.99
Lenovo ThinkPad T480 | i5-8250U | 8GB RAM | 256GB SSD | Win 11 Pro | 70%+ BATT
$91.50
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1369.99
Lenovo Yoga 2-in-1 Touch Laptop PC 11.6" Windows 10 4GB RAM 250GB SSD HDMI WiFi
$89.99
Lenovo - Yoga 7i 2-in-1 14" 2K Touchscreen Laptop - Intel Core Ultra 5 125U w...
$899.99
Lenovo Thinkpad T14 i7-10510U 1.8GHZ/8GB/256GB SSD W11 Pro
$219.00
Lenovo ThinkPad T480s Laptop Computer 14" Core i5 8GB RAM 128GB SSD Windows 11
$199.99