unfortunately, getcwd() on union is broken... :-( -p.
On Tue, Sep 14, 2004 at 01:47:46PM -0400, Aaron Suen wrote: > I'm having a problem compiling the kernel when the sources are mounted > on a union filesystem. It's enabled by default in GENERIC and I don't > see any of the customary "not for production use" warnings, so either > this is an uncommon bug or I've missed something obvious. Or both :-) > > I've checked out all the CVS source for OpenBSD 3.5-STABLE into dirs in > /home/src, so src is in /home/src, ports is in /home/src/ports, > etc. Reading the manpage for mount_union, it states that one can grab > a clean version of the OpenBSD sources, then just "mount -t union > -o -b..." to create a virtual copy somewhere else where another > user can make changes which don't get applied to the clean copies. I > want clean sources in /home/src, but I want a working copy in /usr/src > to do a make release. But when I go to compile a kernel on my union > mount, it fails.