What filesystem does unix use?

Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory What filesystem does unix use?
# 1  
Old 07-04-2002
What filesystem does unix use?

And what program can i use to make a unix format?
# 2  
Old 07-04-2002
UNIX machine is connected to several file systems, each with its own i-list. One of those i-lists points to a special storage area, known as the root file system. The root file system contains the files for the operating system itself, and must be available at all times. Other file systems are removable. Removable file systems can be attached, or mounted, to the root file system. Typically, an empty directory is created on the root file system as a mount point, and a removable file system is attached there. When you issue a cd command to access the files and directories of a mounted removable file system, your file operations will be controlled through the i-list of the removable file system.

Each file system that is mounted on a UNIX machine is accessed through its own block special file. The information on each of the block special files is kept in a system database called the file system table, and is usually located in /etc/fstab. It includes information about the name of the device, the directory name under which it will be mounted, and the read and write privileges for the device. It is possible to mount a file system as "read-only," to prevent users from changing anything.

Example: Important File system Used by HP-UX

The kernel program

Where special files are kept

Executable system utilities, like sh, cp, rm

System configuration files and databases

Operating system and programming libraries

System scratch files (all users can write here)

Where the file system checker puts detached files

Additional user commands

Standard system header files

More programming and system call libraries

Typically a place where local utilities go

The manual pages are kept here

Also pls do re-define your question on 'format' Is it a filesystem format? floppy format? hard disk format?
# 3  
Old 07-05-2002
I mean format type, like linux has linux ext2 and 3, and windows has fat, and ntfs, what is the unix type?
# 4  
Old 07-05-2002
Unix is not a monolithic system controlled by a single entity. So this is harder question than you may think.

The original filesystem for unix is one that was designed by Ken Thompson back in the 1960's. One one his reason to write unix was to try out his filesystem. It didn't really have a name that I know of. While it was very cool for its time, it was pretty much abandoned by 1980. It had some serious problems. I doubt that anyone would want to use when alternatives became available.

The next major filesystem was designed by Kirk Mckusick. It is very good and it is still with us today. HP-UX calls it "hfs" for high-performance filesystem. SunOS calls it ufs. I don't know what the u stands for. But even though both OS's use this filesystem, you can't umount a disk from HP-UX and carry it to a SunOS box and mount it. There are enough differences that this won't work.

Both SunOS and HP-UX have other filesystem types built-in. Both are moving to the new Veritas filesystem and both call it vxfs. But again, you can't cross-mount a physical disk. Both OS's also have support for cd-rom type filesystems. And they both support NFS which let's you open a file on a remote system.

At this point, Unix has special features in the OS that allow easy installation of new filesystems. It is almost as easy as installing a device driver. Writing a decent filesyetm is harder than writing a decent driver, so there aren't lots of choices. But are several odd filesystems that float in from time to time. HP-UX invented its own which it called SDF, for "Structured Directory Format"...it didn't last. I have also heard of AFS (Andrew Filesystem), JFS (Journeled Filesystem), and few others that I recall just this minute.

So it's not easy to give you a definative answer.
# 5  
Old 07-05-2002
Could it work on linux ext2?
# 6  
Old 07-06-2002
If you're using Linux you can look under the option "File systems" at the kernel configuration menu. There you'll find file systems that can be used as native (for example ext2, Xia, reiserFS...), meaning they can be used as the primary file system.

You'll also find loads of other file systems that you can read from (and sometimes write to), for example Windows NTFS, MFS...
# 7  
Old 07-09-2002
A program called mkfs can be used to 'format' with different file systems. mkfs takes different arguments on different flavours of unix. Checkout the local man page for exact description.

On linux, I used fdisk to make partition for a typical file system. fdisk on linux has a huge list of supported filesystem partitions it can make on hard drive.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unix command to fill filesystem

I have been trying to fill all available file space on my Solaris box for my project but have not been successful. I have tried the following script: tr '\0' '\060' < /dev/zero | dd of=zero2.txt bs=1024 count=1953125 But the only thing i get in return is this: "d: bad numeric argument:... (8 Replies)
Discussion started by: rbur101
8 Replies

2. Homework & Coursework Questions

unix filesystem question

1. The problem statement, all variables and given/known data: The file system unix use a multilevel indexes access to disk, 12 direct blocks, 1 single indirect block, 1 double indirect block, 1 triple indirect block: Assuming a: block = 512 bytes, pointer = 4 byte, and there is a file of 200... (4 Replies)
Discussion started by: blob84
4 Replies

3. UNIX for Dummies Questions & Answers

Copy unix filesystem to windows

Hi all Is there a way to copy a unix filesystem (folders, subfolder and files) to windows (AD) and at the same time maintaine the unix permission (user/group) when copied to windows (AD) filesystem? I want the same permission in windows as I had in unix in one copy job. Is this... (8 Replies)
Discussion started by: tomjen
8 Replies

4. SuSE

filesystem from unix 32 to linux 64

Hi all. Im migrating from a Unix 32 bit to a linux suse 10 64 bit and would like to know whats the best way to migrate the filesystems? cpio? tar? ftp? Could I make a backup in tape in the unix 32 and restore it in the linux 64? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

5. UNIX for Dummies Questions & Answers

How can I check if I have raw filesystem on unix/linux

Hello again. Please can someone tell me how can i check if my filesystem is raw on unix/linux ? Is there some file to check or something like that to be sure ? also , when i do : $ ls -l /dev/rdisk i get among other things , this also(there resides are oracle related files) : ... (2 Replies)
Discussion started by: tonijel
2 Replies

6. UNIX for Dummies Questions & Answers

Unix filesystem

hello all, i want to know about the unix file system. about the boot block,super block,and how to access them ,all the geometry details of the file systemetc etc... where can i find this??? i'l b happy if u can help me with a link!!!!! thanx in advance (2 Replies)
Discussion started by: anwerreyaz
2 Replies

7. UNIX for Dummies Questions & Answers

How to format a floppy in unix filesystem from windows

Hi, we have a strange problem. We have to format any floppy disk HD in unix filesystem mode (SCO) but we haven't unix workstations. Are there any software to make this formatting from windows xp pc ? Regards Gianpaolo (1 Reply)
Discussion started by: elektra
1 Replies

8. Filesystems, Disks and Memory

error making filesystem when install UNIX

someone help me to figure out about this error im installing a 36Gb SCSI Hd and i used the custom option in unixSCO for create the diferents filesystems, when the process is finish the next error message apears: Exit value 139 status value -29952 Fatal error in disk info.c line 3525... (3 Replies)
Discussion started by: jav_v
3 Replies

9. Filesystems, Disks and Memory

SCIO Unix Filesystem type - Urgent

I'm installing SCO Unix Open Server 5.05 on an IBM 300PL Desktop with a 60Gig HDD (IDE) and 32 MB physical RAM. When the install goes to the phase where the hard disk needs to be partitioned, I can only see 8 Gig out of the 60Gig that I have on the mahine. I have tried the option of display... (2 Replies)
Discussion started by: budrito
2 Replies

10. UNIX for Advanced & Expert Users

Mounting a remote filesystem under SCO Unix ver 5.0.5

Can anyone help me? I have 2 servers on the same LAN, one as a live server and one as a backup server, both running SCO OpenServer Enterprise. I need to mount the /u filesystem of the backup server as a directory on the live server, so that if I use the df -v command I can see it as an additional... (1 Reply)
Discussion started by: darkestafrica
1 Replies
Login or Register to Ask a Question