RE: implementing a fs on a raw partition

1999-07-08 Thread Alton, Matthew

If someone in the FS dept. would draw up a broad outline for FS implementation
I hereby volunteer to flesh it out thoroughly and donate the end-product docs to
the FreeBSD project.  I am a professional UNIX (AIX/SOLARIS) programmer and
fairly clueful kernel source peruser and tweaker, fully capable of producing
professional quality technical documentation.
I propose the following iterative process:

1)  FS guru draws up broad scheme.
2)  I flesh it out with resort to trial and error  research,  trying very hard
to figure
 everything out for myself but ask precisely worded usually Y/N questions
when
 I get good and stumped.
3)  I submit draft for inspection by FS people, receive feedback.
4)  I repair draft  goto (2)

Please refer only to 3.x  4.x methodology in the broad scheme.  We'll make this
a baseline and allow any deprecated stuff to properly atrophy into mummy dust.

The purpose of this exercise is to produce a definitive procedure for coding new
filesystems for use in the FreeBSD kernel.  Benefits include speed of porting of
'foreign' FSes and feedback to the core group on implementation issues.

Please CC [EMAIL PROTECTED] and [EMAIL PROTECTED] in replies.  The wife
is 10 days overdue to deliver a baby and I'll (God, hopefully) be on vacation
all next
week and in sleep deprivation hallucinatory mode.


 -Original Message-
 From: Marc Tardif [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, July 07, 1999 9:22 PM
 To:   [EMAIL PROTECTED]
 Cc:   [EMAIL PROTECTED]
 Subject:  implementing a fs on a raw partition
 
 As I reading on filesystem algorithms and principles [bach 86 and mckusick
 96], I am tempted to try my hand on a free partition. From my
 understanding, I should be using the partition as a character device for
 raw i/o in order to avoid the current filesystem overhead (/dev/rwd0s3).
 From that point, I've been using the code from /usr/src/sys/msdosfs in
 order to get something going at first... but this has shown to be an
 exhausting task. I keep running into dependencies and such which make it
 seem impossible to implement. Perhaps I have taken a wrong turn at
 Albuquerque, so I'd appreciate if anyone could give a hint to get me up
 and running.
 
 Thanks in advance,
 Marc
 
 [bach 86] The Design of the UNIX Operating System, Maurice J. Bach
 [mckusick 96] The Design and Implementation of the 4.4BSD Operating
 System, Marshall McKusick, Keith Bostic, Michael J. Karels, John S.
 Quarterman
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-fs" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: implementing a fs on a raw partition

1999-07-08 Thread Alton, Matthew
If someone in the FS dept. would draw up a broad outline for FS implementation
I hereby volunteer to flesh it out thoroughly and donate the end-product docs to
the FreeBSD project.  I am a professional UNIX (AIX/SOLARIS) programmer and
fairly clueful kernel source peruser and tweaker, fully capable of producing
professional quality technical documentation.
I propose the following iterative process:

1)  FS guru draws up broad scheme.
2)  I flesh it out with resort to trial and error  research,  trying very hard
to figure
 everything out for myself but ask precisely worded usually Y/N questions
when
 I get good and stumped.
3)  I submit draft for inspection by FS people, receive feedback.
4)  I repair draft  goto (2)

Please refer only to 3.x  4.x methodology in the broad scheme.  We'll make this
a baseline and allow any deprecated stuff to properly atrophy into mummy dust.

The purpose of this exercise is to produce a definitive procedure for coding new
filesystems for use in the FreeBSD kernel.  Benefits include speed of porting of
'foreign' FSes and feedback to the core group on implementation issues.

Please CC al...@plantnet.com and al...@van.accessus.net in replies.  The wife
is 10 days overdue to deliver a baby and I'll (God, hopefully) be on vacation
all next
week and in sleep deprivation hallucinatory mode.


 -Original Message-
 From: Marc Tardif [SMTP:intm...@cam.org]
 Sent: Wednesday, July 07, 1999 9:22 PM
 To:   freebsd-hackers@freebsd.org
 Cc:   freebsd...@freebsd.org
 Subject:  implementing a fs on a raw partition
 
 As I reading on filesystem algorithms and principles [bach 86 and mckusick
 96], I am tempted to try my hand on a free partition. From my
 understanding, I should be using the partition as a character device for
 raw i/o in order to avoid the current filesystem overhead (/dev/rwd0s3).
 From that point, I've been using the code from /usr/src/sys/msdosfs in
 order to get something going at first... but this has shown to be an
 exhausting task. I keep running into dependencies and such which make it
 seem impossible to implement. Perhaps I have taken a wrong turn at
 Albuquerque, so I'd appreciate if anyone could give a hint to get me up
 and running.
 
 Thanks in advance,
 Marc
 
 [bach 86] The Design of the UNIX Operating System, Maurice J. Bach
 [mckusick 96] The Design and Implementation of the 4.4BSD Operating
 System, Marshall McKusick, Keith Bostic, Michael J. Karels, John S.
 Quarterman
 
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-fs in the body of the message



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message