Skip to content

Commit fd6402a

Browse files
committed
man: update examples in nilfs.8
Update the usage examples in the nilfs(8) manual page to reflect current behavior. The previous examples were outdated, showing timestamps from 2014 and mount command output that differs from modern kernel behavior (specifically regarding the "gcpid" and "relatime" mount options). This change aligns the examples with the "What is NILFS?" section of the official website. [ also updated man page date to prevent inversions ] Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
1 parent ab4cdf6 commit fd6402a

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

man/nilfs.8

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" Copyright (C) 2005-2012 Nippon Telegraph and Telephone Corporation.
22
.\" Written by Ryusuke Konishi <konishi.ryusuke@gmail.com>
33
.\"
4-
.TH NILFS 8 "Apr 2014" "nilfs-utils version 2.2"
4+
.TH NILFS 8 "Jan 2026" "nilfs-utils version 2.2"
55
.SH NAME
66
NILFS \- the new implementation of a log-structured file system
77
.SH SYNOPSIS
@@ -67,23 +67,23 @@ ordinary POSIX file system. This will invoke a cleaner process
6767
lists checkpoints created in the file system as follows:
6868
.PP
6969
CNO DATE TIME MODE FLG BLKCNT ICNT
70-
1 2014-01-18 20:49:54 cp - 4 2
71-
2 2014-01-18 20:51:45 cp - 3990 11
72-
3 2014-01-18 20:51:45 cp - 6058 3
73-
4 2014-01-18 20:51:49 cp - 4807 6
74-
5 2014-01-18 20:51:49 cp - 262 3
70+
1 2024-03-16 23:49:26 cp - 4 1
71+
2 2024-03-16 23:49:44 cp - 4 1
72+
3 2024-03-16 23:50:55 cp - 3208 625
73+
4 2024-03-16 23:51:18 cp - 2207 506
74+
5 2024-03-16 23:51:23 cp - 2204 503
7575
...
7676
.TP
7777
.B chcp ss \fP2
7878
changes the checkpoint whose \fIcheckpoint-number\fP is two to a snapshot.
7979
Then the checkpoint list will become as follows:
8080
.PP
8181
CNO DATE TIME MODE FLG BLKCNT ICNT
82-
1 2014-01-18 20:49:54 cp - 4 2
83-
2 2014-01-18 20:51:45 ss - 3990 11
84-
3 2014-01-18 20:51:45 cp - 6058 3
85-
4 2014-01-18 20:51:49 cp - 4807 6
86-
5 2014-01-18 20:51:49 cp - 262 3
82+
1 2024-03-16 23:49:26 cp - 4 1
83+
2 2024-03-16 23:49:44 ss - 4 1
84+
3 2024-03-16 23:50:55 cp - 3208 625
85+
4 2024-03-16 23:51:18 cp - 2207 506
86+
5 2024-03-16 23:51:23 cp - 2204 503
8787
...
8888
.TP
8989
.B mount \-t nilfs2 \-r \-o cp=2 \fP/dev/sdb1 /snapshot
@@ -95,8 +95,8 @@ one or more snapshots are mountable independently, so the online
9595
backup is possible through the snapshot mounts.
9696
.PP
9797
# mount \-t nilfs2
98-
/dev/sdb1 on /nilfs type nilfs2 (rw,gcpid=13296)
99-
/dev/sdb1 on /snapshot type nilfs2 (ro,cp=2)
98+
/dev/sdb1 on /nilfs type nilfs2 (rw,relatime)
99+
/dev/sdb1 on /snapshot type nilfs2 (ro,relatime,cp=2)
100100
.TP
101101
.B umount \fP/nilfs
102102
unmounts the NILFS2 file system mounted on `/nilfs' and will shut down

0 commit comments

Comments
 (0)