News for hackers. Stuff that matters.
Re:Dokan – User Mode File Systems on Windows by MarkSweep on Monday April 04, 2016 @07:15AM (#11420906)
I used the .NET wrappers for Dokan to write a read only version of ZFS in C#.[1] It was pretty easy to get things to get started with.

[1]: https://github.com/AustinWise/ZfsSharp

Re:Dokan – User Mode File Systems on Windows by vfclists on Monday April 04, 2016 @06:31AM (#11420722)
Dokan has been around for years and hasn't worked really well. Is this new improved fork much different from what existed before?
Re:Dokan – User Mode File Systems on Windows by didulive on Monday April 04, 2016 @08:01AM (#11421165)
Yes, 391 commits of fix, improvement stability and features ! We are much more near from a real filesystem than dokan ever was.
Re:Dokan – User Mode File Systems on Windows by skrowl on Monday April 04, 2016 @10:16AM (#11422003)
I used to use https://liquesce.codeplex.com/ which I believe was based on Dokan prior to being silently abandoned by the developer.

Is Dokan the appropriate library to build a disk pooling solution on top of? If so, can you recommend any such projects?

TLDR - Create a "Dokan" folder on each of my 5 physical drives, present a drive to my OS that shows all files from these 5 drives as if they were one physical drive.

Re:Dokan – User Mode File Systems on Windows by didulive on Monday April 04, 2016 @10:32AM (#11422139)
Yes Dokan is able to do what you describe. There is a mirror example in the repository that mirror a device or folder. With a little of changes based to the mirror, you can create a sub directory for each of your devices in on folder. (Create a fake main directory that list all directories of your device and after reroute all file opening request to the right device)
Re:Dokan – User Mode File Systems on Windows by hobarrera on Monday April 04, 2016 @06:29AM (#11420717)
TLDR: FUSE for windows.
Re:Dokan – User Mode File Systems on Windows by leni536 on Monday April 04, 2016 @06:41AM (#11420762)
Note that there seems to be a FUSE API wrapper too.

https://github.com/dokan-dev/dokany/wiki/FUSE

I wonder how well this works.

Re:Dokan – User Mode File Systems on Windows by Rexxar on Monday April 04, 2016 @09:31AM (#11421698)
Can we have Fuse on Windows with the new Linux emulation subsystem announced recently ?
Re:Dokan – User Mode File Systems on Windows by cypher543 on Monday April 04, 2016 @09:53AM (#11421849)
Fuse is a kernel module, so probably not.
Re:Dokan – User Mode File Systems on Windows by _yy on Monday April 04, 2016 @11:10AM (#11422451)
Wuala is using it, too.
Re:Dokan – User Mode File Systems on Windows by MikusR on Monday April 04, 2016 @12:23PM (#11423109)
Used to use. First they migrated to https://www.eldos.com/cbfs/ and now they don't exist anymore.
Re:Dokan – User Mode File Systems on Windows by _yy on Wednesday April 06, 2016 @06:14AM (#11437812)
Wait, what?

What happened? :( I really liked that service.

Re:Dokan – User Mode File Systems on Windows by amelius on Monday April 04, 2016 @06:39AM (#11420758)
The title concisely explains why I am using Linux.
Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @08:37AM (#11421366)
Then explain why people use OS X? Seriously the worst file system that so many developers (And I am guessing a HIGH percentage of Linux developers use) I can't stand going to Linux conferences and the Macs come out and are running OS X.
Re:Dokan – User Mode File Systems on Windows by victorr on Monday April 04, 2016 @09:11AM (#11421574)
Could you elaborate please?
Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @10:45AM (#11422241)
http://www.cio.com/article/2868393/linus-torvalds-apples-hfs...

HFS is the worst file system and it has effected me several times and I avoid Macs and OS X like the plague.

Re:Dokan – User Mode File Systems on Windows by Demiurge on Monday April 04, 2016 @11:05AM (#11422404)
Your experience could be fact, but in about 10 years of using MacBooks for work, it has effected me about 2 times, yet I had way more issues with sound/graphics/sleep/projection/skype/internationalization on the Linux distros I have tried. I don't mean to start a flame war, but there is probably a reason you see MacBooks at linux conferences, and FS bugs are not a huge factor.
Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @11:29AM (#11422623)
> sound/graphics/sleep/projection/skype/internationalization on the Linux distros

Paper Cuts

HFS+ problems are a disaster. I lost 2 10 hour days of video edits and work and my backup were also garbage.

> FS bugs are not a huge factor

You know you are not seeing things clearly when you say statements like that.

Re:Dokan – User Mode File Systems on Windows by Demiurge on Monday April 04, 2016 @12:49PM (#11423325)
> Paper Cuts

Those things preventing the system from being usable one way, or another. So, for my experience, worse than paper cuts. Not to mention there is a great idiom about death by paper cuts.

> HFS+ problems are a disaster. I lost 2 10 hour days of video edits and work and my backup were also garbage.

I haven't. No one else I know has. You're missing my point that this is anecdotal data. It's not a disaster if it's not impacting enough users.

> You know you are not seeing things clearly when you say statements like that.

You know you are not seeing things clearly when you think you know how clearly someone is seeing things. I know, for example, not to store Cyrillic music names on my MBP after I hit a bug. I have also read how bad HDF+ is, legacy wise. However, that's one factor of usability, among many. I've lost more raids than hfs+ files. Every filesystem has bugs, whether it's a huge factor or not is whether enough people encounter them or not.

Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @01:50PM (#11423823)
Just do a little research on HFS+ issues. It is not a small problem. This was one of the reasons why the OS X server was killed.

Some limitations that really do have a major impact on people: (Features Missing)

    data checksums


    nanosecond timestamps


    concurrent access (let more than one process at the time access the filesystem)


    checksumming


    snapshotting


    longer time frame (February 6 2040 for HFS+)


    sparse file support


    real hard links
Re:Dokan – User Mode File Systems on Windows by Demiurge on Monday April 04, 2016 @02:00PM (#11423902)
Fortunately, the impact is not major enough to prevent me from being a happy MBP user.
Re:Dokan – User Mode File Systems on Windows by sdegutis on Monday April 04, 2016 @02:47PM (#11424310)
You lost a few hours of work because of Apple's probably-legitimately terrible filesystem. I lost days and days and days of work trying to configure Linux to just act sane and normal and do the right thing with my hardware. And I lost years and years of our only backups of family photos. We are missing all photos of our eldest son from birth until age 4 or 5, or our eldest daughter until probably 2 years old. I take some blame for trying to use Linux when I should have accepted the fact that it's only to be touched by gods-among-men, and this was back in 2007 or so. But Apple has not failed me nearly as badly as Linux has.
Re:Dokan – User Mode File Systems on Windows by jacoblambda on Monday April 04, 2016 @05:35PM (#11425881)
Well, not trying to be snide but your first problem is that you only had one backup of irreplaceable information. Storage is cheap enough nowadays that just about every computer should have some form of raid 1 or alternatively a NAS with raid 1 along with at least 1 or 2 offline backups.

$200 for 4 hard drives and some hardware in exchange for a near guarantee that data is never lost is worthwhile in my opinion.

Hell, for the more frugal there is an excess of cloud storage options out there that will be near impenetrable vaults for data. (that's not sensitive at least)

Basically, while the faults that both OS X and Linux have are definitely profound and problematic, they can be almost entirely avoided with nearly any data replication system, even just syncing to the cloud.

Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @08:54PM (#11427010)
This happened over 10 years ago. I had three drives one with the archives one with the working files and one of the edits (Edits failed me). I had it in double redundancy backup and a on a second NAS. I even at the time copied to DVD. The problem was it happened right away but since my work was in memory it wasn't something I would see till the third day of pulling everything together for the final cut I found out that file system had failed.
Re:Dokan – User Mode File Systems on Windows by untog on Monday April 04, 2016 @10:10AM (#11421952)
I assume the OP strongly dislike HFS. I don't know enough about it myself, but I have relatively low standards for my dev machine - HFS has never failed me.
Re:Dokan – User Mode File Systems on Windows by baldfat on Monday April 04, 2016 @12:07PM (#11422978)
I pray that stays true for you. BUT please look on making sure your backup system is flawless AKA not Time Machine.
Re:Dokan – User Mode File Systems on Windows by supermatt on Monday April 04, 2016 @07:35AM (#11421014)
Because you don't like the name Dokan? Not really picking up anything else from the title...
Re:Dokan – User Mode File Systems on Windows by amelius on Monday April 04, 2016 @07:47AM (#11421087)
No, because Linux had libfuse ages ago.
Re:Dokan – User Mode File Systems on Windows by geofft on Monday April 04, 2016 @10:10AM (#11421948)
Windows had user-level filesystem implementations years before Linux had FUSE:

https://github.com/openafs/openafs/blob/7f4414ae3983fe7260de...

Re:Dokan – User Mode File Systems on Windows by naasking on Monday April 04, 2016 @09:21AM (#11421635)
And microkernels had user-level file systems since the 1980s. By your logic, you must have been using those for quite some time.
Re:Dokan – User Mode File Systems on Windows by didulive on Monday April 04, 2016 @07:58AM (#11421150)
libfuse: 2001 Dokan: 2007

We are in 2016...do you still still try to understand which came first, the chicken or the egg?

Re:Dokan – User Mode File Systems on Windows by dsp1234 on Monday April 04, 2016 @12:56PM (#11423405)
Windows has other user space file systems, and has for a long time. OpenAFS goes all the way back to 2000, and had a windows 95 client even[0].

Comparing libfuse to Dokan is like comparing fat16 to HAMMER. It's recent, but not the first by any stretch

https://github.com/openafs/openafs/tree/ba3d4666cbd19b56bcec...

Re:Dokan – User Mode File Systems on Windows by icebraining on Monday April 04, 2016 @08:52AM (#11421456)
I think the point is that Linux gets that stuff first, since it's a more open system which makes it easier to hack stuff into.