Need Empty SPARC UFS Partition

Can anyone create a SPARC UFS Partition that is like 50 meg, DD the entire partition and zip it up and send it to me? Trying to play around with creating SPARC UFS partitions on linux and need a real one to compare to. I would do it but I do not have access to a SPARC machine anymore. I do not know the size limit to post files but I figured Zip would squash it down pretty small. If not maybe a 20meg partition.

thanks

  • Phillip

Here you go. This file was created on a 280R running Solaris 10u3

mkfile 50m ufs
lofiadm -a /path/to/ufs
newfs /dev/rlofi/1
lofiadm -d /dev/lofi/1
gzip -9 ufs

Hope, this helps.

1 Like

Works Perfect. Appreciate it.

you could create one with qemu

I looked into qemu but it did not seem straight forward to do this. I know I tried something with qemu but getting it to run under RHEL was a pain and I even tried it and it failed to run newfs. (I have to use RHEL). Have you run SPARC specific apps under Linux x86 with Qemu? Maybe I need to just try again.

yes, its somewhat complicated, here's how:
Artyom Tarasenko's blog: Solaris/sparc under qemu how-to