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