Skip site navigation (1)Skip section navigation (2)
Date:      08 Apr 2001 21:10:32 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/pseudofs pseudofs.c pseudofs.h pseudofs_fileno.c pseudofs_internal.h pseudofs_vncache.c pseudofs_vnops.c
Message-ID:  <xzpr8z3qkbb.fsf@flood.ping.uio.no>
References:  <1478.986741117@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
> I pressume your pseudofs in a similar way hides all the directory
> handling for virtual filesystems  ?

A pseudofs-based fs defines the following:

 - a bunch of structs listing the name, type etc. of every node in the
   file system (directories, files, links and device nodes)

 - handler functions that generate the content of the files and links,
   using the sbuf API

 - (not yet) handler functions that implement security policies
   (determining if the requesting process is allowed to perform the
   requested operation)

 - (not yet) handler functions that generate process-dependent nodes
   on demand

The pseudofs code does all the rest.  The ultimate goal is to reduce
to a minimum the amount of code duplicated between various existing
incarnations of procfs, and make it much simpler to write new ones.
I hope it will also reduce the footprint of such filesystems.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpr8z3qkbb.fsf>