小编gue*_*tli的帖子

检查 eMMC 的健康状况

如何使用 linux 检查 eMMC 的健康状况?

看来smartctl处理不了了:

root@om:~# smartctl -a /dev/mmcblk0
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-63-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/mmcblk0: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
Run Code Online (Sandbox Code Playgroud)

我猜没有类型匹配 eMMC。我看到这些类型smartctl -h

 -d TYPE, --device=TYPE
 Specify device type to one of: ata, scsi, sat[,auto][,N][+TYPE],
 usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E,
 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test
Run Code Online (Sandbox Code Playgroud)

如果你好奇,这里是我的奥德赛日志:https : //github.com/guettli/linux-on-emmc/blob/master/README.rst

linux monitoring hard-drive

18
推荐指数
2
解决办法
2万
查看次数

如何禁用 SuSEfirewall2?

如何从 shell(没有 yast)禁用 SuSEfirewall2?

我们使用 OpenSuSE 12.3

我尝试过这个:

workdevel123:~ # systemctl disable SuSEfirewall2.service
Run Code Online (Sandbox Code Playgroud)

但我认为这不是解决方案:

workdevel123:~ # systemctl is-enabled SuSEfirewall2.service
Failed to issue method call: No such file or directory
Run Code Online (Sandbox Code Playgroud)

firewall opensuse

9
推荐指数
1
解决办法
6万
查看次数

sudo: 抱歉,root 用户不能执行

此命令在 OpenSuSE 11.4 上失败:

root@host# sudo -S -u "coreapp_customer1_d" -g "coreapp_customer1_d"  /bin/bash -l -c "mkdir -p /home/coreapp_customer1_d/.ssh"
Run Code Online (Sandbox Code Playgroud)

这条消息:

Sorry, user root is not allowed to execute 
'/bin/bash -l -c mkdir -p /home/coreapp_customer1_d/.ssh' 
as coreapp_customer1_d:coreapp_customer1_d
on workdevel114.
Run Code Online (Sandbox Code Playgroud)

但它适用于 OpenSuSE 12.3。

我比较了两个系统的 /etc/sudoers 文件,并且(注释行除外)它们是相同的。

linux sudo opensuse

8
推荐指数
2
解决办法
7万
查看次数

在 ImageMagick 中使用 GIMP 颜色曲线

我用 GIMP 创建了一条颜色曲线。它看起来像这样:

~/.gimp2.8/curves/selphy
Run Code Online (Sandbox Code Playgroud)

(只是第一行)

# GIMP curves tool settings

(time 0)
(channel value)
(curve
    (curve-type smooth)
    (n-points 17)
    (points 34 0.000000 0.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 0.375000 0.490637 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 1.000000 1.000000)
    (n-samples 256)
    (samples 256 .....
Run Code Online (Sandbox Code Playgroud)

我想用转换(ImageMagick)批量处理一些图像。

有没有办法使用这条曲线convert

gimp imagemagick

5
推荐指数
1
解决办法
1537
查看次数

标签 统计

linux ×2

opensuse ×2

firewall ×1

gimp ×1

hard-drive ×1

imagemagick ×1

monitoring ×1

sudo ×1