zfs, installworld and chflags

Benoit Calvez Benoit.Calvez at gmail.com
Sat Nov 22 02:49:04 PST 2008


just to point out a little problem if having your /usr onto a zfs pool :

faith# zfs create save/test
faith# zfs set mountpoint=/mnt/test save/test
faith# cd /usr/src/
faith# make installworld DESTDIR=/mnt/test


will produce a


--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
install -o root -g wheel -m 444  dir-tmpl /mnt/test/usr/share/info/dir
===> lib (install)
===> lib/csu/amd64 (install)
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o
/mnt/test/usr/lib
===> lib/libc (install)
install -C -o root -g wheel -m 444   libc.a /mnt/test/usr/lib
install -C -o root -g wheel -m 444   libc_p.a /mnt/test/usr/lib
install -s -o root -g wheel -m 444   -fschg -S  libc.so.7 /mnt/test/lib
install: /mnt/test/lib/libc.so.7: chflags: Invalid argument



thanks for all the work you've done, zfs is a great feature for freebsd and
it simplify hard drive / partition management.


-- 
Benoit Calvez.


More information about the freebsd-current mailing list