0
votes
1answer
24 views

How to make my udev rule work

My USB device keeps changing its number in its name /dev/ttyUSB?. I have seen this and this, and tried to do the same with no luck. gauthier@sobel:/etc/udev/rules.d $ udevadm info -a -p $(udevadm ...
3
votes
2answers
132 views

Udev - How to change device group?

By default, all hard drive and usb drive devices belong to group "disk". I want to change usb drives to group "adm". I verified the ID_BUS $ udevadm info -q all -n /dev/sdb | grep ID_BUS E: ...
0
votes
1answer
94 views

ID_FS_LABEL in udev

What is ID_FS_LABEL in udev? Also why doesn't it show up when I execute this command : sudo udevadm info --root --name=/dev/sdb The output that I get for the above command : vineet@vineet:~$ sudo ...
0
votes
0answers
170 views

HD serial at /dev/disk/by-id

I am building a function that has to read the HD serial number, and it cannot run external applications or require root privileges. I am aware that I can list the contents of this folder: ...
0
votes
1answer
266 views

Remove persistent devices from file browser list

In my file browser, it lists all the drives and devices available for browsing. There is one that is from another OS installation, and i want to remove it from the list. Hiding devices using ...
0
votes
1answer
415 views

How can I detect unknown/unapproved devices with udev?

I'm designing a security sensitive setup for a client. The situation is as follows: Sensitive information has to be stored on a server that might be accessed by unauthorized personnel. There is no ...
2
votes
1answer
2k views

udev rule group ownership not working

I have added a udev rule for my Arduino, but the symlink gets the ownership "root root" instead of "root dialout". $ cat /etc/udev/rules.d/47-Arduino.rules SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ...
1
vote
1answer
3k views

/dev/sdb2: No such file or directory

I was trying to add a swap partition in my secondary drive, I created the partition space with fdisk and when running mkswap I was greeted with an error: $ sudo mkswap -c /dev/sdb2 /dev/sdb2: No such ...
4
votes
3answers
2k views

Rebuild /dev accidentally deleted

How to rebuild /dev on an ubuntu lucid where all files in /dev were accidentally deleted ? MAKEDEV std and MAKEDEV pty aren't enough, which isn't surprising on a system under udev. I haven't reboot ...