Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

linux

Can the init process be a shell script in Linux?

August 8, 2022 by Magenaut

I was going through a tutorial on setting up a custom initramfs where it states:

Categories Q&A, Unix & Linux Tags init, init-script, linux Leave a comment

iotop showing 1.5 MB/s of disk write, but all programs have 0.00 B/s

August 8, 2022 by Magenaut

I don’t understand iotop output: it shows ~1.5 MB/s of disk write (top right), but all programs have 0.00 B/s. Why?

Categories Q&A, Unix & Linux Tags io, linux, monitoring, process Leave a comment

Shared library mappings in /proc/pid/maps

August 8, 2022 by Magenaut

Why does /proc/pid/maps contain a few records for the same library ? Here is an example:

Categories Q&A, Unix & Linux Tags linux, memory, process, shared-library, virtual-memory Leave a comment

How to map ataX.0 identifiers in kern.log error messages to actual /dev/sdY devices?

August 8, 2022 by Magenaut

Consider following kern.log snippet:

Categories Q&A, Unix & Linux Tags linux, sata Leave a comment

extract Embedded initramfs

August 8, 2022 by Magenaut

I have a kernel in which one initramfs is embedded.
I want to extract it.

Categories Q&A, Unix & Linux Tags initramfs, kernel, linux Leave a comment

How to prevent a process from writing files

August 8, 2022 by Magenaut

I want to run a command on Linux in a way that it cannot create or open any files to write. It should still be able to read files as normal (so an empty chroot is not an option), and still be able to write to files already open (especially stdout).

Categories Q&A, Unix & Linux Tags apparmor, capabilities, linux, security, selinux Leave a comment

How to make exported shell variables permanent?

August 8, 2022 by Magenaut

export LD_PRELOAD=/usr/lib/libtsocks.so It’s ok that I can export in this way, but how can I make it permanent? I want LD_PRELOAD to still be changed after a reboot. I’m using Ubuntu and Fedora Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the … Read more

Categories Q&A, Unix & Linux Tags linux, shell Leave a comment

Using ddrescue to retrieve data off a failing ntfs disk

August 8, 2022 by Magenaut

I am attempting to save some user data of a disk that has failed in a Window 8 computer. I’ve removed the HDD that was unable to be read by the Windows 8 laptop, plugged into my OS X machine which can see the partitions but cannot mount them. (ntfs-3g cannot either).

Categories Q&A, Unix & Linux Tags data-recovery, ddrescue, linux, ntfs Leave a comment

Temporarily change time

August 8, 2022 by Magenaut

I need to test aspects of my software that only happen at certain times of the day. Rather than waiting whole days (and getting here at 2:00 AM), I’d like to change the time.

Categories Q&A, Unix & Linux Tags linux, rhel, time Leave a comment

What’s the progress regarding improving system performance/responsiveness during high disk I/O?

August 8, 2022 by Magenaut

Whenever there is high disk I/O, the system tends to be much slower and less responsive than usual. What’s the progress on Linux kernel regarding this? Is this problem actively being worked on?

Categories Q&A, Unix & Linux Tags io, kernel, linux, performance Leave a comment
Older posts
Newer posts
← Previous Page1 … Page37 Page38 Page39 … Page63 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress