Ubuntu :: Get Physical File Position/block On FAT32 Hdd?
Feb 3, 2011
for solution how to find physical position/block of specified file on FAT32 partition. I have damaged hdd (I can mount partition and I see files) and im using gddrescue to make 1:1 copy, but i need only specified file. So I would like use gddrescue with -i pos switch, but I dont know how to get that position for specified file.
Code:
-i pos
--input-position=pos
[code]...
View 4 Replies
ADVERTISEMENT
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
Jul 1, 2011
I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.
View 2 Replies
View Related
Sep 15, 2010
I have a Windows 7 partition, a fat32 partition that I use for moving data between Windows and Linux, and an Ubuntu partition. On the Ubuntu partition, I can right click on a text file and the top of the menu says "open with 'gedit'." On the fat32 partition, the same action says just "open," and the "open with" submenu doesn't include gedit.
If I right-click and choose properties on the same file, the "open with" tab shows gedit as the default file association. So that's weird... anyone else seen anything like this?
View 2 Replies
View Related
May 14, 2010
I love how totem handles using mousewheel up/down to change position in a media file. VLC doesn't do it the same way by default so I've been trying to find a way to replicate that feature. I found the appropriate actions and assigned mousewheel up/down for both the hotkey and global options. Unfortunately when I try to seek it only works if I mouse over the position bar or lower half of the application. If I am moused over the actual video the hotkeys don't work. In fullscreen the hotkeys don't work at all and I can only seek by holding my mouse over the position bar.
View 1 Replies
View Related
Dec 3, 2010
I'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it.
View 1 Replies
View Related
Mar 22, 2009
I have just recovered my desktop Ubuntu system, thanks to SuperGrub, and Larryfroot, who pointed me to it. It had crashed due to an incomplete install to a pen drive, but prior to this I had made some changes to my partition layout, and now if such moves could cause the problems I'm having now.I wanted to be able to access my pictures, music, and projects while testing different Linux distros from CD or pen drive (DreamLinux looks much like the Mac interface, which I like, it's rated for speed, gotta try), but I've not been able to do that from any which I've tried yet. I learned somewhere that replacing the unused bulk of the OS partition with a big FAT32, and moving your files to that drive should make them accessible to most systems. I just viewed my files from the DreamLinux distro CD, so it seems to be working. I knew the action on this type of partition would be slower, and it really is when I move files to it, so is there a better way to get what I want than this?I have since had the following annoyances from Ubuntu's Nautilus file browser, and am wondering if the drive changes had anything to do with the following:
1. I am getting error messages when I try to move files to this drive through the Nautilus GUI file browser, but then these errors are wierdly negated when the file transfer is performed anyway. Well, I should be happy that it does what I ask, but where are these false error messages coming from?
2. It gets even more strange - when viewing files on Fat32 through Nautilus, in my Ubuntu hard drive partition, the file window has a banner which states "These files are on a Picture CD". Huh??? I know where I moved my files to, and they are not on CD! What is a "Picture CD" anyway?
Can anyone find a logical explanation for these weird messages, or does it look as much to you like corruption damage?
View 2 Replies
View Related
Jan 24, 2011
What is the vim command I have to use when I want to perform a text substitution not on the current line or on the whole document or on lines from number x to number y but just from the current cursor position down to the end (or up to the beginning) of the document?
View 1 Replies
View Related
Jan 28, 2010
Ubuntu 9.10 is on ext4, XP is on NTFS and the data to be accessed by both OS is on FAT32.
Both systems have Japanese language support enabled, but I am unable to read the Japanese file names from the FAT32 partition when using Ubuntu.
View 2 Replies
View Related
Jan 6, 2010
I accidentally deleted some video files on my digital video camera, the Hard Drive is FAT32 and the videos are saved as a .mod file.I've had good success recovering files in the past with Photorec but there is no option for .mod files with this software
View 1 Replies
View Related
Dec 29, 2015
I'm not that new in Linux I've been using for years since 2010 mostly, and formatted a number of flash drives with allegedly fat32 fs however, this time I need to be sure I'm formatting it as fat32 for experimental reasons and I can't seen to find a mkfs.fat32, both vfat and fat are fat16 and I don't know what msdos does...
View 4 Replies
View Related
Dec 16, 2010
I have a single 6.2Gb file that needs to go on a fat32 format hdd, does anyone know of a way to split the file so it will fit.
View 2 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 2, 2010
I had installed a debian file using#dpkg -i <file>Now package manager gave count error though that debian file got installed.I tried#apt-get install -fIt says want to download 20MB but no internet on my pc so destined to fail.In synaptic package manager I selected broken packages & marked them for removal.I saw file-roller,totem.seahorse,nautilustc. got uninstalled.question ) I just have iso image of my ubuntu 8.04.How can I use it to install all packages that come by default on cd.
View 9 Replies
View Related
Feb 9, 2010
i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.
View 2 Replies
View Related
Nov 28, 2009
formatted a 64g usb memory stick with gparted use fat32 file system and recognized full 64gig drive plug in and is on /media/usb this is what i got on my fstab UUID=24AF-1E67 /media/The-Hive defaults,nosuid,nodev,locale=en_US.UTF-8 0 0 i want all user access to this memory stick to write delete and execute. am I going nuts i cant make it to do that..
View 2 Replies
View Related
Jan 15, 2010
I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:
outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:
[code]....
View 1 Replies
View Related
Jul 12, 2010
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
View 2 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 3, 2016
Is it possible to block download file from sambashare folder ?
For example pdf file frem debianInfo est.pdf I wat to provide only for read from this share.
View 9 Replies
View Related
Aug 4, 2009
i am using now the squidproxysome tutorials i followedwhat i want is to restrict downloading of any exe file, mp3, even a video extensionsince my squidproxy running some exe is blocked for example i just want to download pidgin.exe and its giving me an information that i have no rights to download but on this site rlook-fing-1-2this exe i can able to download and i dont know why?
View 3 Replies
View Related
Jan 25, 2010
i have written block driver. its got registered succesfully.now i want to perform file opration like opening file reading/writing data into file which is stored into device.fter registration device node is created under /dev/xxx i am not getting, through this node how to open file which is stored in device.from one document i came to know that i have to use filesystem but in that doc how to use filesystem is not explained
View 4 Replies
View Related
Apr 24, 2010
I need to monitor file reads&writes by all the apps. I have found a kernel feature /proc/sys/vm/block_dump. But it only gives me block numbers while i would like to know file names. How can i convert these block numbers to file names (if the blocks belong to a file, of course)?
View 3 Replies
View Related
Nov 22, 2010
I have a log file and want to extract all blocks of text that start with START and ends with END. Each block is 5 lines.
Code:
--- START
blah blah blah
[code]...
View 1 Replies
View Related
Mar 16, 2010
So I have file which looks something like this:
cat .opera/operaprefs.ini
Code:
[User Prefs]
Language Files Directory=
[code]...
View 1 Replies
View Related
May 20, 2010
algorithm:breada
input: file system block number for immediate read
file system block number for asynchronous read
output:buffer containing data for immediate read {
if(first block not in cache) {
get buffer for first block
if(buffer data not valid)
initiate disk read }
if(second block not in cache) {
get buffer for second block)
if(buffer data valid) //line 1
release buffer else
initiate disk read //line 2 }
if(first block was originally in cache) //line 3 {
read first block
return buffer }
sleep (event first buffer contains valid data)
return buffer }
Here is an algorithm for block read algorithm. I have problem in
line 1: If buffer data is valid why is it releasing the buffer?
line 2: If buffer data valid why is it initiating disk read. It should have read directly from buffer?
line 3: It should be the first condition as if it is there in cache then it should return it without delay?
View 5 Replies
View Related
Oct 25, 2010
I'm looking for a write one, read many file synchronization, file system or similar technique. In fact I want a to imitate a zfs_send/zfs_receive similar behaviour on Linux. My requirements are pure local (or in terms of distributed file systems: rack-aware) file handling with remote synchronization. Some random features/requirements I want to achieve are (I use the terms file and "file system" here interchangeable, as I don't care wheter I have to synchronize file based or use full file system supporting that):
Access on files from a specific host is pure local, i.e. the node has a full copy of a file, no parts are distributed. Read and write access is local, the remote side gets synchronized with write changes only Write changes on the remote side are non-blocking and asynchronous No need for concurrent file access, concurrent, distributed locking and so on Every file is changed by a single node only, other nodes have read access The file "owner", thus the node allowed to write files must be changeable Similar techniques (some as technology concept, not usable for me) exist, among those DRBD, MySQL Replication or even pure rsync.
I don't care whether I'm referring to a pure local solution (i.e. between two block devices) or a client/server mode. DRBD won't fit because its a peer to peer solution, I need to synchronize a lot of clients with a central storage through that way where DRBD just mirrors from peer to peer among two nodes and doesn't allow another node to take over the role of the primary node (i.e. node A is master, storage B secondary, I want to change to a thrid node C which becomes master and receives hence a full update from storage B.
Just as a guess, I'd make a local LVM volume on every node where write access happens. In the same time there exists a iSCSI target with multipath to a remote hosts which is shared with every node, again providing a clustered LVM. So I'd need to synchronize a local LVM volume with a remote LVM image. The question is just by which technique I could achieve that (i.e. as RAID 0, where every read and write goes to one node only and doesn't wait the other node to succeed). I could achieve this with rsync by a cyclic push to the remote host, but the problem is, that rsync isn't block based thus I'd need to synchronize every time the whole file, not only changes.
View 2 Replies
View Related
Nov 16, 2010
Is it possible to setup apache to normally block an IP from accessing a site until that IP is in a database/file?More or less, I need a login system that another script can add/remove the IPs and the site can be accessed by only those IPs.
View 1 Replies
View Related
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
View Related
Apr 30, 2010
How can i fix the position of the notification? I want more in the top.
View 6 Replies
View Related