Страница 1 из 1

Как грохнуть?

Добавлено: 2009-04-29 10:05:23
LMik
после сборки мира в DESTDIR хочется этот дестдир грохнуть, но часть файлов удалить система не дает, типа /bin/rcp или там /var/empty

как быть?

Re: Как грохнуть?

Добавлено: 2009-04-29 10:06:29
zg
LMik писал(а):как быть?
в рукописи вроде было написано

Re: Как грохнуть?

Добавлено: 2009-04-29 11:05:41
LMik
24.7.6 Remove /usr/obj

As parts of the system are rebuilt they are placed in directories which (by default) go under /usr/obj. The directories shadow those under /usr/src.

You can speed up the make buildworld process, and possibly save yourself some dependency headaches by removing this directory as well.

Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed first.
# cd /usr/obj
# chflags -R noschg *
# rm -rf *
Это чтоль

Re: Как грохнуть?

Добавлено: 2009-04-29 11:06:24
LMik
Ага, помогло....