home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8344 < prev    next >
Encoding:
Text File  |  1992-08-15  |  2.3 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!murdoch!Turing.ORG!lfoard
  3. From: lfoard@Turing.ORG (Lawrence C. Foard)
  4. Subject: Re: Hey!  Linux fs on DOS partition!
  5. Message-ID: <1992Aug15.193726.629@murdoch.acc.Virginia.EDU>
  6. Sender: usenet@murdoch.acc.Virginia.EDU
  7. Organization: The Turing Project, Charlottesville Virginia.
  8. References: <713720748snx@crynwr.com> <1992Aug14.174026.3032@bernina.ethz.ch>
  9. Date: Sat, 15 Aug 1992 19:37:26 GMT
  10. Lines: 36
  11.  
  12. In article <1992Aug14.174026.3032@bernina.ethz.ch> almesber@nessie.cs.id.ethz.ch (Werner Almesberger) writes:
  13. >In article <713720748snx@crynwr.com> nelson@crynwr.com (Russell Nelson) writes:
  14. >> Hey, here's a cool idea I had yesterday: Make a Linux filesystem
  15. >> driver that puts its filesystem in a file on an MS-LOSS partition.
  16. >
  17. >Sorry to disappoint you, but there are several people, who already
  18. >had this idea. No shiny new patents .. ;-)
  19. >
  20. >Seriously: half of it is already there. The other half will be missing
  21. >until the variable block size code is completed. The first half is the
  22. >loop devices patch, that makes it possible to mount regular files on
  23. >file systems that support bmap as file systems.
  24.  
  25. Actually I've got working user space block device code that will
  26. do just this. No one had expressed any interest so I was holding
  27. onto it until I could find some compress code to make a compressed
  28. file system. However if someone wants to try this I can set it up
  29. to work with .97 and send them the device driver and some sample
  30. programs.
  31.  
  32. >Unfortunately, MS-DOS arranges its clusters in such an odd way, that
  33. >bmap can't be used on hard disks and on some floppies. But it works
  34. >with the old 360k (and I think also 1.2MB) format. If you have the
  35. >loop devices patch installed, you can try something like this:
  36. >
  37. ># mount -t msdos /dev/fd0 /fd    # there's a 360kB floppy in /dev/fd0
  38. ># dd if=/dev/zero of=/fd/file bs=1k count=350
  39. ># mkfs /fd/file 350
  40. ># mount /fd/file /mnt
  41.  
  42. The way the user space driver works this shouldn't be a problem.
  43. -- 
  44. >>Unix/C Contract worker available 5 years C/unix work experience<<  ______
  45. Available for Telecommuting/Travel and contracts on the T Line       \    /
  46. in the Boston MA area. Send me e-mail for a copy of my Resume.        \  /
  47.        -- VWIS 508-793-9568 (2400 baud), Linux support BBS.--          \/
  48.