Bwoywan
V2EX  ›  问与答

Autofs 无法自动挂载 usb drive

  •  
  •   Bwoywan · Dec 25, 2019 · 1126 views
    This topic created in 2330 days ago, the information mentioned may be changed or developed.

    dmesg output on paste ubuntu 大致信息就是类似
    Can't find valid F2FS filesystem in 2th superblock 的报错。

    系统 armbian

    cat /proc/version
    Linux version 5.4.2-rockchip64 (root@wind-pc) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #19.11.3 SMP PREEMPT Wed Dec 11 18:03:10 CST 2019
    
    sudo hostnamectl
       Static hostname: rock64
             Icon name: computer
      Operating System: Debian GNU/Linux 9 (stretch)
                Kernel: Linux 5.4.2-rockchip64
          Architecture: arm64
    

    目前用的就是 autofs 实现在尝试访问设备时,才自动挂载,但是不知道什么时候开始就有问题了,


    auto.misc

     /media/root/auto_sda1   -fstype=auto,umask=0022,gid=1001,uid=1000,iocharset=utf8                :/dev/sda1
    

    这是配置文件。 两个硬盘,其中一个是 fat32 另一个是 ext4 都无法自动挂载,但是同样的挂载选项,手动挂载是没问题的,就很疑惑。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1728 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 00:00 · PVG 08:00 · LAX 17:00 · JFK 20:00
    ♥ Do have faith in what you're doing.