badrinathn
IS-IT--Management
Hi,
Using a shell script I need to find the 'mounted' filesystem for a given file. Example if the files are on
/u01/oradata/data01.dbf and is mounted on /u01 filesystem, I need to find the information about the /u01 filesystem using df -k.
How can I get the mouted filesystem information given the path to the file.
Using a shell script I need to find the 'mounted' filesystem for a given file. Example if the files are on
/u01/oradata/data01.dbf and is mounted on /u01 filesystem, I need to find the information about the /u01 filesystem using df -k.
How can I get the mouted filesystem information given the path to the file.