[opensuse] Re: mounting a Solaris UFS disk on a SuSE 11.1 system
Damon Register
Does anyone here have experience with mounting a Solaris UFS disk on a Linux system? If so, what is the correct mount string to do it?
When in doubt, check the kernel docs: ,----[ linux/Documentation/filesystems/ufs.txt ] | USING UFS | ========= | | mount -t ufs -o ufstype=type_of_ufs device dir | | | UFS OPTIONS | =========== | | ufstype=type_of_ufs | UFS is a file system widely used in different operating systems. | The problem are differences among implementations. Features of | some implementations are undocumented, so its hard to recognize | type of ufs automatically. That's why user must specify type of | ufs manually by mount option ufstype. Possible values are: | | old old format of ufs | default value, supported as read-only | | 44bsd used in FreeBSD, NetBSD, OpenBSD | supported as read-write | | ufs2 used in FreeBSD 5.x | supported as read-write | | 5xbsd synonym for ufs2 | | sun used in SunOS (Solaris) | supported as read-write | | sunx86 used in SunOS for Intel (Solarisx86) | supported as read-write | | hp used in HP-UX | supported as read-only | | nextstep | used in NextStep | supported as read-only | | nextstep-cd | used for NextStep CDROMs (block_size == 2048) | supported as read-only | | openstep | used in OpenStep | supported as read-only `---- Charles -- "Whip me. Beat me. Make me maintain AIX." (By Stephan Zielinski)
-------------- Original message from Charles Philip Chan
damonregister@bellsouth.net writes:
Thanks for the answer.
No problem.
I guess I have to RTFM :-)
At least you STFW. ;-)
I guess I am still learning new doc locations.
They are very easy to find. All the documentation of the packages (except kernel) are located in /usr/share/doc or /usr/share/doc/packages. The kernel documentation can be found at /usr/src/linux/Documentation (once you install the kernel source).
I know what is the solaris device and slice of my UFS disk but don't know how that translates to a linux device.
Once you have installed the drive and reboot into Linux, do a fdisk -l and look at the output to locate the device name of your partition. I am not familiar with ufs and slice, however, you might find this helpful: http://ghantoos.org/2009/04/04/mounting-ufs-in-readwrite-under-linux/ Cheers, Charles -- "Computers may be stupid, but they're always obedient. Well, almost always." -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
participants (2)
-
Charles Philip Chan
-
damonregister@bellsouth.net