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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: Hey!  Linux fs on DOS partition!
  5. Message-ID: <1992Aug14.174026.3032@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <713720748snx@crynwr.com>
  9. Date: Fri, 14 Aug 1992 17:40:26 GMT
  10. Lines: 28
  11.  
  12. In article <713720748snx@crynwr.com> nelson@crynwr.com (Russell Nelson) writes:
  13. > Hey, here's a cool idea I had yesterday: Make a Linux filesystem
  14. > driver that puts its filesystem in a file on an MS-LOSS partition.
  15.  
  16. Sorry to disappoint you, but there are several people, who already
  17. had this idea. No shiny new patents .. ;-)
  18.  
  19. Seriously: half of it is already there. The other half will be missing
  20. until the variable block size code is completed. The first half is the
  21. loop devices patch, that makes it possible to mount regular files on
  22. file systems that support bmap as file systems.
  23.  
  24. Unfortunately, MS-DOS arranges its clusters in such an odd way, that
  25. bmap can't be used on hard disks and on some floppies. But it works
  26. with the old 360k (and I think also 1.2MB) format. If you have the
  27. loop devices patch installed, you can try something like this:
  28.  
  29. # mount -t msdos /dev/fd0 /fd    # there's a 360kB floppy in /dev/fd0
  30. # dd if=/dev/zero of=/fd/file bs=1k count=350
  31. # mkfs /fd/file 350
  32. # mount /fd/file /mnt
  33.  
  34. - Werner
  35. -- 
  36.    _________________________________________________________________________
  37.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  38.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  39. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  40.