On Tue, 6 Nov 2018 11:07:22 -0800, Paul Allen Newell <pnewell0...@gmail.com>
wrote:

> Rick:
> 
> Thanks for reply. I went through a bunch on man pages that do not list 
> the -f option. After getting your email, I went looking for a bunch more 
> and finally found one that had the -f and -d option.
> 
> I note that 'sync --help' only provides 'Usage: sync [OPTION]' without 
> listing what the options are. I have just followed their suggestion of 
> running "info coreutils 'sync invocation'" which gives alot of options.
> 
> Not certain why these options are more readily visible. I probably 
> should have dug deeper but after a bunch of online docs showing no 
> options I just figured there weren't any.
> 
> Paul

On both Fedora 28 and 29 (I don't have any older versions available), "man
sync" describes the -f option and "sync --help" returns the following:

  Usage: sync [OPTION] [FILE]...
  Synchronize cached writes to persistent storage

  If one or more files are specified, sync only them,
  or their containing file systems.

    -d, --data             sync only file data, no unneeded metadata
    -f, --file-system      sync the file systems that contain the files
        --help     display this help and exit
        --version  output version information and exit

  GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
  Full documentation at: <https://www.gnu.org/software/coreutils/sync>
  or available locally via: info '(coreutils) sync invocation'

The link to the coreutils documentation gives more detail. (The man page also
points to that.)  I'm not sure why you don't think the options are readily
visible, unless you're working on non-Fedora (or even non-Linux) systems.

Attachment: pgpQuKMEXOKMH.pgp
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to