Software :: Export An Embedded File System From A Windows Pc?

Nov 25, 2008

i want to export an embedded linux file system from a windows pc an NRFS server for this..

View 4 Replies


ADVERTISEMENT

Programming :: Saving File Data Using Python In An Embedded System In An Safe And Fast Way?

Apr 19, 2011

I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:

Code:

def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")

But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:

Code:

def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")

Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after

Code:

fd = shelve.open('file_name', 'c')

but before fd.close()?

View 7 Replies View Related

Ubuntu :: Embedded Videos Crash System?

May 4, 2010

It seems that watching an embedded video crashes my system every once in a while. Is there any way to figure out what is causing the crashes or fix it?

Some extra info - The cpu usage jumps to 45-50 percent when a embedded video is playing.

View 1 Replies View Related

General :: System Distribution For Learning Embedded?

Feb 12, 2010

Which linux is best for learning embedded systems which has ide like MCU8051ide, piklab and ide for arm processor.

View 2 Replies View Related

Ubuntu Security :: Seahorse Export Menu Is Always Disabled - Export The Passwords To Restore It After Formatting Machine?

Jun 12, 2010

seahorse export menu is always disabled. I need to export the passwords to restore it after formatting my machine.

View 1 Replies View Related

General :: Compile C Programs For Embedded On Windows?

Nov 1, 2010

I am using embedded linux (xlinux) and i need to compile the programs on desktop pc.i am currently using eclipse.can someone suggest me how I can configure, to make a project thats compile the programs for the embedded linix where I need to run them.

View 1 Replies View Related

General :: Virtual Memory Concept In Embedded System

Dec 20, 2010

We have designed a board with Cirrus Logic(arm) processor, A Flash memory and some other peripherals have been connected to that. While building kernel we have selected MMU support. We have written few custom drivers for keypad,LED,LCD. But I would like to know how virtual memory mechanism can be helpful here even though there is no any hard disk has been connected. Where will be the virtual memory reside.

View 2 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

General :: Moved File Partitions - File System Check Failed On Fedora, Windows Will Not Boot

Dec 16, 2009

my partitioning layout was as follows

Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)

so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.

View 7 Replies View Related

General :: Export Display From A Terminal To A Windows PC?

Aug 20, 2011

Exporting display from a Linux terminal to a Linux desktop is easy; you do the following:

On 192.168.90.121 (localPC):

xhost + 192.168.10.164

On 192.168.10.164 (remotePC):

export DISPLAY=192.168.90.121:0.0 <br/>
firefox

The Firefox window appears on my localPC. In the above case both PCs are Linux.

Can I similarly export the Linux display to a Windows PC? In the above example, localPC would be Windows and remotePC would be Linux.

View 1 Replies View Related

Ubuntu Servers :: Inexpensive Single Board / Embedded System With SATA

Aug 6, 2010

I'm looking for doing AOE (Ata over ethernet) inexpensively with single board computers, like Routerboard stuff, but is there anything with sata plugs. Hopefully I can get each board for hopefully around $50, but a little more would be ok. Non-x86 is fine, Debian is as good as Ubuntu.

View 3 Replies View Related

Fedora :: Embedded Mp3 File Content Not Playing In FF / Fix It?

Oct 31, 2009

I am trying to play embedded mp3 content in FF. When I click on the link to play the mp3, a new tab opens up and all I get is a grey screen. Does anybody out there have any ideas on this? I have run Autoten and installed all of the necessary codecs.

View 10 Replies View Related

Ubuntu :: GIF / ZIP Embedded File - Grafting In Hex Editor?

Dec 24, 2010

Gif files display their length at the start of the file, and zip files have a table with the locations of the files at the end of the file. By combining the two it's possible to create a gif file which, when opened in an archive manager, contains hidden files. How would I go about doing this? Do I have to learn the zip standard and manually graft the files together in a hex editor?

Code:
cat input.jpg input.zip > output.jpg
The zip table must show the file location as an offset to the central directory.

View 1 Replies View Related

Ubuntu :: How To Play Embedded .mid(MIDI) File On Firefox?

Apr 27, 2010

How to play a MIDI file, or a .mid file, <embed>ded in a Web page from my Ubuntu/Firefox combination?

View 1 Replies View Related

Fedora Servers :: Samba Export HD Shows Less Capacity In Windows?

Oct 6, 2010

I use Fedora 11, and have an external HD (USB) which has 4 partitions of 500GB each.

/dev/sdb1 is an NTFS partition that is exported to my windows machine using samba.

However, only 75GB is visible in windows (via rt.click properties).

Anyways, below is output from fdisk -l. why does windows see only 75GB of a partition that is 500GB in linux?

fdisk -l
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ac734

[Code]....

View 3 Replies View Related

Ubuntu :: How To Export Thunderbird Account Settings To Windows Computer

Jun 12, 2010

I've finally got all my accounts the way I like them in Thunderbird. I'm using IMAP and so don't have to move the emails, but how do I migrate my account settings to my other computers? The other machines are running WinXP.

View 4 Replies View Related

General :: Export Contacts And Email Back To Windows From Ubuntu

Oct 26, 2010

Taking all Contacts and Emails temporarily back to Windows for safety - whilst I install Mint in place of Ubuntu. Using Thunderbird. I have checked the help files and checked Google.

View 14 Replies View Related

General :: To Export Environment Variables In A File?

Oct 27, 2010

I want to export the env variables in a file using a script,i tried using the below:for var in 'env'

do
var2=env|awk -F '=' '{print$1}'
echo "$var;export $var2">file.txt

[code]...

View 9 Replies View Related

Ubuntu :: Oversized .PST File Can't Export To Thunderbird Via Outlook

Nov 26, 2010

A client of mine has a 7.7G .pst file, every time I try and import it into outlook so I can import to Thunderbird, it breaks due to the size, as Outlook can't handle files bigger than 2G. Is there anyway I can import this file into Thunderbird without having to use Outlook?

View 3 Replies View Related

Ubuntu :: Script Or Program To Export Numbers Into A .txt File?

Apr 19, 2011

I am working on a project but it consist of a large amount of numbers. I have tried using OpenOffice to produce this list of numbers but it keeps crashing when I reach a certain point. So I was looking for some help. I need to see if someone could either help me with using a script or program to export these numbers into a .txt file or if someone could just make the list for me.

I am looking for a text file that will have the numbers 1000000000 to 9999999999 in order. I understand this is a large amount of numbers but this something I don't have the time to just do manually and each time I try to do it with OpenOffice it crashes around 1009000001. Oh and I need the text file to look like this:

1000000000
1000000001
1000000002
1000000003

View 2 Replies View Related

Networking :: Export Config File From Proxy Server) And Using SSH

Jul 13, 2011

In my company have proxy server using Linux.

Ip Address Proxy Server 1 is: 123.16.201.23
Ip Address Proxy Server 2 is: 123.16.201.24

Every Client: 123.16.3.25,....
and 123.16.4.25,.....
....

- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.

- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?

- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).

I just go to company so i have everything don't know system.

View 2 Replies View Related

General :: Iperf Won't Export All Command Output To Text File?

Oct 18, 2010

I've created a script to test network speeds but I've run in to a little problem. The command outputs this:

Code:
Client connecting to 192.168.111.230, UDP port 5001
Sending 1470 byte datagrams

[code]...

View 1 Replies View Related

Debian Programming :: HTML Export - Consolidate Several Lines Of CSV File With Firewall Rules

Oct 11, 2013

I have a CSV file, which I created using an HTML export from a Check Point firewall policy. Each rule is represented as several lines, in some cases. That occurs when a rule has several address sources, destinations or services.

I need the output to have each rule described in only one line. It's easy to distinguish when each rule begins. In the first column, there's the rule ID, which is a number.

Here's an example. In green are marked the strings that should be moved:

See example. The strings that should be moved are in bold:

NO.;NAME;SOURCE;DESTINATION;SERVICE;ACTION;
1;;fwgcluster;mcast_vrrp;vrrp;accept;
;;;;igmp;;
2;Testing;fwgcluster;fwgcluster;FireWall;accept;
;;fwmgmpe;fwmgmpe;ssh;;
;;fwmgm;fwmgm;;;

What I need ,explained in pseudo code, is this:

Read the first column of the next line. If there's a number:

Evaluate the first column of the next line. If there's no number there, concatenate (separating with a comma) the strings in the columns of this line with the last one and eliminate the text in the current one

The output should be something like this. The strings in bold are the ones that were moved:

NO.;NAME;SOURCE;DESTINATION;SERVICE;ACTION;
1;;fwgcluster;mcast_vrrp;vrrp-igmp;accept;
;;;;;;
2;Testing;fwgcluster-fwmgmpe-fwmgm;fwgcluster-fwmgmpe-fwmgm;FireWall-ssh;accept;
;;;;;;

The empty lines are there only to be more clear, I don't actually need them.

View 1 Replies View Related

CentOS 5 :: Mounting Windows File System?

Jun 2, 2009

I have a dual boot system (CentOS and Windows XP Pro). The computer has 2 disks with the operating systems on sda. My data files are on the 2nd disk (sdb I think). I would like to be able to access the data files on sdb from CentOS. I tried issuing the Linux command:mount -oro -t ntfs /dev/sdb1 /mnt/winbut CentOS tells me that ntfs is not a file system it recognizes. Even if I leave out the -t ntfs I get the same message. Any ideas on how I can get access to the Windows files while in the CentOS boot?. I got the idea for the above mount command from the book: Fedora 10 and Red Hat Enterprise Linux Bible byCristopher Negus.

View 4 Replies View Related

OpenSUSE :: Access Windows File System From Suse?

Aug 27, 2010

I am using 11.2 suse with gnome in vmware player on windows 7. I can drag and drop indivisual files from windows to suse and vice versa but Can I mount the whole windows file system in Suse.

View 5 Replies View Related

General :: File System Which Can Be Read By MacOS X, Windows?

Mar 15, 2011

Possible Duplicate: Cross-platform file system Can you please tell me what kind of file system can be read by MacOS X, Linux and Windows? And it can create a file greater 4 GB?

View 2 Replies View Related

Ubuntu :: Unable To View Windows File System

May 23, 2010

Installed 10.04 within windows. When i bring up Ubuntu i am unable to view the windows files. What am i not doing or .

View 5 Replies View Related

Ubuntu Installation :: Windows File System Missing?

Jul 12, 2010

I have installed ubuntu 10.4 as a dual boot with Windows 7. I thought, because of a previous experience, that my music and pictures were ok in the windows file system because I would be able to access them. Well I can't. I don't even see the the Windows c: drive. I know its still there because I can boot windows.

So what do I need to do to make the c: volume / drive reappear.

View 8 Replies View Related

Ubuntu :: Accessing EXT4 File System Through Windows

Jul 31, 2010

Windows 7 by default cannot read/mount Ext4 type file systems. I installed Ext2fsd which allows me to mount my linux drive and navigate all the subfolders of my root (/) directory, however when I click on a folder from there (I.E, /home) this is what comes up: [URL].

View 4 Replies View Related

Ubuntu :: Accessing File System From Windows Vista?

Nov 7, 2010

I have Ubuntu 10.10 and Windows Vista on my laptop. I would like to be able to access the File System in Windows because I need to use iTunes to sync my iPod, while I actually get most of my Music in Ubuntu.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved