Results 1 to 5 of 5

Thread: can't create new folder in system files (not even in terminal)

  1. #1
    Join Date
    Mar 2011
    Beans
    32

    can't create new folder in system files (not even in terminal)

    Hello

    I don't seem to be able to create a new folder in my system files. I know I have to do this in the terminal as root, but I always get the answer that it cannot create the directory because there is no such file or directory. Yet the directory where I want to make the new folder definitely exists (I even just go there and try to create the folder)

    Here is the exact code:
    Code:
    lukas@lukas-VGN-FZ21E:/proc/asound/card0/pcm0p$ sudo mkdir oss
    mkdir: cannot create directory `oss': No such file or directory
    Any ideas?

  2. #2
    Join Date
    Mar 2011
    Location
    Iran,tehran
    Beans
    73
    Distro
    Ubuntu Development Release

    Re: can't create new folder in system files (not even in terminal)

    are you sure you have completely entered direction correct?
    are you right in spelling capital words at beginning?

    EDIT: silly question,and sisco311 is right!
    Last edited by Sina_RJ; March 18th, 2011 at 02:24 AM. Reason: look to next post!
    Why should we use Windows when we can use door?
    the door of world is here in linux,pass the door to be safe

  3. #3
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: can't create new folder in system files (not even in terminal)

    Quote Originally Posted by Quazze View Post
    Hello

    I don't seem to be able to create a new folder in my system files. I know I have to do this in the terminal as root, but I always get the answer that it cannot create the directory because there is no such file or directory. Yet the directory where I want to make the new folder definitely exists (I even just go there and try to create the folder)

    Here is the exact code:
    Code:
    lukas@lukas-VGN-FZ21E:/proc/asound/card0/pcm0p$ sudo mkdir oss
    mkdir: cannot create directory `oss': No such file or directory
    Any ideas?
    /proc is a virtual filesystem, so I'm not surprised...

    What's your goal? Why are you trying to create a directory under /proc?

  4. #4
    Join Date
    Mar 2011
    Beans
    32

    Re: can't create new folder in system files (not even in terminal)

    yes I'm sure. I can copy the directory from the properties. And still, the problem can't be a wrong directory, because I just go in the directory (in the terminal ofcourse) and then do the mkdir command.

    Even when I go in a lower directory like just /proc, it doesn't work... :s

  5. #5
    Join Date
    Mar 2011
    Beans
    32

    Re: can't create new folder in system files (not even in terminal)

    well the goal is not actually making that dir, but I actually wanted to do this:

    sudo -i
    echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
    echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
    exit
    which is a suggested solution for a sound problem for Enemy Territory (https://help.ubuntu.com/community/EnemyTerritory)
    But I also got the answer "no such file or directory", so I got curious/confused/frustrated and tried to find out what the problem was.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •