git/list[1] front-page[2] threads[3] people[4] search[5] about
 

FUSE fs for git.

From
SBStef Bon <stefbon@gmail.com>
Date
Feb 21, 2021, 10:12 UTC
Message-ID
<CANXojcx0TOP9SSr1NgXCddQ3PWze-wBLZA5SRO3YhczqO68u0Q@mail.gmail.com>
Hi,

I'm working on a network fs mount service for Linux (I call it Open Secure Network Services, short OSNS) which mounts sftp access on hosts found in the network (using Avahi) and provides a browseable map to the user like:

sbon@ws-001 OSNS]$ ls -al /run/network/sbon/fs/Open\ Secure\ Network/bononline.nl/alarm/public total 3 drwxrwx--- 5 nobody users 4096 Feb 21 05:05 . drwxr-xr-x 5 root root 4096 Feb 21 05:04 .. -rw-r--r-- 1 sbon users 0 Aug 15 2018 1234 drwxr-xr-x 2 nobody users 4096 Jan 24 04:52 backup -rw-r--r-- 1 nobody users 21 Feb 21 2017 .bash_logout -rw-r--r-- 1 nobody users 57 Feb 21 2017 .bash_profile -rw-r--r-- 1 nobody users 141 Feb 21 2017 .bashrc drwxr-xr-x 2 nobody users 4096 May 27 2017 Projects -rw-r--r-- 1 nobody users 4 Jul 1 2017 test -rw-r--r-- 1 sbon users 24 Aug 6 2017 test1 -rw-r--r-- 1 sbon users 4 Aug 10 2017 test2 -rw------- 1 sbon users 0 Aug 15 2018 'Text File' -rw------- 1 sbon users 0 Aug 15 2018 'Text File (1)' -rw------- 1 sbon users 0 Aug 15 2018 'Text File (2)'

See: https://github.com/stefbon/OSNS
It supports SFTP (over SSH) versions 3 (used by Openssh) to 6 (latest draft).
Other things I want to add is:
- own sftp client (osns_sftp_subsystem)
- backup on server of user defined directories and files (osns_backup_subsystem)
- next to SFTP also support SMB using libsmb2 by R. Sahlberg for
integration in Windows Networks
- fsnotify support in SFTP and in userland using a specific user agent
like osns_client_user (maybe also in SMB) (support in SFTP means an
extension)
- textchat and/or videochat (osns_chat_subsystem)
- forward connection to server over SSH using a simple api to talk to
osns_client for databases, and something like nx (emulation of
desktop)
- an own server osns_server
- support for use in large environments and roaming users (-> CA, ldap etc)

Now I'm looking it's possible and usefull to add a git fuse fs. The thing I ask is:

- is there an api I can use (lowlevel and/or highlevel or whatever is
available)?
- is it usefull, in other words is there a serious benefit of a git
filesystem: does it add something?
Any other suggestion is appreciated,

Stef Bon the Netherlands

Next: Ori Bernstein
Message 1 of 5 in “FUSE fs for git.”
  1. Stef BonFeb 21, 2021
  2. Ori BernsteinFeb 25, 2021
  3. Stef BonMar 1, 2021
  4. Ævar Arnfjörð BjarmasonMar 1, 2021
  5. Eric WongFeb 25, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.