usb-drive

Running virtual machines on USB stick?

Has anyone any experience on running virtual machines on an USB stick? Today, I have several development servers running in virtual instances on my external eSata 7200rpm 2.5" disk. However, I have been thinking on instead putting my virtual disks on an USB instead. The sizes (I need 30GB+) and prices has come to a point where it seems...

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 in) the memory card. Is there a reliable cross-platform method of doing this? ...

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? ...

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 between Data card insertion and Pen drive insertion. Is it possible? ...

Portable PostgreSQL for development off a usb drive

In order to take some development work home I have to be able to run a PostgreSQL database. I don't want to install anything on the machine at home. Everything should run off the usb drive. http://stackoverflow.com/questions/408511/what-development-tools-do-you-carry-on-your-usb-drive That question covers pretty much everything else,...

What programming languages can I code and compile from my USB flash drive?

I like to program at my college's computer labs (a Windows environment). Unfortunately, the labs have IDEs & compilers for classes being taught that particular semester, which usually comes down to C, C++, and Java. I'm at a point where it's good for me to play around with a lot of different languages. I'd like to be able to do with from...

Auto-updating USB Key Marketing Materials

Marketing development isn't my strong suit by any stretch of the imagination, so when I was asked about designing a marketing USB key that could update itself I ended up doing quite a bit of searching around on Google. Building some HTML that hosts some (say, not married to the idea) Flash and presents the information on the USB key is e...

Read USB Device Serial number in C#

Hi, Is there a way to read USB device serial number and data in a text file in USB using visual studio 2005? ...

How to remove USB drive using C#

I'm trying to write an application to remove USB Drives, but i can't find a way to do it. There's a .NET class to do this or it's possible using the Win32 API? All advises are welcome, thanks for the help. ...

Auto run appilication while plug in USB drive

Hello I am trying to find out for auto run application's while plug in my USB pen drive .so is there any way that while i plug in the USB Pen drive it automatically open myappilication.exe while already there in USB root file.Instead of showing the option for running i want directly it will run the exe file . ...

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 data, but I'm searching for a second method to reenforce this one in order to make the process...

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 PNPDeviceID property be modified? Is hardware coded? Any other idea? Logically the USB drives are g...

What language would you use to implement auto-update/sync functionality on a memory stick?

We need to distribute documents to our partners on a USB key. I've been asked to develop a piece of software that will check if some documents have been updated on the server and proceed with the synchronization of files on the memory stick. The software itself will also need to have an auto-update functionality in case we want to impr...

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 thought to improve performance is to use Robocopy to mirror the directory locally and then whe...

Determine local drive from MDItemRef

Hola. When I receive a list of MDItemRef items returned from a Spotlight query (in obj-c) I was wondering if there is an easy way to determine if they come from the OS install drive vs. an externally connected USB drive. The basic premise is that I want to ignore anything from the local drive and only watch for files on external USB...

Java based usb application

Hello All, I working on a Java based application which can be carried around by the user in a USB flash Drive. At the startup I want to check for existing JVMs on the machine the USB is plugged-in. How can I achieve it ??? ...

Java portable media detection

I would like to write a piece of java code that synchronizes files between local hard drive and a usb storage. I would like to have a different synchronization configuration depending on which usb storage is plugged in and I would like to have apropriate configuration to be selected automatically rather than chosen by the user. I've jus...

Get notification when a new drive is connected via USB or other means (C#)

I need to detect when a new drive is plugged into a Windows system through a USB port, firewire port, etc. I am aware of the WM_DEVICECHANGE message, but this requires a window to be open in order to use it. Is there a way to create a background process in C# that detects when new drives are plugged in? Background info: I am wanting to ...

How to detect flash drive plug-in in Windows using Python?

I want to make my Windows computer run a Python script when it detects that a flash drive which has a particular name (for example "My drive") has been plugged in. How can I achieve this? Should I use some tool in Windows or is there a way to write another Python script to detect the presence of a flash drive as soon as it is plugged ...

How to flush file buffers when using boost::serialization?

I'm saving a file on an USB drive and need to make sure that it's completely written to avoid corruption in case the USB drive is not removed properly. Well I've done some research and it seems this is possible via calling the FlushFileBuffers Win32 function. But the problem is, I'm saving using boost::serialization and thus don't have a...