AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题

问题[void-linux](unix)

Martin Hope
Austin Rojers
Asked: 2021-09-26 03:01:03 +0800 CST

对如何设置 snapper BTRFS 快照有点困惑

  • 0

我已经安装了 void Linux 创建的子卷重定向了根重新安装了 grub 并且我启动正常。

这是我的 /etc/fstab :

UUID=D7C4-586F                            /boot/efi      vfat    defaults 0 2
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /              btrfs   subvol=/@,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /root          btrfs   subvol=/@root,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /var/cache     btrfs   subvol=/@cache,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /var/log       btrfs   subvol=/@log,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=8b0e6c9e-3bcb-48b5-b014-94be842e8b53 /home          btrfs   subvol=/@home,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0

UUID=15097b82-144a-4534-b9c5-e12bc550478b none           swap    sw 0 0
tmpfs                                     /tmp           tmpfs   defaults,nosuid,nodev 0 0

我已将 Void 安装到单个分区中。

现在我不知道如何分别为 @ 和 @home 子卷创建 snapper 配置

在为 Btrfs 子卷创建 snapper 配置之前,该子卷必须已经存在。如果没有,您应该在生成 snapper 配置之前创建它。

要为位于 /path/to/subvolume 的 Btrfs 子卷创建名为 config 的新 snapper 配置,请运行:

snapper -c config create-config /path/to/subvolume

但在我的情况下,子卷“@”和“@home”的路径是什么?

如何在 Void Linux 中安装 snapper-GUI?

btrfs void-linux
  • 1 个回答
  • 457 Views
Martin Hope
Tcll
Asked: 2019-05-14 03:01:04 +0800 CST

如何在 Void Linux 中启用核心转储?

  • 0

我看到的一切都告诉我通过 配置核心转储ulimit,但 Void 没有这个命令(至少不是开箱即用的)。我似乎找不到任何相关结果来帮助我启用它们。

我使用 Void 是因为它比使用systemd.

我需要启用核心转储以帮助他们获得正确的调试信息。

有谁知道如何做到这一点?

core-dump void-linux
  • 2 个回答
  • 345 Views
Martin Hope
CameronNemo
Asked: 2019-03-08 18:43:17 +0800 CST

如何修复 /usr/share/mime 中文件的损坏权限?

  • 1

有时在 Void Linux 上,GDK 会由于对/usr/share/mime.

任何 GTK 应用程序都会出现如下错误:

(evince:14593): Gtk-WARNING **: 11:32:26.476: Could not load a pixbuf from icon theme.

This may indicate that pixbuf loaders or the mime database could not be found. 

错误的权限通常看起来像(注意所有文件的模式都是 640):

-rw-r----- 1 root root  10773 Mar  1 13:37 aliases
drwxr-xr-x 1 root root  17650 Mar  1 13:37 application/
drwxr-xr-x 1 root root   1264 Mar  1 13:37 audio/
drwxr-xr-x 1 root root     72 Mar  1 13:37 font/
-rw-r----- 1 root root  21733 Mar  1 13:37 generic-icons
-rw-r----- 1 root root  31371 Mar  1 13:37 globs
-rw-r----- 1 root root  34843 Mar  1 13:37 globs2
-rw-r----- 1 root root     20 Mar  1 13:37 icons
drwxr-xr-x 1 root root   2474 Mar  1 13:37 image/
drwxr-xr-x 1 root root   5868 Mar  1 13:37 inode/
-rw-r----- 1 root root  28142 Mar  1 13:37 magic
drwxr-xr-x 1 root root    216 Mar  1 13:37 message/
-rw-r----- 1 root root 147456 Mar  1 13:37 mime.cache
drwxr-xr-x 1 root root     46 Mar  1 13:37 model/
drwxr-xr-x 1 root root    224 Mar  1 13:37 multipart/
drwxr-xr-x 1 root root    136 Mar  1 13:37 packages/
-rw-r----- 1 root root  17811 Mar  1 13:37 subclasses
drwxr-xr-x 1 root root   3220 Mar  1 13:37 text/
-rw-r----- 1 root root    964 Mar  1 13:37 treemagic
-rw-r----- 1 root root  21842 Mar  1 13:37 types
-rw-r----- 1 root root      5 Mar  1 13:37 version
drwxr-xr-x 1 root root    688 Mar  1 13:37 video/
drwxr-xr-x 1 root root    522 Mar  1 13:37 x-content/
drwxr-xr-x 1 root root     28 Mar  1 13:37 x-epoc/
-rw-r----- 1 root root   1775 Mar  1 13:37 XMLnamespaces

要修复这种情况,必须固定权限,然后必须重新生成 mime 数据库和 gdk pixbuf 缓存。

修复权限以使文件为 644 的最佳方法是什么?

void-linux
  • 2 个回答
  • 1345 Views
Martin Hope
bart van deenen
Asked: 2018-12-28 02:58:56 +0800 CST

恢复 /usr 下更改的文件所有权,Void Linux

  • 0

失去理智后,我chown -R root:root /usr在 Void Linux 系统上做了

ls -lR /usr有人能把 Void 系统上的结果邮寄给我吗?我将检查更改,让一切再次正常运行,并在此问题中发布我的发现。

根据 msp9011 的回复,并意识到我需要 xfce4、networkmanager 系统的信息,请从以下位置发布结果:

find /usr/ \(  -perm -4000 \)  -exec ls -l {} +

和

find /usr/ \( ! -group root \)  -exec ls -l {} +

你能在某处分享结果吗?

PS 只是重新安装 Void 很痛苦,因为我正在进行长途旅行,而且我的互联网访问通常是通过蜂窝网络或糟糕的 wifi 进行的。

chown void-linux
  • 3 个回答
  • 169 Views
Martin Hope
Tornado547
Asked: 2018-06-15 16:32:47 +0800 CST

找不到包“fontconfig”

  • 0

尝试在 voidlinux 上编译Luke Smith 的 st分支时,出现错误

Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing "fontconfig..pc"

使用该find命令时,我在任何地方都找不到 .pc 文件,但是运行xbps-install显示它已经安装。

void-linux
  • 1 个回答
  • 1315 Views
Martin Hope
digitalXmage
Asked: 2018-05-30 15:39:30 +0800 CST

如何在 x200 thinkpad 上为 Void Linux 安装网络驱动程序?

  • 0

介绍

我已经在 x200 thinkpad 上安装了 void linux,使用以太网电缆进行了最小安装,因为我无法使用 wifi 连接。

问题

ipa

我的 wifi 设备没有 IP 地址。我认为这是因为我没有安装 wifi 驱动程序:

lspci

03:00.0 网络控制器:Intel Corporation PRO/Wireless 5100 AGN [Shiloh] 网络连接

我查询了 void linux musl 存储库,但找不到 5100 AGN wifi 驱动程序包。如何安装驱动程序以使我的 wifi 卡工作并连接到互联网?

wifi void-linux
  • 2 个回答
  • 4319 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve