[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting



On Wed, 3 Sep 1997, Yaniv Orenstein wrote:

> recently i'v installed solaris 2.5.1 and i'm trying to access
> it's ufs file system, but when i try to mount it reports it
> as a bad superblock or wronge fs type, i'v tried every other
> fs type whidh ofcouse didn't help as well, this is the command
> i type to mount it:
> 
> 	mount -t ufs /dev/hda3 /mnt

Ha!

First of all there are ufs slices which if I remember right 
represented as extended partitions with hdaN, N>4, look at 
your dmesg, something like:
 hda1 hda2 hda3 < hda5 hda6 > hda4
so you can not mount /dev/hda3 cause it sliced 
inside (a, b, c, etc.. ), and you should mount /dev/hda5, 
/dev/hda6 etc..

Secondly ufs support in Linux is broken like hell.
When I tried to mount ufs partition ( FreeBSD )
I got kenel msg : "Fucking Sun is blowing me..." -
very respectable :{). Anyway,  I saw a couple 
of ufs patches but never tried them.

>From other hand I maybe totaly wrong here and you should check
with Solaris and not FreeBSD users like I am :{)

> 
> and another strange thing the fdisk in linux recondises the solaris
> file system as linux swap pration.

It is probably because of partition ID and should be 
silently ignored. I marked my Linux swap partition 
as FreeBSD one, so I can use it as FreeBSD swap partition
( I need to disklabel it in every boot in FreeBSD and mkswap
in Linux ) but it is really another story...

> 
> any ideas on this subject would be greatfull.
> 

  Alexander Indenbaum
  baum@actcom.co.il