<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: finding files only on / in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354274#M192986</link>
    <description>Joel,&lt;BR /&gt;&lt;BR /&gt;There's an example in the man page that seems to fit your requirements:&lt;BR /&gt;&lt;BR /&gt;"Copy the root disk to a disk mounted on /Disk, skipping all mounted file systems below /.  Note that -xdev does not cause / to be skipped, even though it is a mount point.  This is because / is the starting point and -xdev only affects entries below starting points.&lt;BR /&gt;&lt;BR /&gt;  cd /;  find . -xdev -print | cpio -pdm /Disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does that help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 11 Aug 2004 05:25:36 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-08-11T05:25:36Z</dc:date>
    <item>
      <title>finding files only on /</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354273#M192985</link>
      <description>I need to backup files and directorys that i create in file system / but i don't want to copy the file system:&lt;BR /&gt;is something like this:&lt;BR /&gt;&lt;BR /&gt;find / ???? | cpio -ocvB &amp;gt; /dev/DLTnn&lt;BR /&gt;&lt;BR /&gt;Can u help me?</description>
      <pubDate>Wed, 11 Aug 2004 05:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354273#M192985</guid>
      <dc:creator>uadm26</dc:creator>
      <dc:date>2004-08-11T05:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: finding files only on /</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354274#M192986</link>
      <description>Joel,&lt;BR /&gt;&lt;BR /&gt;There's an example in the man page that seems to fit your requirements:&lt;BR /&gt;&lt;BR /&gt;"Copy the root disk to a disk mounted on /Disk, skipping all mounted file systems below /.  Note that -xdev does not cause / to be skipped, even though it is a mount point.  This is because / is the starting point and -xdev only affects entries below starting points.&lt;BR /&gt;&lt;BR /&gt;  cd /;  find . -xdev -print | cpio -pdm /Disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does that help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 11 Aug 2004 05:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354274#M192986</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-08-11T05:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: finding files only on /</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354275#M192987</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Keeping your idea:&lt;BR /&gt;#find / -xdev|cpio -ocvB &amp;gt; /dev/DLTnn&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 11 Aug 2004 05:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354275#M192987</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-08-11T05:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: finding files only on /</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354276#M192988</link>
      <description>You can use -xdev option with find or -mountpoint option to select the files / directories under the same filesystem&lt;BR /&gt;&lt;BR /&gt;-mountpoint is less preferred over -xdev option. &lt;BR /&gt;&lt;BR /&gt;Comparative test:&lt;BR /&gt;==================&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -name "*" | wc -l&lt;BR /&gt;2343&lt;BR /&gt;# find / -mountstop -name "*" | wc -l&lt;BR /&gt;2343&lt;BR /&gt;&lt;BR /&gt;They are same but mountpoint is provided     for backward compatibility only.</description>
      <pubDate>Wed, 11 Aug 2004 05:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-only-on/m-p/3354276#M192988</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-11T05:52:32Z</dc:date>
    </item>
  </channel>
</rss>

