Questions tagged [dev]
The Linux/Unix /dev directory contains the special device files for all the devices.
23
questions with no upvoted or accepted answers
3
votes
0
answers
845
views
Finding .npm debug logs in Azure DevOps Pipeline
I have an existing build pipeline for a Vue web app that has worked flawlessly for over a year now up until today. I'm not a devops guy so I don't understand it 100% and got thrown into this, but here ...
3
votes
1
answer
1k
views
Mount TMPFS instead of ro /dev
I am working on a ARM-Based embedded system with a custom Debian Linux based on kernel 2.6.31. In the final system, the Root file system is stored as squashfs on flash. Now, the folder /dev is created ...
3
votes
1
answer
791
views
Use /dev/shm sometimes crashes applications
Sometimes I use /dev/shm for temporary files, as big as 500MB, (I have 8 GB RAM - Ubuntu 11.04 x86-64) and when I load StarCraft II (with wine) I might get memory errors in the game (corrupted data or ...
2
votes
2
answers
481
views
How can I know what device the file in /dev is mapped to
I have installed a new device in linux.
If I enter lspci, i can see the information of this device.
But, I do not know which file in dev is mapped to this device.
1
vote
0
answers
614
views
How can I set device mode via networkd
How can I set mode to device (for example monitor/ap to wlan) via networkd deamon in .link file ???
Because I want to set bridge in .network of wlan device and I can't do it until I set it in ...
1
vote
0
answers
481
views
creating linux device files for bootstrap
I'm currently independently researching device files as a part of learning more about the Linux system in depth. My current goal is to bootstrap Debian Linux through cdebootstrap. I followed the guide ...
1
vote
1
answer
1k
views
rsyslog.conf: kern.err /dev/console. Where do these messages go?
There is a commented line in rsyslog.conf:
#kern.* /dev/console
If I add this line to the configuration file:
kern.notice /dev/console
Where do these messages go?
If I run this ...
1
vote
1
answer
1k
views
Cat to /dev/audio not working
I downloaded some files and am trying to cat them to /dev/audio (for fun of course, I'm sure I could just play them) and I guess this is supposed to work, but it doesn't?
I get permission denied and ...
1
vote
1
answer
691
views
Why is the ownership for /dev/input/eventX set to "root"?
Why are /dev/input/eventX permissions/ownership set to crw-r----- root.root? Then no unprivileged user application can program the mouse.
According to what I've read it's due to security reasons, and ...
0
votes
0
answers
48
views
How can I find out what's changing the group for /dev/ttyUSB*, Ubuntu 22.04.3 LTS
I've got a couple of USB devices that suddenly stopped working a few hours ago after several years of working fine and at least a week since I last touched the machine they were on. After a bit of ...
0
votes
1
answer
40
views
Messed up with /dev/tty* ownership
I was flashing a Flipper Zero Wifi Dev Board and I needed to have /dev/ttyACM0 owned by dialout group...
The thing is now I have tried to revert the stuff, making a chown root:tty /dev/tty*, and chmod ...
0
votes
1
answer
239
views
linux + how to convert disk DEV name to humane reading
we get from site remote machine the files under /var/log/sa/*
and we copy all them on our local machine under /var/tmp/sa/*
so when we run sar -f /var/tmp/sa/sa14 -d on our local machine
we get the ...
0
votes
1
answer
117
views
VirtualBox createvm in Dockerfile fails
I'm trying to create a Dockerfile that has a VirtualBox VM inside: it's based on ubuntu20.04 and I first install and setup the packages:
FROM ubuntu:20.04
...
RUN echo 'debconf debconf/frontend select ...
0
votes
1
answer
3k
views
/dev/ttyACM0 lost after sleep - How to redetect / restart / rescan for ttyACM0?
I have a Ubuntu 16.04 based VM which runs inside VirtualBox on Windows 10. On my Host, I've connected a ZWave USB antenna, which I've then mapped/attached to the VM. When I first boot my VM, I can ...
0
votes
1
answer
235
views
USB Drive not recognized under /dev
I was reading/learning about partitioning, creating file-system, etc.
and wanted to do some practical.
So i booted my CentOS installed on my windows laptop using Virtual Box and inserted a blank usb ...
0
votes
1
answer
218
views
Attached devices change /dev/sd value
I have a script which auto mounts my Windows partition based on UUID,
reason: my attached devices change their /dev/sd value.
After booting up, my external hard drive might take on /dev/sda or /dev/...
0
votes
1
answer
430
views
How can I get a Git repo to push/pull when the Git server is behind a firewall?
My work place currently has a gitlab server behind their corporate firewall and currently their public dev sites are facing the internet. I can access the gitlab server only when I'm on their vpn. I ...
0
votes
0
answers
2k
views
Why do loop devices sometimes refuse to go away?
I regularly mount the partitions inside an image file as loop devices:
sudo kpartx -a test.img
That creates loop devices such as
/dev/mapper/loop0p1
/dev/mapper/loop0p2
When I'm done, I get rid of ...
0
votes
0
answers
1k
views
USB pen drive not getting assigned anything in /dev/
dmesg | tail -f:
[17597.228060] usb 1-1.3: new high-speed USB device number 11 using dwc_otg
[17597.330548] usb 1-1.3: New USB device found, idVendor=18a5, idProduct=0300
[17597.330580] usb 1-1.3: ...
0
votes
2
answers
637
views
sound detection accessing device node directly
I am attempting to invoke a bash action triggered by audio input. A very
simple sound detection sensor (no record) with adjustable threshold utilizing
a pc's onboard audio chipset and audio microphone ...
0
votes
1
answer
1k
views
/dev/sda1, /tmp,/dev/shm
I'm actually putting some files into temporary folder /tmp. And I want to know the capacity of /tmp. I do the 'df -h':
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 ...
0
votes
1
answer
145
views
Control device labels in /dev
I have an HP xw8200 workstation running linux with two small, fast SCSI drives hooked up to the onboard LSI SCSI controller. The drives get labeled /dev/sda & /dev/sdb in /dev, respectively. I ...
0
votes
1
answer
2k
views
Can't mount external HDD. Device listed at lsusb but doesn't appear at /dev
Device works at Windows but doesn't appear at /dev. How can I mount it?
So let's go to the infos...
uname -a:
Linux deeptought 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 ...