Friday, February 8, 2013

Can you write data to a NTFS file system in Linux yet without any problems?

linux file system
 on ]Linux - Linux..
linux file system image



IBM ThinkP


Compatibility with NTFS is one of the main reasons why I stayed away from Linux in the past few years. It worked with Ubuntu a couple of years ago when I tried it, but it seemed to be really buggy. Whenever I write a file to my NTFS, other random files would appear in that directory when I viewed it in Windows. Has NTFS-writing in Linux improved at all since then?


Answer
Yes you can, you must mount the partition first. Open your home folder and select it.

For your information, I split my hard drive into three:

Windows
Storage (NTFS)
Linux

All my data is saved to the storage section so that I can access it from any operating system. It's also easier to backup my data as it is all in one place.

Here are some links for you.

what is your insight about Linux file system?




gmagada86


what can you say about linux file system compared to windows'?


Answer
You should say Linux Filesystem because there isn't a official one
The most common filesystems are ext2 (older), reiserfs(old), ext3(latest)
If you are refering to the directory structure the way Linux stores files then you can compare them
In Windows the root directory is C:\
In UNIX/Linux the root directory is \
In Windows the storage component are devices and accessible to a directory structure
In UNIX to open storage device you have to mount them to a destination before opening them
In terms of fragmentation it is lower because ext3 does not write to disk immediately but throws the data into journal back up
Then calculate the most optimal allocation before writing to final destination

How to capture C and CPP files in the linux operating system?




sunshine!


I am new to linux and have been trying to figure this out forever for a homework assignment! I am supposed to use appropriate linux commands to capture all "C or CPP" files in the linux operating system and make a list of the files. I am using Xubuntu. I am a beginner and could use any advice! Thanks!


Answer
What does it mean to capture a file??

If you mean to find the files and list the results, use the 'find' command to search for *.c and *.cpp files in the whole system. You will get the result on the screen, and you can redirect the output to a file.

To find *.c files:
find / -name *.c

To find *.cpp files:
find / -name *.cpp

Explanation: the "/" means to start the search at the top of the file system, meaning that the search will include all the system. The "-name" means to search by name, and "*.c" is the file pattern you want to find.

To redirect the output, use "> output_file" for example:
find / -name *.cpp > output_file

Hope it helps. See the manual page 'man find' to learn more.




Powered by Yahoo! Answers

No comments:

Post a Comment