736 reputation
420
bio website vi-server.org
location
age
visits member for 2 years, 6 months
seen Oct 14 at 21:19

Oct
1
comment How do I display information about all encountered symlinks in a given path?
@slm, It process only the final link. Also in case of chained link it shows only the final destination.
Oct
1
comment How do I display information about all encountered symlinks in a given path?
@slm, No, I'm just looking for a tool that makes navigating in a labyrinth of symlinks (in Nix they are used heavily) simpler, without manual ls -ld. Before writing a tool myself I often "lookup" it using StackExchange.
Oct
1
comment How do I display information about all encountered symlinks in a given path?
Scan all components of the path (in this case, /, home, nix, .nix-profile, lib, libQt5OpenGL.so) and output destinations of all encountered symlinks, including when them does "chain". It should provide answer to the question "How many symbolic links get dereferenced when I access this path".
Sep
30
asked How do I display information about all encountered symlinks in a given path?
Sep
18
accepted How can process doing “vfork without exec” end up in a long uninterruptible sleep?
Sep
18
comment How can process doing “vfork without exec” end up in a long uninterruptible sleep?
man vfork -> vfork - create a child process and block parent. OK, now I see. I though was "fork, but preserve Virtual memory unified". Parent is locked, but there's a "key" to unlock it, so no problem.
Sep
18
comment How can process doing “vfork without exec” end up in a long uninterruptible sleep?
I know it about FUSE program being able to take it's users to D, but I consider that a drawback of FUSE kernel driver, not FUSE filesystems.
Sep
18
asked How can process doing “vfork without exec” end up in a long uninterruptible sleep?
Sep
12
awarded  Custodian
Sep
12
reviewed Approve suggested edit on How do I temporarily extract a flash drive or HDD in Linux?
Sep
12
asked How do I temporarily extract a flash drive or HDD in Linux?
Sep
3
comment What makes systemd-nspawn still “unsuitable for secure container setups”?
AF_UNIX gets half-isolated with CLONE_NEWNET: abstract sockets - separate, filesytem-based - united (unless there are no shared filesystems between host and container). This makes convenient to start X applications barring network for particular application (as Xorg opens both abstract and filesystem UNIX socket).
Aug
25
accepted How do I preserve coloured output when piping to `less -R`?
Aug
23
comment How do I preserve coloured output when piping to `less -R`?
@vinc17, Usage of serialize/deserialize is like this: CODE=$(serialize ffmpeg -v debug -i /dev/null) script -c 'deserialize $CODE' /dev/null
Aug
23
comment How do I preserve coloured output when piping to `less -R`?
@vinc17, I already have such script: stackoverflow.com/questions/3069163/… . It does not try to quote anything (which I consider insecure), but uses base64 and explicit deserializer.
Aug
23
comment How do I preserve coloured output when piping to `less -R`?
@vinc17, Try feeding some other valid terminal instead of /dev/null to make it happy. I've submitted a pull request to reptyr to make it continue if input is not a terminal.
Aug
22
answered How do I preserve coloured output when piping to `less -R`?
Aug
22
comment How do I preserve coloured output when piping to `less -R`?
How do I run script with argument array instead of a string?
Aug
22
revised How do I preserve coloured output when piping to `less -R`?
Add `/dev/null` to `script`s argv to prevent attempt to create `typescript` in the current directory
Aug
22
suggested suggested edit on How do I preserve coloured output when piping to `less -R`?