mount: tmpfs: Operation not supported by device

Romu huruomu at gmail.com
Sat Oct 10 06:14:27 UTC 2015


Hi,

I can't mount tmpfs:

> sudo mount /tmp
mount: tmpfs: Operation not supported by device

In my fstab:
tmpfs   /tmp   tmpfs   rw      0       0

My kernel amd64 config:

cpu             HAMMER
ident           MYKERNCONFIG
options         SCHED_ULE               # ULE scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         TCP_OFFLOAD             # TCP offload
options         SCTP                    # Stream Control Transmission
Protocol
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_DIRHASH             # Improve performance on big
directories
options         UFS_GJOURNAL            # Enable gjournal-based UFS
journaling
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires
PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_FREEBSD32        # Compatible with i386 binaries
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         STACK                   # stack(9) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options         PRINTF_BUFR_SIZE=128    # Prevent printf output being
interspersed.
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AUDIT                   # Security event auditing
options         PROCDESC                # Support for process descriptors
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
  tions         RACCT                   # Resource accounting framework
options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by
default
options         RCTL                    # Resource limits
options         KDB                     # Enable kernel debugger support.
options         KDB_TRACE               # Print a stack trace for a panic.
options         SMP                     # Symmetric MultiProcessor Kernel
device          cpufreq
device          acpi
options         ACPI_DMAR
device          pci
device          ahci                    # AHCI-compatible SATA controllers
device          mpt                     # LSI-Logic MPT-Fusion
device          scbus                   # SCSI bus (required for ATA/SCSI)
device          ch                      # SCSI media changers
device          da                      # Direct Access (disks)
device          pass                    # Passthrough device (direct
ATA/SCSI access)
device          atkbdc                  # AT keyboard controller
device          atkbd                   # AT keyboard
device          vga                     # VGA video card driver
options         VESA                    # Add support for VESA BIOS
Extensions (VBE)
device          sc
options         SC_PIXEL_MODE           # add support for the raster text
mode
device          uart                    # Generic UART driver
device          em                      # Intel PRO/1000 Gigabit Ethernet
Family
device          le                      # AMD Am7900 LANCE and Am79C9xx
PCnet
device          loop                    # Network loopback
device          random                  # Entropy device
device          ether                   # Ethernet support
device          vlan                    # 802.1Q VLAN support
device          tun                     # Packet tunnel.
device          md                      # Memory "disks"
device          bpf                     # Berkeley packet filter
device          uhci                    # UHCI PCI->USB interface
device          ohci                    # OHCI PCI->USB interface
device          ehci                    # EHCI PCI->USB interface (USB 2.0)
device          xhci                    # XHCI PCI->USB interface (USB 3.0)
device          usb                     # USB Bus (required)
device          ukbd                    # Keyboard

My /etc/make.conf:

CPUTYPE?=native
MODULES_OVERRIDE=


Thanks
Romu


More information about the freebsd-questions mailing list