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
3
votes
1 answer

trouble running eclipse from usb

I am trying to run Eclipse Kepler from a usb drive. It will work when coding but when I come to run the program it shows error = 216. This version of %1 is not compatible with version of windows you are running. Eclipse runs fine at home (windows 8…
3
votes
4 answers

Work with Subversion from USB Key

I am taking some work home with me these days and I transport it on a USB key because my work is on a private intranet. I am using Visual Studio 2008 and I find that the performance of builds is degraded by working off the the key. My initial…
Jeffrey Cameron
  • 9,975
  • 10
  • 45
  • 77
3
votes
2 answers

Read data from pen drive through android USB host mode

I need to read file from pen drive, my code is as follow: private static final String ACTION_USB_PERMISSION = "android.hardware.usb.action.USB_ACCESSORY_ATTACHED"; private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { …
Calvin
  • 617
  • 1
  • 12
  • 34
3
votes
1 answer

Differentiating between data card and pen drive or USB flash drive

I am having a Vodaphone data card which can be inserted in a USB port. I have XP and Vista OS, and I am using WM_DEVICECHANGE event of Windows, to know USB Insertion and removal, and it's working fine for me. But I am not able to differentiate…
Vinayaka Karjigi
  • 1,070
  • 5
  • 13
  • 37
2
votes
5 answers

Develop software that doesn't need installation

I am a software developer and currently I am having requirement to develop such data management software for one retailer that doesn't require installation. Means client want software that should be pre installed in pen drive and while my client…
Anvesh
  • 309
  • 1
  • 8
  • 24
2
votes
4 answers

Backup Hard Drive and USB Device to img or iso file

I seek a way to copy the raw data. Specifically, I seek a way to clone a removable disk, and another hard drive to an image file (ISO, IMG, ...), so you can re-use on another computer through appropriate software. Do you know a way to perform this…
Atoxis
  • 48
  • 2
  • 9
2
votes
1 answer

How to retrieve data stored in external USB device in android?

I am doing a project in android for text to speech conversion.How can i retrieve speech files stored in an external storage device?? I first tried on an image and this is my code...And its not working..No error is shown..but nothing is…
Soumya
  • 323
  • 1
  • 5
  • 16
2
votes
2 answers

ASP.NET detect usb drive

it is possible to detect usb drive with asp.Net (C#) ? i know it is possible with windows application, i wonder it work also on WebApplication. Thanks in advance
user609511
  • 4,091
  • 12
  • 54
  • 86
2
votes
5 answers

Portable Windows Development Environment and USB Thumb Drives

I find myself wasting more and more time the last few years when I have to reinstall an OS and 20+ development tools and apps. I'm looking to do more work in virtual machines. Now that you are starting to see 32GB and 64GB thumb drives. I was…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
2
votes
2 answers

USB Memory Stick hidden partition

I am writing a kind of accounting software which will run portable on a USB Memory Stick. I would like to make a hidden partition on the Stick to store some data to check the validity of the database file on the main partition. Currently I don't…
VOX
  • 2,883
  • 2
  • 33
  • 43
2
votes
0 answers

How do I send commands to NVMe drive over USB bridge?

I have been working with a self encrypting drive that I want to be able to send commands to identify and unlock in userspace. I've been able to send commands to NVMe and SATA drives with direct motherboard connections using the sg and nvme_admin_cmd…
C-Scholl20
  • 377
  • 3
  • 19
2
votes
1 answer

Writing a file to a USB stick in linux with Python?

I'm having a lot more trouble than expected writing to a file than I expected. I have a small Single Board computer running on an arm processor with the Angstrom embedded distribution. I'm writing an application for it with python. The application…
Ken
  • 83
  • 2
  • 7
2
votes
2 answers

How to distinguish USB hard drives and SSDs from USB keys / pen drives on macOS

How is it possible for code to distinguish between external USB hard drives and solid-state drives on the one hand versus USB sticks on the other hand? I'm not familiar with macOS APIs (or system calls, interrupts, messaging, and other things) but…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
2
votes
1 answer

Assembly bootloader code works in VM but is finnicky on a real computer

I was messing around with some NASM code that does some math ops to a number and prints out the ASCII character corresponding to the answer. Here's the code: [bits 16] [org 0x7c00] init: mov ax, 1853 mov bl, 15 div bl ; some division sub al, 2 ; a…
2
votes
1 answer

How to eject USB drive on Windows 10 (IOCTL_STORAGE_EJECT_MEDIA no longer enough)

Convention wisdom to eject a USB drive on Windows is the following sequence: CreateFile (drive letter, with read/write rights, file share read and write) DeviceIoControl(FSCTL_LOCK_VOLUME) DeviceIoControl(FSCTL_DISMOUNT_VOLUME)…
DougN
  • 4,407
  • 11
  • 56
  • 81