Skip to content

Commit

Permalink
Clarify -cgroupfs
Browse files Browse the repository at this point in the history
This flag's behavior was removed back in 29234bc, so clarify for the user not to bother with it anymore.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11376 from evanphx:b-cgroupfs-flag 9b66d5b
PiperOrigin-RevId: 717975371
  • Loading branch information
evanphx authored and gvisor-bot committed Jan 21, 2025
1 parent d22dedf commit 5a68be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runsc/config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
flagSet.Bool("vfs2", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("fuse", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("lisafs", true, "DEPRECATED: this flag has no effect.")
flagSet.Bool("cgroupfs", false, "Automatically mount cgroupfs.")
flagSet.Bool("cgroupfs", false, "DEPRECATED: this flag has no effect.")
flagSet.Bool("ignore-cgroups", false, "don't configure cgroups.")
flagSet.Int("fdlimit", -1, "Specifies a limit on the number of host file descriptors that can be open. Applies separately to the sentry and gofer. Note: each file in the sandbox holds more than one host FD open.")
flagSet.Int("dcache", -1, "Set the global dentry cache size. This acts as a coarse-grained control on the number of host FDs simultaneously open by the sentry. If negative, per-mount caches are used.")
Expand Down

0 comments on commit 5a68be4

Please sign in to comment.