From: jack@solucorp.qc.ca (Jacques Gelinas)
Subject: Running Linux in DOS fat filesystem: here it is, UMSDOS
Date: 29 Nov 1993 01:43:42 +0200 [thread overview]
Message-ID: <2dbd3e$2av@klaava.Helsinki.FI> (raw)
This is the first release of UMSDOS. So this is ALPHA.
UMSDOS is a new filesystem for LINUX. It is a full feature
unix-like filesystem running on top of a normal MsDOS FAT filesystem.
It has been written by Jacques Gelinas jacques@solucorp.qc.ca
Full-feature ?
Long file name
-Case sensitive
-This.Is.An...Exemple
-232 char max.
Links (both hard and symbolics)
Now I know why they are called "hard" links :-)
Pipes and special device file.
Permissions, owner, group
Atime,Ctime and Mtime with full Unix semantics.
Powerful enough to be a root fs for Linux.
Yet CHKDSK won't see anything wrong with all this.
Useful ?
UMSDOS is perfect to test drive linux without trouble. No
reformat, no new partition.
It is also a good idea for those who need DOS and don't want
to split the disk in two "too small" parts. Perfect also
for those who need to share data with DOS on an ongoing basis.
It is also a good idea for those who already splits the disk and
need more space for Linux. It allows linux to slowly eat the
DOS partition. UMSDOS will be an important part of the
"LINUX invasion" :-)
Current status:
The file system is fully implemented and quite reliable.
I have made extensive automated tests (see umsdos_progs/utstgen).
I have test both basic operations and special semantics such
as update strategy for atime,ctime,mtime. utstgen is a very
modular C++ program allowing one to add new test case.
I have made it very easy for anybody to try this out.
I supply both sources and a binary distribution.
It runs on top of the proven MSDOS fs driver. It should
not destroy anything. Caution is still a good idea :-)
Backup, even a better one!
There are still missing pieces:
A utility to keep UMSDOS structure in sync.
File created in DOS won't show automaticly in UMSDOS.
File deleted in DOS won't cause trouble however.
A utility (linux.exe) to boot linux from DOS.
Currently you have to boot from a disquette
using a normal zImage with UMSDOS enable in it.
A ls.exe that list file with long name side by side with
short name.
Some performance enhancement of UMSDOS directory
manipulation.
Some performance enhancement of the Linux MSDOS drivers.
(not obvious)
As it is, the performance is well below EXT2 or any other UNIX
filesystem. It is certainly usable.
The trick:
UMSDOS place a --linux-.--- in each directory. It is
a complement to the normal DOS directory.
UMSDOS has been design to be somewhat fault tolerant.
--linux-.--- do not need to be in sync with the DOS directory.
--linux-.--- are created on the fly.
One weakness:
The format of the --linux-.--- file is pretty dumb. I intend
to change it soon to make it faster, and smaller. I am unsure
if I will be able to make a translator. So be prepare to reinstall.
Other goodies:
Along with UMSDOS, I have made some essential changes to the LINUX
MSDOS drivers. I have implemented a basic mmap. This allows demand
loading of executables and shared libs. Also I have made a very
small modification to allow swap file to work. This could allows
sharing of the Windows Swap file with Linux. I don't run Windows
but I don't see why it could not work.
Where's the ...
You will find it at login.qc.ca:/pub/linux/umsdos
The distribution consist of many files.
readme this file
umsdos-diff.0.0.gz the source patch against 99.13
umsdos.doc.gz Design documentation
umsdos_progs.0.0.tar.gz
test and utilities
see umsdos_progs/utstgen
unzip.exe Portable unzip compiled by me
zimage a mimimally configured kernel with umsdos
Currently setup to boot on /dev/hda3
(C:)
rdev.exe To set the root partition in zimage
rawrite.exe To write zimage to a floppy (taken from
tsx-11.mit.edu, pub/linux/dos_utils)
a1.zip Some parts of SLS a2,a3 and a4 disk
a2.zip Enough to have a good feeling and enough
to install the rest of SLS or anything else.
How to install ?
To help you test this, I have setup a very simple binary
distribution. I have install SLS a2,a3 and a4 disk (most of it)
into a UMSDOS partition, and then I have zip that (from DOS)
and produces a1.zip and a2.zip. To install, use the supply
unzip.exe and do
C:\>unzip a1.zip
C:\>unzip a2.zip
rdev zimage major minor
(type rdev without argument to see more info)
(currently, it is set to 3 3, which is my C: drive)
rawrite
Enter source file name: zimage
Enter destination drive: a
Depending of your boot partition you will have to change
/etc/fstab to reflect what is the current boot drive.
You can do this after booting linux.
reboot your computer using the rawrited diskette, and enjoy.
Having install this, you should have enough utilities (including
SLS sysinstall) to install any other linux packages.
tester welcome :-)
If you find a bug, here are your alternatives:
-Try to reproduce it and add a test case in umsdos_progs
(of course this test must fail).
-Try to fix it
-Email me
Of course, if just know what's going on but can't fix it
and add a test case, email me.
I would more than happy to hear from you. Idea, bug fixe and enhancement
are all welcome.
--------------------------------------------------------
Jacques Gelinas (jacques@solucorp.qc.ca)
Maintainer of US4BINR jacques@us4binr.login.qc.ca
FTP wuarchive.wustl.edu, cd /systems/svr4-pc
--
Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.
reply other threads:[~1993-11-28 23:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox