Re: Sticks with not lights

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/6/18 11:46 AM, George Avrunin wrote:
> On Tue, 6 Nov 2018 11:07:22 -0800, Paul Allen Newell <pnewell0705@xxxxxxxxx>
> 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.

Did a bit of snooping with VMs I have with the following results:

	OS		"man sync"	"sync --help"
	---------------	---------------	-------------
	F26		Full options	Full options
	F27		Full options	Full options
	F28		Full options	Full options
	F29		Full options	Full options
	CentOS 7	No options	No options
	Ubuntu 17	Full options	Full options
	Ubuntu 18	Full options	Full options

So, of the seven OSes I checked, only CentOS 7 didn't offer a full man
page or show the options with "--help". Weird.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-  Memory is the second thing to go, but I can't remember the first! -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux