On 10/13/07, Pawel K <pawlaczus@xxxxxxxxx> wrote: > Hello > > I have 3 questions: > > 1. Do You know any documents/sites where I can find > the instructions of how to build the very simple root > fs ? The following is from GregKH: > Look at the code for securityfs, or debugfs, or usbfs. All of those are > nice and tiny and "simple". > > Do not look at the code for sysfs, it does things that you do not want > to have to do in your driver-based filesystem. > > Oh, I wrote an article describing how to do this back in 2003 for > linux.conf.au if you want to take a look at the proceedings. It will > give you an idea of what is needed, but then look at the newer code > implementations (like debugfs) to see how much simpler it has gotten > since then. My personal understanding is that debugfs is located in fs/debugfs, but securityfs is in security/inode.c (in particular, look at securityfs_create_dir() and securityfs_create_file() implementation). Have fun. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ