Skip to content

Magenaut

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

devices

Why do my SATA devices show up under /proc/scsi/scsi?

August 11, 2022 by Magenaut

I have 3 SATA devices on my system. They show up under /proc/scsi/scsi, although these are not SCSI devices. Why do my SATA devices show up under the SCSI directory?

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

Why is “nodev” in /etc/fstab so important? How can character devices be used for hacking?

August 10, 2022 by Magenaut

I am learning about linux security and struggling to understand why a USB stick with a character device on it is potentially dangerous.

Categories Q&A, Unix & Linux Tags devices, fstab, mount, security Leave a comment

Multiple /dev/video for one physical device

August 10, 2022 by Magenaut

First some specs: my computer is an HP EliteBook 8460p. It comes with an integrated Chicony HP HD webcam.

Categories Q&A, Unix & Linux Tags camera, devices, video Leave a comment

How can I put a bit mask on /dev/zero so that I can get bytes other than zero?

August 9, 2022 by Magenaut

How can I put a bit mask on /dev/zero so that I can have a source not only for 0x00 but also for any byte between 0x01 and 0xFF?

Categories Q&A, Unix & Linux Tags devices Leave a comment

How to get my USB key to auto mount

August 9, 2022 by Magenaut

I’m currently working in a command line only environment.

Categories Q&A, Unix & Linux Tags devices, mount, usb Leave a comment

Why is /dev/null a file? Why isn’t its function implemented as a simple program?

August 9, 2022 by Magenaut

I am trying to understanding the concept of special files on Linux. However, having a special file in /dev seems plain silly when its function could be implemented by a handful of lines in C to my knowledge.

Categories Q&A, Unix & Linux Tags devices, executable, files, null Leave a comment

How to create /dev/null?

August 9, 2022 by Magenaut

I deleted my /dev/null. How can I restore it?

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

If I connect a physical device, how can I ever know which device file belongs to it?

August 9, 2022 by Magenaut

Say I plug in several USB drives which don’t get automatically mounted. How can I find out which device file belongs to which physical device, so I can mount it for example?

Categories Q&A, Unix & Linux Tags bsd, devices, linux, osx, usb Leave a comment

How to grant non-root user access to device files

August 9, 2022 by Magenaut

I have device file that appears in /dev when a specific board is plugged in. The read and write operations to it work just fine, but in order to open the device file the program needs to be executed with root priveledges. Is there any way I can all a non-root user to open this one specific device file without having to use sudo?

Categories Q&A, Unix & Linux Tags devices, linux, permissions, users Leave a comment

wlan number assignment

August 9, 2022 by Magenaut

How or where does Linux determine the assignment of a network device? Specifically, wlan0 or wlan1 for wireless USB devices.

Categories Q&A, Unix & Linux Tags devices, linux, networking, wifi Leave a comment
Older posts
Page1 Page2 Page3 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