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