autofs -- automount supporting scripts


1. Basic installation

0) Do make; make install
1) Link /etc/auto.nilfs.dev to /etc/auto.nilfs.<devname>,
   where <devname> is the device name of a nilfs volume.
2) Umount the nilfs volume and comment out the corresponding line
   in /etc/fstab.
3) Invoke automount as follows.
	automount <mount-point> program /etc/auto.nilfs.<devname>
   Or, modify /etc/auto.master and restart automount.
4) Chdir <mount-point>/<date>, and you can access the snapshot
   dated at <date>. If you'd like to access the current file system
   image just now, chdir <mount-point>/cur.


2. Advanced installation -- accessing NILFS via Samba

1) Edit /etc/samba/smb.conf.
   Or, append smb.conf.add to /etc/samba/smb.conf
2) Start updatecp background, e.g.
	updatecp /nilfs/cur //nilfs/snapshots 9 &
3) Start samba, e.g.
	/etc/init.d/samba start


Good Luck !
