| Solaris |
|
|
There are two methods how to install the driver and utilites. The easiest way is use pre-compiled binary package and the second way is compile everything by yourself.
Download binary package from the Files page and install using pkgadd(1M). Note that these packages also contains an e2fsprogs. See Quick howto
Since VFS is not public interface in OpenSolaris and is changing from time to time it is necessary to download and set up complete ON workspace.
See Nevada Developer's Reference for instruction how to set up your workspace. Clone our Mercurial gate ext2-gate from ssh://anon@hg.opensolaris.org/hg/ext3/ext2-gate . Do not forget edit opensolaris.sh in your new workspace.
Use nightly(1) to build source. You can also use bldenv(1) if you want to compile for example only kernel module.
Copy ext2-specific mount(1) utility from your workspace to a system path:
$ su
# cp /your_workspace/ext2-gate/usr/src/cmd/fs.d/ext2fs/mount/mount /usr/lib/fs/ext2fs
# chmod a+x /usr/lib/fs/ext2fs/mount
# chown root:bin /usr/lib/fs/ext2fs/mount
NOTE: You have to create ext2fs directory if does not exists:
# mkdir /usr/lib/fs/ext2fs
It is not necessary to install kernel module. You can use it from your workspace. Choose debug or non-debug version as well as 32- or 64-bit architecture. Compiled module can be found at your_workspace/ext2-gate/usr/src/uts/intel/ext2fs.
Insert ext2 kernel module using modload(1M) and mount an ext2 file system:
$ su
# modload ext2fs
# mount -F ext2fs /dev/dsk/cXdYpZ /mount_point
Debug version of the driver produces a lot of log messages. You can use them for observing driver's operations.
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.