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