home *** CD-ROM | disk | FTP | other *** search
/ Hackers Toolkit v2.0 / Hackers_Toolkit_v2.0.iso / HTML / archive / Unix / HOWTOs / UMSDOS-H < prev    next >
Text File  |  1999-11-04  |  23KB  |  678 lines

  1.   UMSDOS HOW-TO
  2.   Jacques Gelinas, jacques@solucorp.qc.ca
  3.   v1.1, 13 November 1995
  4.  
  5.   Umsdos is a linux file system. It provide an alternative to the EXT2
  6.   file-system. Its main goal is to achieve easier coexistence with Ms-
  7.   DOS data by sharing the same partition.  This document explain first
  8.   how to use Umsdos in different configuration, and later explain its
  9.   operation and try to provide some information letting you decide if it
  10.   is a good choice for you (see UMSDOS-WHY-TO at the end).
  11.  
  12.   1.  UMSDOS: Where is it ?
  13.  
  14.   1.1.  History
  15.  
  16.   The Umsdos project was started in 1992 and made available to the net
  17.   in January 1994 as a patch. It was included in the standard kernel
  18.   distribution in July, starting with kernel 1.1.36.
  19.  
  20.   Umsdos was early adopted in the Slackware distribution even before it
  21.   was officially included in the official kernel.
  22.  
  23.   Umsdos was improved starting at kernel 1.1.60. Its performance has
  24.   been dramatically enhanced, especially for writing. Since 1.1.70
  25.   (around this), it is stable again.
  26.  
  27.   A major bug was solve in Linux 1.2.2. This bug was causing some grief
  28.   to users since the beginning (some file were silently renamed, giving
  29.   the sad impression that they were deleted). Beware that Slackware 2.2
  30.   is still shipping release 1.2.1 of the kernel, so has this bug.
  31.  
  32.   1.2.  Availability
  33.  
  34.   It is available as a patch for kernel 1.0.x. It is built-in for kernel
  35.   1.2. It can be compiled in or load as a module.  Beware that for now,
  36.   if you intend to load umsdos as a module, you must also use the Ms-DOS
  37.   fs as a module. This come from a limitation in the module system (some
  38.   symbols are only export when the drivers is installed as a module).
  39.  
  40.   1.3.  Distribution supporting it
  41.  
  42.   So far, I think only Slackware does support it. I am surely wrong, so
  43.   please send me info to correct this.
  44.  
  45.   1.4.  Home site
  46.  
  47.   The home site for Umsdos is sunsite.unc.edu. Look in the directory
  48.   /pub/Linux/system/Filesystems/umsdos.
  49.  
  50.   1.5.  Technical documentation
  51.  
  52.   There is quite a lot of documentation about the internal of Umsdos. It
  53.   is available both in HTML and text format at the same location as the
  54.   utilities.
  55.  
  56.   As far as I know, the HTML version is not available online on any web
  57.   site. You must down-load it and "UN-tar" it and read it locally.
  58.  
  59.   1.6.  Who wrote it
  60.  
  61.   Jacques Gelinas jacques@solucorp.qc.ca
  62.  
  63.   2.  Umsdos as your root partition
  64.  
  65.   2.1.  The pseudo-root concept.
  66.  
  67.   With Umsdos, Linux can be installed in a standard DOS partition. Linux
  68.   is then installed as a second (or third) OS in the partition. To avoid
  69.   name collision (there is maybe a bin or tmp directory in the drive C:
  70.   already), Umsdos use a smart trick: The pseudo-root.
  71.  
  72.   All Linux files are installed in a DOS subdirectory called linux,
  73.   generally C: LINUX. The normal Linux/Unix directory structure goes
  74.   there. So you get
  75.  
  76.   ╖
  77.  
  78.      C:\LINUX\BIN
  79.  
  80.   ╖
  81.  
  82.      C:\LINUX\ETC
  83.  
  84.   ╖
  85.  
  86.      C:\LINUX\LIB
  87.  
  88.   ╖
  89.  
  90.      C:\LINUX\ROOT
  91.  
  92.   ╖
  93.  
  94.      C:\LINUX\SBIN
  95.  
  96.   ╖
  97.  
  98.      C:\LINUX\TMP
  99.  
  100.   ╖
  101.  
  102.      C:\LINUX\USR
  103.  
  104.   ╖
  105.  
  106.      C:\LINUX\VAR
  107.  
  108.   When the Umsdos boot, it probes for the directory linux and then
  109.   /linux/etc. If it exist, it activates the pseudo-root mode.
  110.  
  111.   Mostly, the pseudo-root mode switch the root of the partition to
  112.   C:\LINUX giving the conventional Unix directory layout
  113.  
  114.   ╖
  115.  
  116.      /bin
  117.  
  118.   ╖
  119.  
  120.      /etc
  121.  
  122.   ╖
  123.  
  124.      /lib
  125.  
  126.   ╖
  127.  
  128.      /root
  129.  
  130.   ╖
  131.  
  132.      /sbin
  133.  
  134.   ╖
  135.  
  136.      /tmp
  137.  
  138.   ╖
  139.  
  140.      /usr
  141.  
  142.   ╖
  143.  
  144.      /var
  145.  
  146.   To this list, it adds a new one called DOS. This one is a virtual
  147.   directory.
  148.  
  149.   2.2.  Things to know about the pseudo-root
  150.  
  151.   ╖  This mode can only be triggered at boot time. There is no way to
  152.      activate this by a mount command.
  153.  
  154.   ╖  This mechanism is purely a different view of a normal Umsdos file-
  155.      system. This means that a partition normally used as a root
  156.      partition can be normally mounted. There won't be any pseudo-root
  157.      effect.
  158.  
  159.      For example, if you boot linux with a maintenance floppy and mount
  160.      your normal root partition in /mnt, you will find all your linux
  161.      directory in /mnt/linux/bin, /mnt/linux/etc and so on.
  162.  
  163.   3.  Different topics about the operation of Umsdos
  164.  
  165.   3.1.  Mount option
  166.  
  167.   You can use the same mount option as for the Ms-DOS file system.  The
  168.   option conv= is questionable on a Umsdos system. I suggest to avoid
  169.   it. Mostly the option you may want to look at are
  170.  
  171.   ╖  uid=
  172.  
  173.   ╖  gid=
  174.  
  175.   ╖  umask=
  176.  
  177.   Just remember that Umsdos manage non promoted directory the same way
  178.   as the Ms-DOS file system. The option above will apply globally to all
  179.   non promoted directory. uid setup the default owner, gid setup the
  180.   default group and umask setup the default permissions.
  181.  
  182.   3.2.  How to set defaults for the root
  183.  
  184.   umssetup was created to provide at run time default ownership for the
  185.   root partition. For other Umsdos partition, mount option may be used
  186.   or umssetup. Storing mount option in /etc/fstab is the prefered way
  187.   for non root partition. Here is an example.  Put this in
  188.   /etc/rc.d/rc.S.
  189.  
  190.                        /sbin/umssetup -u jack -g group -m 0755 /
  191.  
  192.   3.3.  To swap or not to swap
  193.  
  194.   Using a swap file is generally slower than a swap partition.  It is
  195.   however much more flexible. You can setup a swap file in a Umsdos
  196.   partition the same way you do it for any other Linux file systems. For
  197.   example, to setup a 8 megabytes swap file in the root directory:
  198.  
  199.                        dd if=/dev/zero bs=1024k count=8 of=/swap
  200.                        mkswap /swap 8192
  201.                        sync
  202.                        swapon /swap
  203.  
  204.   Once done, you can put the following line in /etc/fstab
  205.  
  206.                        /swap   swap    swap    default
  207.  
  208.   And the swap file will be activated at each boot (There is generally a
  209.   "swapon -a" in /etc/rc.d/rc.S).
  210.  
  211.   4.  How to boot a Umsdos system
  212.  
  213.   4.1.  Loadlin
  214.  
  215.   The package lodlin15.tgz available from sunsite.unc.edu in
  216.   /pub/Linux/system/Bootutils. This utility is particularly suited to
  217.   boot a Umsdos system. Generally all you need to do is
  218.  
  219.                Boot DOS
  220.                C:>loadlinx zimage root=D:
  221.  
  222.   where zimage is a normal kernel image (compressed) simply copied
  223.   somewhere in the DOS drive. D: is the DOS drive where you have
  224.   installed Linux.
  225.  
  226.   4.2.  From a floppy
  227.  
  228.   Booting a Umsdos system from a floppy is not different from booting a
  229.   Ext2 system. You need a kernel zImage file properly initialize to
  230.   locate your root Umsdos partition. This is generally achieved using
  231.   the command rdev. The following sequence will initialize a zImage and
  232.   put it on a floppy.
  233.  
  234.           rdev zImage /dev/hda1
  235.           rdev -R zImage 0
  236.           dd if=zImage bs=8192 of=/dev/fd0
  237.  
  238.   If this looks confusing, just format a boot-able DOS floppy and put
  239.   the following component on it.
  240.  
  241.   ╖  loadlin.exe
  242.  
  243.   ╖  loadlinx.exe
  244.  
  245.   ╖  zimage
  246.  
  247.   and setup the autoexec.bat like this
  248.  
  249.                loadlinx zimage rw root=C:
  250.  
  251.   4.3.  LILO
  252.  
  253.   LILO, the official Linux boot loader can also be used to boot a Umsdos
  254.   system. I have no experience with it though. Since 1.1.60, it should
  255.   work. Please email if you know something.
  256.  
  257.   4.4.  How to defragment a Umsdos partition
  258.  
  259.   It can be done using any popular DOS tool. There is nothing particular
  260.   about file produced by Umsdos. And Umsdos do not expect anything
  261.   particular (directory layout, directory entry sequence, etc...) from
  262.   the file system under it.
  263.  
  264.   As far as I know, there is no Linux tool to achieve this.
  265.  
  266.   4.5.  Advance tricks
  267.  
  268.   Umsdos rely on the --linux-.--- which rely on the DOS directory. Some
  269.   users may want to experiment a bit. The utility udosctl part of the
  270.   umsdos_progs package (containing umssync and umssetup) allows basic
  271.   directory operation (listing, deletion) independently on the
  272.   --linux-.--- and the DOS directory.
  273.  
  274.   5.  Basic principle
  275.  
  276.   5.1.  Introduction
  277.  
  278.   Umsdos map Linux files directly to Ms-DOS files.  This is a one for
  279.   one translation. File content is not manipulated at all. Umsdos only
  280.   works on names. For special files (links and devices for example), it
  281.   introduces special management.
  282.  
  283.   For each directory, there is a file named --linux-.---.
  284.  
  285.   5.2.  Umsdos can replace the Ms-DOS file-system.
  286.  
  287.   Umsdos can be thought as a general purpose superset of the Ms-DOS file
  288.   system of linux. In fact this capability or flexibility yields much
  289.   confusion about Umsdos. Here is why. Try to mount a newly formatted
  290.   DOS floppy like this.
  291.  
  292.                mount -t umsdos /dev/fd0 /mnt
  293.  
  294.   And do this,
  295.  
  296.                ls / >/mnt/LONGFILENAME
  297.                ls -l /mnt
  298.  
  299.   You will get the following result
  300.  
  301.                -rwxr-xr-x   1 root     root          302 Apr 14 23:25 longfile
  302.  
  303.   So far, it seems that the Umsdos file system does not do much more (in
  304.   fact nothing at all) than the normal Ms-DOS file system of Linux.
  305.  
  306.   ???
  307.  
  308.   5.3.  Directory promotion
  309.  
  310.   Pretty unimpressive so far. Here is the trick. Unless promoted a DOS
  311.   directory will be managed the same way with Umsdos than the Ms-DOS
  312.   file-system will. Umsdos use a special file in each subdirectory to
  313.   achieve the translation between the extended capabilities (long name,
  314.   ownership, etc...) of Umsdos and the limitation of the DOS file-
  315.   system.  This file is invisible to Umsdos users, but visible when you
  316.   boot DOS. To avoid cluttering the DOS partition with those file
  317.   (--linux-.---) uselessly, the file is now optional. If absent, Umsdos
  318.   behave like Ms-DOS.
  319.  
  320.   When a directory is promoted, any subsequent operation will be done
  321.   with the full semantic normally available to Unix and Linux users. And
  322.   all subdirectory created afterward will be silently promoted.
  323.  
  324.   This feature allows you to logically organize your DOS partition into
  325.   DOS stuff and Linux stuff. It is important to understand that those
  326.   --linux-.--- file do take some place (generally 2k per directory). DOS
  327.   generally use large cluster (as big as 16k for a 500meg partition), so
  328.   avoiding putting --linux-.--- everywhere can save your day.
  329.  
  330.   5.4.  How to promote: /sbin/umssync
  331.  
  332.   A directory can be promoted any time using /sbin/umssync.  It can be
  333.   used at any time. Promoting a directory do the following operation
  334.  
  335.   ╖  Create a --linux-.---.
  336.  
  337.   ╖  Establish a one to one relation between the --linux-.--- and the
  338.      current content of the directory.
  339.  
  340.   /sbin/umssync maintain an existing --linux-.--- file.  It does not
  341.   create it from scratch all the time. It simply add missing entries in
  342.   it (Files created during a DOS session).  It will also removed files
  343.   which do not exist anymore in the DOS directory from the --linux-.---.
  344.   umssync gets its name from that. It put --linux-.--- in sync with the
  345.   underlying DOS directory.
  346.  
  347.   5.5.  Using /sbin/umssync at boot time
  348.  
  349.   It is a good idea to place a call to /sbin/umssync at the end of your
  350.   /etc/rc.d/rc.S if it's not there. The following command is adequate
  351.   for most system:
  352.  
  353.                /sbin/umssync -r99 -c -i+ /
  354.  
  355.   The -c option prevent umssync from promoting directories. It will only
  356.   update existing --linux-.---.
  357.  
  358.   This command is useful if you access Linux directory during a DOS
  359.   session. Linux has no efficient way to tell that a directory has been
  360.   modified by DOS so Umsdos can't do a umssync operation as needed.
  361.  
  362.   5.6.  How to UN-promote
  363.  
  364.   Remove the --linux-.--- file using DOS. You will be sorry.
  365.  
  366.   5.7.  What about files created during a DOS session ?
  367.  
  368.   Unless you use umssync on a directory where files have been added or
  369.   removed by DOS, you will notice some problems:
  370.  
  371.   ╖  It won't crash the system nor it won't cause major problems, only
  372.      annoyance :-)
  373.   ╖  Files created by DOS.
  374.  
  375.   ╖  They will be invisible in Linux.
  376.  
  377.   ╖  When trying to create a file with the same name, you will get an
  378.      error message stating that the file already exist.
  379.  
  380.   ╖  This creates more confusion that real problem. It does not harm the
  381.      file system.
  382.  
  383.   ╖  Files deleted by DOS won't cause problem. Umsdos will notice the
  384.      absence at the first access. A message will be output (and
  385.      generally written into /var/adm/syslog).
  386.  
  387.   6.  Installation/UN-installation and some tricks
  388.  
  389.   The installation of a Umsdos is not much different from the
  390.   installation of an ordinary (Ext2 based) Linux system.
  391.  
  392.   There are two main differences.
  393.  
  394.   6.1.  The pseudo-root /mnt/linux
  395.  
  396.   The normal steps for an installation are
  397.  
  398.   1. Setting a partition with fdisk and formatting it.
  399.  
  400.   2. Mounting it as /mnt relative to our installation root disk.
  401.  
  402.   3. Copy all packages into /mnt.
  403.  
  404.   With Umsdos, the step 1 is not required (wasn't it the goal of Umsdos
  405.   not to reformat ?).
  406.  
  407.   It is possible to install a Umsdos system just by copying all packages
  408.   into /mnt. This will certainly work. But it will create a bunch of
  409.   subdirectories into your DOS root directory (C:) and you won't like
  410.   it. This is the reason all Umsdos installation use the pseudo-root.
  411.   And this is the major difference between a normal Ext2 installation
  412.   and a Umsdos one: All files are copied into /mnt/linux.
  413.  
  414.   6.2.  Preparing /mnt/linux
  415.  
  416.   /mnt/linux is not an ordinary directory. It has to be promoted so it
  417.   will correctly handle Linux long file name and special files (links,
  418.   device). The step required to setup /mnt/linux are:
  419.  
  420.   1. mkdir /mnt/linux
  421.  
  422.   2. umssync /mnt/linux
  423.  
  424.   That's it!
  425.  
  426.   6.3.  Making sure /mnt/linux is correctly setup
  427.  
  428.   Even if the setup of /mnt/linux is pretty simple, there are many
  429.   installation package out there who get it wrong. How can ?
  430.  
  431.   The biggest installation problem come from an incompatible umssync
  432.   program. Umsdos has been update in linux 1.1.88 (Can't remember
  433.   exactly) and a flaw was uncovered in umssync. To avoid confusion in
  434.   the Linux community, it was decided to raise the compatibility level
  435.   required for all Umsdos tools. Old version of the tools were simply
  436.   rejected.
  437.  
  438.   It sounds like many distribution did not update their umssync utility
  439.   on the installation disk.
  440.  
  441.   There are still many distribution like this out there. The net result
  442.   is that the directory /mnt/linux is not promoted at all and will
  443.   truncate all long file name and will reject all special file.
  444.  
  445.   It is possible to do a test very early during the installation to find
  446.   out if something went wrong. Thanks to the pseudo console mechanism of
  447.   Linux, you can do that without leaving the installation program. Do
  448.   the following steps:
  449.  
  450.   1. Press Alt-F2 (Alt key at the same time as the F2 key).
  451.  
  452.   2. login as root.
  453.  
  454.   3. cd /mnt/linux
  455.  
  456.      If this fail, you are trying this too early. A good time to do this
  457.      is at the end of the packages selection.
  458.  
  459.   4. >TOTO
  460.  
  461.   5. ls -l
  462.  
  463.      You should see an empty file TOTO in uppercase. If you see it in
  464.      lowercase, something went wrong. Try to do the umssync step again.
  465.      umssync can be use over and over without problem.
  466.  
  467.      umssync .
  468.  
  469.      If there is no error message, try the TOTO test again.  If TOTO
  470.      appears fine, then all is OK. Something is strange in this
  471.      installation, but you just save it. Continue
  472.  
  473.   6. Press Alt-F1 to get back to the installation screen.
  474.  
  475.   If the test fail, the best fix is to get a newer installation root
  476.   disk. You can generally fix this root disk by installing a newer
  477.   version of umssync. This is not difficult but required a working Linux
  478.   system. You simply have to mount the root disk floppy and replace the
  479.   offending umssync with a new one.
  480.  
  481.   6.4.  Oops releasing pseudo root ...
  482.  
  483.   Most Umsdos installation which fail, do this by printing this strange
  484.   message. This is not a bug in Umsdos although the message looks
  485.   strange. Here are the known causes.
  486.  
  487.   ╖  The most common one
  488.  
  489.      The Slackware installation try to setup a swap file very early
  490.      during the installation. To do so, it asks you to select a
  491.      partition (dos drive), then mount it and set the swap file.
  492.  
  493.      When installing a Slackware system, you must setup the target
  494.      partition prior to install. This normally mounts the DOS partition
  495.      on /mnt, creates the /mnt/linux directory and applies umssync on
  496.      it.
  497.  
  498.      This is where most problems come from. Most user just forget the
  499.      "setup target partition" step and go directly to the rest of the
  500.      installation. Since /mnt is already mounted, this mistake goes
  501.      unnotice.  This means that /mnt/linux was not created properly (Not
  502.      promoted). All special files and links and long names can't be
  503.      created properly.
  504.  
  505.   ╖  Invalid umssync utility
  506.  
  507.      /mnt/linux was improperly setup-ed. Generally caused by an improper
  508.      umssync utility on the installation root disk.
  509.  
  510.   ╖  Old bug in umsdos
  511.  
  512.      There was a bug in Umsdos prior to Linux 1.2.2. The pseudo-root
  513.      mode would not activate properly if the file /etc/init was missing.
  514.      init is now located in /sbin. You can fix it by getting a newer
  515.      kernel.  This is recommended because another bug was uncover and
  516.      fixed in 1.2.2.
  517.  
  518.      If you can't upgrade, do this
  519.  
  520.      1. Boot from you installation disk.
  521.  
  522.      2. Login as root.
  523.  
  524.      3. mount -t umsdos /dev/hdXX /mnt
  525.  
  526.         where /dev/hdXX is your DOS partition.
  527.  
  528.      4. cd /mnt/linux/etc
  529.  
  530.      5. ln -s ../sbin/init init
  531.  
  532.      6. cd /
  533.  
  534.      7. Ctrl-Alt-Del
  535.  
  536.      8. Boot your Umsdos normally.
  537.  
  538.   Unfortunatly, the first two (Installation problems) produce a
  539.   completly unusable installation. Uninstall it (See next section) and
  540.   install again.
  541.  
  542.   6.5.  How to UN-install a Umsdos system
  543.  
  544.   One neat thing about Umsdos and its pseudo-root mechanism, is that you
  545.   can UN-install it without pain. You just boot DOS and recursively
  546.   delete the linux directory. That's all. Umsdos requires no special
  547.   drivers in the config.sys, nor it creates anything special outside of
  548.   the linux directory.
  549.  
  550.   6.6.  Moving a Umsdos system to another DOS drive
  551.  
  552.   This can be done from Linux or from DOS.  You just have to copy
  553.   recursively the linux directory from one drive to the other. After
  554.   that you will have to adjust you boot mechanism (generally loadlin
  555.   command) and the /etc/fstab file.
  556.   Umsdos can live on any DOS drive. There is no need to install it on
  557.   the C: drive, nor it is important to have it on the first hard drive.
  558.   It does not matter at all.
  559.  
  560.   In fact, one may decide to have several Umsdos installations on
  561.   different drive just to do experiments.
  562.  
  563.   6.7.  About installing 50 Umsdos systems.
  564.  
  565.   How about installing a bunch of Linux systems in no time ?
  566.  
  567.   Umsdos systems are living in a DOS world. You can take advantage of
  568.   this if you wish to install Linux easily.
  569.  
  570.   You can install and configure a Umsdos system at your site.  When you
  571.   are satisfied with the configuration and the different packages you
  572.   have selected, you can boot DOS and copy the complete linux directory
  573.   to your DOS file server. Then you go to other DOS station and simply
  574.   copy the files on the network drive to the local drive.  That's it.
  575.   Only adjust the boot script (Loadlinx) and go.
  576.  
  577.   With minimal adjustment (Host name, IP number), anyone will be able to
  578.   install a Linux system in a matter of minute.
  579.  
  580.   Interest readers may note that installing Linux systems by copying
  581.   running system also works for any other Linux systems, including Ext2
  582.   based one.
  583.  
  584.   One beauty of Linux is that there is no hidden files which have to be
  585.   install by magic installation program.
  586.  
  587.   7.  Setting a Linux section in a DOS partition
  588.  
  589.   Umsdos has some use even for Ext2 (Native Linux file-system) users.
  590.   One common scenario is this:
  591.  
  592.   ╖  Linux being your OS of choice, the Linux partition start to fill
  593.      and fill and fill.
  594.  
  595.   ╖  Your DOS partition is collecting dust, being half empty.
  596.  
  597.   ╖  You are suddenly out of space in the Ext2 partition.
  598.  
  599.   ╖  You are still not sure you want to get rid of DOS.
  600.  
  601.   Umsdos may save the day here. You can setup a Linux directory in the
  602.   DOS partition and use it without restriction for Linux usage. For
  603.   example, say you want to setup a new directory named "extra" in your
  604.   C: drive. And you want this directory to behave as a normal Linux
  605.   directory. Do this (assuming that C: is /dev/hda1).
  606.  
  607.                mkdir /c
  608.                /sbin/mount -t umsdos /dev/hda1 /c
  609.                mkdir /c/extra
  610.                umssync /c/extra
  611.  
  612.   You must be root to do this.
  613.  
  614.   By setting up /etc/fstab like this, you will always have access to the
  615.   /c/extra directory.
  616.  
  617.   8.  UMSDOS-WHY-TO
  618.  
  619.   Explaining how to operate or install a Umsdos system is not enough.
  620.   Most people are seeking some advises about using Umsdos or not.
  621.  
  622.   8.1.  The goal of Umsdos
  623.  
  624.   The goal of Umsdos was to ease the installation of Linux. An other
  625.   goal was to ease its UN-installation.  The idea here was to promote
  626.   the spreading of Linux.  Installing a new OS on a system is always
  627.   troublesome. OS/2 for one will happily pollute your C: root with a
  628.   bunch of new directories. If you are clever like me, it will also
  629.   erase your config.sys and autoexec.bat files :-(
  630.  
  631.   The pseudo-root feature of Umsdos avoid this unwanted invasion. Linux
  632.   can be UN-install without side effect.
  633.  
  634.   8.2.  Who needs it
  635.  
  636.   If you have a small hard drive, Umsdos will allow you to share disk
  637.   space between DOS and Linux. A disk below 300 megs is in my opinion a
  638.   small disk. This opinion is based on the size of the different package
  639.   available today.  One popular word processor may eat as much as 70
  640.   megabytes if you select all features.
  641.  
  642.   If you have a larger drive, you may consider having a dedicated Linux
  643.   partition running the Ext2 file-system. Ext2 use a smaller cluster
  644.   size that DOS (1k in fact) so installing many small files will eat
  645.   less space than in a Umsdos partition.
  646.  
  647.   8.3.  Performance issue
  648.  
  649.   The following point apply to Umsdos compared with Ext2.
  650.  
  651.   ╖  Directory management is faster on Ext2. This come from the overhead
  652.      of the double directory structure of Umsdos.
  653.  
  654.   ╖  File access (reading and writing) is probably faster on Umsdos than
  655.      Ext2. This come from the simplicity of the FAT file-system used by
  656.      DOS.
  657.  
  658.      Beware that this simplicity come with a cost:
  659.  
  660.   ╖  A maximum of around 65,000 files or clusters per partitions. This
  661.      also means that a 500 megabytes partition will use cluster 16k
  662.      large.  In other word, a file containing a single byte will use 16k
  663.      of disk storage.
  664.  
  665.   ╖  Everything is controlled by the FAT located at the beginning of the
  666.      hard drive. The DOS file-system is probably more fragile because of
  667.      this.
  668.  
  669.   ╖  No provision to avoid fragmentation of files. A Umsdos system will
  670.      generally be used as a single user workstation. In this case, this
  671.      does not matter much. As a multi-user engine, files will get
  672.      spread-ed all around the drive, lowering file access performance.
  673.  
  674.   ╖  Symbolic links are stored in normal file. If you intend to have a
  675.      lot of them, you will find that Umsdos use quite a lot of disk
  676.      space compared to Ext2.
  677.  
  678.