[haiku-bugs] Re: [Haiku] #12961: Autodetection of network shares

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Sep 2016 21:29:31 -0000

#12961: Autodetection of network shares
---------------------------+----------------------------
   Reporter:  kallisti5    |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  Unscheduled
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  0            |   Platform:  All
---------------------------+----------------------------

Old description:

Currently, if you mount an NFS device, it goes into the BVolumeRoster
with a "IsShared" == true setting.  This results in the share showing up
in the tracker menu with the other devices.

It would be an interesting feature to automatically detect shared volumes
on the network and auto load them into BVolumeRoster (unmounted)

https://en.wikipedia.org/wiki/Zero-configuration_networking#Apple_Bonjour
https://en.wikipedia.org/wiki/Zero-configuration_networking#Avahi

The not well known mount_nfs command results in not many users realizing
we support NFS shares.

New description:

 Currently, if you mount an NFS device, it goes into the BVolumeRoster with
 a "IsShared" == true setting.  This results in the share showing up in the
 tracker menu with the other devices.

 It would be an interesting feature to automatically detect shared volumes
 on the network and auto load them into BVolumeRoster (unmounted)

 https://en.wikipedia.org/wiki/Zero-configuration_networking#Apple_Bonjour
 https://en.wikipedia.org/wiki/Zero-configuration_networking#Avahi

 The not well known mount_nfs command results in not many users realizing
 we support NFS shares.

--

Comment (by kallisti5):

 Bonjour supports _nfs._tcp.  Complete list here:
 https://developer.apple.com/library/content/qa/qa1312/_index.html

 I wrote a tiny SSDP library, but as you said upnp doesn't (normally) do
 nfs.
 {{{
 libmicrossdp :( $ ./a.out
 Discovered 13 devices:
         'urn:schemas-upnp-org:device:Printer:1' -
 'http://192.168.1.144:5200/Printer.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
         '239.255.255.250:1900' - 'http://192.168.1.136:80/description.xml'
 }}}

 Unfortunately everyone has their own "standard" and consensus of something
 so fundamental was never reached. Anything we do in terms of automatic
 location of local network resources will likely need to be an aggregation
 of multiple inputs.

 * nfs   - Bonjour / mDNS
 * iscsi - iSCSI Discovery

--
Ticket URL: <https://dev.haiku-os.org/ticket/12961#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: