5
votes
1answer
2k views

using devtmpfs for /dev

I have noticed the following option in the kernel: CONFIG_DEVTMPFS Device Drivers -> Generic Driver Options -> Maintain devtmpfs to mount at /dev And I see that it is enabled by default in ...
2
votes
1answer
104 views

What is the source of truth for currently active tty/pts connections?

I'm looking for a simple way to determine the number of currently logged in users, using only the filesystem and basic bash functions (instead of using binaries). The uptime binary appears to be ...
4
votes
1answer
1k views

Writing /dev/random to file?

If you ran the following, what would happen? cat /dev/random > ~/randomFile # don't run Would it be written until the drive runs out of space, or would the system see a problem with this and ...
2
votes
2answers
2k views

Prevent usbhid from claiming USB device

Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb? I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
2
votes
0answers
60 views

What are the differences between the current Linux kernel and the Unix SVR4 kernel in terms of device drivers+i/o and virtual files systems?

Yes I realize that Linux supports many more file systems and recognizes more devices than Unix SVR4. I'm interested in what the differences are in the abstraction on top of an actual file system, or ...
3
votes
2answers
408 views

Choosing a device name under /dev from the kernel command line

I am booting CentOS via a USB install. The boot method is simply booting the ISO from GRUB2 installed on the USB Key. The USB key always gets the "name" /dev/sda. Can I change that name from the ...
3
votes
1answer
2k views

Change the number of generated /dev/tty devices

I'm building an embedded Linux system, based on Gentoo. Using udev, all tty devices are probed with a PROGRAM stanza to determine if they are a modem. Right now the system boots up with 64 /dev/tty*. ...
5
votes
3answers
2k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...