no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | newfs [2013/08/22 18:04] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== newfs ====== | ||
| + | * [[Filesystems]] | ||
| + | * [[NetBSD]] | ||
| + | * [[OpenBSD]] | ||
| + | * [[disklabel]] | ||
| + | * [[fdisk]] | ||
| + | * [[raidctl]] | ||
| + | * [[softraid]] | ||
| + | |||
| + | Create a new UFS filesystem. | ||
| + | |||
| + | ==== NetBSD ==== | ||
| + | |||
| + | Before creating a filesystem, use [[disklabel]] to create a slice. | ||
| + | |||
| + | You must use the **raw** device to create a filesystem: | ||
| + | |||
| + | < | ||
| + | newfs -O 2 /dev/rsd1d | ||
| + | </ | ||
| + | |||
| + | Use the **block** device to mount the new filesystem: | ||
| + | |||
| + | < | ||
| + | mount /dev/sd1d /mnt/newfs | ||
| + | </ | ||