$ ls -l LINUX

> Quick note: Encrypted ext4
> Read more ...

This is a log on minimal setup of dm-crypt.

ref: Archwiki/dm-encrypt


> [LINUX] A simple kernel module
> Read more ...

A simple kernel module(example code in LDD).


> [LINUX] Major & Minor Numbers of device files
> Read more ...

Some notes on linux device files.


> [LINUX] several mount commands
> Read more ...

Quick Notes on Several common mount commands


> Installing Archlinux on removable media
> Read more ...

this is actually…a log of how i fucked up.


> [LINUX] multiple ssh operations in scripts
> Read more ... z.B. upload a file to the server using scp and call a script on the server to handle the file(in this case: call lp to print it). #!/usr/bin/sh USER="username" HOST="xx.xx.xx.xx" FILE="$*" scp $FILE $USER"@"$HOST":~/TEMP/TASK" ssh $USER"@"$HOST "lp ~/TEMP/TASK" the scripts will ask remote password twice since scp and ssh don’t share a SSH session. Of course the best solution to this is using pub key. Another solution to prevent multiple password input is to ask for password input with read -s from command line and use sshpass to provide password for scp and ssh.

> 有关UUID
> Read more ...

前阵子我的系统闹鬼了:明明使用genfstab指定了挂载sdb1到/boot,每次系统挂上去的却是sda2.


> [Arch] 一些archlinux的配置文件
> Read more ...

本帖日常更新


seite: 1/1