[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-ufs-discuss
Subject:    [ufs-discuss] Special LOFI to allow secondary partition access
From:       Martin Rosenau <martin () rosenau-ka ! de>
Date:       2007-04-15 11:50:44
Message-ID: 4953223.1176663109115.JavaMail.Twebapp () oss-app1
[Download RAW message or body]

Hello.

Currently it is not possible to access secondary/tertiary/n-th level partitions. Such \
partitions are created by Windows whenever multiple partitions are created under \
Windows.

I think that rewriting/extending the "lofi" driver and the "lofiadm" tool could solve \
the problem. The extended syntax would be:

/usr/sbin/lofiadm -a file|rawdevice [+offset] [lofidevice]
/usr/sbin/lofiadm -d lofidevice

The "+offset" would allow a byte offset into the image file or /dev/rdsk device. \
"rawdevice" would be the name of a "/dev/rdsk" device.

This command would allow to easiely write programs that detect the positions of \
non-standard partition layouts (i.e. Sparc on x86 machines, x86 on Sparc machines, \
secondary partitions, ...) and then create a lofi disk device for each partition \
detected.

Martin
 
 
This message posted from opensolaris.org
_______________________________________________
ufs-discuss mailing list
ufs-discuss@opensolaris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic