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