SourceForge has been redesigned. Learn more.

Beginner questions: cofs and PATH

  • simonc2

    simonc2 - 2007-01-07

    Using colinux 0.6.4 and Debian GNU/Linux 3.0:

    1. I want to add an item on the end of the PATH which will be automatically set when I login as a non-root user, but can't find which file to edit to apply this. The path variable is set to the default values of /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games so I guess it is picking this up from some setup file. Which file gets run to set the PATH environment variable when a non-root user logs in?

    2. I can't make cofs work. I have added the following in the default.colinux.xml file

        <cofs_device index="0" path="\DosDevices\s:\&quot; type="flat" enabled="true" />

    (drive S: is a FAT32 drive where I put files I want to share with linux) but when I try to mount cofs0 in colinux with

    mount -t cofs 0 /mnt/windows

    it gives an error:
    mount point /mnt/windows does not exist

    Can anyone advise what I need to do to make this work.

    Many thanks.

    • Jonathan G. Rennison

      Try creating an empty directory with the path /mnt/windows first.

      cd /mnt/
      mkdir windows

      then try to mount.


Log in to post a comment.