Hello Henk, belcampo: > squashed /usr to /.usr.sfs > mounted it to /var/squashed/ro > and aufsed it to /usr > > The problem I have is that aufs is performed before the squashed mount, > no matter where I place it in /etc/fstab, and therefore an empty /usr. > > Workaround, boot in single-user mode, umount /usr and mount /usr again. > > I've been trying for several days till I finally found out the above. > > A solution could be to mount aufs in rc.local after a sleep 1 or so but > not the most elegant way I believe.
Unfortunately I cannot get your situation fully, additionally I don't understand what "sleep 1" means. But I guess the simplest solution is over-mounting /usr. While you are mounting something /usr, you can over-mount another fs on /usr without unmouning the old /usr. For instance, # mount /dev/xxx /usr # mount -t aufs -o br:/rw:/ro none /usr If you feel it ugly or strange, let me know your situation in detail. Particularly what aufs is mounted before squashfs. Junjiro R. Okajima ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
