mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 11:06:43 +07:00
cbcae39fa1
These series of patches add UFS2 write-support. UFS2 - is default file system for recent versions of FreeBSD. The main differences from UFS1 from write support point of view are: 1)Not all inodes are allocated during formatation of disk. 2)All meta-data(pointer to data blocks) are 64bit(in UFS1 they are 32bit). So patch series consist of 1)make possible mount UFS2 in read-write mode 2)code to write ufs2 inodes and code to initialize inodes chunks. 3)work with 64bit meta-data I made simple testing like create/deleting/writing/reading/truncating, also I ran fsx-linux and untar and build kernel on UFS1 and UFS2, after that FreeBSD fsck do not find any errors in fs. This patch makes possible to mount ufs2 "rw", and updates UFS2 documentation: remove note about bug(it fixed by reallocate blocks on the fly patch) and add me in the list of people who want receive bug reports. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
USING UFS
|
|
=========
|
|
|
|
mount -t ufs -o ufstype=type_of_ufs device dir
|
|
|
|
|
|
UFS OPTIONS
|
|
===========
|
|
|
|
ufstype=type_of_ufs
|
|
UFS is a file system widely used in different operating systems.
|
|
The problem are differences among implementations. Features of
|
|
some implementations are undocumented, so its hard to recognize
|
|
type of ufs automatically. That's why user must specify type of
|
|
ufs manually by mount option ufstype. Possible values are:
|
|
|
|
old old format of ufs
|
|
default value, supported as read-only
|
|
|
|
44bsd used in FreeBSD, NetBSD, OpenBSD
|
|
supported as read-write
|
|
|
|
ufs2 used in FreeBSD 5.x
|
|
supported as read-write
|
|
|
|
5xbsd synonym for ufs2
|
|
|
|
sun used in SunOS (Solaris)
|
|
supported as read-write
|
|
|
|
sunx86 used in SunOS for Intel (Solarisx86)
|
|
supported as read-write
|
|
|
|
hp used in HP-UX
|
|
supported as read-only
|
|
|
|
nextstep
|
|
used in NextStep
|
|
supported as read-only
|
|
|
|
nextstep-cd
|
|
used for NextStep CDROMs (block_size == 2048)
|
|
supported as read-only
|
|
|
|
openstep
|
|
used in OpenStep
|
|
supported as read-only
|
|
|
|
|
|
POSSIBLE PROBLEMS
|
|
=================
|
|
|
|
See next section, if you have any.
|
|
|
|
|
|
BUG REPORTS
|
|
===========
|
|
|
|
Any ufs bug report you can send to daniel.pirkl@email.cz or
|
|
to dushistov@mail.ru (do not send partition tables bug reports).
|