Questions tagged [device]

70 questions
17
votes
2 answers

Why is there both character device and block device for nvme?

I am trying to understand the configuration of nvme. But I do not understand why there are two devices: nvme block and nvme character device: crw------- 1 root root 243, 0 Dec 12 16:09 /dev/nvme0 brw-rw---- 1 root disk 259, 0 Jan 14 01:30…
GP92
  • 599
  • 2
  • 6
  • 25
15
votes
3 answers

Look up manufacturer based on Mac Address?

I want to incorporate into a piece of software the ability to look up a manufacturer based on a mac address. By googling "mac address lookup" and similar, I have noticed several websites that make this correlation which suggests this data source is…
John R
  • 297
  • 4
  • 10
11
votes
3 answers

Find information for local IP address?

We have had a BT engineer visit recently, trying to solve a problem with our IP phone system. One point they made was that we had four DHCP servers running on the network. I have disabled two of them (one of them should be running) and tested…
dannymcc
  • 2,677
  • 10
  • 46
  • 72
8
votes
7 answers

find out if disk is IDE or SATA

I need to find out if a disk is IDE or SATA (or anything else, maybe). I know that the device is /dev/sda, so I think it's SATA, but I don't know if I can be sure just by the name. I tried looking at dmesg and it always says "SCSI", but I'm sure…
cd1
  • 1,434
  • 4
  • 12
  • 17
8
votes
2 answers

How do I tell which kernel module is servicing a /dev device?

How do I find out which kernel module (as seen by typing lsmod) is servicing a particular device in /dev ? In other words, say I have a device, /dev/mouse0 and I want to find out which kernel module is installed to service that device. How do I do…
regulatre
  • 276
  • 3
  • 11
7
votes
4 answers

Prevent end-users from purchasing apps on iOS

We are looking to deploy iPads from inside our organization. We want to be able to install apps for users, which can be done via Mobile Device Management. However, we do not want users to be able to purchase apps, as these apps can be purchased with…
Jonah H.
  • 203
  • 3
  • 8
5
votes
1 answer

No space left on device in spite partition is not 100%

I am trying to do the following on my Linux machine CentOS release 5.8 cd /var/APPstoreldap/Home touch test touch: cannot touch `test': No space left on device so I verified the partition disk space capacity in order to understand if …
maihabunash
  • 443
  • 1
  • 11
  • 25
5
votes
2 answers

Refresh /dev/sdx list

I've been messing around with my storage array (in that case 2xMD3000 SAS) and between the scans/rescans/delete/add my /dev/sdx block devices are all messed up. Some of them are non existent and using fdisk on them gives: fdisk: unable to open sdc:…
Martino Dino
  • 1,145
  • 1
  • 10
  • 17
4
votes
5 answers

Linux - How to figure out what harddrives are attached?

So I have a server that has a few harddrives in it, all formatted and mounted. However I'm told there is another drive attached to it. How do I find out what drives are attached? How do I find out the device filename for this new drive (that's not…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
4
votes
1 answer

When using nmcli, what is considered a device, an interface and a connection? What's the difference?

What are dependencies and relations between device, interface and connection in nmcli cmdline utility under linux? The below questions are asked in context of nmcli and networking in linux: Which can be only in 1:1 relation and which can be in…
bastiat
  • 187
  • 1
  • 7
4
votes
1 answer

How can I sort ls -l /dev by type and major and minor device number?

How can I sort the /dev directory by type and major and minor device number when doing ls -l? The best way I've found so far is: ls -l /dev | sort -k 1.1,1.2 -k 5n -k 6n | less Is there a better way?
Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148
3
votes
0 answers

/dev/ttyS0 in lxc container

How to set up lxc to get /dev/ttyS0 in lxc container. I add # /dev/ttyS0 lxc.cgroup.devices.allow = c 4:64 rwm into config but nothing works - If I add manually mknod in running container everything works until reboot - after reboot device ttyS0…
SledgehammerPL
  • 711
  • 9
  • 16
3
votes
1 answer

watchdog service is not working because /dev/watchdog does not exist

There is a ITE8783 watchdog chip placed within my machine (OS Ubuntu 14.04.1). The kernel module it87 supports is. This module was not automatically loaded on startup. So I added it87 to /etc/modules. Now the module loads at startup. it87: Found…
wenzul
  • 215
  • 1
  • 4
  • 11
3
votes
3 answers

No space left on device

I have a vServer and I can't upload/copy files. It says "no space left on device" but I have like 130 GB on my hdd. This is what it shows on: df -h / df -h / Filesystem Size Used Avail Use% Mounted on /dev/mapper/volume-root …
floube
  • 31
  • 1
  • 2
3
votes
4 answers

an unknown ip on network

In our office we have many PCs, all of them have static IP addresses. We had a problem with one server with ip 192.168.1.10 dropping off the network occasionally. I unplugged the network cable from the server and from pinged 192.168.1.10 from…
ahmedsafan86
  • 131
  • 3
1
2 3 4 5