Print
Category: Development
Hits: 1079
This page shows you the system folders in Haiku. You can find the system folders with the yab script below.
Directory   Variable
---VAR---
/boot/system/var   B_SYSTEM_VAR_DIRECTORY
 
---COMMON---
/boot/system/non-packaged/lib   B_COMMON_LIB_DIRECTORY
/boot/system/non-packaged/develop   B_COMMON_DEVELOP_DIRECTORY
/boot/system/non-packaged/data/fonts   B_COMMON_FONTS_DIRECTORY
 
---SYSTEM---
/boot/system/lib   B_SYSTEM_LIB_DIRECTORY
/boot/system/develop   B_SYSTEM_DEVELOP_DIRECTORY
/boot/system/data   B_SYSTEM_DATA_DIRECTORY
/boot/system/settings   B_SYSTEM_SETTINGS_DIRECTORY
 
---SYSTEM-NONPACKAGED--
/boot/system/non-packaged/develop   B_SYSTEM_NONPACKAGED_DEVELOP_DIRECTORY
 
---USER---
/boot/home/config/cache   B_USER_CACHE_DIRECTORY
/boot/home/config/bin   B_USER_BIN_DIRECTORY
/boot/home/config/lib   B_USER_LIB_DIRECTORY
/boot/home/config/develop   B_USER_DEVELOP_DIRECTORY
/boot/home/config/data   B_USER_DATA_DIRECTORY
/boot/home/config/settings   B_USER_SETTINGS_DIRECTORY
/boot/home/config   B_USER_CONFIG_DIRECTORY
/boot/home/config/data/fonts   B_USER_FONTS_DIRECTORY
/boot/home/config/documentation   B_USER_DOCUMENTATION_DIRECTORY
 
---USER-NONPACKAGED--
/boot/home/config/non-packaged/documentation   B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY
/boot/home/config/non-packaged/develop   B_USER_NONPACKAGED_DEVELOP_DIRECTORY
/boot/home/config/non-packaged/data/fonts   B_USER_NONPACKAGED_FONTS_DIRECTORY
/boot/home/config/non-packaged/bin   B_USER_NONPACKAGED_BIN_DIRECTORY
#!yab 
doc Place a description of your doc program here.
doc
doc Author, date, license
B_VAR_DIR$=system$("finddir B_SYSTEM_VAR_DIRECTORY")
B_COMMON_LIB_DIRECTORY$=system$("finddir B_COMMON_LIB_DIRECTORY")
B_COMMON_DEVELOP_DIRECTORY$=system$("finddir B_COMMON_DEVELOP_DIRECTORY") ///headers")
B_COMMON_FONTS_DIRECTORY$=system$("finddir B_COMMON_FONTS_DIRECTORY ")
B_SYSTEM_LIB_DIR$=system$("finddir B_SYSTEM_LIB_DIRECTORY")
B_SYSTEM_DEVELOP_DIRECTORY$=system$("finddir B_SYSTEM_DEVELOP_DIRECTORY") ///headers")
B_SYSTEM_DATA_DIR$=system$("finddir B_SYSTEM_DATA_DIRECTORY")
B_SYSTEM_SETTINGS_DIR$=system$("finddir B_SYSTEM_SETTINGS_DIRECTORY")
B_SYSTEM_NONPACKAGED_DEVELOP_DIRECTORY$=system$("finddir B_SYSTEM_NONPACKAGED_DEVELOP_DIRECTORY")
B_USER_CHACHE_DIR$=system$("finddir B_USER_CACHE_DIRECTORY")
B_USER_BIN_DIRECTORY$=system$("finddir B_USER_BIN_DIRECTORY")
B_USER_LIB_DIRECTORY$=system$("finddir B_USER_LIB_DIRECTORY")
B_USER_DEVELOP_DIR$=system$("finddir B_USER_DEVELOP_DIRECTORY")
B_USER_DATA_DIR$=system$("finddir B_USER_DATA_DIRECTORY")
B_USER_SETTINGS_DIR$=system$("finddir B_USER_SETTINGS_DIRECTORY")
B_USER_CONFIG_DIRECTORY$=system$("finddir B_USER_CONFIG_DIRECTORY") ///develop/headers")
B_USER_FONTS_DIRECTORY$=system$("finddir B_USER_FONTS_DIRECTORY")
B_USER_DOCUMENTATION_DIRECTORY$=system$("finddir B_USER_DOCUMENTATION_DIRECTORY")
B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY$=system$("finddir B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY")
B_USER_NONPACKAGED_DEVELOP_DIRECTORY$=system$("finddir B_USER_NONPACKAGED_DEVELOP_DIRECTORY")
B_USER_NONPACKAGED_FONTS_DIRECTORY$=system$("finddir B_USER_NONPACKAGED_FONTS_DIRECTORY")
B_USER_NONPACKAGED_BIN_DIRECTORY$=system$("finddir B_USER_NONPACKAGED_BIN_DIRECTORY")

eintrag = open("Systemfolder.txt", "w")

print #eintrag "---VAR---"
print #eintrag B_VAR_DIR$
print #eintrag "---COMMON---"
print #eintrag B_COMMON_LIB_DIRECTORY$
print #eintrag B_COMMON_DEVELOP_DIRECTORY$
print #eintrag B_COMMON_FONTS_DIRECTORY$
print #eintrag "---SYSTEM---"
print #eintrag B_SYSTEM_LIB_DIR$
print #eintrag B_SYSTEM_DEVELOP_DIRECTORY$
print #eintrag B_SYSTEM_DATA_DIR$
print #eintrag B_SYSTEM_SETTINGS_DIR$
print #eintrag "---SYSTEM-NONPACKAGED--"
print #eintrag B_SYSTEM_NONPACKAGED_DEVELOP_DIRECTORY$
print #eintrag "---USER---"
print #eintrag B_USER_CHACHE_DIR$
print #eintrag B_USER_BIN_DIRECTORY$
print #eintrag B_USER_LIB_DIRECTORY$
print #eintrag B_USER_DEVELOP_DIR$
print #eintrag B_USER_DATA_DIR$
print #eintrag B_USER_SETTINGS_DIR$
print #eintrag B_USER_CONFIG_DIRECTORY$
print #eintrag B_USER_FONTS_DIRECTORY$
print #eintrag B_USER_DOCUMENTATION_DIRECTORY$
print #eintrag "---USER-NONPACKAGED--"
print #eintrag B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY$
print #eintrag B_USER_NONPACKAGED_DEVELOP_DIRECTORY$
print #eintrag B_USER_NONPACKAGED_FONTS_DIRECTORY$
print #eintrag B_USER_NONPACKAGED_BIN_DIRECTORY$
close(eintrag)

Tutorial by Lorenz Glaser (lorglas) 04/2017
Made available by BeSly, the Haiku, BeOS and Zeta knowledge base