mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
925c86a19b
Add a new config option that controls building the buffer_head code, and select it from all file systems and stacking drivers that need it. For the block device nodes and alternative iomap based buffered I/O path is provided when buffer_head support is not enabled, and iomap needs a a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call into the buffer_head code when it doesn't exist. Otherwise this is just Kconfig and ifdef changes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20230801172201.1923299-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config UFS_FS
|
|
tristate "UFS file system support (read only)"
|
|
depends on BLOCK
|
|
select BUFFER_HEAD
|
|
help
|
|
BSD and derivate versions of Unix (such as SunOS, FreeBSD, NetBSD,
|
|
OpenBSD and NeXTstep) use a file system called UFS. Some System V
|
|
Unixes can create and mount hard disk partitions and diskettes using
|
|
this file system as well. Saying Y here will allow you to read from
|
|
these partitions; if you also want to write to them, say Y to the
|
|
experimental "UFS file system write support", below. Please read the
|
|
file <file:Documentation/admin-guide/ufs.rst> for more information.
|
|
|
|
The recently released UFS2 variant (used in FreeBSD 5.x) is
|
|
READ-ONLY supported.
|
|
|
|
Note that this option is generally not needed for floppies, since a
|
|
good portable way to transport files and directories between unixes
|
|
(and even other operating systems) is given by the tar program ("man
|
|
tar" or preferably "info tar").
|
|
|
|
When accessing NeXTstep files, you may need to convert them from the
|
|
NeXT character set to the Latin1 character set; use the program
|
|
recode ("info recode") for this purpose.
|
|
|
|
To compile the UFS file system support as a module, choose M here: the
|
|
module will be called ufs.
|
|
|
|
If you haven't heard about all of this before, it's safe to say N.
|
|
|
|
config UFS_FS_WRITE
|
|
bool "UFS file system write support (DANGEROUS)"
|
|
depends on UFS_FS
|
|
help
|
|
Say Y here if you want to try writing to UFS partitions. This is
|
|
experimental, so you should back up your UFS partitions beforehand.
|
|
|
|
config UFS_DEBUG
|
|
bool "UFS debugging"
|
|
depends on UFS_FS
|
|
help
|
|
If you are experiencing any problems with the UFS filesystem, say
|
|
Y here. This will result in _many_ additional debugging messages to be
|
|
written to the system log.
|