segment(3): use bind -c in examples (thanks henesy)

This commit is contained in:
cinap_lenrek 2019-02-08 22:28:20 +01:00
parent 01b6aa0f9f
commit 66b9196f77

View file

@ -3,7 +3,7 @@
segment \- long lived memory segments segment \- long lived memory segments
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
.B bind '#g' /mnt/segment .B bind -c '#g' /mnt/segment
.BI #g/ seg1 .BI #g/ seg1
.BI #g/ seg1 /ctl .BI #g/ seg1 /ctl
@ -110,7 +110,7 @@ with mode ORDWR.
.PP .PP
Create a one megabyte segment at address 0x10000000: Create a one megabyte segment at address 0x10000000:
.EX .EX
% bind '#g' /mnt/segment % bind -c '#g' /mnt/segment
% mkdir /mnt/segment/example % mkdir /mnt/segment/example
% echo 'va 0x10000000 0x100000' > /mnt/segment/example/ctl % echo 'va 0x10000000 0x100000' > /mnt/segment/example/ctl
.EE .EE