I need to access a disk that is formatted with ext4 on a Windows machine. I will be accessing it within another application so I need it to have a path (such as D:\). I have seen several software's claiming to be able to let you interact with it but not get a path.
If you don't mind to use C# or .Net to access ext4 disk, you can try SharpExt4 library
SharpExt4 helps you with Linux file system read and write.
A .Net library to provide full access (read/write) to Linux ext2/ext3/ext4 filesystem
Here is the GitHub link https://github.com/nickdu088/SharpExt4
Related
I am creating a custom cloud storage provider for Windows, based on this repo. I have removed the root node in the Windows file manager as described in this post. Now I need to mount it as a drive.
How do I display my custom cloud storage provider as a drive?
I know this may be a little late but have a look at the answers - they may help you decide what approach to take as there's no native way to mount GCP buckets (or other storage) in Windows as a file system.
Have a look at this answer as it presents some of the tools (free & proprietary) and workarounds you can use (such as mounting filesystem in Linux and sharing it as a Samba/NFS with windows):
Welcome, I have question about managing disks via Powershell. Is there any possibility to e.g. change type of disk to dynamic, create mirrored disk, create raid-5 volume, extend volume via Powershell? I mean I need to do these things by using Powershell, NOT DISKPART!, but can't find solution.
See these:
Replace Diskpart With Windows Powershell – Basic Storage Cmdlets
Converting a DiskPart script to PowerShell on Windows Server 2012
step by step how to create a two way mirrored storage space via Powershell
Update
As for ...
'any command to change storage type from basic to dynamic?'
Why are you trying to do this?
As per Microsoft, dynamic disk are depreciated, and we are to be using the WSM API -
For all usages except mirror boot volumes (using a mirror volume to
host the operating system), dynamic disks are deprecated. For data
that requires resiliency against drive failure, use Storage Spaces, a
resilient storage virtualization solution. For more info, see Storage
Spaces Technical Preview.
You can continue to use DiskPart, DiskRAID, and Disk Management during
the deprecation period, but these tools will not work with Storage
Spaces or with any other new Windows Management Instrumentation
(WMI)-based Windows Storage Management APIs or in-box storage
management utilities or clients.
... and this the reason for no cmdlets for them exist or will.
Clearcase in unix allows 'export views', which non-clearcase users can mount via nfs.
Can a similar feat be achieved with the windows version? I want to use windows filesharing on a dynamic view, so that the MVFS will be mounted on one system, and all other computers could simply use windows filesharing to mount it (readonly if that matters).
No, the help page "Configuring non-ClearCase access on Linux or the UNIX system" clearly states:
Non-ClearCase access is not supported on hosts running Linux or the UNIX system and Rational ClearCase LT, or on any Rational ClearCase Windows host.
I would rather try and use a snapshot view on Windows, which you can then share (regular windows folder share) on your disk in order for others to access.
Is there any way, any chance at all to access entire filesystem in SL app with elevated trust?
That will work both in Windows and Mac?
Through AutomationFactory,PInvoke or unmanaged code?
I need an app that could read local drives, folders and files.
UDP: Ok, seems it's possible to read folders and files using classes of System.IO from mscorlib. Although you still can't get information about local mounted drives. There is no DriveInfo in Silverlight's mscorlib :(
Ok I have an idea about this.
It is straightforward enough with Windows, to get the list of the local drives you can use AutomationFactory. There is plenty amount of examples if you google it. Search for something called SilverlightFileExplorer.
Now on a Mac you can use Directory.EnumerateDirectories("/") and then it gets all the folders in the root. Including Volumes folder which contains shortcuts to the local drives. I'm not an expert of Berkeley System Distribution (BSD) Unix filesystems, so I can't really promise that it would work on any Mac, but this approach works on mine.
I'm still playing around with that. When I get working prototype I'll probably share it through github or something.
I want my OS X app to share files via the loopback device. I want to do this so that my app can make a directory of frequently changing, read only files available to the user without messing with the users home directory. The files will be severed from the Application Support directory but the user will not have to concern themselves with this.
Apple recommend using an NFS server to do this (see the 'alternatives' section of this Q&A):
http://developer.apple.com/mac/library/qa/qa2001/qa1242.html
As far as I can tell nfsd must be ran as root, which I'd prefer to avoid (asking the user for a password whenever the app starts would be a horrible UX).
Is it possible to start an nfsd instance without root?
Are there any alternative NFS servers which I could include with the app? (I couldn't find any)
Are there any alternatives servers that I could use? (The server would have to be AFP, SMB or WebDAV as these are the protocols that Finder can mount - I couldn't find any such servers).
I'm not sure I understand your use case but have you considered using a file system mounted from an OS X disk image? Disk images on OS X are very robust and very flexible: you can pretty much have any kind of file system(s) created on one image and can mount or dismount them at will and at whatever mount point(s) you like. See the man page for hdiutil for more info.
If the "files" you are trying to serve are not actually disk files, then you might want to look at MacFUSE, the mostly widely used implementation of FUSE for OS X.
Use MacFUSE. This is by far the easiest way to implement a file system.