home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17477 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  3.5 KB

  1. Xref: sparky comp.os.linux:17477 comp.unix.bsd:9159
  2. Newsgroups: comp.os.linux,comp.unix.bsd
  3. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!ra!tantalus.nrl.navy.mil!eric
  4. From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
  5. Subject: Re: BSD filesystems? Xenix FS? X11 on hercules screen?
  6. Message-ID: <By333w.Fqz@ra.nrl.navy.mil>
  7. Sender: usenet@ra.nrl.navy.mil
  8. Organization: Naval Research Laboratory
  9. References: <BxzKHG.I30@ra.nrl.navy.mil> <1992Nov20.194854.22231@unislc.uucp>
  10. Distribution: comp
  11. Date: Sat, 21 Nov 1992 20:47:56 GMT
  12. Lines: 58
  13.  
  14. In article <1992Nov20.194854.22231@unislc.uucp> erc@unislc.uucp (Ed Carp) writes:
  15. >Eric Youngdale (eric@tantalus.nrl.navy.mil) wrote:
  16. >
  17. >:     BSD: no.  Xenix: yes, there is a filesystem.  I have toyed with the
  18. >: idea of writing a filesystem for linux that would understand a BSD ufs
  19. >: filesystem but the differences are so great between the bsd VFS layer and the
  20. >: linux VFS layer that it would be easier to hack the minix filesystem to
  21. >: understand ufs than to try and port the ufs filesystem.  I have not decided if
  22. >: I want to do this or not.
  23. >
  24. >It would be very helpful for those of us who would like to run dual environments
  25. >- Linux and 386BSD, booting off one or the other as the need arises.  I've been
  26. >planning this for some time now, because I want to do some benchmarking
  27. >between Linux and 386BSD.  They both have distinct advantages - Linux is more
  28. >of a "hacker's OS", and developments will come at a more rapid pace, but
  29. >386BSD is more like SunOS, where most of my living comes from (no one will
  30. >pay me for hacking on Linux - yet, but they *do* pay very well for hacking on
  31. >SunOS :)).
  32. >
  33. >I'd like to mount my 386BSD drive from Linux (or vice-versa, which is why this
  34. >is cross-posted), snarf off the 0.1 distribution (so I won't have to load
  35. >386BSD onto floppies, yuck), and then install from a hard drive.
  36.  
  37.  
  38.     I have looked into this enough that I at least have some idea of the
  39. scope of the problem.  Sometime after the new scsi code is in the 0.99 kernel,
  40. and things settle down a little, I will start in on this.  It might not be
  41. until after the first of the year before I get very much done with this.
  42.  
  43.     The first step is to make linux recognize the bsd disk labels, which
  44. are sort of analagous to but incompatible with the DOS-type partition tables
  45. which linux uses.  (If I get some of the BSD details wrong, I would appreciate
  46. it if someone would *kindly* point it out to me in private mail).  As a first
  47. go, I will just hack the code in the linux kernel to accept these partition
  48. tables as well as the regular DOS format partition tables.  The disklabel on a
  49. BSD floppy (i.e. boot floppy) are problematic, since linux generally treats the
  50. floppy as a non-partitionable device.  Once I get around to working on a UFS
  51. filesystem for linux, I will probably have to treat the floppy disk as a
  52. single-partition special case.
  53.  
  54.     The filesystem itself will be a minix filesystem with the guts ripped
  55. out and various internal organs from the UFS filesystem transplanted (this is
  56. sort of how I wrote the iso9660 filesystem).  The VFS layers in linux and bsd
  57. are very different from each other, both in terms of how information is passed
  58. around, but also in terms of what the filesystem is expected to be doing.  We
  59. may end up losing some optimizations, but in the long run these should be
  60. re-implemented in a linux specific way rather than trying to paste everything
  61. together at once.
  62.  
  63.     If someone feels like starting in on this, I would be willing to
  64. instruct someone via email as to what would be needed, and help them get
  65. started. 
  66.  
  67. -Eric
  68.  
  69.  
  70. -- 
  71. Eric Youngdale
  72.