1

I'm worried about my Windows apps modifying the files in Ubuntu, as there is software in Windows that can see and can modify files on the Linux partition. Can files or applications run normally in Ubuntu after modifying? If so, how can I watch the files for changes in Ubuntu?

2
  • Please specify what do you mean by modifying?
    – Frantique
    Nov 16, 2012 at 11:24
  • Are you afraid that an update in windows opens your ubuntu partition and changes files there? Can you show where you got that suspicion?
    – Nanne
    Nov 16, 2012 at 11:44

3 Answers 3

2

You can use auditd or inotify to monitor file changes.

1

Altrough you question is ambigous, I will give you a method to monitor your files.

If you want to see the list of files modified you can use the

find / -type f -mtime -1

for example, in this case those modified in the last 1 day.

1
  • This will assume the editor of the file honours to change the modification timestamp on the file. You can circumvent that and you won't notice.
    – gertvdijk
    Nov 16, 2012 at 11:31
0

In general, yes, files on Ubuntu will be fine if they're modified in a way they're intended to be, even though it's from Windows. For example, editing an image with Photoshop.

However, there are a bunch of little exceptions, and the only way to find out for sure is to experiment:

  • The safety of your Linux partition will depend on the quality of the Windows filesystem driver: will it correctly use the journaling? Adjust the timestamps appropriately? Will it lose data, or is it rock solid? Etc. Personally, I'd look into exactly who made the Windows software which will be used to mount the Linux partitions.

  • Some file types are platform independent (e.g. png), but some are not (e.g. text). If you edit a Linux text file in Wordpad, you may find that every line looks odd because line endings are different in the two systems.

  • There are other odd exceptions such as Linux filenames always being case sensitive, while this is not the case for all Windows filesystems. And so small little oddities can creep up.

Most of these issues aren't tragic and can be easily corrected or worked around. But they're things to keep in mind.

My advice: don't go through the hassle of multi-boot situations. Just get a second computer (a cheap one if necessary) to run the other OS on. Or, boot another OS in a virtual machine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .