xfs_rtcp(8)

πŸ’– xfs_rtcp(8) ✨ NAME ✨

okay so the manual name is xfs_rtcp, and it's the XFS realtime copy command πŸŽ€ bestie, it does exactly what it says.

🧚 SYNOPSIS 🧚

xfs_rtcp [ -e extsize ] [ -p ] source ... target
xfs_rtcp -V

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so xfs_rtcp copies a file onto the realtime partition of an XFS filesystem πŸ’… if you give it more than one source, the final argument (the target) has to be a directory that already exists. no making it up on the spot, periodt πŸ™ˆ

🌸 OPTIONS 🌸

  • -e extsize β€” sets the extent size of the destination realtime file πŸ“
  • -p β€” the glow-up flag πŸ”₯ use this if the source file's size isn't an even multiple of the destination filesystem's block size. with -p, xfs_rtcp pads the destination file out to an even multiple of the filesystem block size. this is needed because the realtime file gets created with direct I/O, and the smallest I/O you can do is one filesystem block, so it's not optional, it's giving necessary ✨
  • -V β€” prints the version number and exits πŸ’œ

πŸ“ SEE ALSO πŸ“

xfs(5), mkfs.xfs(8), mount(8) β€” go read these, they're the homies 🫢

🚨 CAVEATS 🚨

πŸ’€ bestie, listen up. realtime partitions are not supported under the Linux version of XFS right now, and using a realtime partition WILL CAUSE CORRUPTION on the data partition. no cap, this is not a drill 😭

so this command is only available for curious DEVELOPERS ONLY at this point in time. if you're not a developer poking around out of curiosity, keep your hands off πŸ™…β€β™€οΈπŸŒˆ


πŸŽ€ that's the whole page, bestie: xfs_rtcp(8) πŸ’– the name in the footer, all tidy and ready to go. stay iconic, stay curious, and stay far away from the data partition πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from