diff --git a/sdbfs/doc/.gitignore b/sdbfs/doc/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..a6900d93bd1e213b821723c298b558265ede41b0
--- /dev/null
+++ b/sdbfs/doc/.gitignore
@@ -0,0 +1,16 @@
+*~
+*.aux
+*.cp
+*.cps
+*.fn
+*.html
+*.info
+*.ky
+*.log
+*.pdf
+*.pg
+*.texi
+*.toc
+*.tp
+/*.txt
+*.vr
diff --git a/sdbfs/doc/sdbfs.in b/sdbfs/doc/sdbfs.in
new file mode 100644
index 0000000000000000000000000000000000000000..79f671328b811574a15dd282fb7ba68f4950569d
--- /dev/null
+++ b/sdbfs/doc/sdbfs.in
@@ -0,0 +1,60 @@
+\input texinfo    @c -*-texinfo-*-
+%
+% sdbfs.in - main file for the documentation
+%
+%%%%
+
+%------------------------------------------------------------------------------
+%
+%                         NOTE FOR THE UNAWARE USER
+%                         =========================
+%
+%    This file is a texinfo source. It isn't the binary file of some strange
+%    editor of mine. If you want ASCII, you should "make sdbfs.txt".
+%
+%------------------------------------------------------------------------------
+
+%
+% This is not a conventional info file...
+% I use three extra features:
+%   - The '%' as a comment marker, if at beginning of line ("\%" -> "%")
+%   - leading blanks are allowed (this is something I can't live without)
+%   - braces are automatically escaped when they appear in example blocks
+%
+
+@comment %**start of header
+@documentlanguage en
+@setfilename sdbfs.info
+@settitle sdbfs
+@iftex
+@afourpaper
+@end iftex
+@paragraphindent none
+@comment %**end of header
+
+@setchapternewpage off
+
+@set update-month August 2012
+
+@finalout
+
+@titlepage
+@title SDBFS
+@subtitle @value{update-month}
+@subtitle A Flash File-system based on SDB data structures
+@author Alessandro Rubini for CERN (BE-CO-HT)
+@end titlepage
+@headings single
+
+@c ##########################################################################
+@iftex
+@contents
+@end iftex
+
+@c ##########################################################################
+@node Top
+@top Introduction
+
+@bye
+
+@c  LocalWords:  Alessandro Rubini CERN iftex texinfo sdbfs