#
# Filesystem configuration
#
mainmenu_option next_comment
comment 'Filesystems'

bool	 'Quota support' CONFIG_QUOTA
tristate 'Kernel automounter support' CONFIG_AUTOFS_FS


if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  tristate 'ADFS filesystem support (read only) (EXPERIMENTAL)' CONFIG_ADFS_FS
fi
tristate 'Amiga FFS filesystem support' CONFIG_AFFS_FS
tristate 'Apple Macintosh filesystem support (experimental)' CONFIG_HFS_FS
# msdos filesystems
tristate 'DOS FAT fs support' CONFIG_FAT_FS
dep_tristate '  MSDOS fs support' CONFIG_MSDOS_FS $CONFIG_FAT_FS
dep_tristate '  UMSDOS: Unix-like filesystem on top of standard MSDOS filesystem' CONFIG_UMSDOS_FS $CONFIG_MSDOS_FS
dep_tristate '  VFAT (Windows-95) fs support' CONFIG_VFAT_FS $CONFIG_FAT_FS

tristate 'ISO 9660 CDROM filesystem support' CONFIG_ISO9660_FS
if [ "$CONFIG_ISO9660_FS" != "n" ]; then
  bool 'Microsoft Joliet CDROM extensions' CONFIG_JOLIET
else
  # needed by nls/Config.in
  define_bool CONFIG_JOLIET n
fi

tristate 'Minix fs support' CONFIG_MINIX_FS
tristate 'NTFS filesystem support (read only)' CONFIG_NTFS_FS
if [ "$CONFIG_NTFS_FS" != "n" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
  bool '   NTFS read-write support (DANGEROUS)' CONFIG_NTFS_RW
fi
tristate 'OS/2 HPFS filesystem support (read only)' CONFIG_HPFS_FS
bool '/proc filesystem support' CONFIG_PROC_FS
if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
  # It compiles as a module for testing only.  It should not be used
  # as a module in general.  If we make this "tristate", a bunch of people
  # who don't know what they are doing turn it on and complain when it
  # breaks.
  bool '/dev/pts filesystem for Unix98 PTYs' CONFIG_DEVPTS_FS
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  tristate 'QNX4 filesystem support (read only) (EXPERIMENTAL)' CONFIG_QNX4FS_FS
  if [ "$CONFIG_QNX4FS_FS" != "n" ]; then
    bool '   QNX4FS write support (DANGEROUS)' CONFIG_QNX4FS_RW
  fi    
fi
tristate 'ROM filesystem support' CONFIG_ROMFS_FS
tristate 'Second extended fs support' CONFIG_EXT2_FS
tristate 'System V and Coherent filesystem support' CONFIG_SYSV_FS
tristate 'UFS filesystem support' CONFIG_UFS_FS
if [ "$CONFIG_UFS_FS" != "n" ]; then
  bool '   UFS filesystem write support (experimental)' CONFIG_UFS_FS_WRITE
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  tristate 'SGI EFS filesystem support (read only) (experimental)' CONFIG_EFS_FS
  if [ "$CONFIG_EFS_FS" != "n" ]; then
    define_bool CONFIG_SGI_PARTITION y
  fi
fi

if [ "$CONFIG_NET" = "y" ]; then

mainmenu_option next_comment
comment 'Network File Systems'

if [ "$CONFIG_INET" = "y" ]; then
  tristate 'Coda filesystem support (advanced network fs)' CONFIG_CODA_FS
  tristate 'NFS filesystem support' CONFIG_NFS_FS
  if [ "$CONFIG_NFS_FS" != "n" ]; then
    bool '   NFS Version 3 filesystem support' CONFIG_NFS_V3
  fi
  if [ "$CONFIG_NFS_FS" = "y" -a "$CONFIG_IP_PNP" = "y" ]; then
    bool '   Root file system on NFS' CONFIG_ROOT_NFS
  fi
  tristate 'NFS server support' CONFIG_NFSD
  if [ "$CONFIG_NFSD" != "n" ]; then
    bool '   NFS Version 3 server support' CONFIG_NFSD_V3
    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
      bool '   NFS server TCP support (VERY EXPERIMENTAL)' CONFIG_NFSD_TCP
    fi
  fi
  if [ "$CONFIG_NFS_FS" = "y" -o "$CONFIG_NFSD" = "y" ]; then
    define_bool CONFIG_SUNRPC y
    define_bool CONFIG_LOCKD y
  else
    if [ "$CONFIG_NFS_FS" = "m" -o "$CONFIG_NFSD" = "m" ]; then
      define_bool CONFIG_SUNRPC m
      define_bool CONFIG_LOCKD m
    else
      define_bool CONFIG_SUNRPC n
      define_bool CONFIG_LOCKD n
    fi
  fi
  tristate 'SMB filesystem support (to mount WfW shares etc.)' CONFIG_SMB_FS
  if [ "$CONFIG_SMB_FS" != "n" ]; then
     bool '   Use a default NLS' CONFIG_SMB_NLS_DEFAULT
     if [ "$CONFIG_SMB_NLS_DEFAULT" = "y" ]; then
        string '  Default Remote NLS Option' CONFIG_SMB_NLS_REMOTE "cp437"
     fi
  fi   
fi
if [ "$CONFIG_IPX" != "n" -o "$CONFIG_INET" != "n" ]; then
  tristate 'NCP filesystem support (to mount NetWare volumes)' CONFIG_NCP_FS
  if [ "$CONFIG_NCP_FS" != "n" ]; then
    source fs/ncpfs/Config.in
  fi
fi

endmenu
fi

mainmenu_option next_comment
comment 'Partition Types'

bool 'BSD disklabel (BSD partition tables) support' CONFIG_BSD_DISKLABEL
bool 'Macintosh partition map support' CONFIG_MAC_PARTITION
bool 'Minix subpartition support' CONFIG_MINIX_SUBPARTITION
bool 'SMD disklabel (Sun partition tables) support' CONFIG_SMD_DISKLABEL
bool 'Solaris (x86) partition table support' CONFIG_SOLARIS_X86_PARTITION
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  bool 'Unixware slices support (EXPERIMENTAL)' CONFIG_UNIXWARE_DISKLABEL
fi
endmenu

if [ "$CONFIG_AFFS_FS" != "n" ]; then
  define_bool CONFIG_AMIGA_PARTITION y
fi

source fs/nls/Config.in

endmenu
