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)
Wed, Oct 16, 3:46 PM
Unknown Object (File)
Sep 28 2024, 9:12 PM
Unknown Object (File)
Sep 27 2024, 5:46 PM
Unknown Object (File)
Sep 27 2024, 5:21 PM
Unknown Object (File)
Sep 27 2024, 5:21 PM
Unknown Object (File)
Sep 16 2024, 12:59 PM
Unknown Object (File)
Sep 16 2024, 12:42 AM
Unknown Object (File)
Sep 4 2024, 4:39 AM

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.