Hitchhiker's Guide to Openbsd


- Is there an easy way to make all the file hierarchy changes?


Download 1.27 Mb.
Pdf ko'rish
bet84/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   80   81   82   83   84   85   86   87   ...   258
Bog'liq
obsd-faq49

5.11.11 - Is there an easy way to make all the file hierarchy changes?
From time to time, files or directories are added to, or removed from the file 
hierarchy
. Also, ownership 
information for portions of the filesystem may change. An easy way to ensure that your file hierarchy is 
up-to-date is to use the 
mtree(8)
 utility. 
First, fetch the latest source, then do the following: 
# cd /usr/src/etc/mtree
# install -c -o root -g wheel -m 600 special /etc/mtree
# install -c -o root -g wheel -m 444 4.4BSD.dist /etc/mtree
# mtree -qdef /etc/mtree/4.4BSD.dist -p / -u
Your file hierarchy should now be up to date. 
5.11.12 - Can I cross-compile? Why not?
Cross-compiling tools are in the system, for use by developers bringing up a new platform. However, 
they are not maintained for general use. 
When the developers bring up support for a new platform, one of the first big tests is a native-build. 
Building the system from source puts considerable load on the OS and machine, and does a very good 
job of testing how well the system really works. For this reason, OpenBSD does all the build process on 
the platform the build is being used for, also known as "native building". Without native building, it is 
much more difficult to be sure that the various platforms are actually running reliably, and not just 
booting. 
[FAQ Index]
 
[To Section 4 - Installation Guide]
 
[To Section 6 - Networking]
 
 
www@openbsd.org
$OpenBSD: faq5.html,v 1.187 2011/07/30 01:44:53 nick Exp $
http://www.openbsd.org/faq/faq5.html (26 of 26)9/4/2011 10:02:02 AM


6 - Networking
 
[FAQ Index]
 
[To Section 5 - Building the System from Source]
[To Section 7 - Keyboard and Display 
Controls]

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   80   81   82   83   84   85   86   87   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling