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

Where is g_multi configured in BeagleBone Black?

With the default Debian installation in a BeableBone Black you can access it via USB as different devices: mass storage device, virtual ethernet and virtual serial uart. This is accomplished with the g_multi module. You can review its configuration…
Emilio Perez
  • 316
  • 3
  • 10
4
votes
2 answers

How to program a bootloader..? Want a USB Flash Drive with Windows 7, XP, Vista, and perhaps 98 SE on it to use for installs

Hello again my fellow StackOverflow friends! What I would very much like to do is copy the contents of my Windows 7, Windows XP (Pro and Home SP3), Windows Vista, and assuming I have space left for it my most updated copy of 98 SE installation CDs…
Sootah
  • 1,771
  • 3
  • 23
  • 42
4
votes
1 answer

How to write the data to USB stick(Pendrive) from the application in android

In my application i have to write the Data to USB stick(Pendrive) from the application. My application will support to write the data to Local memory and USB stick(Pendrive). Currently i am able to write the data to Local memory ,but i am unable to…
Ashok Reddy Narra
  • 577
  • 10
  • 27
4
votes
2 answers

How can a Bootloader written in x86 Assembly be written to a USB Flash drive and support both BIOS and UEFI?

Recently I have written a bootloader in x86 Assembly. The bootloader does not do anything special right now, but I am planning to load my own kernel with this bootloader. I am able to write the bootloader to my FAT32 formatted USB Flash drive and it…
Michiel Pater
  • 22,377
  • 5
  • 43
  • 57
4
votes
3 answers

Can Visual Studio Express run from USB drive?

Using an arbitrary Windows machine (2000/XP or later), I can install Eclipse CDT to a USB drive move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different…
system PAUSE
  • 37,082
  • 20
  • 62
  • 59
4
votes
2 answers

Is it possible to get the mountpoint of a pendrive knowing its serialnumber using python?

I have 2 PC's(a Linux and a Windows) connected to a local network which is on a different floor. People on that floor connect their USB Pen-drives to either one of the PC and I am suppose to copy different specific set of files to different…
arvindh
  • 739
  • 4
  • 12
  • 28
4
votes
2 answers

USB device detection on /dev directory on Linux

Using the lsusb command in Linux I have come to know about bus and device numbers, along with its name of newly attached USB devices. But how can I know on which device directory (/dev/*) USB device get attached in Linux using command lines only?
Manku
  • 431
  • 3
  • 9
  • 16
4
votes
1 answer

Check if USBdevice is connected

For a WPF-application i'm programming using c#, i want to check if a specific USB device (in this case it's a Philips GoGear Vibe) is connected to the PC. Basically I want a function that checks this and returns a bool. I would also lik to be able…
svdotbe
  • 168
  • 1
  • 3
  • 16
4
votes
2 answers

Run command after mount/unmout usb pen drive

I have Raspberry Pi (with Raspbian) and using it as DLNA/UPnP server and renderer. I run minidlna as DLNA server and i have some media files on USB. I would like to automaticaly rebuild DLNA DB when drive is mounted and unmounted. This is done by…
dosdroid
  • 41
  • 1
  • 3
4
votes
2 answers

How to make USB pendrive as a Git Repository?

I want to make USB Pendrive as a Git repository for gathering information. Suppose if we make our Pen drive as a Git repository: Can we incorporate audio, video files in it?
user3073914
4
votes
1 answer

How to find what device is connected to USB port (HID or Disk drive) in C++

I have managed to enumerate all the connected USB ports using SetupDi calls. Sample code is available at this link. Please could any one tell me how can I find what device is connected to USB port like whether it is any HID device or any Disk…
Sajad Karim
  • 321
  • 3
  • 18
4
votes
1 answer

How to connect VirtualBox to internet using USB modem

I'm trying to use VirtualBox to emulate an android device. But I need to be connected to the internet so that I can use the IP address of the virtual machine I created inside VirtualBox to connect with Eclipse (adb). However, since I'm using a USB…
user1929912
  • 55
  • 1
  • 5
4
votes
2 answers

How restrict an application to run only from a known USB flash drive?

I need an application to run only from a specific USB flash drive. I made some test with the WMI Win32_Diskdrive class and the PNPdeviceID property. It is a very good idea to enroll the application into a license server (web services) with this…
backslash17
  • 5,300
  • 4
  • 31
  • 46
4
votes
2 answers

How Do I Eject a Volume in Java?

How can I "eject" a volume with Java, cross platform? I have a program that does some operations on a removable drive (USB memory card reader), and once it's done, I want the program to eject/unmount/remove (depending which os lingo we're talking…
Henrik Paul
  • 66,919
  • 31
  • 85
  • 96
3
votes
1 answer

connecting dvd drive to an android device

I am developing an android application for tablet in which i need to connect external cd drive and read the contents from the cd and display it in my app. I am having a Asus external DVD RW I tried to connect it in my android tablet using USB port.…
John
  • 8,846
  • 8
  • 50
  • 85