lnfs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .TH LNFS 4
  2. .SH NAME
  3. lnfs \- long name file system
  4. .SH SYNOPSIS
  5. .B lnfs
  6. [
  7. .B -r
  8. ]
  9. [
  10. .B -s
  11. .I srvname
  12. ]
  13. .I mountpoint
  14. .B unlnfs
  15. .I mountpoint
  16. .SH DESCRIPTION
  17. .I Lnfs
  18. starts a process that mounts itself (see
  19. .IR bind (2))
  20. on
  21. .IR mountpoint .
  22. It presents a filtered view of the files under the mount
  23. point, allowing users to use long file names
  24. on file servers that do not support file names
  25. longer than 27 bytes.
  26. .PP
  27. The names used in the underlying file system are
  28. the base32 encoding of the md5 hash of the longer
  29. file name. The user need not know the mapping
  30. since
  31. .I lnfs
  32. does all the work.
  33. .I Lnfs
  34. maintains a file
  35. .B .longnames
  36. in the directory
  37. .I mountpoint
  38. to record the long file names.
  39. .PP
  40. The options are:
  41. .TP
  42. .B -r
  43. allow only read access to the file system
  44. .TP
  45. .B -s
  46. provide a service name,
  47. .IR srvname ,
  48. to post in
  49. .BR /srv .
  50. Without this option, no posting is performed.
  51. .PP
  52. .I Unlnfs
  53. renames files with shortened names to their actual long names.
  54. It is useful once you have moved to a file server with true long name support.
  55. .SH FILES
  56. .B .longnames
  57. .SH SOURCE
  58. .B /sys/src/cmd/lnfs.c
  59. .PP
  60. .B /sys/src/cmd/unlnfs.c
  61. .SH BUGS
  62. This exists only to shame us into getting a real long
  63. name file server working.