Added "NetFS" OptionalPackage.
You will want to edit /boot/home/config/settings/kernel/netfs-server before you run netfs_server for the first time (or use netfs_server_prefs on the command line, see below). To run the server: $ /system/servers/netfs_server & To run the client: $ /system/servers/authentication_server & $ mkdir /dummy $ mount -t userlandfs -p "netfs """ /dummy A "Network" icon will appear on your desktop. Remote servers will appear inside the "Network" folder (host name). Inside a folder for a server are the shares of that server. (I.e. what has been defined as share in that respective server's netfs-server driver settings file). netfs_server has actually a new settings file format, you can create settings by using "netfs_server_prefs --help" on the command line. Have fun! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35172 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
396abf076f
commit
776796d3af
@ -16,3 +16,4 @@ OptionalPackageDependencies Python : Bzip ;
|
||||
OptionalPackageDependencies Mercurial : Python ;
|
||||
OptionalPackageDependencies Git : Expat Curl OpenSSL ;
|
||||
OptionalPackageDependencies Curl : OpenSSL ;
|
||||
OptionalPackageDependencies NetFS : UserlandFS ;
|
||||
|
@ -41,6 +41,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) && $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) {
|
||||
# Mercurial - the distributed version control system
|
||||
# Nano - the command line text editor
|
||||
# Neon - support libraries used for example by SVN
|
||||
# NetFS - the native networked file system components
|
||||
# NetSurf - the web browser
|
||||
# OCaml - the Objective Caml language
|
||||
# OpenSound - additional audio driver package
|
||||
@ -651,6 +652,35 @@ if [ IsOptionalHaikuImagePackageAdded Neon ] {
|
||||
}
|
||||
|
||||
|
||||
# NetFS network file system
|
||||
if [ IsOptionalHaikuImagePackageAdded NetFS ] {
|
||||
# userlandfs module
|
||||
AddFilesToHaikuImage home config add-ons userlandfs : netfs ;
|
||||
|
||||
# servers
|
||||
AddFilesToHaikuImage system servers : netfs_server ;
|
||||
AddFilesToHaikuImage system servers : authentication_server ;
|
||||
|
||||
# tools
|
||||
AddFilesToHaikuImage system bin : netfs_config ;
|
||||
AddFilesToHaikuImage system bin : netfs_server_prefs ;
|
||||
|
||||
#example settings for netfs_server
|
||||
local netfsServerSettingsFiles = <driver-settings>netfs-server ;
|
||||
SEARCH on $(netfsServerSettingsFiles)
|
||||
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems netfs ] ;
|
||||
AddFilesToHaikuImage home config settings kernel drivers
|
||||
: $(netfsServerSettingsFiles) ;
|
||||
|
||||
#userlandfs settings are needed for netfs_config to work (ioctls)
|
||||
local userlandfsServerSettingsFiles = <driver-settings>userlandfs ;
|
||||
SEARCH on $(userlandfsServerSettingsFiles)
|
||||
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems userlandfs ] ;
|
||||
AddFilesToHaikuImage home config settings kernel drivers
|
||||
: $(userlandfsServerSettingsFiles) ;
|
||||
}
|
||||
|
||||
|
||||
# NetSurf web browser
|
||||
if [ IsOptionalHaikuImagePackageAdded NetSurf ] {
|
||||
if $(TARGET_ARCH) != x86 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user