Hello. I do (not long) web development. On a computer are Win7 and Linux Mint 13. I decided to make a separate section for the server and configure apache on Windows and Linux for this section. Actually, the question arose: which file system to choose, so that Windows could see (ext4 disappears) and the linux worked fine and could mount it? NTFS or FAT suitable for these purposes?
P.S. Maybe the idea is completely stupid and make it work on Linux with yours, and Windows with yours? I just think to go completely to Linux, but sometimes I also have to look into Windows. And keeping projects in one place was useful.
- why "ext4 disappears"? - ArcherGodson
- @ArcherGodson, and how to make friends with ext4? Never done it like this - Ray
5 answers
The idea is stupid, do it separately.
ps linux without any problems will mount ntfs partitions when necessary, windows, if desired, can also mount ext2\ext3 - http://www.ext2fsd.com/
- @Anton Shevtsov, can you argue? For now: Pros: 1. Projects are stored in one place and are accessible to the server both on line and on Windows; 2. When reinstalling the axis (any), all projects will remain intact; Minuses: ??? - Ray
- ntfs \ fat alien systems, they do not support linux attributes. This is the same as putting octagonal wheels on a car - it will go, but slowly and not comfortably. But in the end everything will fall apart. - Anton Shevtsov
- the only problem with fat is the inability to manage file permissions using the file system. In ntfs, I also know how to manage this, but if the computer is local and for web development, then this is absolutely not in terms of "foreignness" and performance, you just need to manage the rights via the web server, and when transferring to production, do not forget to override file attributes to secure. - ArcherGodson
And who prevents to mirror the site from one file system to another? And if the site works under Line - then Ext4 will be used, and under the Wendy - NTFS? By the way, both systems are journaling. The only negative - it reduces the free disk space. Plus - increases reliability, if Ext4 and NTFS on different physical disks.
- @areshin, hmm. An interesting decision. If I understand correctly, just store some files on different disks. We need to think about when to mirror. It would be logical, for example, when exiting a line to copy everything to NTFS. And vice versa. What would you do to automate the process, do not tell? You can of course write yourself, but time is a pity. - Ray
If I need compatibility with Windows, I would use NTFS. Only if she needed? In my Apache and Linux perfect pair :)
- @ Semyon Ledovsky, I agree, but you can’t give up completely on Windows either (for example, I couldn’t connect to the server via webdav, and Windows is a convenient webdav client. I can’t even get rid of dbForge Studio, more precisely, from building database diagrams, Punto Switcher (XNeur is far from it), Total Commander RIP, etc. ((PS I will try to solve these problems through VirtualBox, but something tells me that everything will be not so simple ... - Ray
- I refused! By webdav connect via Nautilus, very convenient. Virtualbox is not bad. - Semyon Ledovsky
Just use git ...
PS: But the truth is interesting, why on Windows to raise Apache?
- He is a developer, sits on a Windows, somewhere he needs to run and debug projects - ArcherGodson
- It depends on how and what to debug, in any case, the virtual machine with Windows decides. Although, if production will be on Windows ... - bva
- nothing critical, I know one little man here (I think he is not alone), which is quite likely “not serious”, but the “money” project is on Windows, and it’s not going to crawl off at all)) so ArcherGodson
I recommend using NTFS or ext3. In the case of ext3, you will need to install an ext2fsd driver for Windows and create permanent mount points for ext3 partitions of interest. Regarding the compatibility of drivers with win7 / 8, I have a successful ext7fsd-0.51 machine running on Win7-x64.
- I would not advise to put Ext *, because all the drivers that are unsigned, and therefore sooner or later you may encounter the problem of downloading them to Win x64 (7 or 8). And with NTFS, Linux has long been good friends. - Home