Hardware :: Change The ECC Code For A Block Of A File Stored On A Flash Drive By Any Means?
Jun 22, 2010
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
View 4 Replies
ADVERTISEMENT
Mar 2, 2010
I recently had a problem with an absolutely gobsmackingly huge .xsessions-error file growing in my /home partition (over 200 GB--the only reason it stopped growing was that there wasn't any room left). So, I deleted it, and then to see what problems had been causing the file to grow so huge, I rebooted the computer to regenerate it. Big mistake.Since then, I haven't been able to boot. The process hangs when it reaches the step of mounting the /home partition. Luckily, I have my install CD, so I was able to boot into that environment. First, I checked disk integrity--everything was just fine. Then, I tried booting into the liveCD environment. Jackpot! It reports that the bus between /dev/sda6 and itself is timing out when I try to access the former home partition, but I can get into my / partition just fine.I have just edited my /etc/fstab file to *not* know about /dev/sda6, so hopefully it will boot properly (though of course without any access to the files on /home) soon. If this works, I will update.But, does anyone else at all know anything about this sort of problem and what I can do to fix it? Regenerating my /home partition on / merely postpones the problem and doesn't actually get me any of my files back.
UPDATE: Well, that didn't work. Actually, it sort of did, but not quite the way I wanted it to. I was indeed able to bypass mounting the /dev/sda6, but I was not able to boot into Xubuntu since the graphical log-in manager failed and none of the ttys started. The failure mode was, however, interesting. It did not merely fail, but instead flickered violently with a frequency of several seconds until I tried switching to one of the virtual terminals (C-M-!, if anyone is interested).
View 4 Replies
View Related
Apr 8, 2011
How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd.
flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid
Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?
View 1 Replies
View Related
Jul 22, 2011
How do I change/edit a block file (/dev/sda3)?
I am trying to set this up http://ubuntuforums.org/showthread.p...t=freeze+rsync.
View 3 Replies
View Related
Feb 28, 2010
How can I retrieve the block number(s) of a certain file in a file system (the blocks the file is using on the harddisc)?
I'm using the gentoo linux based SystemRescueCD, so I got plenty of tools installed which might get that information for me.
View 1 Replies
View Related
Aug 4, 2010
I just installed a usb card reader for my digi camera...how can I change the permissions from "root" to "user" so I can write to this flash drive?
It reads my pix just fine, but it won't let me write....
it is installed at /media/usb0
View 7 Replies
View Related
Oct 23, 2010
i'm in 64 bit kubuntu, with the the nswrapper in 10.10http://www.metacafe.comin firefox i get the sound but not the video in metacafe, when the video is unblocked by flash block. Others have the same problem?
View 4 Replies
View Related
Mar 5, 2011
It's many years since introducing of installation of Linux live CDs like Ubuntu from USB flash drives. I never been able to use such services on my 2GB KingStone flash drive, because it's sector size is 2048 and the famous linux error: "Not all ... support more than 512B sector size". Although I formatted my flash drive many times and even erased the whole partition table and cleared all flash contents with 0xFF values but it still has sector size of 2048.I want to know where the hell those softwares like "USB Startup Disk Creator" in ubuntu and kubuntu and fdisk in almost all linux distro's get to know that the sector size is 2048?
View 2 Replies
View Related
Jun 1, 2010
I want to find a simple and quick way to permit my application to bring a file located in my file system and write it into an external USB device. I have to use Bulk Transfer Only mode that means to use stream of characters only. I looked through the LibUsb library using it in my IDE I can transmit a string. To transfer a whole file I suppose I've to dodge the file system building a char sequence that permits to recognise a file in the file system and to put it into the usb device.
View 1 Replies
View Related
Apr 6, 2011
In disk usage analyser, I see that under home, I have my user folder which is about 50 GB. But for some reason, there is another equally big folder called "ecryptfs". When I installed ubuntu, I selected the encrypt hard drive option. How is this encryption when it seems like the space is just being replicated? And if I want to free up the 50 GB of space taken up by "ecryptfs", how do I do it?
View 3 Replies
View Related
Jan 26, 2011
I'm having issue when trying to change a line in a file
[Code]....
View 1 Replies
View Related
Feb 24, 2010
I have started on CentOS 5.3 VNC server. I am connected to CentOS from a workstation under control of Windows XP using UltraVNC. Connection passes normally, but I cannot transfer files. By pressing Ctrl+Alt+F7 the message: "The connected VNC Server does not support UltraVnc File Transfer".
View 1 Replies
View Related
Mar 30, 2011
I have Debian 5 XFCE currently installed on my old desktop. I cant open my flash drive, it doesnt pop up on the desktop, nor is it in the file manager. I read that you can add it to the fstab list but I dont know how to do it.
My flash drive shows up as sda1 in lsusb.
get my flash drives working, thats how I install packages.
View 11 Replies
View Related
Dec 1, 2009
Here is a way to prepare a USB flash drive to save your kickstart file to it, and then read the kickstart file from the USB drive during a new Fedora installation.A USB flash drive is recognised by the Linux kernel as just another hard drive.This is how I set up my USB flash drive to use it to store my kickstart file on.You will need a working Linux system to set up the USB drive.
View 2 Replies
View Related
Jun 2, 2011
how can I either copy a file (say, ~/file.txt) directly to the flash drive? I know that I can use the command
Code:
sudo cp ~/file.txt ???
to copy it, but what goes in the question marks?
View 1 Replies
View Related
Jul 13, 2011
I am pretty much a noob when it comes to Linux. But I desperately need to do exactly what the title of this thread says.I have this ISO file which is a bootable CD image. But instead of booting off of a CD, I want to boot from a USB flash drive. I understand that I can't simply just burn it with ImgBurn or whatever, and then just drag and drop the files and folder to a USB flash drive. Because hidden files, bootloader, etc. would not be visible and not copied. I know I'm in for some special software in order to copy every single byte from that ISO image to my USB flash drive.
I did try extracting the ISO with PeaZip (7-zip based) under Windows Vista, but that didn't work out very well. It resulted in a few files and folders, totaling in at about 2 KB, while the source ISO file is actually some 50 MB. WinRAR, on the other hand, would simply just create an empty folder where to put the files (no files created/extracted), flash before my eyes and call it a day ("complete").I have learned from other posters on other forums that there is this Unilx program/command called DD. How can I use DD to accomplish this task?
View 2 Replies
View Related
Jul 13, 2011
For shifting forward, we select the required part and press tab the number of times we want to move forward.
What's to be done for shifting the same backwards other than pressing Ctrl-Z?
View 3 Replies
View Related
Jul 31, 2011
I have a C program like this:
...
CODE_BLOCK;
...
I want to know how much CPU time spent on CODE_BLOCK. Since the process executing CODE_BLOCK may be preempted during execution, this CPU time may not be equal to the (wall-clock) time elapsed from the beginning of CODE_BLOCK to the end of it.
View 3 Replies
View Related
Aug 25, 2010
I saw an article use the following cat command to create a new text file:$ cat > first.sh << ENDAnd then after press the 'return' buttion, a '>' sign appeared expecting you to input the content. If I type 'END' then the 'return' button, then a new text file is created with what I just typed...I'd like to know what's the differnece in just type:$ cat > first.shwithout the '<<' sign?What '<<' really means? I cannot find it's meaning anywere... seems it's not in the redirection section.
View 6 Replies
View Related
Jul 3, 2010
I'm trying to move a tar file from my ext3 linux box onto a FAT32 usb flash drive but keep getting
mv: failed to preserve ownership for `/dir/blah.tar.gz': Operation not permitted
View 3 Replies
View Related
Jan 13, 2010
I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.
However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?
View 3 Replies
View Related
May 5, 2011
We have setup a separate partition to keep our audit files, but I am at a loss to figure out how to redirect the log files to be stored there instead of the default.
I am sure it is a simple matter but I have been unable to locate the information.
View 1 Replies
View Related
Oct 28, 2010
I'm trying to setup a print server in Fedora 13. I've made it using CUPS and when I send something to print from a Windows PC it goes ok. My main concern is to know where is the spool file stored when a file is sent to print. I've seen in many forums that it is stored in /var/spools/cups. What I only see here is a file name c000XXX with some information about the printing job. I'm using hold print for this printer and before printing out anything I can't find the spool. I've tried cups-pdf and it stores a pdf file in a route but this is not enough for me. I need to know where the spool data is stored in order to know from who is the job being send.
View 1 Replies
View Related
Aug 22, 2010
I always have a problem in simple user mode when I insert a USB key. Can't mount, can't open with file manager. I'm obliged to open a simultaneous root session, to do what I want to manage the usb key.
In my user manager, I don't know wich group I have to add to this simple user (it's me) so I am allowed to manage the usb key.
View 6 Replies
View Related
Aug 18, 2011
I have recently installed Ubuntu 11.04 from the alternative installation CD; the installation was just the command line system. On top of this I have installed xorg and awesome window manager. The only problem I am having is with sound; I am unable to hear sound played through both browser-based Flash and locally stored files.
Is there something that I have to do before I can use sound? Edit: I have solved the original problem however I would like to know if I can remove pulseaudio as it seems that I am only using alsa.
View 8 Replies
View Related
Oct 20, 2010
I have machine that I used to VNC to on my network with Remote Desktop Viewer from my Fedora 12. When I first connected I checked the checkbox that I wanted to store the pw. Now the pw on the other machine has changed but Remote Desktop Viewer does not ask for a new password, it just gives me a black screen, like I am connected but I can't see anything. I'd like to know if anyone knows where this pw data is stored on the system so I can start fresh. I already tried uninstalling Remote Desktop Viewer and installing it again.
View 1 Replies
View Related
May 7, 2011
I have tried chown and pcman in root mode but I can not change the owner or group of the directories and files on this drive. I think my inability to open both firefox and thunderbird are connected to this problem. Both profiles are on the rade drive. There are no .parentlock files in the profiles and yet the report is that both programs are in use, even after restarting the computer. I have had to install cromium to go online in lieu of FF:
this is my fstab. this is the line refers to the rade ntfs drive:
# /media/mydocs was on /dev/sdc1 during installation
UUID=724E07853D78E7A8 /media/mydocs ntfs defaults,umask=0022,gid=46 0 0
Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
[Code]...
View 6 Replies
View Related
Mar 29, 2010
I made a persistent install of Ubuntu on a flash drive. I made changes to that installation. The software (Unetboontin) sets this all up. I think it partitions it for you. How do I image that flash drive to another flash drive?
View 9 Replies
View Related
May 25, 2011
process of migrating my server to Ubuntu Server 11.04 after my Server 2003 installation suffered a HDD failure. All my data is on an NTFS drive (not ideal but not much I can do about that). I can currently only read the disk as a user. root has ownership of everything on the disk. Whenever I try and change ownership of a file it doesn't bring up any errors but when running ls -l it shows that nothing has actually changed.
View 2 Replies
View Related
Oct 2, 2010
I get this link [url] for change my version of flash, because I can't playing flash when I have turned on effects. So I downloaded file for my Ubuntu 10.04 64-bit and I extracted it. But there is problem, because I don't know on which location I need to copy .so file?
View 2 Replies
View Related