

     ELNFS(4)                                                   ELNFS(4)





     NAME
          elnfs - event log and long name file system

     SYNOPSIS
          elnfs [ -fr ] [ -l maxlen ] [ -s srvname ] mountpoint

     DESCRIPTION
          Elnfs is designed for Kirara. To improve the update time,
          it is desirable to have event log for file creation,
          deletion etc.

          The value for maxlen for -l option is:
              0	for prohibit name conversion
             28	cwfs32 and Ken fs
             56	cwfs64
            144	cwfs64x	(default)

          Elnfs is based on lnfs. Therefore the options are common with
          original lnfs but for maxlen. If 0 is set to maxlen, then
          elnfs will act simply for event log. Thus, elnfs is applicable
          also for fossil.

          To enable elnfs, you need /sys/log/elnfs.
          Probably you are host owner. My case is.
          	a-rw-rw-r-- M 24 arisawa sys      1397 Jul 14 06:41 elnfs
          where arisawa is the hostowner of the system.
          Note that the owner of elnfs is not sys but hostowner,
          because we must allow operations by you.
            chmod -a elnfs && >elfs && chmod +a elnfs
          (NB: this operation is used in mkdb1 of Kirara.)

          In case your fs is cwfs64x, then run the commands below
          before you start rio.
            cd / && elnfs -f /usr
          If your fs is not cwfs64x, give suitable -l option to elnfs.

          If you need conversion from long name to short name, you must
          have a file named ".longnames" at the mount point.
          The permission must be "read" and "write"; append only flag will be
          a better choice:
          a-rw-rw-r-- M 151 arisawa arisawa 412 Apr  1 11:32 .longnames
          After this, you can create files of the name longer than 144.

          The example logs are as follows:
            maia Jul 13 19:54:45 wopen: ./arisawa/src/worddb/MAN
            maia Jul 13 20:17:06 create: ./arisawa/src/worddb/README
            maia Jul 13 20:46:42 wopen: ./arisawa/src/worddb/README
            maia Jul 14 06:35:39 remove: ./arisawa/doc/prog/a.c
            maia Jul 14 06:35:39 remove: ./arisawa/doc/prog/mkfile
            maia Jul 14 06:35:39 remove: ./arisawa/doc/prog/
            maia Jul 14 06:41:23 rename: ./arisawa/db/ updatedb
          Note that "/" is appended to directory names.

     FILES
          .longnames
          /sys/log/elnfs

     SEE ALSO
         lnfs(4) 
	

	






