Questions tagged [usb-drive]

Storage drives connected by USB devices known otherwise as flash drive, memory stick, pen drive, USB stick, USB key and thumb drive. Also includes larger storage devices such as portable hard drives.

USB drives are storage drives connected by USB (Universal Serial Bus) to the computer. A USB drive -- also known as a flash drive or keychain drive -- is a plug-and-play portable storage device that uses flash memory and is lightweight enough to attach to a key chain.

Above the OS level, work with these drives does not differ much from the work with the fixed drives: they can be partitioned and partitions can be formatted OS-supported filesystems.

Such drives can also be bootable. Developers may use this capability to test new operating system without installing it, or to gain access to non-encrypted fixed hard drive if the main operating system does not boot any longer.

571 questions
0
votes
0 answers

Android: get flash drive's mountpoint from USB enumeration point

I have a flash drive where I know its vendor ID and product ID. By scanning through /sys/bus/usb/devices, I can reliably find the enumeration point for the root device (e.g. /sys/bus/usb/devices/3-1) and the enumeration point for the mass storage…
AlcubierreDrive
  • 3,654
  • 2
  • 29
  • 45
0
votes
1 answer

Send custom commands to Mass Storage device on Microsoft Windows

I have developed a mass-storage device, and I'd a like a PC application to send/receive some custom commands to it. Normally one would create a composite USB device for this (MSC+HID) and send the commands over HID. But is it possible to do this…
Maestro
  • 9,046
  • 15
  • 83
  • 116
0
votes
1 answer

Get the Read and Write Speed of a Flash Drive

How can I find out the reading and writing transfer rate of an usb flash drive? I wonder if there is a way to get this without copying a large file and measuring the time. Even if I had to do that, what file size and content would give me a…
danijar
  • 32,406
  • 45
  • 166
  • 297
0
votes
0 answers

How to determine OS Type while Mass storage Driver is enumerating

I would like to find the host OS while enumerating and select only the corresponding OS image file with the mass storage driver. For example: "insmod g_mass_storage.ko file=/win.iso,mac.iso" While executing the above command, when the device is…
user1427180
  • 133
  • 2
  • 9
0
votes
1 answer

On a USB Mass Storage Class device, is the block size equals to the cluster size? How to determine the cluster size of a usb drive?

On a USB Mass Storage Class device (usb stick e.g. 4gb), how do you determine the 'cluster' size. The cluster here, is taken from the context of Fat32 file system. Using SCSI commands, I could determine the logical block size, i.e. 512 bytes. Is…
Paul
  • 113
  • 1
  • 7
0
votes
1 answer

How sure is to create a USB security key using PnPDeviveID?

I need to protect software using a USB key. Can I just query a USB drive with WMI and obtain the PnPDeviceId from Win32_DiskDrive Class, and compare it with one already hashed and hard coded in the application? How secure is this? Can the…
backslash17
  • 5,300
  • 4
  • 31
  • 46
0
votes
2 answers

Is it possible to write MBR of a pen drive by any hex editor?

After creating the boot loader, if I copy the bytes of the boot loader and paste it on the 1st 512 bytes of the pen drive using a hex editor, will it work? (Actually I want to learn creating an operating system from scratch.)
Nafis Abdullah Khan
  • 2,062
  • 3
  • 22
  • 39
0
votes
2 answers

USB Drive developing ( managing the LED etc. )

I found an old USB flash drive with 4gb of storage, and I was wondering if I can manage the LED of it to show if I got an E-mail or something else. If I can access more parts of the USB drive which can be useful, I would love to hear that ! :)
Ahmed
  • 585
  • 2
  • 5
  • 17
0
votes
1 answer

Get Portable Device notification

Hi All I need a C++ code to get Portable Device Notification when a user connects some Portable Device to system . my part of code for getting mass storage device notification is as follow , please go through it and suggest me how to do it for…
Kantesh N
  • 133
  • 1
  • 12
0
votes
1 answer

Learning resources for usb device and device driver devolopment

I have never done any USB development, I'm experienced with programming PIC, AVR micro-controllers and C programming on windows (not windows programming). I want to learn how to develop embedded devices and device drivers that can communicate with…
Dhananjaya
  • 1,510
  • 2
  • 14
  • 19
0
votes
2 answers

Run clickonce application in pendrive without user click

How to run the clickonce application from USB device on inserting without any user click ? Not only for a particular users PC,i want to run it for all users PC.Is there any way to achieve this?
karthik
  • 11
  • 1
  • 2
0
votes
2 answers

Detect USB - Insert/Remove - VB.NET on Windows CE 6.0

I'm becoming mad trying to figure out how to resolve this task. My goal is pretty easy, copy a file on the USB stick every time that it is inserted and then release the USB stick turning off the LED. What is the best way to solve it? 1) I found this…
Riccardo Neri
  • 790
  • 1
  • 11
  • 24
0
votes
2 answers

How to prevent autoplay and run my own app when inserting an USB-Flash drive

when inserting an USB-Flash drive, Windows normally opens the Autoplay dialog that offers to browse the drive or if there are multimedia files it offers to choose an app to open them. We developed a media player that is connected to the USB-Drive…
Thomas
  • 8,397
  • 7
  • 29
  • 39
0
votes
2 answers

usb key file system

why a usb drive can work in both linux os and windows os without the need for formating the file system?
fenec
  • 5,637
  • 10
  • 56
  • 82
-1
votes
1 answer

Troubleshooting Windows Event Viewer USB error 0x26 status 0xc000038e

I need some guidance in how to troubleshoot a low level issue I am facing with some USB devices. Background: I have a .NET Windows Service that, scans connected USB devices via WMI queries + reads low level USB data using external C code. Although…
Veverke
  • 9,208
  • 4
  • 51
  • 95