Components
18
Twig Components
37
Render Count
31
ms
Render Time
14.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 14.0 MiB | 11.02 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } "showMagazineName" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryComponent {#2159 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2338 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} +entry: App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } +isSingle: false +showShortSentence: true +showBody: false +showMagazineName: true +canSeeTrash: false +newComments: 0 } |
user_inline | App\Twig\Components\UserInlineComponent | 14.0 MiB | 0.27 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#2507 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#2574 +date: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 14.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#2638 +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } +editedAt: null } |
magazine_inline | App\Twig\Components\MagazineInlineComponent | 14.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "magazine" => Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineInlineComponent {#2703 +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +showTitle: true +fullName: false +stretchedLink: false +showAvatar: false } |
vote | App\Twig\Components\VoteComponent | 14.0 MiB | 0.53 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#2769 +subject: App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } +formDest: "entry" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 14.0 MiB | 1.42 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#2836 +formDest: "entry" +subject: App\Entity\Entry {#1573 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } +magazine: Proxies\__CG__\App\Entity\Magazine {#1617 +icon: Proxies\__CG__\App\Entity\Image {#2303 …} +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 {#2189 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2304 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2308 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2317 …} +entries: Doctrine\ORM\PersistentCollection {#2318 …} +posts: Doctrine\ORM\PersistentCollection {#2292 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2290 …} +bans: Doctrine\ORM\PersistentCollection {#2282 …} +reports: Doctrine\ORM\PersistentCollection {#2218 …} +badges: Doctrine\ORM\PersistentCollection {#2202 …} +logs: Doctrine\ORM\PersistentCollection {#2211 …} +awards: Doctrine\ORM\PersistentCollection {#2196 …} +categories: Doctrine\ORM\PersistentCollection {#2273 …} -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 {#2299 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2311 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1596 …} +slug: "BTRFS-and-moving-home-to-subvolume-in-need-of-a" +title: "BTRFS and moving /home to subvolume, in need of a sanity check." +url: null +body: """ So I installed Debian 12 with btrfs and apparently it only uses a single subvolume `rootfs`. I would like to have my `/home` in a separate subvolume (and possibly `/var` too I guess) and with a flat subvolume structure. I started figuring out on how to do it and I feel like I’m not entirely sure yet so I need a sanity check.\n \n Lots of comments online seem to use something like this method:\n \n ```\n \n <span style="color:#323232;">cd /\n </span><span style="color:#323232;">mv /home /home_old\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;">cp -a --reflink=always /home_old/* /home/\n </span>\n ```\n \n But this would NOT create a flat subvolume structure, right? And you woul NOT need to modify `fstab` as the `/home` would be automatically mounted because it resides under `rootfs` actually because `/` is `rootfs` and not its parent?\n \n If I want to actually have a flat structure, then I would first need to mount the actual parent subvolume (subvolumeid=5), cd into it, then create the `home` subvolume, copy everything from the current `home` directory into there, unmount, modify `fstab` to mount `home`, and delete the old stuff and reboot I guess.\n \n Soo something like this:\n \n ```\n \n <span style="color:#323232;">mkdir /mnt/tmp\n </span><span style="color:#323232;"> Make a folder for mount\n </span><span style="color:#323232;">mount -o subvolid=5 /dev/sdXX /mnt/tmp/\n </span><span style="color:#323232;"> Mount the actual parent subvolume\n </span><span style="color:#323232;">cd /mnt/tmp/\n </span><span style="color:#323232;"> Here 'ls -a' would output 'rootfs' if I understood correctly\n </span><span style="color:#323232;">btrfs subvolume create home\n </span><span style="color:#323232;"> Create new subvolume, now being sibling of 'rootfs'\n </span><span style="color:#323232;">cp -a --reflink=always /home/* /mnt/tmp/home/\n </span><span style="color:#323232;"> Copy old /home\n </span><span style="color:#323232;">umount /mnt/tmp/\n </span><span style="color:#323232;"> Don't need it anymore \n </span>\n ```\n \n Then go to `fstab`, and do something like\n \n ```\n \n <span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">-> change into\n </span><span style="color:#323232;">...\n </span><span style="color:#323232;">UUID= / btrfs subvol=rootfs bunch_of_options_and_stuff\n </span><span style="color:#323232;">UUID= /home btrfs subvol=home bunch_of_options_and_stuff\n </span><span style="color:#323232;">...\n </span>\n ```\n \n Then just `rm -rf /home/*` (or just move to keep it as backup if something is fucked up) and reboot?\n \n Does this sound about right?\n \n Edit:\n \n Everything went smoothly. Well just don’t fuck up fstab like I did. Decided not to make `/var` into a subvolume because not sure if you can do it the same way, thinking that logs etc are being written all the time so the gap between me copying everything to the subvolume, and eventually booting might make weird things but dunno. Also added `compress=zstd` into `fstab` mount options to reduce writes on the ssd. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 0 +favouriteCount: 1 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1698665174 {#1572 : 2023-10-30 12:26:14.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1619 …} +votes: Doctrine\ORM\PersistentCollection {#1701 …} +reports: Doctrine\ORM\PersistentCollection {#1680 …} +favourites: Doctrine\ORM\PersistentCollection {#1729 …} +notifications: Doctrine\ORM\PersistentCollection {#1732 …} +badges: Doctrine\ORM\PersistentCollection {#2465 …} +children: [] -id: 9460 -titleTs: "'/home':4 'btrfs':1 'check':12 'move':3 'need':8 'saniti':11 'subvolum':6" -bodyTs: "'/dev/sdxx':197 '/home':23,78,89,110,232,236,273,286 '/home_old':79,88 '/mnt/tmp':187,198,205,238 '/mnt/tmp/home':233 '/var':30,325 '12':5 '5':149,196 'actual':120,132,145,201 'ad':370 'also':369 'alway':87,231 'anymor':243 'appar':9 'automat':113 'backup':294 'boot':362 'btrfs':7,80,216,253,264,274 'bunch':256,267,277 'cd':76,150,204 'chang':261 'check':64 'comment':67 'compress':371 'copi':158,234,355 'correct':215 'cp':84,228 'creat':82,94,154,218,220 'current':162 'debian':4 'decid':321 'delet':174 'directori':164 'dunno':368 'edit':307 'entir':56 'etc':343 'eventu':361 'everyth':159,308,356 'feel':51 'figur':42 'first':140 'flat':37,96,135 'folder':190 'fstab':107,169,247,317,374 'fuck':298,315 'gap':352 'go':245 'guess':33,181 'home':83,156,163,172,219,276 'instal':3 'keep':291 'like':19,52,73,184,251,318 'log':342 'lot':65 'ls':207 'm':54 'make':188,324,364 'method':75 'might':363 'mkdir':186 'modifi':106,168 'mount':114,143,171,192,193,199,375 'move':289 'mv':77 'need':61,104,141,241 'new':221 'o':194 'old':176,235 'onlin':68 'option':258,269,279,376 'output':210 'parent':127,146,202 'possibl':29 'reboot':179,301 'reduc':378 'reflink':86,230 'resid':117 'rf':285 'right':99,306 'rm':284 'rootf':16,119,123,211,227,255,266 'saniti':63 'seem':69 'separ':26 'sibl':225 'singl':14 'smooth':310 'someth':72,183,250,296 'soo':182 'sound':304 'ssd':382 'start':41 'structur':39,98,136 'stuff':177,260,271,281 'subvol':254,265,275 'subvolid':195 'subvolum':15,27,38,81,97,147,157,203,217,222,328,359 'subvolumeid':148 'sure':57,331 'thing':366 'think':340 'time':349 'umount':237 'understood':214 'unmount':167 'use':12,71 'uuid':252,263,272 'want':130 'way':339 'weird':365 'well':311 'went':309 'woul':102 'would':18,92,111,139,209 'write':379 'written':346 'yet':58 'zstd':372" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1698665174 +visibility: "visible " +apId: "https://sopuli.xyz/post/5276014" +editedAt: null +createdAt: DateTimeImmutable @1698665174 {#1660 : 2023-10-30 12:26:14.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 14.0 MiB | 0.28 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#3196 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3238 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3324 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.39 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3380 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3439 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3495 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3551 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#3609 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3672 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#3730 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#3786 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 14.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#3842 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3898 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3954 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4010 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4066 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4122 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.11 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4178 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4234 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 14.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#4290 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 14.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4348 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 14.0 MiB | 0.43 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#4424 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "AnonStoleMyPants@sopuli.xyz" +username: "@AnonStoleMyPants@sopuli.xyz" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1728559488 {#273 : 2024-10-10 13:24:48.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 2300 -password: "$2y$13$eyW3iYOS7vAOM.ek06NfE.WHpiDiFS4NKjlpylvgxbH/h5eHA6STC" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "AnonStoleMyPants@sopuli.xyz" +apProfileId: "https://sopuli.xyz/u/AnonStoleMyPants" +apPublicUrl: "https://sopuli.xyz/u/AnonStoleMyPants" +apFollowersUrl: null +apInboxUrl: "https://sopuli.xyz/inbox" +apDomain: "sopuli.xyz" +apPreferredUsername: "AnonStoleMyPants" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728411254 {#274 : 2024-10-08 20:14:14.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } } |
date | App\Twig\Components\DateComponent | 14.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4485 +date: DateTimeImmutable @1687022122 {#268 : 2023-06-17 19:15:22.0 +02:00 } } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 14.0 MiB | 11.79 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#4572 +limit: 4 +tag: null +magazine: null +type: "random" +title: "random_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#1370 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 14.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#4637 +magazine: null -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 14.0 MiB | 1.28 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#4696 +limit: 4 +tag: null +magazine: null +type: "random" +title: "random_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#4697 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 14.0 MiB | 1.36 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#4767 +limit: 4 +tag: null +magazine: null +type: "random" +post: null +title: "random_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#4766 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#1504 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 14.0 MiB | 1.25 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#4836 +limit: 4 +tag: null +magazine: null +type: "random" +entry: null +title: "random_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#1704 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#1504 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 14.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#4905 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#4906 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 14.0 MiB | 0.76 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#4998 +magazine: null -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#1370 …} } |