1# SPDX-License-Identifier: GPL-2.0-only
2config UFS_FS
3	tristate "UFS file system support (read only)"
4	depends on BLOCK
5	select BUFFER_HEAD
6	help
7	  BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
8	  OpenBSD and NeXTstep) use a file system called UFS. Some System V
9	  Unixes can create and mount hard disk partitions and diskettes using
10	  this file system as well. Saying Y here will allow you to read from
11	  these partitions; if you also want to write to them, say Y to the
12	  experimental "UFS file system write support", below. Please read the
13	  file <file:Documentation/admin-guide/ufs.rst> for more information.
14
15          The recently released UFS2 variant (used in FreeBSD 5.x) is
16          READ-ONLY supported.
17
18	  Note that this option is generally not needed for floppies, since a
19	  good portable way to transport files and directories between unixes
20	  (and even other operating systems) is given by the tar program ("man
21	  tar" or preferably "info tar").
22
23	  When accessing NeXTstep files, you may need to convert them from the
24	  NeXT character set to the Latin1 character set; use the program
25	  recode ("info recode") for this purpose.
26
27	  To compile the UFS file system support as a module, choose M here: the
28	  module will be called ufs.
29
30	  If you haven't heard about all of this before, it's safe to say N.
31
32config UFS_FS_WRITE
33	bool "UFS file system write support (DANGEROUS)"
34	depends on UFS_FS
35	help
36	  Say Y here if you want to try writing to UFS partitions. This is
37	  experimental, so you should back up your UFS partitions beforehand.
38
39config UFS_DEBUG
40	bool "UFS debugging"
41	depends on UFS_FS
42	help
43	  If you are experiencing any problems with the UFS filesystem, say
44	  Y here.  This will result in _many_ additional debugging messages to be
45	  written to the system log.
46