162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig UFS_FS
362306a36Sopenharmony_ci	tristate "UFS file system support (read only)"
462306a36Sopenharmony_ci	depends on BLOCK
562306a36Sopenharmony_ci	select BUFFER_HEAD
662306a36Sopenharmony_ci	help
762306a36Sopenharmony_ci	  BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
862306a36Sopenharmony_ci	  OpenBSD and NeXTstep) use a file system called UFS. Some System V
962306a36Sopenharmony_ci	  Unixes can create and mount hard disk partitions and diskettes using
1062306a36Sopenharmony_ci	  this file system as well. Saying Y here will allow you to read from
1162306a36Sopenharmony_ci	  these partitions; if you also want to write to them, say Y to the
1262306a36Sopenharmony_ci	  experimental "UFS file system write support", below. Please read the
1362306a36Sopenharmony_ci	  file <file:Documentation/admin-guide/ufs.rst> for more information.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci          The recently released UFS2 variant (used in FreeBSD 5.x) is
1662306a36Sopenharmony_ci          READ-ONLY supported.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  Note that this option is generally not needed for floppies, since a
1962306a36Sopenharmony_ci	  good portable way to transport files and directories between unixes
2062306a36Sopenharmony_ci	  (and even other operating systems) is given by the tar program ("man
2162306a36Sopenharmony_ci	  tar" or preferably "info tar").
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci	  When accessing NeXTstep files, you may need to convert them from the
2462306a36Sopenharmony_ci	  NeXT character set to the Latin1 character set; use the program
2562306a36Sopenharmony_ci	  recode ("info recode") for this purpose.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  To compile the UFS file system support as a module, choose M here: the
2862306a36Sopenharmony_ci	  module will be called ufs.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	  If you haven't heard about all of this before, it's safe to say N.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig UFS_FS_WRITE
3362306a36Sopenharmony_ci	bool "UFS file system write support (DANGEROUS)"
3462306a36Sopenharmony_ci	depends on UFS_FS
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Say Y here if you want to try writing to UFS partitions. This is
3762306a36Sopenharmony_ci	  experimental, so you should back up your UFS partitions beforehand.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig UFS_DEBUG
4062306a36Sopenharmony_ci	bool "UFS debugging"
4162306a36Sopenharmony_ci	depends on UFS_FS
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  If you are experiencing any problems with the UFS filesystem, say
4462306a36Sopenharmony_ci	  Y here.  This will result in _many_ additional debugging messages to be
4562306a36Sopenharmony_ci	  written to the system log.
46