Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 00:59:40 JST Haelwenn /элвэн/ :triskell:
lol wtf rename(2) not working across filesystems. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 01:04:44 JST Haelwenn /элвэн/ :triskell:
@a1ba Feels rather silly to have a syscall for renaming with the same limitations as link(2).
-
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Friday, 01-Mar-2024 01:04:46 JST :umu: :umu:
@lanodan isn't it's a feature? -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 01:23:15 JST Haelwenn /элвэн/ :triskell:
Which of course is also true for subvolumes, linux dammit. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 01:34:16 JST Haelwenn /элвэн/ :triskell:
And probably very "fun" when you're moving data between two mountpoints of the same remote fileserver, suddenly what could be done in a split second can take hours. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 01:40:16 JST Haelwenn /элвэн/ :triskell:
@feld Yeah but seems like it's going to be an optimisation that userspace software will have to do instead of having it done right in linux kernel… (no idea for FreeBSD) -
Embed this notice
feld (feld@bikeshed.party)'s status on Friday, 01-Mar-2024 01:40:17 JST feld
@lanodan this is what I really appreciate the new ZFS bclone functionality for. It just works instantly like it was on the same volume. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 01:46:35 JST Haelwenn /элвэн/ :triskell:
@feld Or abusing the fact that C has no difference between a syscall and a function call and wrap it around, but pretty sure no libc developer would accept that kind of hack. -
Embed this notice
feld (feld@bikeshed.party)'s status on Friday, 01-Mar-2024 01:46:36 JST feld
@lanodan oh yes it requires a specific syscall to be used IIRC and there's probably a ton of software out there that won't get the benefit but you could probably hijack it with some LD_PRELOAD tricks i suppose -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 01-Mar-2024 12:50:02 JST Haelwenn /элвэн/ :triskell:
@cJ That's userspace doing this optimisation, look at the syscalls, it's ugly. -
Embed this notice
Jérôme Carretero (cj@mastodon.zougloub.eu)'s status on Friday, 01-Mar-2024 12:50:13 JST Jérôme Carretero
But! For fast subvolume moving you can cp --reflink and remove the original 🤡
-
Embed this notice