- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- directory tree showing mountpoints
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-02-2005 05:17 AM
тАО05-02-2005 05:17 AM
This could be a great time saver!
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 05:27 AM
тАО05-02-2005 05:27 AM
Re: directory tree showing mountpoints
maybe something like this: http://hpux.ee.ualberta.ca/hppd/hpux/Gnome/gfv-0.2.1/
bdf, showmount and exportfs also work.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 05:47 AM
тАО05-02-2005 05:47 AM
Re: directory tree showing mountpoints
Maybe a combination of bdf, showmount, find, du etc. will haev to do.
;-)
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 06:17 AM
тАО05-02-2005 06:17 AM
Re: directory tree showing mountpoints
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 02:05 PM
тАО05-02-2005 02:05 PM
Solutionbdf does make scripting a pain because of long source names such as NFS that get split onto two lines. There is an easy workaround though. This code snippet will handle split lines and remove the title line:
bdf | while read SOURCE SIZ USED FREE PCT MOUNT
do
[ "$SIZ" = "kbytes" ] && continue
[ "$SIZ" = "" ] && read SIZ USED FREE PCT MOUNT
echo $SOURCE $SIZ $USED $FREE $PCT $MOUNT
done
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 06:04 PM
тАО05-02-2005 06:04 PM
Re: directory tree showing mountpoints
Interesting !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 07:54 PM
тАО05-02-2005 07:54 PM
Re: directory tree showing mountpoints
Just tune this to how you like to see mountpoints.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 08:05 PM
тАО05-02-2005 08:05 PM
Re: directory tree showing mountpoints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 08:56 PM
тАО05-02-2005 08:56 PM
Re: directory tree showing mountpoints
this might do what you request, but it takes forever to execute: try it with a directory starting point as "$1":
#!/usr/bin/sh
find "$1" -type f -print| while read line
do
bdf "$line" | tail -1| awk -v filename=$line '{print filename " mounted on:" $NF}'
done
regards,
John K.