Previous Next Contents

3. Different topics about the operation of Umsdos

3.1 Mount option

You can use the same mount option as for the Ms-DOS file system. The option conv= is questionable on a Umsdos system. I suggest to avoid it. Mostly the option you may want to look at are

Just remember that Umsdos manage non promoted directory the same way as the Ms-DOS file system. The option above will apply globally to all non promoted directory. uid setup the default owner, gid setup the default group and umask setup the default permissions.

3.2 How to set defaults for the root

umssetup was created to provide at run time default ownership for the root partition. For other Umsdos partition, mount option may be used or umssetup. Storing mount option in /etc/fstab is the prefered way for non root partition. Here is an example. Put this in /etc/rc.d/rc.S.

                /sbin/umssetup -u jack -g group -m 0755 /
        

3.3 To swap or not to swap

Using a swap file is generally slower than a swap partition. It is however much more flexible. You can setup a swap file in a Umsdos partition the same way you do it for any other Linux file systems. For example, to setup a 8 megabytes swap file in the root directory:

                dd if=/dev/zero bs=1024k count=8 of=/swap
                mkswap /swap 8192
                sync
                swapon /swap
        

Once done, you can put the following line in /etc/fstab

                /swap   swap    swap    default         
        

And the swap file will be activated at each boot (There is generally a "swapon -a" in /etc/rc.d/rc.S).


Previous Next Contents