GET https://kbin.spritesserver.nl/index.php/m/linux@lemmy.ml/t/26724/Help-on-BTRFS-setup/active

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
9.36 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.06 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Help-on-BTRFS-setup"
  +title: "Help on BTRFS setup"
  +url: null
  +body: """
    I’m attempting a new install. I want to use **btrfs with swapfile**.\n
    \n
    Do I need to disable compression on my swap subvolume?\n
    \n
    Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Here is my fstab:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
    </span>\n
    ```
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 16
  +favouriteCount: 47
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711217794 {#2414
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26724
  -titleTs: "'btrfs':3 'help':1 'setup':4"
  -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704293533
  +visibility: "visible             "
  +apId: "https://programming.dev/post/8024463"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704207133 {#1793
    date: 2024-01-02 15:52:13.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Help-on-BTRFS-setup"
  +title: "Help on BTRFS setup"
  +url: null
  +body: """
    I’m attempting a new install. I want to use **btrfs with swapfile**.\n
    \n
    Do I need to disable compression on my swap subvolume?\n
    \n
    Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Here is my fstab:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
    </span>\n
    ```
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 16
  +favouriteCount: 47
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711217794 {#2414
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26724
  -titleTs: "'btrfs':3 'help':1 'setup':4"
  -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704293533
  +visibility: "visible             "
  +apId: "https://programming.dev/post/8024463"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704207133 {#1793
    date: 2024-01-02 15:52:13.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Help-on-BTRFS-setup"
  +title: "Help on BTRFS setup"
  +url: null
  +body: """
    I’m attempting a new install. I want to use **btrfs with swapfile**.\n
    \n
    Do I need to disable compression on my swap subvolume?\n
    \n
    Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Here is my fstab:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
    </span>\n
    ```
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 16
  +favouriteCount: 47
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711217794 {#2414
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26724
  -titleTs: "'btrfs':3 'help':1 'setup':4"
  -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704293533
  +visibility: "visible             "
  +apId: "https://programming.dev/post/8024463"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704207133 {#1793
    date: 2024-01-02 15:52:13.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4031
  +user: App\Entity\User {#3979 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1711217794 {#4040
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4029 …}
  +nested: Doctrine\ORM\PersistentCollection {#4027 …}
  +votes: Doctrine\ORM\PersistentCollection {#4025 …}
  +reports: Doctrine\ORM\PersistentCollection {#4023 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
  -id: 273638
  -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7011839"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208307 {#3976
    date: 2024-01-02 16:11:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4031
  +user: App\Entity\User {#3979 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1711217794 {#4040
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4029 …}
  +nested: Doctrine\ORM\PersistentCollection {#4027 …}
  +votes: Doctrine\ORM\PersistentCollection {#4025 …}
  +reports: Doctrine\ORM\PersistentCollection {#4023 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
  -id: 273638
  -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7011839"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208307 {#3976
    date: 2024-01-02 16:11:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4031
  +user: App\Entity\User {#3979 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1711217794 {#4040
    date: 2024-03-23 19:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4029 …}
  +nested: Doctrine\ORM\PersistentCollection {#4027 …}
  +votes: Doctrine\ORM\PersistentCollection {#4025 …}
  +reports: Doctrine\ORM\PersistentCollection {#4023 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
  -id: 273638
  -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7011839"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208307 {#3976
    date: 2024-01-02 16:11:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4246
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704208929 {#4244
    date: 2024-01-02 16:22:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4251 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 273671
  -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073812"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208929 {#4245
    date: 2024-01-02 16:22:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4246
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704208929 {#4244
    date: 2024-01-02 16:22:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4251 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 273671
  -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073812"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208929 {#4245
    date: 2024-01-02 16:22:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4246
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704208929 {#4244
    date: 2024-01-02 16:22:09.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4251 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 273671
  -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073812"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208929 {#4245
    date: 2024-01-02 16:22:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4286
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4246
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4031
      +user: App\Entity\User {#3979 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1711217794 {#4040
        date: 2024-03-23 19:16:34.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4029 …}
      +nested: Doctrine\ORM\PersistentCollection {#4027 …}
      +votes: Doctrine\ORM\PersistentCollection {#4025 …}
      +reports: Doctrine\ORM\PersistentCollection {#4023 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
      -id: 273638
      -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7011839"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208307 {#3976
        date: 2024-01-02 16:11:47.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704208929 {#4244
      date: 2024-01-02 16:22:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4251 …}
    +reports: Doctrine\ORM\PersistentCollection {#4253 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    -id: 273671
    -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073812"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208929 {#4245
      date: 2024-01-02 16:22:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "I’d highly recommend setting up a swap partition instead."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704212785 {#4287
    date: 2024-01-02 17:26:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4280 …}
  +nested: Doctrine\ORM\PersistentCollection {#4278 …}
  +votes: Doctrine\ORM\PersistentCollection {#4282 …}
  +reports: Doctrine\ORM\PersistentCollection {#4293 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
  -id: 273839
  -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7013095"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704212785 {#4290
    date: 2024-01-02 17:26:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4286
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4246
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4031
      +user: App\Entity\User {#3979 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1711217794 {#4040
        date: 2024-03-23 19:16:34.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4029 …}
      +nested: Doctrine\ORM\PersistentCollection {#4027 …}
      +votes: Doctrine\ORM\PersistentCollection {#4025 …}
      +reports: Doctrine\ORM\PersistentCollection {#4023 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
      -id: 273638
      -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7011839"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208307 {#3976
        date: 2024-01-02 16:11:47.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704208929 {#4244
      date: 2024-01-02 16:22:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4251 …}
    +reports: Doctrine\ORM\PersistentCollection {#4253 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    -id: 273671
    -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073812"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208929 {#4245
      date: 2024-01-02 16:22:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "I’d highly recommend setting up a swap partition instead."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704212785 {#4287
    date: 2024-01-02 17:26:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4280 …}
  +nested: Doctrine\ORM\PersistentCollection {#4278 …}
  +votes: Doctrine\ORM\PersistentCollection {#4282 …}
  +reports: Doctrine\ORM\PersistentCollection {#4293 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
  -id: 273839
  -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7013095"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704212785 {#4290
    date: 2024-01-02 17:26:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4286
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4246
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4031
      +user: App\Entity\User {#3979 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1711217794 {#4040
        date: 2024-03-23 19:16:34.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4029 …}
      +nested: Doctrine\ORM\PersistentCollection {#4027 …}
      +votes: Doctrine\ORM\PersistentCollection {#4025 …}
      +reports: Doctrine\ORM\PersistentCollection {#4023 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
      -id: 273638
      -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7011839"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208307 {#3976
        date: 2024-01-02 16:11:47.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704208929 {#4244
      date: 2024-01-02 16:22:09.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4251 …}
    +reports: Doctrine\ORM\PersistentCollection {#4253 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
    -id: 273671
    -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073812"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208929 {#4245
      date: 2024-01-02 16:22:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "I’d highly recommend setting up a swap partition instead."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704212785 {#4287
    date: 2024-01-02 17:26:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4280 …}
  +nested: Doctrine\ORM\PersistentCollection {#4278 …}
  +votes: Doctrine\ORM\PersistentCollection {#4282 …}
  +reports: Doctrine\ORM\PersistentCollection {#4293 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
  -id: 273839
  -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7013095"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704212785 {#4290
    date: 2024-01-02 17:26:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4315
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#4283 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4246
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4031
        +user: App\Entity\User {#3979 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1711217794 {#4040
          date: 2024-03-23 19:16:34.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4029 …}
        +nested: Doctrine\ORM\PersistentCollection {#4027 …}
        +votes: Doctrine\ORM\PersistentCollection {#4025 …}
        +reports: Doctrine\ORM\PersistentCollection {#4023 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
        -id: 273638
        -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7011839"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208307 {#3976
          date: 2024-01-02 16:11:47.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704208929 {#4244
        date: 2024-01-02 16:22:09.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4251 …}
      +reports: Doctrine\ORM\PersistentCollection {#4253 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      -id: 273671
      -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6073812"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208929 {#4245
        date: 2024-01-02 16:22:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "I’d highly recommend setting up a swap partition instead."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704212785 {#4287
      date: 2024-01-02 17:26:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4280 …}
    +nested: Doctrine\ORM\PersistentCollection {#4278 …}
    +votes: Doctrine\ORM\PersistentCollection {#4282 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -id: 273839
    -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7013095"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704212785 {#4290
      date: 2024-01-02 17:26:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Why?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704219852 {#4320
    date: 2024-01-02 19:24:12.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4327 …}
  +votes: Doctrine\ORM\PersistentCollection {#4329 …}
  +reports: Doctrine\ORM\PersistentCollection {#4330 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
  -id: 274183
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076835"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704219852 {#4317
    date: 2024-01-02 19:24:12.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4315
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#4283 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4246
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4031
        +user: App\Entity\User {#3979 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1711217794 {#4040
          date: 2024-03-23 19:16:34.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4029 …}
        +nested: Doctrine\ORM\PersistentCollection {#4027 …}
        +votes: Doctrine\ORM\PersistentCollection {#4025 …}
        +reports: Doctrine\ORM\PersistentCollection {#4023 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
        -id: 273638
        -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7011839"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208307 {#3976
          date: 2024-01-02 16:11:47.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704208929 {#4244
        date: 2024-01-02 16:22:09.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4251 …}
      +reports: Doctrine\ORM\PersistentCollection {#4253 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      -id: 273671
      -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6073812"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208929 {#4245
        date: 2024-01-02 16:22:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "I’d highly recommend setting up a swap partition instead."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704212785 {#4287
      date: 2024-01-02 17:26:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4280 …}
    +nested: Doctrine\ORM\PersistentCollection {#4278 …}
    +votes: Doctrine\ORM\PersistentCollection {#4282 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -id: 273839
    -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7013095"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704212785 {#4290
      date: 2024-01-02 17:26:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Why?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704219852 {#4320
    date: 2024-01-02 19:24:12.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4327 …}
  +votes: Doctrine\ORM\PersistentCollection {#4329 …}
  +reports: Doctrine\ORM\PersistentCollection {#4330 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
  -id: 274183
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076835"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704219852 {#4317
    date: 2024-01-02 19:24:12.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4315
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#4283 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4246
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4031
        +user: App\Entity\User {#3979 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1711217794 {#4040
          date: 2024-03-23 19:16:34.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4029 …}
        +nested: Doctrine\ORM\PersistentCollection {#4027 …}
        +votes: Doctrine\ORM\PersistentCollection {#4025 …}
        +reports: Doctrine\ORM\PersistentCollection {#4023 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
        -id: 273638
        -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7011839"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208307 {#3976
          date: 2024-01-02 16:11:47.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1704208929 {#4244
        date: 2024-01-02 16:22:09.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4251 …}
      +reports: Doctrine\ORM\PersistentCollection {#4253 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
      -id: 273671
      -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6073812"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208929 {#4245
        date: 2024-01-02 16:22:09.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "I’d highly recommend setting up a swap partition instead."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704212785 {#4287
      date: 2024-01-02 17:26:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4280 …}
    +nested: Doctrine\ORM\PersistentCollection {#4278 …}
    +votes: Doctrine\ORM\PersistentCollection {#4282 …}
    +reports: Doctrine\ORM\PersistentCollection {#4293 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
    -id: 273839
    -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7013095"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704212785 {#4290
      date: 2024-01-02 17:26:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "Why?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704219852 {#4320
    date: 2024-01-02 19:24:12.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4323 …}
  +nested: Doctrine\ORM\PersistentCollection {#4327 …}
  +votes: Doctrine\ORM\PersistentCollection {#4329 …}
  +reports: Doctrine\ORM\PersistentCollection {#4330 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
  -id: 274183
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076835"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704219852 {#4317
    date: 2024-01-02 19:24:12.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4343
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
    \n
    - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
    - has a chance to fragment\n
    - has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
    \n
    after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704221655 {#4346
    date: 2024-01-02 19:54:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4340 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4352 …}
  +reports: Doctrine\ORM\PersistentCollection {#4354 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
  -id: 274314
  -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6077418"
  +editedAt: DateTimeImmutable @1710979563 {#4349
    date: 2024-03-21 01:06:03.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704221655 {#4351
    date: 2024-01-02 19:54:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4343
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
    \n
    - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
    - has a chance to fragment\n
    - has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
    \n
    after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704221655 {#4346
    date: 2024-01-02 19:54:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4340 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4352 …}
  +reports: Doctrine\ORM\PersistentCollection {#4354 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
  -id: 274314
  -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6077418"
  +editedAt: DateTimeImmutable @1710979563 {#4349
    date: 2024-03-21 01:06:03.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704221655 {#4351
    date: 2024-01-02 19:54:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4343
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
    \n
    - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
    - has a chance to fragment\n
    - has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
    \n
    after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704221655 {#4346
    date: 2024-01-02 19:54:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4340 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4352 …}
  +reports: Doctrine\ORM\PersistentCollection {#4354 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
  -id: 274314
  -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6077418"
  +editedAt: DateTimeImmutable @1710979563 {#4349
    date: 2024-03-21 01:06:03.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704221655 {#4351
    date: 2024-01-02 19:54:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4376
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
    \n
    Make a subvolume only for the swapfile.\n
    \n
    > has a chance to fragment\n
    \n
    This is true for all files. Is it a bigger problem for swap?\n
    \n
    > has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    This one I can’t refute. How long ago did you have these issues?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226126 {#4381
    date: 2024-01-02 21:08:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4384 …}
  +nested: Doctrine\ORM\PersistentCollection {#4388 …}
  +votes: Doctrine\ORM\PersistentCollection {#4390 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 274473
  -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6078905"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226126 {#4378
    date: 2024-01-02 21:08:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4376
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
    \n
    Make a subvolume only for the swapfile.\n
    \n
    > has a chance to fragment\n
    \n
    This is true for all files. Is it a bigger problem for swap?\n
    \n
    > has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    This one I can’t refute. How long ago did you have these issues?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226126 {#4381
    date: 2024-01-02 21:08:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4384 …}
  +nested: Doctrine\ORM\PersistentCollection {#4388 …}
  +votes: Doctrine\ORM\PersistentCollection {#4390 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 274473
  -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6078905"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226126 {#4378
    date: 2024-01-02 21:08:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4376
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
    \n
    Make a subvolume only for the swapfile.\n
    \n
    > has a chance to fragment\n
    \n
    This is true for all files. Is it a bigger problem for swap?\n
    \n
    > has issues with hibernation (that I’ve personally encountered multiple times)\n
    \n
    This one I can’t refute. How long ago did you have these issues?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226126 {#4381
    date: 2024-01-02 21:08:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4384 …}
  +nested: Doctrine\ORM\PersistentCollection {#4388 …}
  +votes: Doctrine\ORM\PersistentCollection {#4390 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 274473
  -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6078905"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226126 {#4378
    date: 2024-01-02 21:08:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4376
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
      \n
      Make a subvolume only for the swapfile.\n
      \n
      > has a chance to fragment\n
      \n
      This is true for all files. Is it a bigger problem for swap?\n
      \n
      > has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      This one I can’t refute. How long ago did you have these issues?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226126 {#4381
      date: 2024-01-02 21:08:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4384 …}
    +nested: Doctrine\ORM\PersistentCollection {#4388 …}
    +votes: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4391 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
    -id: 274473
    -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6078905"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226126 {#4378
      date: 2024-01-02 21:08:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > Make a subvolume only for the swapfile.\n
    \n
    doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
    \n
    > This is true for all files. Is it a bigger problem for swap?\n
    \n
    specificly swapfiles yes, for swap partitions nope\n
    \n
    > How long ago did you have these issues?\n
    \n
    Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
    \n
    I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
    \n
    edit:  \n
    also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704237959 {#4420
    date: 2024-01-03 00:25:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4426 …}
  +nested: Doctrine\ORM\PersistentCollection {#4428 …}
  +votes: Doctrine\ORM\PersistentCollection {#4424 …}
  +reports: Doctrine\ORM\PersistentCollection {#4431 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
  -id: 275022
  -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6082632"
  +editedAt: DateTimeImmutable @1711072625 {#4417
    date: 2024-03-22 02:57:05.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704237959 {#4415
    date: 2024-01-03 00:25:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4376
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
      \n
      Make a subvolume only for the swapfile.\n
      \n
      > has a chance to fragment\n
      \n
      This is true for all files. Is it a bigger problem for swap?\n
      \n
      > has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      This one I can’t refute. How long ago did you have these issues?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226126 {#4381
      date: 2024-01-02 21:08:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4384 …}
    +nested: Doctrine\ORM\PersistentCollection {#4388 …}
    +votes: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4391 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
    -id: 274473
    -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6078905"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226126 {#4378
      date: 2024-01-02 21:08:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > Make a subvolume only for the swapfile.\n
    \n
    doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
    \n
    > This is true for all files. Is it a bigger problem for swap?\n
    \n
    specificly swapfiles yes, for swap partitions nope\n
    \n
    > How long ago did you have these issues?\n
    \n
    Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
    \n
    I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
    \n
    edit:  \n
    also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704237959 {#4420
    date: 2024-01-03 00:25:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4426 …}
  +nested: Doctrine\ORM\PersistentCollection {#4428 …}
  +votes: Doctrine\ORM\PersistentCollection {#4424 …}
  +reports: Doctrine\ORM\PersistentCollection {#4431 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
  -id: 275022
  -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6082632"
  +editedAt: DateTimeImmutable @1711072625 {#4417
    date: 2024-03-22 02:57:05.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704237959 {#4415
    date: 2024-01-03 00:25:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4376
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
      \n
      Make a subvolume only for the swapfile.\n
      \n
      > has a chance to fragment\n
      \n
      This is true for all files. Is it a bigger problem for swap?\n
      \n
      > has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      This one I can’t refute. How long ago did you have these issues?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226126 {#4381
      date: 2024-01-02 21:08:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4384 …}
    +nested: Doctrine\ORM\PersistentCollection {#4388 …}
    +votes: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4391 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
    -id: 274473
    -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6078905"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226126 {#4378
      date: 2024-01-02 21:08:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    > Make a subvolume only for the swapfile.\n
    \n
    doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
    \n
    > This is true for all files. Is it a bigger problem for swap?\n
    \n
    specificly swapfiles yes, for swap partitions nope\n
    \n
    > How long ago did you have these issues?\n
    \n
    Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
    \n
    I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
    \n
    edit:  \n
    also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704237959 {#4420
    date: 2024-01-03 00:25:59.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4426 …}
  +nested: Doctrine\ORM\PersistentCollection {#4428 …}
  +votes: Doctrine\ORM\PersistentCollection {#4424 …}
  +reports: Doctrine\ORM\PersistentCollection {#4431 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
  -id: 275022
  -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6082632"
  +editedAt: DateTimeImmutable @1711072625 {#4417
    date: 2024-03-22 02:57:05.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704237959 {#4415
    date: 2024-01-03 00:25:59.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4453
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4376
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4343
        +user: Proxies\__CG__\App\Entity\User {#4341 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4315
          +user: Proxies\__CG__\App\Entity\User {#4263 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4286
            +user: Proxies\__CG__\App\Entity\User {#4283 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4246
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: App\Entity\EntryComment {#4031
                +user: App\Entity\User {#3979 …}
                +entry: App\Entity\Entry {#2419}
                +magazine: App\Entity\Magazine {#265}
                +image: null
                +parent: null
                +root: null
                +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1711217794 {#4040
                  date: 2024-03-23 19:16:34.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@actual_patience@programming.dev"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4029 …}
                +nested: Doctrine\ORM\PersistentCollection {#4027 …}
                +votes: Doctrine\ORM\PersistentCollection {#4025 …}
                +reports: Doctrine\ORM\PersistentCollection {#4023 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
                -id: 273638
                -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/7011839"
                +editedAt: null
                +createdAt: DateTimeImmutable @1704208307 {#3976
                  date: 2024-01-02 16:11:47.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4031}
              +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704208929 {#4244
                date: 2024-01-02 16:22:09.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
                "@M500@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4247 …}
              +nested: Doctrine\ORM\PersistentCollection {#4249 …}
              +votes: Doctrine\ORM\PersistentCollection {#4251 …}
              +reports: Doctrine\ORM\PersistentCollection {#4253 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
              -id: 273671
              -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://programming.dev/comment/6073812"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208929 {#4245
                date: 2024-01-02 16:22:09.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "I’d highly recommend setting up a swap partition instead."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 3
            +score: 0
            +lastActive: DateTime @1704212785 {#4287
              date: 2024-01-02 17:26:25.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4280 …}
            +nested: Doctrine\ORM\PersistentCollection {#4278 …}
            +votes: Doctrine\ORM\PersistentCollection {#4282 …}
            +reports: Doctrine\ORM\PersistentCollection {#4293 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
            -id: 273839
            -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7013095"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704212785 {#4290
              date: 2024-01-02 17:26:25.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Why?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1704219852 {#4320
            date: 2024-01-02 19:24:12.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
            "@Atemu@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4323 …}
          +nested: Doctrine\ORM\PersistentCollection {#4327 …}
          +votes: Doctrine\ORM\PersistentCollection {#4329 …}
          +reports: Doctrine\ORM\PersistentCollection {#4330 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
          -id: 274183
          -bodyTs: ""
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6076835"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704219852 {#4317
            date: 2024-01-02 19:24:12.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: """
          As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
          \n
          - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
          - has a chance to fragment\n
          - has issues with hibernation (that I’ve personally encountered multiple times)\n
          \n
          here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
          \n
          after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1704221655 {#4346
          date: 2024-01-02 19:54:15.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4340 …}
        +nested: Doctrine\ORM\PersistentCollection {#4338 …}
        +votes: Doctrine\ORM\PersistentCollection {#4352 …}
        +reports: Doctrine\ORM\PersistentCollection {#4354 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
        -id: 274314
        -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6077418"
        +editedAt: DateTimeImmutable @1710979563 {#4349
          date: 2024-03-21 01:06:03.0 +01:00
        }
        +createdAt: DateTimeImmutable @1704221655 {#4351
          date: 2024-01-02 19:54:15.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
        \n
        Make a subvolume only for the swapfile.\n
        \n
        > has a chance to fragment\n
        \n
        This is true for all files. Is it a bigger problem for swap?\n
        \n
        > has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        This one I can’t refute. How long ago did you have these issues?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226126 {#4381
        date: 2024-01-02 21:08:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@recursive_recursion@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4384 …}
      +nested: Doctrine\ORM\PersistentCollection {#4388 …}
      +votes: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4391 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
      -id: 274473
      -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6078905"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226126 {#4378
        date: 2024-01-02 21:08:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > Make a subvolume only for the swapfile.\n
      \n
      doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
      \n
      > This is true for all files. Is it a bigger problem for swap?\n
      \n
      specificly swapfiles yes, for swap partitions nope\n
      \n
      > How long ago did you have these issues?\n
      \n
      Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
      \n
      I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
      \n
      edit:  \n
      also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704237959 {#4420
      date: 2024-01-03 00:25:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4426 …}
    +nested: Doctrine\ORM\PersistentCollection {#4428 …}
    +votes: Doctrine\ORM\PersistentCollection {#4424 …}
    +reports: Doctrine\ORM\PersistentCollection {#4431 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
    -id: 275022
    -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6082632"
    +editedAt: DateTimeImmutable @1711072625 {#4417
      date: 2024-03-22 02:57:05.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704237959 {#4415
      date: 2024-01-03 00:25:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "The reason I use a swap file is so that I can have only one partition backed by LUKS disk encryption, rather than having to screw around with lvm which comes with its own performance overhead and all. I’ve personally never had issues hibernating to.it, but given how much buggy uefi firmware is out there I’m not surprised to hear that other have issues"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243630 {#4458
    date: 2024-01-03 02:00:30.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4461 …}
  +nested: Doctrine\ORM\PersistentCollection {#4465 …}
  +votes: Doctrine\ORM\PersistentCollection {#4467 …}
  +reports: Doctrine\ORM\PersistentCollection {#4468 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4470 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4472 …}
  -id: 275245
  -bodyTs: "'around':27 'back':17 'buggi':51 'come':31 'disk':20 'encrypt':21 'file':7 'firmwar':53 'given':48 'hear':62 'hibern':45 'issu':44,66 'luk':19 'lvm':29 'm':58 'much':50 'never':42 'one':15 'overhead':36 'partit':16 'perform':35 'person':41 'rather':22 'reason':2 'screw':26 'surpris':60 'swap':6 'to.it':46 'uefi':52 'use':4 've':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6083947"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704243630 {#4455
    date: 2024-01-03 02:00:30.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4453
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4376
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4343
        +user: Proxies\__CG__\App\Entity\User {#4341 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4315
          +user: Proxies\__CG__\App\Entity\User {#4263 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4286
            +user: Proxies\__CG__\App\Entity\User {#4283 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4246
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: App\Entity\EntryComment {#4031
                +user: App\Entity\User {#3979 …}
                +entry: App\Entity\Entry {#2419}
                +magazine: App\Entity\Magazine {#265}
                +image: null
                +parent: null
                +root: null
                +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1711217794 {#4040
                  date: 2024-03-23 19:16:34.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@actual_patience@programming.dev"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4029 …}
                +nested: Doctrine\ORM\PersistentCollection {#4027 …}
                +votes: Doctrine\ORM\PersistentCollection {#4025 …}
                +reports: Doctrine\ORM\PersistentCollection {#4023 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
                -id: 273638
                -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/7011839"
                +editedAt: null
                +createdAt: DateTimeImmutable @1704208307 {#3976
                  date: 2024-01-02 16:11:47.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4031}
              +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704208929 {#4244
                date: 2024-01-02 16:22:09.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
                "@M500@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4247 …}
              +nested: Doctrine\ORM\PersistentCollection {#4249 …}
              +votes: Doctrine\ORM\PersistentCollection {#4251 …}
              +reports: Doctrine\ORM\PersistentCollection {#4253 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
              -id: 273671
              -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://programming.dev/comment/6073812"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208929 {#4245
                date: 2024-01-02 16:22:09.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "I’d highly recommend setting up a swap partition instead."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 3
            +score: 0
            +lastActive: DateTime @1704212785 {#4287
              date: 2024-01-02 17:26:25.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4280 …}
            +nested: Doctrine\ORM\PersistentCollection {#4278 …}
            +votes: Doctrine\ORM\PersistentCollection {#4282 …}
            +reports: Doctrine\ORM\PersistentCollection {#4293 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
            -id: 273839
            -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7013095"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704212785 {#4290
              date: 2024-01-02 17:26:25.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Why?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1704219852 {#4320
            date: 2024-01-02 19:24:12.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
            "@Atemu@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4323 …}
          +nested: Doctrine\ORM\PersistentCollection {#4327 …}
          +votes: Doctrine\ORM\PersistentCollection {#4329 …}
          +reports: Doctrine\ORM\PersistentCollection {#4330 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
          -id: 274183
          -bodyTs: ""
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6076835"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704219852 {#4317
            date: 2024-01-02 19:24:12.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: """
          As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
          \n
          - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
          - has a chance to fragment\n
          - has issues with hibernation (that I’ve personally encountered multiple times)\n
          \n
          here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
          \n
          after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1704221655 {#4346
          date: 2024-01-02 19:54:15.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4340 …}
        +nested: Doctrine\ORM\PersistentCollection {#4338 …}
        +votes: Doctrine\ORM\PersistentCollection {#4352 …}
        +reports: Doctrine\ORM\PersistentCollection {#4354 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
        -id: 274314
        -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6077418"
        +editedAt: DateTimeImmutable @1710979563 {#4349
          date: 2024-03-21 01:06:03.0 +01:00
        }
        +createdAt: DateTimeImmutable @1704221655 {#4351
          date: 2024-01-02 19:54:15.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
        \n
        Make a subvolume only for the swapfile.\n
        \n
        > has a chance to fragment\n
        \n
        This is true for all files. Is it a bigger problem for swap?\n
        \n
        > has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        This one I can’t refute. How long ago did you have these issues?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226126 {#4381
        date: 2024-01-02 21:08:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@recursive_recursion@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4384 …}
      +nested: Doctrine\ORM\PersistentCollection {#4388 …}
      +votes: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4391 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
      -id: 274473
      -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6078905"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226126 {#4378
        date: 2024-01-02 21:08:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > Make a subvolume only for the swapfile.\n
      \n
      doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
      \n
      > This is true for all files. Is it a bigger problem for swap?\n
      \n
      specificly swapfiles yes, for swap partitions nope\n
      \n
      > How long ago did you have these issues?\n
      \n
      Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
      \n
      I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
      \n
      edit:  \n
      also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704237959 {#4420
      date: 2024-01-03 00:25:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4426 …}
    +nested: Doctrine\ORM\PersistentCollection {#4428 …}
    +votes: Doctrine\ORM\PersistentCollection {#4424 …}
    +reports: Doctrine\ORM\PersistentCollection {#4431 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
    -id: 275022
    -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6082632"
    +editedAt: DateTimeImmutable @1711072625 {#4417
      date: 2024-03-22 02:57:05.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704237959 {#4415
      date: 2024-01-03 00:25:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "The reason I use a swap file is so that I can have only one partition backed by LUKS disk encryption, rather than having to screw around with lvm which comes with its own performance overhead and all. I’ve personally never had issues hibernating to.it, but given how much buggy uefi firmware is out there I’m not surprised to hear that other have issues"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243630 {#4458
    date: 2024-01-03 02:00:30.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4461 …}
  +nested: Doctrine\ORM\PersistentCollection {#4465 …}
  +votes: Doctrine\ORM\PersistentCollection {#4467 …}
  +reports: Doctrine\ORM\PersistentCollection {#4468 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4470 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4472 …}
  -id: 275245
  -bodyTs: "'around':27 'back':17 'buggi':51 'come':31 'disk':20 'encrypt':21 'file':7 'firmwar':53 'given':48 'hear':62 'hibern':45 'issu':44,66 'luk':19 'lvm':29 'm':58 'much':50 'never':42 'one':15 'overhead':36 'partit':16 'perform':35 'person':41 'rather':22 'reason':2 'screw':26 'surpris':60 'swap':6 'to.it':46 'uefi':52 'use':4 've':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6083947"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704243630 {#4455
    date: 2024-01-03 02:00:30.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4453
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4376
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4343
        +user: Proxies\__CG__\App\Entity\User {#4341 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4315
          +user: Proxies\__CG__\App\Entity\User {#4263 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4286
            +user: Proxies\__CG__\App\Entity\User {#4283 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4246
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: App\Entity\EntryComment {#4031
                +user: App\Entity\User {#3979 …}
                +entry: App\Entity\Entry {#2419}
                +magazine: App\Entity\Magazine {#265}
                +image: null
                +parent: null
                +root: null
                +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1711217794 {#4040
                  date: 2024-03-23 19:16:34.0 +01:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@actual_patience@programming.dev"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4029 …}
                +nested: Doctrine\ORM\PersistentCollection {#4027 …}
                +votes: Doctrine\ORM\PersistentCollection {#4025 …}
                +reports: Doctrine\ORM\PersistentCollection {#4023 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
                -id: 273638
                -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.ml/comment/7011839"
                +editedAt: null
                +createdAt: DateTimeImmutable @1704208307 {#3976
                  date: 2024-01-02 16:11:47.0 +01:00
                }
              }
              +root: App\Entity\EntryComment {#4031}
              +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 4
              +score: 0
              +lastActive: DateTime @1704208929 {#4244
                date: 2024-01-02 16:22:09.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
                "@M500@lemmy.ml"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4247 …}
              +nested: Doctrine\ORM\PersistentCollection {#4249 …}
              +votes: Doctrine\ORM\PersistentCollection {#4251 …}
              +reports: Doctrine\ORM\PersistentCollection {#4253 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
              -id: 273671
              -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://programming.dev/comment/6073812"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208929 {#4245
                date: 2024-01-02 16:22:09.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "I’d highly recommend setting up a swap partition instead."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 3
            +score: 0
            +lastActive: DateTime @1704212785 {#4287
              date: 2024-01-02 17:26:25.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4280 …}
            +nested: Doctrine\ORM\PersistentCollection {#4278 …}
            +votes: Doctrine\ORM\PersistentCollection {#4282 …}
            +reports: Doctrine\ORM\PersistentCollection {#4293 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
            -id: 273839
            -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7013095"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704212785 {#4290
              date: 2024-01-02 17:26:25.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Why?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1704219852 {#4320
            date: 2024-01-02 19:24:12.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
            "@Atemu@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4323 …}
          +nested: Doctrine\ORM\PersistentCollection {#4327 …}
          +votes: Doctrine\ORM\PersistentCollection {#4329 …}
          +reports: Doctrine\ORM\PersistentCollection {#4330 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
          -id: 274183
          -bodyTs: ""
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6076835"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704219852 {#4317
            date: 2024-01-02 19:24:12.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: """
          As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
          \n
          - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
          - has a chance to fragment\n
          - has issues with hibernation (that I’ve personally encountered multiple times)\n
          \n
          here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
          \n
          after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1704221655 {#4346
          date: 2024-01-02 19:54:15.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
          "@Supermariofan67@programming.dev"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4340 …}
        +nested: Doctrine\ORM\PersistentCollection {#4338 …}
        +votes: Doctrine\ORM\PersistentCollection {#4352 …}
        +reports: Doctrine\ORM\PersistentCollection {#4354 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
        -id: 274314
        -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6077418"
        +editedAt: DateTimeImmutable @1710979563 {#4349
          date: 2024-03-21 01:06:03.0 +01:00
        }
        +createdAt: DateTimeImmutable @1704221655 {#4351
          date: 2024-01-02 19:54:15.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        > “subvolume - cannot be snapshotted if it contains any active swapfiles”\n
        \n
        Make a subvolume only for the swapfile.\n
        \n
        > has a chance to fragment\n
        \n
        This is true for all files. Is it a bigger problem for swap?\n
        \n
        > has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        This one I can’t refute. How long ago did you have these issues?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226126 {#4381
        date: 2024-01-02 21:08:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@recursive_recursion@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4384 …}
      +nested: Doctrine\ORM\PersistentCollection {#4388 …}
      +votes: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4391 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
      -id: 274473
      -bodyTs: "'activ':9 'ago':55 'bigger':32 'cannot':2 'chanc':20 'contain':7 'encount':44 'file':28 'fragment':22 'hibern':39 'issu':37,60 'long':54 'make':11 'multipl':45 'one':48 'person':43 'problem':33 'refut':52 'snapshot':4 'subvolum':1,13 'swap':35 'swapfil':10,17 'time':46 'true':25 've':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6078905"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226126 {#4378
        date: 2024-01-02 21:08:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      > Make a subvolume only for the swapfile.\n
      \n
      doesn’t this kinda defeat the purpose/benefits of using a swapfile?\n
      \n
      > This is true for all files. Is it a bigger problem for swap?\n
      \n
      specificly swapfiles yes, for swap partitions nope\n
      \n
      > How long ago did you have these issues?\n
      \n
      Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.\n
      \n
      I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS\n
      \n
      edit:  \n
      also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704237959 {#4420
      date: 2024-01-03 00:25:59.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4426 …}
    +nested: Doctrine\ORM\PersistentCollection {#4428 …}
    +votes: Doctrine\ORM\PersistentCollection {#4424 …}
    +reports: Doctrine\ORM\PersistentCollection {#4431 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4433 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4435 …}
    -id: 275022
    -bodyTs: "'2022':48 'ago':41 'also':100 'arch':93 'atm':148 'bigger':28 'btrfs':98 'caus':63 'clarif':102 'continu':144 'dec':47 'defeat':12 'doesn':8 'easiest':138 'edit':99 'error':73 'file':24 'follow':79,90 'forward':120 'fuck':59 'futur':124 'guid':81,94 'implement':140 'initi':114 'issu':46 'kinda':11 'long':40 'm':104,126 'made':87 'make':1 'modif':88 'much':65 'nope':38 'one':109 'optimal/best':111 'partit':37,131 'problem':29,66,147 'purpose/benefits':14 'recommend':129 'retest':76 'rule':70 'said':58 'seem':134 'specif':32 'still':50,105 'strict':78 'subvolum':3 'sure':107 'swap':31,36,130 'swapfil':7,18,33,55,96,118 'test':53 'think':121 'thought':115 'till':74 'true':21 'use':16,51,117,127,143 'user':72 'without':145 'yes':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6082632"
    +editedAt: DateTimeImmutable @1711072625 {#4417
      date: 2024-03-22 02:57:05.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704237959 {#4415
      date: 2024-01-03 00:25:59.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "The reason I use a swap file is so that I can have only one partition backed by LUKS disk encryption, rather than having to screw around with lvm which comes with its own performance overhead and all. I’ve personally never had issues hibernating to.it, but given how much buggy uefi firmware is out there I’m not surprised to hear that other have issues"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243630 {#4458
    date: 2024-01-03 02:00:30.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4461 …}
  +nested: Doctrine\ORM\PersistentCollection {#4465 …}
  +votes: Doctrine\ORM\PersistentCollection {#4467 …}
  +reports: Doctrine\ORM\PersistentCollection {#4468 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4470 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4472 …}
  -id: 275245
  -bodyTs: "'around':27 'back':17 'buggi':51 'come':31 'disk':20 'encrypt':21 'file':7 'firmwar':53 'given':48 'hear':62 'hibern':45 'issu':44,66 'luk':19 'lvm':29 'm':58 'much':50 'never':42 'one':15 'overhead':36 'partit':16 'perform':35 'person':41 'rather':22 'reason':2 'screw':26 'surpris':60 'swap':6 'to.it':46 'uefi':52 'use':4 've':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6083947"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704243630 {#4455
    date: 2024-01-03 02:00:30.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4400
  +user: Proxies\__CG__\App\Entity\User {#4401 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
    \n
    The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243640 {#4397
    date: 2024-01-03 02:00:40.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4402 …}
  +nested: Doctrine\ORM\PersistentCollection {#4404 …}
  +votes: Doctrine\ORM\PersistentCollection {#4406 …}
  +reports: Doctrine\ORM\PersistentCollection {#4408 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
  -id: 275249
  -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5368379"
  +editedAt: DateTimeImmutable @1711083321 {#4398
    date: 2024-03-22 05:55:21.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704243640 {#4399
    date: 2024-01-03 02:00:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4400
  +user: Proxies\__CG__\App\Entity\User {#4401 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
    \n
    The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243640 {#4397
    date: 2024-01-03 02:00:40.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4402 …}
  +nested: Doctrine\ORM\PersistentCollection {#4404 …}
  +votes: Doctrine\ORM\PersistentCollection {#4406 …}
  +reports: Doctrine\ORM\PersistentCollection {#4408 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
  -id: 275249
  -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5368379"
  +editedAt: DateTimeImmutable @1711083321 {#4398
    date: 2024-03-22 05:55:21.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704243640 {#4399
    date: 2024-01-03 02:00:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4400
  +user: Proxies\__CG__\App\Entity\User {#4401 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4343
    +user: Proxies\__CG__\App\Entity\User {#4341 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: Proxies\__CG__\App\Entity\User {#4263 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4286
        +user: Proxies\__CG__\App\Entity\User {#4283 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4246
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4031
            +user: App\Entity\User {#3979 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1711217794 {#4040
              date: 2024-03-23 19:16:34.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4029 …}
            +nested: Doctrine\ORM\PersistentCollection {#4027 …}
            +votes: Doctrine\ORM\PersistentCollection {#4025 …}
            +reports: Doctrine\ORM\PersistentCollection {#4023 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
            -id: 273638
            -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.ml/comment/7011839"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208307 {#3976
              date: 2024-01-02 16:11:47.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1704208929 {#4244
            date: 2024-01-02 16:22:09.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4251 …}
          +reports: Doctrine\ORM\PersistentCollection {#4253 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
          -id: 273671
          -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://programming.dev/comment/6073812"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208929 {#4245
            date: 2024-01-02 16:22:09.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "I’d highly recommend setting up a swap partition instead."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1704212785 {#4287
          date: 2024-01-02 17:26:25.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4280 …}
        +nested: Doctrine\ORM\PersistentCollection {#4278 …}
        +votes: Doctrine\ORM\PersistentCollection {#4282 …}
        +reports: Doctrine\ORM\PersistentCollection {#4293 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
        -id: 273839
        -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7013095"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704212785 {#4290
          date: 2024-01-02 17:26:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "Why?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704219852 {#4320
        date: 2024-01-02 19:24:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4323 …}
      +nested: Doctrine\ORM\PersistentCollection {#4327 …}
      +votes: Doctrine\ORM\PersistentCollection {#4329 …}
      +reports: Doctrine\ORM\PersistentCollection {#4330 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
      -id: 274183
      -bodyTs: ""
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6076835"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704219852 {#4317
        date: 2024-01-02 19:24:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
      \n
      - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
      - has a chance to fragment\n
      - has issues with hibernation (that I’ve personally encountered multiple times)\n
      \n
      here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
      \n
      after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1704221655 {#4346
      date: 2024-01-02 19:54:15.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4340 …}
    +nested: Doctrine\ORM\PersistentCollection {#4338 …}
    +votes: Doctrine\ORM\PersistentCollection {#4352 …}
    +reports: Doctrine\ORM\PersistentCollection {#4354 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
    -id: 274314
    -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6077418"
    +editedAt: DateTimeImmutable @1710979563 {#4349
      date: 2024-03-21 01:06:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704221655 {#4351
      date: 2024-01-02 19:54:15.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
    \n
    The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704243640 {#4397
    date: 2024-01-03 02:00:40.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4402 …}
  +nested: Doctrine\ORM\PersistentCollection {#4404 …}
  +votes: Doctrine\ORM\PersistentCollection {#4406 …}
  +reports: Doctrine\ORM\PersistentCollection {#4408 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
  -id: 275249
  -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5368379"
  +editedAt: DateTimeImmutable @1711083321 {#4398
    date: 2024-03-22 05:55:21.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704243640 {#4399
    date: 2024-01-03 02:00:40.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
42 DENIED moderate
App\Entity\EntryComment {#4439
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4400
    +user: Proxies\__CG__\App\Entity\User {#4401 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
      \n
      The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704243640 {#4397
      date: 2024-01-03 02:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4402 …}
    +nested: Doctrine\ORM\PersistentCollection {#4404 …}
    +votes: Doctrine\ORM\PersistentCollection {#4406 …}
    +reports: Doctrine\ORM\PersistentCollection {#4408 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
    -id: 275249
    -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/5368379"
    +editedAt: DateTimeImmutable @1711083321 {#4398
      date: 2024-03-22 05:55:21.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704243640 {#4399
      date: 2024-01-03 02:00:40.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    From the BTRFS manual:\n
    \n
    “Nodatacow implies nodatasum, and disables compression.”\n
    \n
    “Datasum implies datacow”\n
    \n
    Based on these notes I’d assume that since swapfile disables COW that it also disables checksumming which is where the risk of fragmentation occurs\n
    \n
    I could be wrong tho
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704250035 {#4437
    date: 2024-01-03 03:47:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@rotopenguin@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4440 …}
  +nested: Doctrine\ORM\PersistentCollection {#4442 …}
  +votes: Doctrine\ORM\PersistentCollection {#4444 …}
  +reports: Doctrine\ORM\PersistentCollection {#4446 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
  -id: 275470
  -bodyTs: "'also':28 'assum':20 'base':14 'btrfs':3 'checksum':30 'compress':10 'could':40 'cow':25 'd':19 'datacow':13 'datasum':11 'disabl':9,24,29 'fragment':37 'impli':6,12 'manual':4 'nodatacow':5 'nodatasum':7 'note':17 'occur':38 'risk':35 'sinc':22 'swapfil':23 'tho':43 'wrong':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6086507"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704250035 {#4438
    date: 2024-01-03 03:47:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
43 DENIED edit
App\Entity\EntryComment {#4439
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4400
    +user: Proxies\__CG__\App\Entity\User {#4401 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
      \n
      The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704243640 {#4397
      date: 2024-01-03 02:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4402 …}
    +nested: Doctrine\ORM\PersistentCollection {#4404 …}
    +votes: Doctrine\ORM\PersistentCollection {#4406 …}
    +reports: Doctrine\ORM\PersistentCollection {#4408 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
    -id: 275249
    -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/5368379"
    +editedAt: DateTimeImmutable @1711083321 {#4398
      date: 2024-03-22 05:55:21.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704243640 {#4399
      date: 2024-01-03 02:00:40.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    From the BTRFS manual:\n
    \n
    “Nodatacow implies nodatasum, and disables compression.”\n
    \n
    “Datasum implies datacow”\n
    \n
    Based on these notes I’d assume that since swapfile disables COW that it also disables checksumming which is where the risk of fragmentation occurs\n
    \n
    I could be wrong tho
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704250035 {#4437
    date: 2024-01-03 03:47:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@rotopenguin@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4440 …}
  +nested: Doctrine\ORM\PersistentCollection {#4442 …}
  +votes: Doctrine\ORM\PersistentCollection {#4444 …}
  +reports: Doctrine\ORM\PersistentCollection {#4446 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
  -id: 275470
  -bodyTs: "'also':28 'assum':20 'base':14 'btrfs':3 'checksum':30 'compress':10 'could':40 'cow':25 'd':19 'datacow':13 'datasum':11 'disabl':9,24,29 'fragment':37 'impli':6,12 'manual':4 'nodatacow':5 'nodatasum':7 'note':17 'occur':38 'risk':35 'sinc':22 'swapfil':23 'tho':43 'wrong':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6086507"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704250035 {#4438
    date: 2024-01-03 03:47:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
44 DENIED moderate
App\Entity\EntryComment {#4439
  +user: Proxies\__CG__\App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4400
    +user: Proxies\__CG__\App\Entity\User {#4401 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4343
      +user: Proxies\__CG__\App\Entity\User {#4341 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: Proxies\__CG__\App\Entity\User {#4263 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4286
          +user: Proxies\__CG__\App\Entity\User {#4283 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4246
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4031
              +user: App\Entity\User {#3979 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1711217794 {#4040
                date: 2024-03-23 19:16:34.0 +01:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@actual_patience@programming.dev"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4029 …}
              +nested: Doctrine\ORM\PersistentCollection {#4027 …}
              +votes: Doctrine\ORM\PersistentCollection {#4025 …}
              +reports: Doctrine\ORM\PersistentCollection {#4023 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
              -id: 273638
              -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.ml/comment/7011839"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704208307 {#3976
                date: 2024-01-02 16:11:47.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4031}
            +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 4
            +score: 0
            +lastActive: DateTime @1704208929 {#4244
              date: 2024-01-02 16:22:09.0 +01:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@actual_patience@programming.dev"
              "@M500@lemmy.ml"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4247 …}
            +nested: Doctrine\ORM\PersistentCollection {#4249 …}
            +votes: Doctrine\ORM\PersistentCollection {#4251 …}
            +reports: Doctrine\ORM\PersistentCollection {#4253 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
            -id: 273671
            -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://programming.dev/comment/6073812"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704208929 {#4245
              date: 2024-01-02 16:22:09.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4031}
          +body: "I’d highly recommend setting up a swap partition instead."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 3
          +score: 0
          +lastActive: DateTime @1704212785 {#4287
            date: 2024-01-02 17:26:25.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
            "@M500@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4280 …}
          +nested: Doctrine\ORM\PersistentCollection {#4278 …}
          +votes: Doctrine\ORM\PersistentCollection {#4282 …}
          +reports: Doctrine\ORM\PersistentCollection {#4293 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
          -id: 273839
          -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7013095"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704212785 {#4290
            date: 2024-01-02 17:26:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Why?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704219852 {#4320
          date: 2024-01-02 19:24:12.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4323 …}
        +nested: Doctrine\ORM\PersistentCollection {#4327 …}
        +votes: Doctrine\ORM\PersistentCollection {#4329 …}
        +reports: Doctrine\ORM\PersistentCollection {#4330 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
        -id: 274183
        -bodyTs: ""
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6076835"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704219852 {#4317
          date: 2024-01-02 19:24:12.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: """
        As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:\n
        \n
        - "subvolume - cannot be snapshotted if it contains any active swapfiles"\n
        - has a chance to fragment\n
        - has issues with hibernation (that I’ve personally encountered multiple times)\n
        \n
        here’s the link for more info: [man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT](https://man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT)\n
        \n
        after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1704221655 {#4346
        date: 2024-01-02 19:54:15.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
        "@Atemu@lemmy.ml"
        "@Supermariofan67@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4340 …}
      +nested: Doctrine\ORM\PersistentCollection {#4338 …}
      +votes: Doctrine\ORM\PersistentCollection {#4352 …}
      +reports: Doctrine\ORM\PersistentCollection {#4354 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4356 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4358 …}
      -id: 274314
      -bodyTs: "'/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':67 'activ':40 'better':14 'btrfs':31,75 'cannot':33 'case':7 'certain':24 'chanc':44 'combin':28 'configur':84 'contain':38 'encount':55 'experienc':78 'file':22 'fragment':46 'hibern':50 'info':64 'issu':48,80 'limit':25 'link':61 'man.archlinux.org':66 'man.archlinux.org/man/btrfs.5#swapfile_support](https://man.archlinux.org/man/btrfs.5#swapfile_support)':65 'max':11 'multipl':56 'partit':19,73 'person':54 'ram':9 'recommend':4 'snapshot':35 'subvolum':32 'swap':2,18,21,72 'swapfil':41 'switch':69 'time':57 'use':29 'user':83 've':53,77"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://programming.dev/comment/6077418"
      +editedAt: DateTimeImmutable @1710979563 {#4349
        date: 2024-03-21 01:06:03.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704221655 {#4351
        date: 2024-01-02 19:54:15.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: """
      I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.\n
      \n
      The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704243640 {#4397
      date: 2024-01-03 02:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
      "@Supermariofan67@programming.dev"
      "@recursive_recursion@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4402 …}
    +nested: Doctrine\ORM\PersistentCollection {#4404 …}
    +votes: Doctrine\ORM\PersistentCollection {#4406 …}
    +reports: Doctrine\ORM\PersistentCollection {#4408 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4410 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4412 …}
    -id: 275249
    -bodyTs: "'access':67 'aiui':50 'alloc':18,28 'block':58,69 'cannot':22 'chanc':9 'code':41 'cow':24 'direct':70 'disk':57 'doesn':42 'file':54 'filesystem':49 'first':32 'fragment':11 'front':20 'fs':62 'fulli':17 'get':55 'i/o':46 'lock':52 'much':8 'place':33 'realli':44 'see':4 'stay':36 'swap':6,40 'swapfil':13 'way':38 'well':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/5368379"
    +editedAt: DateTimeImmutable @1711083321 {#4398
      date: 2024-03-22 05:55:21.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704243640 {#4399
      date: 2024-01-03 02:00:40.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    From the BTRFS manual:\n
    \n
    “Nodatacow implies nodatasum, and disables compression.”\n
    \n
    “Datasum implies datacow”\n
    \n
    Based on these notes I’d assume that since swapfile disables COW that it also disables checksumming which is where the risk of fragmentation occurs\n
    \n
    I could be wrong tho
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704250035 {#4437
    date: 2024-01-03 03:47:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
    "@recursive_recursion@programming.dev"
    "@rotopenguin@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4440 …}
  +nested: Doctrine\ORM\PersistentCollection {#4442 …}
  +votes: Doctrine\ORM\PersistentCollection {#4444 …}
  +reports: Doctrine\ORM\PersistentCollection {#4446 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4448 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4450 …}
  -id: 275470
  -bodyTs: "'also':28 'assum':20 'base':14 'btrfs':3 'checksum':30 'compress':10 'could':40 'cow':25 'd':19 'datacow':13 'datasum':11 'disabl':9,24,29 'fragment':37 'impli':6,12 'manual':4 'nodatacow':5 'nodatasum':7 'note':17 'occur':38 'risk':35 'sinc':22 'swapfil':23 'tho':43 'wrong':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6086507"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704250035 {#4438
    date: 2024-01-03 03:47:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
45 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
46 DENIED moderate
App\Entity\EntryComment {#4362
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    If you need to set up a special dedicated subvolume, might aswell set up a partition instead; it’s just simpler.\n
    \n
    With a swapfile you also can’t do multi-device setups which is a limitation I personally couldn’t live with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704270743 {#4360
    date: 2024-01-03 09:32:23.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4363 …}
  +nested: Doctrine\ORM\PersistentCollection {#4365 …}
  +votes: Doctrine\ORM\PersistentCollection {#4367 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 275928
  -bodyTs: "'also':26 'aswel':12 'couldn':40 'dedic':9 'devic':32 'instead':17 'limit':37 'live':42 'might':11 'multi':31 'multi-devic':30 'need':3 'partit':16 'person':39 'set':5,13 'setup':33 'simpler':21 'special':8 'subvolum':10 'swapfil':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035667"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704270743 {#4361
    date: 2024-01-03 09:32:23.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
47 DENIED edit
App\Entity\EntryComment {#4362
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    If you need to set up a special dedicated subvolume, might aswell set up a partition instead; it’s just simpler.\n
    \n
    With a swapfile you also can’t do multi-device setups which is a limitation I personally couldn’t live with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704270743 {#4360
    date: 2024-01-03 09:32:23.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4363 …}
  +nested: Doctrine\ORM\PersistentCollection {#4365 …}
  +votes: Doctrine\ORM\PersistentCollection {#4367 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 275928
  -bodyTs: "'also':26 'aswel':12 'couldn':40 'dedic':9 'devic':32 'instead':17 'limit':37 'live':42 'might':11 'multi':31 'multi-devic':30 'need':3 'partit':16 'person':39 'set':5,13 'setup':33 'simpler':21 'special':8 'subvolum':10 'swapfil':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035667"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704270743 {#4361
    date: 2024-01-03 09:32:23.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
48 DENIED moderate
App\Entity\EntryComment {#4362
  +user: Proxies\__CG__\App\Entity\User {#4283 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: Proxies\__CG__\App\Entity\User {#4263 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#4283 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4246
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4031
          +user: App\Entity\User {#3979 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1711217794 {#4040
            date: 2024-03-23 19:16:34.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@actual_patience@programming.dev"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4029 …}
          +nested: Doctrine\ORM\PersistentCollection {#4027 …}
          +votes: Doctrine\ORM\PersistentCollection {#4025 …}
          +reports: Doctrine\ORM\PersistentCollection {#4023 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
          -id: 273638
          -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7011839"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704208307 {#3976
            date: 2024-01-02 16:11:47.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4031}
        +body: "Yeah it’s supported. It’s listed in the docs for btrfs and arch."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1704208929 {#4244
          date: 2024-01-02 16:22:09.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@actual_patience@programming.dev"
          "@M500@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4251 …}
        +reports: Doctrine\ORM\PersistentCollection {#4253 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
        -id: 273671
        -bodyTs: "'arch':14 'btrfs':12 'doc':10 'list':7 'support':4 'yeah':1"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://programming.dev/comment/6073812"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704208929 {#4245
          date: 2024-01-02 16:22:09.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4031}
      +body: "I’d highly recommend setting up a swap partition instead."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1704212785 {#4287
        date: 2024-01-02 17:26:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
        "@M500@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4280 …}
      +nested: Doctrine\ORM\PersistentCollection {#4278 …}
      +votes: Doctrine\ORM\PersistentCollection {#4282 …}
      +reports: Doctrine\ORM\PersistentCollection {#4293 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4295 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4297 …}
      -id: 273839
      -bodyTs: "'d':2 'high':3 'instead':10 'partit':9 'recommend':4 'set':5 'swap':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7013095"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704212785 {#4290
        date: 2024-01-02 17:26:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4031}
    +body: "Why?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704219852 {#4320
      date: 2024-01-02 19:24:12.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@M500@lemmy.ml"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4323 …}
    +nested: Doctrine\ORM\PersistentCollection {#4327 …}
    +votes: Doctrine\ORM\PersistentCollection {#4329 …}
    +reports: Doctrine\ORM\PersistentCollection {#4330 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4332 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4334 …}
    -id: 274183
    -bodyTs: ""
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6076835"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704219852 {#4317
      date: 2024-01-02 19:24:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: """
    If you need to set up a special dedicated subvolume, might aswell set up a partition instead; it’s just simpler.\n
    \n
    With a swapfile you also can’t do multi-device setups which is a limitation I personally couldn’t live with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704270743 {#4360
    date: 2024-01-03 09:32:23.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@Atemu@lemmy.ml"
    "@Supermariofan67@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4363 …}
  +nested: Doctrine\ORM\PersistentCollection {#4365 …}
  +votes: Doctrine\ORM\PersistentCollection {#4367 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 275928
  -bodyTs: "'also':26 'aswel':12 'couldn':40 'dedic':9 'devic':32 'instead':17 'limit':37 'live':42 'might':11 'multi':31 'multi-devic':30 'need':3 'partit':16 'person':39 'set':5,13 'setup':33 'simpler':21 'special':8 'subvolum':10 'swapfil':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035667"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704270743 {#4361
    date: 2024-01-03 09:32:23.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
49 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
50 DENIED moderate
App\Entity\EntryComment {#4262
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "It’s been supported for several years now"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704219818 {#4259
    date: 2024-01-02 19:23:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4264 …}
  +nested: Doctrine\ORM\PersistentCollection {#4266 …}
  +votes: Doctrine\ORM\PersistentCollection {#4268 …}
  +reports: Doctrine\ORM\PersistentCollection {#4270 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4272 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4274 …}
  -id: 274179
  -bodyTs: "'sever':6 'support':4 'year':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076825"
  +editedAt: DateTimeImmutable @1710961889 {#4260
    date: 2024-03-20 20:11:29.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704219818 {#4261
    date: 2024-01-02 19:23:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
51 DENIED edit
App\Entity\EntryComment {#4262
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "It’s been supported for several years now"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704219818 {#4259
    date: 2024-01-02 19:23:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4264 …}
  +nested: Doctrine\ORM\PersistentCollection {#4266 …}
  +votes: Doctrine\ORM\PersistentCollection {#4268 …}
  +reports: Doctrine\ORM\PersistentCollection {#4270 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4272 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4274 …}
  -id: 274179
  -bodyTs: "'sever':6 'support':4 'year':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076825"
  +editedAt: DateTimeImmutable @1710961889 {#4260
    date: 2024-03-20 20:11:29.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704219818 {#4261
    date: 2024-01-02 19:23:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
52 DENIED moderate
App\Entity\EntryComment {#4262
  +user: Proxies\__CG__\App\Entity\User {#4263 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4031
    +user: App\Entity\User {#3979 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Are you sure you can use a swap file with btrfs? I did not think you could do that. Maybe I was on old software last time I tried."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1711217794 {#4040
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4029 …}
    +nested: Doctrine\ORM\PersistentCollection {#4027 …}
    +votes: Doctrine\ORM\PersistentCollection {#4025 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3991 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3995 …}
    -id: 273638
    -bodyTs: "'btrfs':11 'could':17 'file':9 'last':26 'mayb':20 'old':24 'softwar':25 'sure':3 'swap':8 'think':15 'time':27 'tri':29 'use':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7011839"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208307 {#3976
      date: 2024-01-02 16:11:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4031}
  +body: "It’s been supported for several years now"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704219818 {#4259
    date: 2024-01-02 19:23:38.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
    "@actual_patience@programming.dev"
    "@M500@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4264 …}
  +nested: Doctrine\ORM\PersistentCollection {#4266 …}
  +votes: Doctrine\ORM\PersistentCollection {#4268 …}
  +reports: Doctrine\ORM\PersistentCollection {#4270 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4272 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4274 …}
  -id: 274179
  -bodyTs: "'sever':6 'support':4 'year':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6076825"
  +editedAt: DateTimeImmutable @1710961889 {#4260
    date: 2024-03-20 20:11:29.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704219818 {#4261
    date: 2024-01-02 19:23:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
53 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
54 DENIED moderate
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
    \n
    > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
    \n
    ---\n
    \n
    Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1710989628 {#4069
    date: 2024-03-21 03:53:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4068 …}
  +nested: Doctrine\ORM\PersistentCollection {#4067 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
  -id: 273637
  -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3784408"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208200 {#4074
    date: 2024-01-02 16:10:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
55 DENIED edit
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
    \n
    > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
    \n
    ---\n
    \n
    Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1710989628 {#4069
    date: 2024-03-21 03:53:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4068 …}
  +nested: Doctrine\ORM\PersistentCollection {#4067 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
  -id: 273637
  -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3784408"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208200 {#4074
    date: 2024-01-02 16:10:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
56 DENIED moderate
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
    \n
    > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
    \n
    Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
    \n
    ---\n
    \n
    Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1710989628 {#4069
    date: 2024-03-21 03:53:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4068 …}
  +nested: Doctrine\ORM\PersistentCollection {#4067 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
  -id: 273637
  -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3784408"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208200 {#4074
    date: 2024-01-02 16:10:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
57 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
58 DENIED moderate
App\Entity\EntryComment {#4232
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4052 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Do I need to disable compression on my swap subvolume?\n
      \n
      [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
      \n
      > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
      \n
      ---\n
      \n
      Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1710989628 {#4069
      date: 2024-03-21 03:53:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4068 …}
    +nested: Doctrine\ORM\PersistentCollection {#4067 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
    -id: 273637
    -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.cafe/comment/3784408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208200 {#4074
      date: 2024-01-02 16:10:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: """
    > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
    \n
    I didn’t know this. Thanks!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704209244 {#4233
    date: 2024-01-02 16:27:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4225 …}
  +votes: Doctrine\ORM\PersistentCollection {#4223 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 273680
  -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209244 {#4236
    date: 2024-01-02 16:27:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
59 DENIED edit
App\Entity\EntryComment {#4232
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4052 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Do I need to disable compression on my swap subvolume?\n
      \n
      [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
      \n
      > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
      \n
      ---\n
      \n
      Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1710989628 {#4069
      date: 2024-03-21 03:53:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4068 …}
    +nested: Doctrine\ORM\PersistentCollection {#4067 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
    -id: 273637
    -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.cafe/comment/3784408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208200 {#4074
      date: 2024-01-02 16:10:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: """
    > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
    \n
    I didn’t know this. Thanks!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704209244 {#4233
    date: 2024-01-02 16:27:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4225 …}
  +votes: Doctrine\ORM\PersistentCollection {#4223 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 273680
  -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209244 {#4236
    date: 2024-01-02 16:27:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
60 DENIED moderate
App\Entity\EntryComment {#4232
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4052 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Do I need to disable compression on my swap subvolume?\n
      \n
      [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
      \n
      > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
      \n
      ---\n
      \n
      Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1710989628 {#4069
      date: 2024-03-21 03:53:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4068 …}
    +nested: Doctrine\ORM\PersistentCollection {#4067 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
    -id: 273637
    -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.cafe/comment/3784408"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704208200 {#4074
      date: 2024-01-02 16:10:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: """
    > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
    \n
    I didn’t know this. Thanks!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1704209244 {#4233
    date: 2024-01-02 16:27:24.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4229 …}
  +nested: Doctrine\ORM\PersistentCollection {#4225 …}
  +votes: Doctrine\ORM\PersistentCollection {#4223 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 273680
  -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6073887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209244 {#4236
    date: 2024-01-02 16:27:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
61 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
62 DENIED moderate
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4063
      +user: App\Entity\User {#4052 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        > Do I need to disable compression on my swap subvolume?\n
        \n
        [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
        \n
        > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
        \n
        Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
        \n
        ---\n
        \n
        Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1710989628 {#4069
        date: 2024-03-21 03:53:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4068 …}
      +nested: Doctrine\ORM\PersistentCollection {#4067 …}
      +votes: Doctrine\ORM\PersistentCollection {#4058 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
      -id: 273637
      -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.cafe/comment/3784408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208200 {#4074
        date: 2024-01-02 16:10:00.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4063}
    +body: """
      > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
      \n
      I didn’t know this. Thanks!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704209244 {#4233
      date: 2024-01-02 16:27:24.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@Illecors@lemmy.cafe"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4229 …}
    +nested: Doctrine\ORM\PersistentCollection {#4225 …}
    +votes: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4238 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
    -id: 273680
    -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073887"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704209244 {#4236
      date: 2024-01-02 16:27:24.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "Glad I could help! Just to make things a bit clearer - this is a btrfs thing. Other FSes behave differently."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704222543 {#4299
    date: 2024-01-02 20:09:03.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 274375
  -bodyTs: "'behav':19 'bit':10 'btrfs':15 'clearer':11 'could':3 'differ':20 'fses':18 'glad':1 'help':4 'make':7 'thing':8,16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3787841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704222543 {#4300
    date: 2024-01-02 20:09:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
63 DENIED edit
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4063
      +user: App\Entity\User {#4052 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        > Do I need to disable compression on my swap subvolume?\n
        \n
        [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
        \n
        > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
        \n
        Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
        \n
        ---\n
        \n
        Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1710989628 {#4069
        date: 2024-03-21 03:53:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4068 …}
      +nested: Doctrine\ORM\PersistentCollection {#4067 …}
      +votes: Doctrine\ORM\PersistentCollection {#4058 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
      -id: 273637
      -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.cafe/comment/3784408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208200 {#4074
        date: 2024-01-02 16:10:00.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4063}
    +body: """
      > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
      \n
      I didn’t know this. Thanks!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704209244 {#4233
      date: 2024-01-02 16:27:24.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@Illecors@lemmy.cafe"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4229 …}
    +nested: Doctrine\ORM\PersistentCollection {#4225 …}
    +votes: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4238 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
    -id: 273680
    -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073887"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704209244 {#4236
      date: 2024-01-02 16:27:24.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "Glad I could help! Just to make things a bit clearer - this is a btrfs thing. Other FSes behave differently."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704222543 {#4299
    date: 2024-01-02 20:09:03.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 274375
  -bodyTs: "'behav':19 'bit':10 'btrfs':15 'clearer':11 'could':3 'differ':20 'fses':18 'glad':1 'help':4 'make':7 'thing':8,16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3787841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704222543 {#4300
    date: 2024-01-02 20:09:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
64 DENIED moderate
App\Entity\EntryComment {#4301
  +user: App\Entity\User {#4052 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4063
      +user: App\Entity\User {#4052 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        > Do I need to disable compression on my swap subvolume?\n
        \n
        [wiki.archlinux.org/title/Btrfs#Swap_file](https://wiki.archlinux.org/title/Btrfs#Swap_file)\n
        \n
        > Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
        \n
        Just create a separate subvolume for it. Snapshots do not work recursively, so it will be left alone.\n
        \n
        ---\n
        \n
        Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only `/` needs the options, really.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1710989628 {#4069
        date: 2024-03-21 03:53:48.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@actual_patience@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4068 …}
      +nested: Doctrine\ORM\PersistentCollection {#4067 …}
      +votes: Doctrine\ORM\PersistentCollection {#4058 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4056 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4054 …}
      -id: 273637
      -bodyTs: "'/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':13 '1':77 'alon':56 'also':59 'anyth':16 'btrfs':78 'compress':6 'creat':40 'devic':69,79 'disabl':5 'download':35 'effect':62 'els':17 'first':65 'folder':36 'fstab':24 'keep':20,31 'left':55 'like':73 'look':72 'mind':22 'mount':57,66 'need':3,81 'option':58,83 'realli':84 'recurs':50 'say':29 'separ':42 'sinc':70 'snapshot':38,46 'subvolum':10,43 'swap':9 'take':61 'track':32 'want':27 'wiki.archlinux.org':12 'wiki.archlinux.org/title/btrfs#swap_file](https://wiki.archlinux.org/title/btrfs#swap_file)':11 'work':49"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.cafe/comment/3784408"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704208200 {#4074
        date: 2024-01-02 16:10:00.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4063}
    +body: """
      > Mount options also only take effect on the first mount of the device. Since it looks like you only have 1 btrfs device - only / needs the options, really.\n
      \n
      I didn’t know this. Thanks!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1704209244 {#4233
      date: 2024-01-02 16:27:24.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@actual_patience@programming.dev"
      "@Illecors@lemmy.cafe"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4229 …}
    +nested: Doctrine\ORM\PersistentCollection {#4225 …}
    +votes: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4238 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
    -id: 273680
    -bodyTs: "'1':21 'also':3 'btrfs':22 'devic':13,23 'didn':30 'effect':6 'first':9 'know':32 'like':17 'look':16 'mount':1,10 'need':25 'option':2,27 'realli':28 'sinc':14 'take':5 'thank':34"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6073887"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704209244 {#4236
      date: 2024-01-02 16:27:24.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "Glad I could help! Just to make things a bit clearer - this is a btrfs thing. Other FSes behave differently."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704222543 {#4299
    date: 2024-01-02 20:09:03.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
    "@Illecors@lemmy.cafe"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4302 …}
  +nested: Doctrine\ORM\PersistentCollection {#4304 …}
  +votes: Doctrine\ORM\PersistentCollection {#4306 …}
  +reports: Doctrine\ORM\PersistentCollection {#4308 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4310 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4312 …}
  -id: 274375
  -bodyTs: "'behav':19 'bit':10 'btrfs':15 'clearer':11 'could':3 'differ':20 'fses':18 'glad':1 'help':4 'make':7 'thing':8,16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.cafe/comment/3787841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704222543 {#4300
    date: 2024-01-02 20:09:03.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
65 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
66 DENIED moderate
App\Entity\EntryComment {#4148
  +user: App\Entity\User {#4161 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    Short: No\n
    \n
    Long: it doesn’t matter when mounting multiple subvolumes of the same btrfs partition the options from the first one (usually /) will apply to all. So even if you disable it, that will be ignored.\n
    \n
    The [old way of creating swap](https://btrfs.readthedocs.io/en/latest/Swapfile.html) shows the chattr +C line which disables CoW. The same method should work for your Downloads folder since CoW is needed for snapshotting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704208625 {#4143
    date: 2024-01-02 16:17:05.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4149 …}
  +nested: Doctrine\ORM\PersistentCollection {#4151 …}
  +votes: Doctrine\ORM\PersistentCollection {#4153 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 273658
  -bodyTs: "'/en/latest/swapfile.html)':56 'appli':35 'btrfs':25 'btrfs.readthedocs.io':55 'btrfs.readthedocs.io/en/latest/swapfile.html)':54 'c':60 'chattr':59 'compress':6 'cow':64,75 'creat':52 'disabl':5,42,63 'doesn':15 'download':72 'even':39 'first':31 'folder':73 'ignor':47 'line':61 'long':13 'matter':17 'method':67 'mount':19 'multipl':20 'need':3,77 'old':49 'one':32 'option':28 'partit':26 'short':11 'show':57 'sinc':74 'snapshot':79 'subvolum':10,21 'swap':9,53 'usual':33 'way':50 'work':69"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6351882"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208625 {#4144
    date: 2024-01-02 16:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
67 DENIED edit
App\Entity\EntryComment {#4148
  +user: App\Entity\User {#4161 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    Short: No\n
    \n
    Long: it doesn’t matter when mounting multiple subvolumes of the same btrfs partition the options from the first one (usually /) will apply to all. So even if you disable it, that will be ignored.\n
    \n
    The [old way of creating swap](https://btrfs.readthedocs.io/en/latest/Swapfile.html) shows the chattr +C line which disables CoW. The same method should work for your Downloads folder since CoW is needed for snapshotting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704208625 {#4143
    date: 2024-01-02 16:17:05.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4149 …}
  +nested: Doctrine\ORM\PersistentCollection {#4151 …}
  +votes: Doctrine\ORM\PersistentCollection {#4153 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 273658
  -bodyTs: "'/en/latest/swapfile.html)':56 'appli':35 'btrfs':25 'btrfs.readthedocs.io':55 'btrfs.readthedocs.io/en/latest/swapfile.html)':54 'c':60 'chattr':59 'compress':6 'cow':64,75 'creat':52 'disabl':5,42,63 'doesn':15 'download':72 'even':39 'first':31 'folder':73 'ignor':47 'line':61 'long':13 'matter':17 'method':67 'mount':19 'multipl':20 'need':3,77 'old':49 'one':32 'option':28 'partit':26 'short':11 'show':57 'sinc':74 'snapshot':79 'subvolum':10,21 'swap':9,53 'usual':33 'way':50 'work':69"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6351882"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208625 {#4144
    date: 2024-01-02 16:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
68 DENIED moderate
App\Entity\EntryComment {#4148
  +user: App\Entity\User {#4161 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Help-on-BTRFS-setup"
    +title: "Help on BTRFS setup"
    +url: null
    +body: """
      I’m attempting a new install. I want to use **btrfs with swapfile**.\n
      \n
      Do I need to disable compression on my swap subvolume?\n
      \n
      Is there anything else I should keep in mind for fstab if I want to, say, not keep track of my Downloads folder when snapshotting?\n
      \n
      Here is my fstab:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">LABEL=arch@btrfs        /               btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=256,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /home           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=257,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/cache/pacman/pkg   btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=259>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /var/log        btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=258,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /.snapshots     btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=260,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=arch@btrfs        /swap           btrfs           rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">LABEL=efi@fat32         /efi            vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci>\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">/swap/swapfile          none            swap            defaults        0 0\n
      </span>\n
      ```
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 16
    +favouriteCount: 47
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711217794 {#2414
      date: 2024-03-23 19:16:34.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26724
    -titleTs: "'btrfs':3 'help':1 'setup':4"
    -bodyTs: "'/.snapshots':114 '/efi':144 '/home':70 '/swap':129 '/swap/swapfile':156 '/var/cache/pacman/pkg':85 '/var/log':99 '0':160,161 '0022':149,151 '256':65 '257':80 '258':109 '259':95 '260':124 '263':139 '437':153 'anyth':26 'arch':54,68,83,97,112,127 'asci':155 'async':60,75,90,104,119,134 'attempt':3 'btrfs':11,55,56,69,71,84,86,98,100,113,115,128,130 'cach':62,77,92,106,121,136 'codepag':152 'compress':19 'default':159 'disabl':18 'discard':59,74,89,103,118,133 'dmask':150 'download':45 'efi':142 'els':27 'fat32':143 'fmask':148 'folder':46 'fstab':34,52 'instal':6 'iocharset':154 'keep':30,41 'label':53,67,82,96,111,126,141 'm':2 'mind':32 'need':16 'new':5 'none':157 'relatim':58,73,88,102,117,132,147 'rw':57,72,87,101,116,131,146 'say':39 'snapshot':48 'space':61,76,91,105,120,135 'subvol':66,81,110,125,140 'subvolid':64,79,94,108,123,138 'subvolum':23 'swap':22,158 'swapfil':13 'track':42 'use':10 'v2':63,78,93,107,122,137 'vfat':145 'want':8,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704293533
    +visibility: "visible             "
    +apId: "https://programming.dev/post/8024463"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704207133 {#1793
      date: 2024-01-02 15:52:13.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    > Do I need to disable compression on my swap subvolume?\n
    \n
    Short: No\n
    \n
    Long: it doesn’t matter when mounting multiple subvolumes of the same btrfs partition the options from the first one (usually /) will apply to all. So even if you disable it, that will be ignored.\n
    \n
    The [old way of creating swap](https://btrfs.readthedocs.io/en/latest/Swapfile.html) shows the chattr +C line which disables CoW. The same method should work for your Downloads folder since CoW is needed for snapshotting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704208625 {#4143
    date: 2024-01-02 16:17:05.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@actual_patience@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4149 …}
  +nested: Doctrine\ORM\PersistentCollection {#4151 …}
  +votes: Doctrine\ORM\PersistentCollection {#4153 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 273658
  -bodyTs: "'/en/latest/swapfile.html)':56 'appli':35 'btrfs':25 'btrfs.readthedocs.io':55 'btrfs.readthedocs.io/en/latest/swapfile.html)':54 'c':60 'chattr':59 'compress':6 'cow':64,75 'creat':52 'disabl':5,42,63 'doesn':15 'download':72 'even':39 'first':31 'folder':73 'ignor':47 'line':61 'long':13 'matter':17 'method':67 'mount':19 'multipl':20 'need':3,77 'old':49 'one':32 'option':28 'partit':26 'short':11 'show':57 'sinc':74 'snapshot':79 'subvolum':10,21 'swap':9,53 'usual':33 'way':50 'work':69"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6351882"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704208625 {#4144
    date: 2024-01-02 16:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
69 DENIED edit
App\Entity\Magazine {#265
  +icon: Proxies\__CG__\App\Entity\Image {#246 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#275
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#237 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
  +entries: Doctrine\ORM\PersistentCollection {#180 …}
  +posts: Doctrine\ORM\PersistentCollection {#138 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
  +bans: Doctrine\ORM\PersistentCollection {#117 …}
  +reports: Doctrine\ORM\PersistentCollection {#103 …}
  +badges: Doctrine\ORM\PersistentCollection {#81 …}
  +logs: Doctrine\ORM\PersistentCollection {#71 …}
  +awards: Doctrine\ORM\PersistentCollection {#1346 …}
  +categories: Doctrine\ORM\PersistentCollection {#1823 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#269
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#271
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details