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