Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am wondering what allocation method does UFS use? I know there are several options: contiguous, linked allocation and indexed allocation. Which one is for UFS?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

The details are in the paper A Fast File System for UNIX:

The bit map of available blocks in the cylinder group replaces the traditional file system’s free list.

share|improve this answer
add comment

Your example terms don't coincide with anything I'm familiar with in file systems. The two proper forms of allocations I know of relate to disk space and inodes.

Where disk space is concerned, the two key forms for traditional file systems are extent-based and block-based. UFS is block-based.

Inodes are allocated statically (i.e., at file system creation time) or dynamically. UFS allocates inodes statically.

Does your question refer to some other facet of UFS, perhaps?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.