Redian新闻
>
question: how to find which dir is on which parti
avatar
question: how to find which dir is on which parti# Unix - 噫吁兮,危乎高哉
L*e
1
I have a basic Unix problem:
How do I know which partition a directory is on?
like: I have two partitions as: (with df)
/export/users (/dev/dsk/c0t1d0s6 ): 970276 blocks 939250 files
/export/home1 (/dev/dsk/c0t5d0s3 ): 3490094 blocks 929644 files
and I can not see /export on another partition.
when I create a directory /export/software
which partition does it go to?
Is there any command I can use to find out any file/dir on which partition?
Thanks.
avatar
m*e
2

df that_directory_or_file

【在 L***e 的大作中提到】
: I have a basic Unix problem:
: How do I know which partition a directory is on?
: like: I have two partitions as: (with df)
: /export/users (/dev/dsk/c0t1d0s6 ): 970276 blocks 939250 files
: /export/home1 (/dev/dsk/c0t5d0s3 ): 3490094 blocks 929644 files
: and I can not see /export on another partition.
: when I create a directory /export/software
: which partition does it go to?
: Is there any command I can use to find out any file/dir on which partition?
: Thanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。