- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ecluding nfs-client mounts from the find comma...
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
10-12-2007 12:24 AM
10-12-2007 12:24 AM
Ecluding nfs-client mounts from the find command
I simply want to exclude nfs from the find search. Would I use the xdev or mount options and what would the syntax of the command look like? Sorry if the above seemed so long-winded.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 12:26 AM
10-12-2007 12:26 AM
Re: Ecluding nfs-client mounts from the find command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 12:28 AM
10-12-2007 12:28 AM
Re: Ecluding nfs-client mounts from the find command
add the "-fstype vxfs" to your find query.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 12:29 AM
10-12-2007 12:29 AM
Re: Ecluding nfs-client mounts from the find command
find /startdir ! -fstype nfs
I believe you can also use -xdev as well - it's up to you.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 12:33 AM
10-12-2007 12:33 AM
Re: Ecluding nfs-client mounts from the find command
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 12:56 AM
10-12-2007 12:56 AM
Re: Ecluding nfs-client mounts from the find command
# find . -fsonly vxfs
Thanks Pete!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 01:41 AM
10-12-2007 01:41 AM
Re: Ecluding nfs-client mounts from the find command
What exactly did you use for syntax for the find cmd when using xdev?
I've tried the "! -fstype nfs" syntax before, which like it already been said never works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 01:47 AM
10-12-2007 01:47 AM
Re: Ecluding nfs-client mounts from the find command
# ll -d /nfs/yukon/apps/hols
dr-xr-xr-x 83 root sys 2048 Sep 6 09:12 /nfs/yukon/apps/hols
# find / -xdev -name hols
#
Pete
Pete