Page MenuHomeFreeBSD

mount.8: mention that the snapshot option is exclusive
ClosedPublic

Authored by rew on Mar 17 2022, 1:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 5:28 PM
Unknown Object (File)
Mon, Jul 1, 8:58 AM
Unknown Object (File)
Fri, Jun 28, 10:24 PM
Unknown Object (File)
Thu, Jun 27, 4:02 PM
Unknown Object (File)
May 22 2024, 2:38 AM
Unknown Object (File)
Mar 25 2024, 1:42 PM
Unknown Object (File)
Mar 22 2024, 9:24 PM
Unknown Object (File)
Mar 22 2024, 9:23 PM

Details

Summary

When using the snapshot option, all other options are ignored.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rew requested review of this revision.Mar 17 2022, 1:42 AM

Looks good. Short and to the point.

This revision is now accepted and ready to land.Mar 17 2022, 5:10 AM
0mp added a subscriber: 0mp.

MFC?

LGTM other than the above.

sbin/mount/mount.8
298

While on this manual page, I'd use rm here for consistency with the above, or unlink(2) if referring to the system call.

rew marked an inline comment as done.Mar 17 2022, 10:08 PM
In D34584#783549, @0mp wrote:

MFC?

Yes, to be MFC'ed with 0455cc7104ec8e8dd54b3f44049112a5a8ca329c and ab2dbd9b871dd00afc6ad78acb386ffa48b6b053

The update for this documentation is to reflect the changes made in ab2dbd9b871dd00afc6ad78acb386ffa48b6b053, which I'll note in the log message when I commit.

sbin/mount/mount.8
298

Hmm, since you point this out, I created a snapshot file and did an ls -lo on it and the results indicate that the schg flag is not set on snapshots.

I will save updating this paragraph for a separate change since it needs more than a cursory glance to make it correct.

This revision was automatically updated to reflect the committed changes.
rew marked an inline comment as done.