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