由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - pwd vs $cwd, help me
相关主题
unix mount nfs , pwd wrong?10个包子征求解答
mount question?[转载] 紧急求助
Mounting NFS filesystems -- ERROR 请教大侠I am crazy about this!!
Help! E297: Write error in swap file有什么办法可以check所在服务器的硬件配置?
怎么把文件所在的目录名加到文件名后面[转载] The truely evil UNIX command. :-)
what does some of FTP instructions mean? Z: FreeBSD 5.0 Release officially announced
如何扩大内存limit?关于quota的弱智一问
FreeBSD memory limit?急!unix 好像是down掉了
相关话题的讨论汇总
话题: cwd话题: pwd话题: dog3话题: pathname话题: datadisk
进入Unix版参与讨论
1 (共1页)
k*****l
发帖数: 177
1
Hi All.
Here is a squirrelly one that took me by surprise. Apparently, there is a
subtle difference between pwd and $cwd in the csh.
Most of the time, typing in pwd and echo $cwd results in identical responses.
However, on certain mounted directories, $cwd seems to give the full pathname
and echo pwd only gives a part of pathname.
Example:
# df -k
Filesystem Type kbytes use avail %use Mounted on
/dev/root xfs 4253464 4191256 62208 99 /
dog3:/dog3
m*****e
发帖数: 4193
2
Normally it's automount or amd.

【在 k*****l 的大作中提到】
: Hi All.
: Here is a squirrelly one that took me by surprise. Apparently, there is a
: subtle difference between pwd and $cwd in the csh.
: Most of the time, typing in pwd and echo $cwd results in identical responses.
: However, on certain mounted directories, $cwd seems to give the full pathname
: and echo pwd only gives a part of pathname.
: Example:
: # df -k
: Filesystem Type kbytes use avail %use Mounted on
: /dev/root xfs 4253464 4191256 62208 99 /

k*****l
发帖数: 177
3
venus:/datadisk /datadisk nfs users,noauto,exec 1 1
And then , mount /datadisk. Is it anything wrong ?
what is "amd" ?

【在 m*****e 的大作中提到】
: Normally it's automount or amd.
1 (共1页)
进入Unix版参与讨论
相关主题
急!unix 好像是down掉了怎么把文件所在的目录名加到文件名后面
如何让UNIX的机器和WINDOWS XP的机器之间实现共享?what does some of FTP instructions mean?
大虾青筋About BACKUP FILES AND FILESYSTEMS如何扩大内存limit?
请问unix/Linux中设置共享目录FreeBSD memory limit?
unix mount nfs , pwd wrong?10个包子征求解答
mount question?[转载] 紧急求助
Mounting NFS filesystems -- ERROR 请教大侠I am crazy about this!!
Help! E297: Write error in swap file有什么办法可以check所在服务器的硬件配置?
相关话题的讨论汇总
话题: cwd话题: pwd话题: dog3话题: pathname话题: datadisk