LNFS(4)                                                   LNFS(4)

     NAME
          lnfs, relnfs, unlnfs - long name file system

     SYNOPSIS
          lnfs [ -fr ] [ -l maxlen ] [ -s srvname ] mountpoint
          relnfs [ -f ][ -l maxlen ]
          unlnfs mountpoint

     DESCRIPTION
          Lnfs starts a process that mounts itself (see bind(2)) on
          mountpoint. It presents a filtered view of the files under
          the mount point, allowing users to use long file names, or
          file names with spaces on file servers not supporting
          either.  The default maximum file length is 27 bytes.

          The names used in the underlying file system are the base32
          encoding of the md5 hash of the longer file name.  The user
          need not know the mapping since lnfs does all the work.
          Lnfs maintains a file .longnames in the directory mountpoint
          to record the long file names.

          The options are:

          -f   the underlying file system allows spaces.

          -m maxlen
               set the maximum file length allowed.

          -r   allow only read access to the file system

          -s   provide a service name, srvname, to post in /srv.
               Without this option, no posting is performed.

          Unlnfs renames files with shortened names to their actual
          long names.  It is useful once you have moved to a file
          server with true long name support.  Relnfs changes the max-
          imum file length or support for spaces in file names in the
          underlying file system.

     FILES
          .longnames

     SOURCE
          /sys/src/cmd/lnfs

     BUGS
          This exists only to shame us into getting a real long name
          file server working.

     Page 1                       Plan 9             (printed 3/28/24)