dot

packages and services management
Log | Files | Refs | README

commit 1396e0d944d8a32984f114e59ad4b0466d42698c
parent a52d5e7405d833942fc3867c4f2c4d54e076656b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 22 Jul 2018 23:56:28 +0200

fs can not work with chroot if you use symlinks

Diffstat:
Dbin/fs-check | 12------------
Dbin/fs-make | 12------------
Dbin/fs-mount | 14--------------
Dbin/fs-umount | 10----------
Dfs/key/check | 3---
Dfs/key/dev | 1-
Dfs/key/fstype | 1-
Dfs/key/mount/... | 0
Dfs/key/opts | 0
Dfs/lib/check | 2--
Dfs/lib/dev | 1-
Dfs/lib/fstype | 1-
Dfs/lib/mount-opts | 0
Dfs/lib/mount/... | 0
Dfs/lib/rdev | 2--
15 files changed, 0 insertions(+), 59 deletions(-)

diff --git a/bin/fs-check b/bin/fs-check @@ -1,12 +0,0 @@ -#!/bin/sh -e - -if test $# != 1 -then echo 'usage: fs-check name' - echo '' - ls /fs/ - exit 1 -fi - -IFS='' read -r dev </fs/$1/dev - -exec "/fs/$1/check" "$dev" diff --git a/bin/fs-make b/bin/fs-make @@ -1,12 +0,0 @@ -#!/bin/sh -e - -if test $# != 1 -then echo 'usage: fs-mount name' - echo '' - ls /fs/ - exit 1 -fi - -IFS='' read -r dev </fs/$1/dev - -exec "/fs/$1/make" "$dev" diff --git a/bin/fs-mount b/bin/fs-mount @@ -1,14 +0,0 @@ -#!/bin/sh -ex - -if test $# != 1 -then echo 'usage: fs-mount name' - echo '' - ls /fs/ - exit 1 -fi - -read -r fstype </fs/$1/fstype -read -r opts </fs/$1/opts -read -r dev </fs/$1/dev - -exec mount -t "$fstype" -o "$opts" "$dev" "/fs/$1/mount" diff --git a/bin/fs-umount b/bin/fs-umount @@ -1,10 +0,0 @@ -#!/bin/sh -e - -if test $# != 1 -then echo 'usage: fs-umount name' - echo '' - ls /fs/ - exit 1 -fi - -exec umount "/fs/$1/mount" diff --git a/fs/key/check b/fs/key/check @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec fsck.vfat "$@" diff --git a/fs/key/dev b/fs/key/dev @@ -1 +0,0 @@ -UUID=0AF6-D62A diff --git a/fs/key/fstype b/fs/key/fstype @@ -1 +0,0 @@ -vfat diff --git a/fs/key/mount/... b/fs/key/mount/... diff --git a/fs/key/opts b/fs/key/opts diff --git a/fs/lib/check b/fs/lib/check @@ -1,2 +0,0 @@ -#!/bin/sh -e -exit 1 diff --git a/fs/lib/dev b/fs/lib/dev @@ -1 +0,0 @@ -/dev/sdb diff --git a/fs/lib/fstype b/fs/lib/fstype @@ -1 +0,0 @@ -9p diff --git a/fs/lib/mount-opts b/fs/lib/mount-opts diff --git a/fs/lib/mount/... b/fs/lib/mount/... diff --git a/fs/lib/rdev b/fs/lib/rdev @@ -1 +0,0 @@ -dev- \ No newline at end of file