- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Finding "hidden" files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 10:38 PM
03-19-2006 10:38 PM
This is probably a strange question, but here goes.
I have a directory under /, say /abc. There are one or more files in this directory. Subsequently, another filesystem is mounted with /abc as the mount point. Naturally, the files which originally existed in /abc will no longer visible using commands like ls and find.
Is there any other way to confirm the existence of these files other than unmonuting the filesystem at that location?
Many thanks,
Abhik.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 10:51 PM
03-19-2006 10:51 PM
Re: Finding "hidden" files
/abc will not show with ls -l command.
To see the hidden files , you have to use :
#ls -al / or /abc
#du -ak /abc
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:09 PM
03-19-2006 11:09 PM
Re: Finding "hidden" files
Asif, thanks for your answer. However, I think you misunderstood my question. I am not looking for files which are hidden by virtue of being prefixed with a '.', but rather, for files which exist in a directory which has subsequently become a mount point for another file system...
Here's an example of what I meant and the output of what James said:
igniteSV:root> ls -lat /cdr/dummy.dat
/cdr/dummy.dat not found
igniteSV:root> ff -F vxfs /dev/vg00/lvol3 | grep "/cdr/"
vxfs ff: /dev/vg00/lvol3: 5159 files selected
./stc/omg/cdr/open 3446
./stc/omg/cdr/closed 3447
./stc/omg/cdr/archive 3448
./cdr/dummy.dat 4253
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 11:35 PM
03-19-2006 11:35 PM
Re: Finding "hidden" files
We have a customer complaining that their two HP-UX systems show the usage of / at near 90-95% (output of bdf) and yet, "du -akx | sort -nr" doesn't show anything taking up the space.
While hunting on ITRC I came across Steven E. Protter's "hidden file trick" on http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=226255
Since these servers are carrying live traffic, I wanted to find without unmounting all filesystems, if there were indeed any "hidden" files, before I brought down the system to delete these files... and boy, did I find a treasure!
So, if possible, I would have assigned points to Steven E. Protter and Bill Hassell!!!
Thanks again to all.
Abhik.