
How do I find on which physical device a folder is located?
Apr 14, 2011 · The df(1) command will tell you the device that a file or directory is on: df /work The first field has the device that the file or directory is on. e.g. $ df /root Filesystem 1K-blocks Used Available …
command to determine ports of a device (like /dev/ttyUSB0)
I just need a command which will give me port of a device and will not push me to disconnect and reconnect my devices. ls /dev/ttyUSB* will only list maybee 10 ports but from this list I cannot tell …
error during arch linux installation "usb 1-8: device descriptor read ...
May 17, 2024 · That's a hardware problem; some USB device is misbehaving, on a very fundamental level. The good news is that it doesn't seem to be the problem. The problem is that you have …
How to find the driver (module) associated with a device on Linux?
To get this information from sysfs for a device file, first determine the major/minor number by looking at the output of ls -l, eg $ ls -l /dev/sda brw-rw---- 1 root disk 8, 0 Apr 17 12:26 /dev/sda The 8, 0 tells us …
How to get over "device or resource busy"? - Unix & Linux Stack …
I tried to rm -rf a folder, and got "device or resource busy". In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" ...
umount: device is busy. Why? - Unix & Linux Stack Exchange
When running umount /path I get: umount: /path: device is busy. The filesystem is huge, so lsof +D /path is not a realistic option. lsof /path, lsof +f -- /path, and fuser /path all return nothing.
How to mount a device in Linux? - Unix & Linux Stack Exchange
So, normally is this how I should find it on a running linux system: plugin a pen drive (example), issue the command # fdisk -l and find the device (/dev/*) & its filesystem (vfat, ntfs, hpfs, ext etc). Right?
Linux: How to find the device driver used for a device?
Jun 27, 2012 · As others mentioned before, you can find a symlink to the device driver within the sysfs structure for this ethernet device. Using the GNU find parameter -samefile, you can look specifically …
How do I find out which processes are preventing unmounting of a …
Jul 25, 2019 · Use lsof | grep /media/whatever to find out what is using the mount. Also, consider umount -l (lazy umount) to prevent new processes from using the drive while you clean up.
linux - How to reconnect a logically disconnected USB device? - Unix ...
Jan 31, 2014 · It is possible for a USB storage device to become logically disconnected: the device is still plugged in, but is invisible from the operating system (e.g. it's not listed under /proc/bus/usb). …