Questions tagged [devices]

21 questions
32
votes
1 answer

what is the difference between /dev/vda and /dev/sda

I am preparing for a certification and have a locally installed CentOS7 (VirtualBox) and another instance in a cloud-based service. On the local system I have a /dev/sda and on the cloud-based i have a /dev/vda. Now I am wondering what this…
Mathias Begert
  • 423
  • 1
  • 4
  • 7
11
votes
4 answers

is /dev/dm-1 a partition or a whole block device?

Is there a way to figure out if /dev/dm-1 is a block device partition or a whole block device? If /dev/dm-1 is a partition, is there a way to find out the path to the corresponding whole block device?
Loic Dachary
  • 851
  • 1
  • 7
  • 11
11
votes
3 answers

What is mdev and how to /dev/* nodes get created in Linux?

Our Linux kernel is 2.6.31 running on an embedded MIPS processor with busybox. The initialisation script (rcS) starts mdev with: echo "/sbin/stbhotplug" > /proc/sys/kernel/hotplug mdev -s Can anyone tell me what the Linux utility mdev does? It…
user626201
  • 231
  • 1
  • 2
  • 7
4
votes
1 answer

Windows 10 - Unused printers being automatically removed by the OS

We have several remote/mobile users who travel between numerous locations and install local printers specific to those locations. These users might exceed 50 printers on their system. With Windows 7, it was never an issue. The OS left them alone…
Jared
  • 43
  • 3
4
votes
2 answers

Directly Formatting a Device on a Linux System

I've just 'inherited' a system that consists of a bunch of Linux servers (running Ubuntu, but probably not important) that uses iSCSI devices. These show up as /dev/sdb, /dev/sdc etc. when you log them in using the iscsiadm command. However, the way…
user544955
  • 141
  • 1
  • 3
4
votes
1 answer

Predictable Network Interface Names

So, I've been looking into this systemd "Predictable Network Interface Names" for quite some time and got some understanding on how it works, but I can't for the love of Thor figure out the naming scheme with enpXsY, I know that it's supposed to…
2
votes
1 answer

How can I retrieve the device information?

From Windows Server 2012 R2, how can I retrieve a device's vendor name and model number without physically opening the machine? For instance, PCI cards. Get-WmiObject Win32_PNPEntity returns a bunch of information, including the manufacturer and…
slybloty
  • 443
  • 2
  • 9
  • 30
2
votes
1 answer

Multi-Generation Snapshots using Device Mapper (Linux)

LVM is an amazingly useful tool, however, it seems to still lack support for snapshotting a drive that is already a snapshot. I made a script to handle this automatically but ran into some troubles. My test environment I'm testing the script on a…
2
votes
1 answer

How to get cpu hardware id on Android systems?

I need get CPU voltage and temperature from /sys/class/hwmon but need find the CPU ID to find the correct directory, by example: $ ll /sys/class/hwmon/hwmon2/device lrwxrwxrwx 1 root root 0 sep 3 13:05 /sys/class/hwmon/hwmon2/device ->…
e-info128
  • 159
  • 1
  • 8
2
votes
0 answers

What is the use case of QEMU chardev pty

I'm new to QEMU and playing around with its chardevs. I faced the option called -chardev pty,id=id. So I tried to create a VM with -chardev pty,id=pty0 and got the message. char device redirected to /dev/pts/9 (label pty0) So I tried to send some…
Some Name
  • 121
  • 2
2
votes
1 answer

How does the linux kernel identify storage devices or any devices in general?

1 Problem: Today I encountered a strange behavior when trying to benchmark SSD's with a Raspberry PI and having two SSD's with the same label. 2 Setup: My setup is like this: My Raspi runs Ubuntu 2004 - the root file system is on a Samsung T5. On…
Andrino
  • 33
  • 2
1
vote
1 answer

Access NMEA reference clock and GPS position simultaneously

I noticed two approaches to get an accurate time from GPS (with PPS). Using ntpd either with NMEA reference clock or Shared Memory Driver My problem: I want to have a very accurate time and access to GPS position data. Therefore using Shared…
wenzul
  • 215
  • 1
  • 4
  • 11
1
vote
2 answers

File of modules list in linux

I want to know where is the file which lists all modules in Linux kernel package for specific device ID ? and where is that file (path)? pci.ids and usb.ids contain the device ID and name of device but not the module of that. For example in pci.ids…
1
vote
1 answer

Solaris ethernet ports: e1000g1 and e1000g2 are not working

I can plumb and configure e1000g0 and e1000g3 using ifconfig, but I can't seem to make use of e1000g1 or e1000g2. When I try ifconfig e1000g1 plumb, I get ifconfig: plumb: e1000g1: Invalid argument. They are part of a single set of four ethernet…
700 Software
  • 2,163
  • 9
  • 47
  • 77
1
vote
2 answers

Moving Ubuntu disks to a new server

An Ubuntu (Hardy Heron) server here died a couple of days ago. Fortunately, the hard drives were OK. So now we have a new server with the old disks installed. The new server won't boot. After a number of lines in the boot sequence, it says that…
user42363
  • 125
  • 1
  • 4
1
2