elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
rootfs_template
/
etc
/
mount.cfg
File editor
# # /etc/mount.cfg - script to check and mount filesystems at boot # # check_filesystem below must be manually uncommented for MINIX # #set -x fsck="fsck -r" # check a mounted filesystem check_mounted_filesystem() { echo -n "$fsck $1: " umount $1 $fsck $1 mount -o remount,rw $1 $2 } # check unmounted filesystem check_filesystem() { echo "$fsck $1: " $fsck $1 } # determine fs type fstype() { if mount -q $1 $2; then echo ""; else case "$?" in 2) echo "minix" ;; 3) echo "fat" ;; *) echo "" ;; esac umount /dev/hda || true fi } #a=$(fstype /dev/hda /mnt) #echo /dev/hda is a $a filesystem # check MINIX root filesystem #check_mounted_filesystem $ROOTDEV / # mount floppy B (MINIX or FAT) #check_filesystem /dev/fd1 #mount /dev/fd1 /mnt || true # various HD mounts #check_filesystem /dev/hda #mount /dev/hda /mnt #mount /dev/hda1 /mnt #mkdir -p /mnt2 || true #mount /dev/hda2 /mnt2 #mkdir -p /mnt3 || true #mount /dev/hda3 /mnt3 #mkdir -p /mnt4 || true #mount /dev/hda4 /mnt4
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history