[LU-15766] Improve manual page lfs-hsm.1 to match options and text in lfs.c Created: 20/Apr/22  Updated: 11/Jun/22  Resolved: 11/Jun/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.15.0
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Thomas Stibor Assignee: Thomas Stibor
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian GNU/Linux 11 (bullseye)


Issue Links:
Related
is related to LU-930 Update or improvement to a Lustre man... Open
Rank (Obsolete): 9223372036854775807

 Description   

Current manual page lfs-hsm.1 has minor inconsistent formatting issues such as:

lfs hsm_state <FILE>...
lfs hsm_action file

and missing argument in option

[--archive-id]

According to lfs.c the options are:

{"hsm_set", lfs_hsm_set, 0, "Set HSM user flag on specified files.\n"
	 "usage: hsm_set [--norelease] [--noarchive] [--dirty] [--exists] "
	 "[--archived] [--lost] [--archive-id NUM] <file> ..."}

The provided patch ensure that the manual page and options in lfs.c are in match and consistent.



 Comments   
Comment by Gerrit Updater [ 20/Apr/22 ]

"Thomas Stibor <t.stibor@gsi.de>" uploaded a new patch: https://review.whamcloud.com/47099
Subject: LU-15766 doc: Improve lfs-hsm.1 to match options in lfs.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 97d63ab0d76f64b0c69bd0eebffaae2fe4232f7a

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47099/
Subject: LU-15766 doc: Improve lfs-hsm.1 to match options in lfs.c
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5787efc44c8e6501c8d7b0bb4e1c0aa1ec2248fb

Comment by Peter Jones [ 11/Jun/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:21:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.