You could write a FUSE file system that reads LVM volumes and presents 
them as regular files... but when it comes to showing the volumes as 
native devices so that all sorts of device operations can be performed 
on them (including getting sector size) you don't have any option but to 
write kernel code AFAIK.
With the "devices as regular files" solution you would have zero 
possibility of integrating it with OS X's utilites, but I think most 
file system drivers are able to mount regular files too (raw disk 
images). So you would probably be able to mount these "virtual disk images".
It's not the "right" solution though. (Although I have no idea whether 
any kernel interfaces exist to extend OS X with support for additional 
second level partition schemes like LVM, ZVOL, VxVM...)

- Erik

LynuxDevil wrote:
> How hard would it be to make a driver to access Linux Volume
> Management logical volumes? What I want is a FUSE filesystem that
> creates virtual device nodes named like your logical volumes, and
> directories that are named like the names of your volume groups.
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to