Home > Archive > Matlab > May 2005 > mounted directories on OS X
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
mounted directories on OS X
|
|
| Benjamin Staude 2005-05-20, 4:02 pm |
| I cannot cd into directories that are mounted from the network, the
error message being
??? Error using ==> cd
Cannot CD to /data (Name is nonexistent or not a directory
even though I cd cd into /data in the X11-shell. Any Idea what to do?
Thanx,
B
| |
| Ken Prager 2005-05-20, 9:00 pm |
| In article <ef06a22.-1@webx.raydaftYaTP>,
"Benjamin Staude" <staude@neurobiologie.fu-berlin.de> wrote:
> I cannot cd into directories that are mounted from the network, the
> error message being
>
> ??? Error using ==> cd
> Cannot CD to /data (Name is nonexistent or not a directory
>
> even though I cd cd into /data in the X11-shell. Any Idea what to do?
> Thanx,
> B
Use...
cd '/Volumes/data'
(i.e., /Volumes is the mount point)
HTH,
Ken P.
| |
| Robert W. Kuhn 2005-05-23, 8:59 am |
| Benjamin Staude <staude@neurobiologie.fu-berlin.de> wrote:
> I cannot cd into directories that are mounted from the network, the
> error message being
>
> ??? Error using ==> cd
> Cannot CD to /data (Name is nonexistent or not a directory
[color=darkred]
Filesystem 512-blocks Used Avail Capacity
Mounted on
/dev/disk0s3 489972528 55231312 434229216 11% /
devfs 192 192 0 100% /dev
fdesc 2 2 0 100% /dev
<volfs> 1024 1024 0 100% /.vol
automount -nsl [115] 0 0 0 100%
/Network
automount -fstab [143] 0 0 0 100%
/automount/Servers
automount -static [143] 0 0 0 100%
/automount/static
141.44.50.56:/home1 1562257336 278679104 1283578232 18%
/private/Network/Servers/141.44.50.56/home1[color=darkred]
Tschau - Robert
--
vertrau
voraus voraus
| |
| Mac Wendelboe 2005-05-27, 4:04 pm |
| Benjamin Staude wrote:
> ??? Error using ==> cd
> Cannot CD to /data (Name is nonexistent or not a directory
I get the exact same failure message on my /home, which is not NFS
mounted. It is a completely normal ext3 drive. df says:
/dev/hda4 ... ... ... 96% /home
I wondered whether the 96% fill might be a problem. But I have no
problem creating files and browsing through the file system with
other programs.
The really mysterious thing is, that cd actually changes directory
the way I ask it to. And ls shows the correct list of directory
content. But the graphical directory listing doesn't work, and Matlab
refuses to run any scripts in the directory.
The problem only arises on my /home drive. There is no problem on /
or on my plenty of NFS mounted drives.
By the way: Fedora Core 2 running Linux 2.6.5. Matlab 7.0.1.24704.
| |
| Ian Fasel 2005-05-29, 8:58 pm |
| I had the exact same problem as below:
> Benjamin Staude wrote:
>
> The really mysterious thing is, that cd actually changes directory
> the way I ask it to. And ls shows the correct list of directory
> content. But the graphical directory listing doesn't work, and
> Matlab refuses to run any scripts in the directory.
This was on Mac OS X 10.3.9, using R14, both SP1 and SP2.
This was running from my home directory, mounted at /home from a Mac
OS X Server 10.3.9 machine.
The half-fix was to make a softlink from /automount/static/home to
/automount/home. This works sometimes. However, I still have the
problem when Matlab randomly decides to pre-pend /private to the
path:[color=darkred]
ans =
/automount/home/ianfasel/SCTL/MPTX/Flonk
Things here work normally, however if the file is in a subdirectory:
[color=darkred]
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstr
ap.m
(notice /private here but not above)
Then matlab won't notice changes to files in this directory and it is
necessary to type[color=darkred]
to get it to run the files as they exist on disk rather than run them
from cache.
-Ian
| |
| Ian Fasel 2005-05-29, 8:58 pm |
| Here's another weird example:
ans =
/automount/home/ianfasel/SCTL/MPTX/Flonk[color=darkred]
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstr
ap.m[color=darkred]
/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstrap.m
Notice that when I change into the directory where the file is
located, /private is no longer part of the pathname. If I run
'bootstrap' from the original directory, matlab does not notice
changes to the file. However if I cd into the directory, it now
notices changes.
Perhaps it has something to do with the pathnames I used when I added
the path?
-Ian
Ian Fasel wrote:[color=darkred]
>
>
> I had the exact same problem as below:
>
> directory
>
> This was on Mac OS X 10.3.9, using R14, both SP1 and SP2.
> This was running from my home directory, mounted at /home from a
> Mac
> OS X Server 10.3.9 machine.
>
> The half-fix was to make a softlink from /automount/static/home to
> /automount/home. This works sometimes. However, I still have the
> problem when Matlab randomly decides to pre-pend /private to the
> path:
> ans =
> /automount/home/ianfasel/SCTL/MPTX/Flonk
>
> Things here work normally, however if the file is in a
> subdirectory:
>
>
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/boots
> tr
> ap.m
> (notice /private here but not above)
> Then matlab won't notice changes to files in this directory and it
> is
> necessary to type
> to get it to run the files as they exist on disk rather than run
> them
> from cache.
>
> -Ian
| |
| Ian Fasel 2005-05-29, 8:58 pm |
| One more observation... There is a difference between R14 and R14sp2
apparently. In R14, if I add a path, the relative pathname is used
when I type 'which'. In R14sp2, the full pathname is used when I use
which.
Example 1: (This works correclty -- i.e., changes to files are
noticed)...
% /Applications/MATLAB7/bin/matlab -nojvm -nosplash
Xlib: extension "GLX" missing on display "localhost:10.0".
??? Not able to create a render context.
Warning: Error occured while loading OpenGL
< M A T L A B >
Copyright 1984-2004 The MathWorks,
Inc.
Version 7.0.0.19901 (R14)
May 06, 2004
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
RNDerivatives/bootstrap.m[color=darkred]
-----------------
Example 2: (The following does not work, i.e., changes to files are
not noticed)...
% /Applications/MATLAB7sp2/bin/matlab -nojvm -nosplash
< M A T L A B >
Copyright 1984-2005 The MathWorks,
Inc.
Version 7.0.4.352 (R14) Service Pack 2
January 29, 2005
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
[color=darkred]
/private/automount/home/ianfasel/SCTL/MPTX/Boosting/RNDerivatives/boot
strap.m[color=darkred]
I hope this information can be useful to someone trying to find a
workaround.
-Ian
Ian Fasel wrote:[color=darkred]
>
>
> Here's another weird example:
>
> ans =
> /automount/home/ianfasel/SCTL/MPTX/Flonk
>
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/boots
> tr
> ap.m
> /automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstrap.m
>
> Notice that when I change into the directory where the file is
> located, /private is no longer part of the pathname. If I run
> 'bootstrap' from the original directory, matlab does not notice
> changes to the file. However if I cd into the directory, it now
> notices changes.
>
> Perhaps it has something to do with the pathnames I used when I
> added
> the path?
>
> -Ian
>
> Ian Fasel wrote:
> directory
> directory
> and
a[color=darkred]
> to
> the
the[color=darkred]
>
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/boots[color=darkred]
>
> it
run[color=darkred]
| |
| Ian Fasel 2005-05-29, 8:58 pm |
| One more observation... There is a difference between R14 and R14sp2
apparently. In R14, if I add a path, the relative pathname is used
when I type 'which'. In R14sp2, the full pathname is used when I use
which.
Example 1: (This works correclty -- i.e., changes to files are
noticed)...
% /Applications/MATLAB7/bin/matlab -nojvm -nosplash
Xlib: extension "GLX" missing on display "localhost:10.0".
??? Not able to create a render context.
Warning: Error occured while loading OpenGL
< M A T L A B >
Copyright 1984-2004 The MathWorks,
Inc.
Version 7.0.0.19901 (R14)
May 06, 2004
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
RNDerivatives/bootstrap.m[color=darkred]
-----------------
Example 2: (The following does not work, i.e., changes to files are
not noticed)...
% /Applications/MATLAB7sp2/bin/matlab -nojvm -nosplash
< M A T L A B >
Copyright 1984-2005 The MathWorks,
Inc.
Version 7.0.4.352 (R14) Service Pack 2
January 29, 2005
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
[color=darkred]
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstr
ap.m[color=darkred]
I hope this information can be useful to someone trying to find a
workaround.
-Ian
Ian Fasel wrote:[color=darkred]
>
>
> Here's another weird example:
>
> ans =
> /automount/home/ianfasel/SCTL/MPTX/Flonk
>
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/boots
> tr
> ap.m
> /automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/bootstrap.m
>
> Notice that when I change into the directory where the file is
> located, /private is no longer part of the pathname. If I run
> 'bootstrap' from the original directory, matlab does not notice
> changes to the file. However if I cd into the directory, it now
> notices changes.
>
> Perhaps it has something to do with the pathnames I used when I
> added
> the path?
>
> -Ian
>
> Ian Fasel wrote:
> directory
> directory
> and
a[color=darkred]
> to
> the
the[color=darkred]
>
/private/automount/home/ianfasel/SCTL/MPTX/Flonk/RNDerivatives/boots[color=darkred]
>
> it
run[color=darkred]
| |
| Mac Wendelboe 2005-05-31, 9:14 am |
| Now I see, that when I am actually standing in /home/macw, Matlab
thinks I am standing in /usr/local/macw:
[color=darkred]
ans =
/usr/local/macw
This probably has something to do with the installation path of
Matlab (/usr/local/matlab14). May it could also have something to do,
with the way I installed Matlab. Since I was short of space on my
/usr/local, I installed Matlab in /home/matlab14 and symlinked that
to /usr/local/matlab14.
I have no idea about how to work around this problem.
|
|
|
|
|