harddrive

All partitions missing when copying

I bought a new 320GB SATA hard drive few months ago no recently when i try to copy something to the drive after about 20 seconds the all the partitions in the hard drive suddenly disappears. The hard drive is not shown in either Disk manager or device manager. To get the HD work i have to restart the PC again.The same thing happens when ...

Optimizing PHP require_once's for low disk i/o?

Q1) I'm designing a CMS (-who isn't!) but priority is being given to caching. Literally everything is cached. DB rows, DB id queries, Configuration data, processed data, compiled templates. Currently it has two layers of caching. The first is a opcode cache or memory cache such as apc, eaccelerator, xcache or memcached. If an entry is ...

FInding the hard disk storage capacity programmatically

How do I find out the storage capacity of my harddisk without using the OS functions like dir or ls? ...

Can I retrieve hard drive diagnostics on a Linux System?

I am running Linux-2.4 system, and I am attempting to retrieve hard drive diagnostics information, any that might be available. Is there a way that I can retrieve these hard drive statistics? ...

How to recognize external hard drive from all local drives in .NET Framework?

I've already tried System.IO.DriveType. But it only provides to me with the information of whether it's a removable drive such as floppy disc or a USB flash drive. And a USB external hard drive will be recognized as a local non-removable drive in this case. Furthermore, since there are more than one kinds of external hard drive, for exa...

ASP SaveToDisk method takes an incredible amount of time

This is a method in ASP Classic that saves a file to disk. It takes a very long time but I'm not sure why. Normally, I wouldn't mind so much, but the files it handles are pretty large so need this needs to faster than 100kB a second save. Seriously slow. (old legacy system, band aid fix till it gets replaced...) Public Sub SaveToDisk(sP...

C++ IO with Hard Drive

I was wondering if there was any kind of portable (Mac&Windows) method of reading and writing to the hard drive which goes beyond iostream.h, in particular features like getting a list of all the files in a folder, moving files around, ect. I was hoping that there would be something like SDL around, but so far I havn't been able to find...

Why this code generates different numbers?

Hello, I have this function that creates a unique number for hard-disk and CPU combination. GetVolumeInformation(drv, szNameBuffer, 256, &dwHddUnique, NULL, NULL, NULL, NULL); SYSTEM_INFO si; GetSystemInfo(&si); dwProcessorUnique = si.dwProcessorType + si.wProcessorArchitecture + si.wProcessorRevision; dwUniqueKey...

WD Scorpio Blue external drive gives input/output error when i try formarting in ubuntu 10.04

hey everyone i/'m to fix a WD Scorpio Blue 320Gig external hard drive on ubuntu. when i insert it into the USB port it/'s undetected however "disk utility" program recognizes it as 320GB USB HDD but not partitioned when i try formating it, i get an input/output error Error creating partition table: helper exited with exit code 1: ...

Copying files to NAS - only one folder slow transfer speed.

Hi guys I know this forum wasn't intended for this kind of issues, but I thought that with all this masterminds online, I could get lucky to get an answer here... :-) I've just got a Synology box, and I'm very happy about it. Last night I transfered all my backup, to a folder called "backup". It's about 20-30 GB. At some time, during ...

Can a hybrid SSD drive, like a Seagate Momentus XT, add to your developer productivity?

Hi All, Thanks to Mr. Joel Spolsky we all know that an SSD won't exactly help compile time but can help in just about everything else. I'm looking to eke out some more of that "everything else". Launching apps, firing up web, app, database, messaging servers, etc. SSD's are still tough to legitimize raiding the bank. Meanwhile, Seag...

Storage Space/HD space on iPhone via code

How do I get the amount of storage room left on the iPhone? I need to be able to ge the info that you can get with appbox pro, ie. space used, space available, space total, all in GB. How can I access it in-app without the use of private APIs? Thanks ...

Finding what hard drive sectors occupy a file

I'm looking for a nice easy way to find what sectors occupy a given file. My language preference is C#. From my A-Level Computing class I was taught that a hard drive has a lookup table on the first few KB of the disk. In this table there is a linked list for each file detailing what sectors that file occupies. So I'm hoping there's a c...

Will a hybrid hard drive improve Visual Studio compilation times?

I've seen various suggestions that hard disk speed is a big factor in Visual Studio compilation performance. There is now a relatively cheap hybrid hard drive available called the Seagate Momentus XT. This has a 7200 RPM hard disk of 250, 320 or 500GB and a 4GB SLC NAND SSD. Has anyone tried this in their development machine? Did it ...

Format hard drive with javascript

A while ago a colleague of mine said something astonishing to me: he said that one can format a hard drive using javascript! I just replied 'no, this is impossible'. He seemed to be very confident however, although he also mentioned that this is possible for windows only... Since then I can't give up thinking on it, but I haven't found a...

Writing to and reading from the same file, at the same time (disk being asynchronous?)

We're creating a web service where we're writing files to disk. Sometimes these files will be read at the same time as they are written. If we do this - writing and reading from the same file - we sometimes end up with files that are of the same length, but where some of the data inside are not the same. So with a 350mb file we get mayb...

Is writing a cookie very slow in JS?

I need to make my website faster on the client side. I wonder if my excessive Javascript cookie manipulation could slow down the browser. It uses the harddrive, which is the slowest component of a computer. On a severely fragmented harddrive, could cookie manipulation freeze the browser? Is JS doing any optimizations for cookie writing...

Volume to physical drive

Hello, QueryDosDevice(L"E:", DeviceName, MAX_PATH); (E: is a SD card) DeviceName is "\Device\HarddiskVolume3" How do I "convert" it to something like "\\.\PHYSICALDRIVE1" ...

How do I access hard drive from boot disk?

A computer, which the hard drive is configured as raid(not sure about the raid number or master or slave), has a corrupt file called stpd.sys which doesn't let me start up windows in normal mode or safe mode. I googled for solutions and the only thing I could do is to rename stpd.sys and see if the windows boot up that way. How do I ac...

Smard Disc opens very very slow?

Hey I was deleting some files in some directory in my smart disc. Then i realized that the directory that i deleted files in opens very very slow.(Almost 20 sec). The other directory works fine. What is the problem about it and how i can fix this? Thanks ...