Can Linux make ufs file systems?

Can Linux make ufs file systems?

Post by Darrel Davi » Sun, 08 Aug 1999 04:00:00

I am trying to install Solaris 7 on another p
partition and, i gotta tell you, the install
process makes Linux looks completely problem
free (actually, I usually don't have any problems
installing Linux anyway).

There are some strange situations with the Solaris
fdisk and it would be nice if I could create the
ufs partitions in Linux fdisk but ufs doesn't
seem to be listed in fdisk's partition type

Does anybody know of a way to create ufs partitions
in Linux?





Can Linux make ufs file systems?

Post by Peter Caffi » Sat, 14 Aug 1999 04:00:00

> Does anybody know of a way to create ufs partitions
> in Linux?

From the help info in `make menuconfig` in the Linux kernel source

 BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
 OpenBSD and NeXTstep) use a filesystem called UFS. Some System V
 Unixes can create and mount hard disk partitions and diskettes using
 this filesystem as well. Saying Y here will allow you to read from
 these partitions; if you also want to write to them, say Y to the
 experimental "UFS filesystem write support", below. Please read the
 file Documentation/filesystems/ufs.txt for more information.

Hex code (type L to list codes): l

 0  Empty            9  AIX bootable    80  Old MINIX      a7  NEXTSTEP      
 1  DOS 12-bit FAT   a  OS/2 Boot Manag 81  Linux/MINIX    b7  BSDI fs        
 2  XENIX root      40  Venix 80286     82  Linux swap     b8  BSDI swap      
 3  XENIX usr       51  Novell?         83  Linux native   c7  Syrinx        
 4  DOS 16-bit <32M 52  Microport       85  Linux extended db  CP/M          
 5  Extended        63  GNU HURD        93  Amoeba         e1  DOS access    
 6  DOS 16-bit >=32 64  Novell Netware  94  Amoeba BBT     e3  DOS R/O        
 7  OS/2 HPFS       65  Novell Netware  a5  BSD/386        f2  DOS secondary  
 8  AIX             75  PC/IX           a6  OpenBSD        ff  BBT            

I guess what this all boils down to is that you'll probably be able to
set things up to read and write files via Linux to your UFS drive or
previously installed partition, but, you won't be able to create a one
via Linux.

for UFS support. He may well know some work-around (or perhaps even be
interested in helping to organise some solution if there isn't one

Personally, I reckon you should just go with MINIX or some other file
system that your UNIX and Linux have in common ;). Best of luck.

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  peter at ptcc dot it dot net dot au |
//`'\_ | (/_|(/_|  |_(_|| | || |       |
/                            PO Box 869, Hillarys WA 6923, AUSTRALIA |


1. Enhanced Filing system - file system like DEC Advanced File system for Linux

    Some time ago I was involved in discussion on this news group regarding the
design of a new file system for Linux.  The main aim is to support dynamic size
changing by adding/removing partitions from the file system at run time without
interrupting processes that are using the file system.  Another major feature is
logging so that a system crash or power failure can be recovered from without
data loss or an excessive amount of time spent running FSCK.

  This project is now going ahead, if you are interested then please load up the
following URL:

Russell Coker

2. XF86Config problem

3. accessing System V UFS file system

4. problem seting up a dhcp server

5. File corruption on UFS file-systems mounted via NFS

6. Help : HP InkJet on Sparc/X

7. G400 distortion on 2nd monitor

8. Mounting a Solaris ufs file system from Linux ?

9. Reading UFS File System on Linux 2.0.30

10. making BSD file systems on Linux

11. Maximum inode number per UFS file system

12. A5100 - 2.6 - UFS File System Performace Stats???