[自用] btrfs fstab

@Ta 2020-12-14发布,2020-12-15修改 2415点击
root@hu60tx:~# cat /etc/fstab
# /dev/nvme1n1p2
UUID=fb5899d8-57a4-4476-9f22-1c4f7e364d81       /               btrfs           rw,relatime,ssd,space_cache,discard=async                       0 0
UUID=fb5899d8-57a4-4476-9f22-1c4f7e364d81       /parent         btrfs           rw,relatime,ssd,space_cache,discard=async,subvolid=0            0 0

UUID=3f0842c7-29e8-4220-93da-e3fea5b3bbcd       /data           btrfs           rw,relatime,ssd,space_cache,discard=async,subvolid=0            0 0

# /dev/nvme1n1p1 LABEL=EFI\040System\040Partition
UUID=2A5B-83D2          /boot/efi       vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# bind
/data/work            /work                   none    bind    0       0
/data/work            /home/hu60/work         none    bind    0       0
/data/games           /home/hu60/Games        none    bind    0       0
/data/apps            /home/hu60/Apps         none    bind    0       0
/data/home/Desktop    /home/hu60/Desktop      none    bind    0       0
/data/home/Documents  /home/hu60/Documents    none    bind    0       0
/data/home/Downloads  /home/hu60/Downloads    none    bind    0       0
/data/home/Music      /home/hu60/Music        none    bind    0       0
/data/home/Pictures   /home/hu60/Pictures     none    bind    0       0
/data/home/Videos     /home/hu60/Videos       none    bind    0       0
回复列表(16)
  • @Ta / 2020-12-14
    我在哪,我是谁?这是啥?
  • @Ta / 2020-12-14
    懂的人自然懂,不懂的人说了也没用系列?
  • @Ta / 2020-12-14

    我知道这是开机自动挂载文件系统,,,,可还是没看懂帖子
    我们有着共同的敌人——天命;
    你却认命了,还对我说天命不可违‮

  • @Ta / 2020-12-15

    @MFVPNHAHA@ShadowNeuro@蓝猫淘气,这只是我的/etc/fstab,我忘记标自用。

  • @Ta / 2020-12-19
    09:32:18 fsmove: progress: 1.9% done, 110.6 gigabytes still to move
    09:32:34 fsmove: progress: 3.8% done, 108.5 gigabytes still to move, estimated 10 minutes left
    09:32:36 fsmove: ERROR: failed to open source file `/tmp/fstransform.mount.14309/var/lib/deepin/deepin_security_verify.whitelist': Operation not permitted
             
    09:32:36 ERROR! fstransform: command '/usr/sbin/fsmove -- /tmp/fstransform.mount.14309 /tmp/fstransform.loop.14309 --exclude /tmp/fstransform.mount.14309/.fstransform.loop.14309' failed (exit status 255)
                    this is potentially a problem.
                    you can either quit now by pressing ENTER or CTRL+C,
                    
                    or, if you know what went wrong, you can fix it yourself,
                    then manually run the command '/usr/sbin/fsmove -- /tmp/fstransform.mount.14309 /tmp/fstransform.loop.14309 --exclude /tmp/fstransform.mount.14309/.fstransform.loop.14309'
                    (or something equivalent)
                    and finally resume this script by typing CONTINUE and pressing ENTER: CONTINUE
    10:33:21 fstransform: unmounting and running '/usr/sbin/fsck' (disk check) on loop file '/tmp/fstransform.mount.14309/.fstransform.loop.14309'
    10:33:22 fsck: fsck from util-linux 2.33.1
    
  • @Ta / 2020-12-19
    10:33:54 fsremap: starting in-place remapping. this may take a LONG time ...
    10:35:21 fsremap: progress: 3.2% done, 110.4 gigabytes still to relocate
    11:11:06 fsremap: progress: 83.8% done,  21.3 gigabytes still to relocate, estimated  7 minutes left
    11:18:23 fsremap: clearing 1.49 gigabytes free-space from device ...
    11:56:59 fsremap: job completed.
    11:56:59 fstransform: running again '/usr/sbin/fsck' (disk check) on device '/dev/sda4'
    11:56:59 fsck: fsck from util-linux 2.33.1
    11:56:59 fstransform: completed successfully. device '/dev/sda4' now contains 'btrfs' file-system
    
  • @Ta / 2020-12-28
    ## Generated by deepin-installer
    deb [by-hash=force] https://home-packages.chinauos.com/home plum main contrib non-free
    #deb-src [by-hash=force] https://home-packages.chinauos.com/home plum main contrib non-free
    
    
    ## Generated by deepin-installer
    #deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
    #deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free
    
    
    #deb https://mirrors.aliyun.com/debian buster main contrib non-free
    deb https://mirrors.aliyun.com/debian buster-backports main contrib non-free
    #deb https://mirrors.huaweicloud.com/debian sid main contrib non-free
    #deb https://mirrors.huaweicloud.com/debian experimental main contrib non-free
    
  • @Ta / 2020-12-28
    /var/lib/deepin/developer-mode/enabled
    
  • @Ta / 01-02 22:22

    /usr/local/bin/chroot-system

    #!/bin/sh
    
    if [ "$1" = "" ]; then
        chroot
        exit
    fi
    
    cd "$1"
    mount --bind /dev dev
    mount --bind /dev/pts dev/pts
    mount --bind /dev/shm dev/shm
    
    mount --bind /proc proc
    mount --bind /sys sys
    mount --bind /run run
    mount --bind /tmp tmp
    
    mount --bind /boot/efi boot/efi
    
    if ! [ -f "etc/resolv.conf" ]; then
            rm etc/resolv.conf
            touch etc/resolv.conf
    fi
    mount --bind /etc/resolv.conf etc/resolv.conf
    
    chroot "$@"
    
    umount etc/resolv.conf boot/efi tmp run sys proc dev/shm dev/pts dev
    
  • @Ta / 01-05 15:56
    deb https://home-store-packages.chinauos.com/appstore eagle appstore
    
  • @Ta / 01-05 18:51
    @ShadowNeuro@MFVPNHAHA@蓝猫淘气@du2005http://isoyu.com/q.php/bbs.topic.94200.html
    可以参考一下一个。还是懂的懂。
添加新回复
回复需要登录

[聊天-公共聊天室] 呆哥:@寻梦xunm,你有装逼许可证吗 loc.cc / 非人类论坛