tar: one

1 
1 6.10 Crossing File System Boundaries
1 ====================================
1 
1 'tar' will normally automatically cross file system boundaries in order
1 to archive files which are part of a directory tree.  You can change
1 this behavior by running 'tar' and specifying '--one-file-system'.  This
1 option only affects files that are archived because they are in a
1 directory that is being archived; 'tar' will still archive files
1 explicitly named on the command line or through '--files-from',
1 regardless of where they reside.
1 
1 '--one-file-system'
1      Prevents 'tar' from crossing file system boundaries when archiving.
1      Use in conjunction with any write operation.
1 
1    The '--one-file-system' option causes 'tar' to modify its normal
1 behavior in archiving the contents of directories.  If a file in a
1 directory is not on the same file system as the directory itself, then
1 'tar' will not archive that file.  If the file is a directory itself,
1 'tar' will not archive anything beneath it; in other words, 'tar' will
1 not cross mount points.
1 
1    This option is useful for making full or incremental archival backups
1 of a file system.  If this option is used in conjunction with
1 '--verbose' ('-v'), files that are excluded are mentioned by name on the
1 standard error.
1 

Menu