Ffs: Difference between revisions

From Hackepedia
Jump to navigationJump to search
Frankk (talk | contribs)
I don't think we want to link to articles that cost money..
No edit summary
Line 1: Line 1:
[http://www.cs.berkeley.edu/~brewer/cs262/FFS.pdf A fast filesystem for UNIX].
[http://www.cs.berkeley.edu/~brewer/cs262/FFS.pdf A fast filesystem for UNIX].


You will want to check out soft-updates if you have ffs, and most likely install it on all partitions except /:
=== Soft Updates ===
 
You will want to check out soft-updates if you have ffs, and most likely install it on all partitions except / (example for [[FreeBSD]]):
  $ less -XF /usr/src/sys/contrib/softupdates/README
  $ less -XF /usr/src/sys/contrib/softupdates/README


To see if you have soft-updates enabled:
To see if you have soft-updates enabled:
on [[FreeBSD]]:
  $ mount  
  $ mount  
  /dev/ad0s1a on / (ufs, local)
  /dev/ad0s1a on / (ufs, local)
Line 12: Line 15:
  /dev/ad0s1f on /usr (ufs, local, soft-updates)
  /dev/ad0s1f on /usr (ufs, local, soft-updates)
  /dev/ad0s1d on /var (ufs, local, soft-updates)
  /dev/ad0s1d on /var (ufs, local, soft-updates)
on [[OpenBSD]]
$  mount
/dev/wd0a on / type ffs (local, softdep)
/dev/wd0e on /usr type ffs (NFS exported, local, nodev, softdep)
/dev/wd0d on /var type ffs (local, nodev, nosuid, softdep)
mfs:22707 on /tmp type mfs (asynchronous, local, nodev, nosuid, size=261120 512-blocks)

Revision as of 12:51, 27 October 2005

A fast filesystem for UNIX.

Soft Updates

You will want to check out soft-updates if you have ffs, and most likely install it on all partitions except / (example for FreeBSD):

$ less -XF /usr/src/sys/contrib/softupdates/README

To see if you have soft-updates enabled: on FreeBSD:

$ mount 
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1g on /backup (ufs, local, soft-updates)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)

on OpenBSD

$  mount
/dev/wd0a on / type ffs (local, softdep)
/dev/wd0e on /usr type ffs (NFS exported, local, nodev, softdep)
/dev/wd0d on /var type ffs (local, nodev, nosuid, softdep)
mfs:22707 on /tmp type mfs (asynchronous, local, nodev, nosuid, size=261120 512-blocks)