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.
m*****e 发帖数: 4193
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.