18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig UFS_FS
38c2ecf20Sopenharmony_ci	tristate "UFS file system support (read only)"
48c2ecf20Sopenharmony_ci	depends on BLOCK
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
78c2ecf20Sopenharmony_ci	  OpenBSD and NeXTstep) use a file system called UFS. Some System V
88c2ecf20Sopenharmony_ci	  Unixes can create and mount hard disk partitions and diskettes using
98c2ecf20Sopenharmony_ci	  this file system as well. Saying Y here will allow you to read from
108c2ecf20Sopenharmony_ci	  these partitions; if you also want to write to them, say Y to the
118c2ecf20Sopenharmony_ci	  experimental "UFS file system write support", below. Please read the
128c2ecf20Sopenharmony_ci	  file <file:Documentation/admin-guide/ufs.rst> for more information.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci          The recently released UFS2 variant (used in FreeBSD 5.x) is
158c2ecf20Sopenharmony_ci          READ-ONLY supported.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci	  Note that this option is generally not needed for floppies, since a
188c2ecf20Sopenharmony_ci	  good portable way to transport files and directories between unixes
198c2ecf20Sopenharmony_ci	  (and even other operating systems) is given by the tar program ("man
208c2ecf20Sopenharmony_ci	  tar" or preferably "info tar").
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  When accessing NeXTstep files, you may need to convert them from the
238c2ecf20Sopenharmony_ci	  NeXT character set to the Latin1 character set; use the program
248c2ecf20Sopenharmony_ci	  recode ("info recode") for this purpose.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	  To compile the UFS file system support as a module, choose M here: the
278c2ecf20Sopenharmony_ci	  module will be called ufs.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	  If you haven't heard about all of this before, it's safe to say N.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig UFS_FS_WRITE
328c2ecf20Sopenharmony_ci	bool "UFS file system write support (DANGEROUS)"
338c2ecf20Sopenharmony_ci	depends on UFS_FS
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  Say Y here if you want to try writing to UFS partitions. This is
368c2ecf20Sopenharmony_ci	  experimental, so you should back up your UFS partitions beforehand.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig UFS_DEBUG
398c2ecf20Sopenharmony_ci	bool "UFS debugging"
408c2ecf20Sopenharmony_ci	depends on UFS_FS
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  If you are experiencing any problems with the UFS filesystem, say
438c2ecf20Sopenharmony_ci	  Y here.  This will result in _many_ additional debugging messages to be
448c2ecf20Sopenharmony_ci	  written to the system log.
45