|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T u
Length: 1043 (0x413) Types: TextFile Names: »usr/admin/menu/diskmgmt/harddisk/checkhdfsys «
└─⟦3d8f416b2⟧ Bits:30004042/core2.imd SW95705I 386/ix Multi-user Release 1.2 └─⟦this⟧ »usr/admin/menu/diskmgmt/harddisk/checkhdfsys «
#ident "@(#)checkhdfsys 1.1 - 87/11/25" #menu# check a hard disk file system for errors #help# #help# Checkhdfsys enables you to check the hard disk file system #help# for errors. trap 'exit 0' 1 2 3 15 flags="-t -qq -k$$ -f" fs=`/etc/mount | sed '/^\/ /d s/^\([^ ]*\) on \([^ ]*\) .*/\1/' \ | fgrep -x -v '/usr'` if [ "${fs}" = "" ] then echo "\nAt this time, there are no file systems that this procedure can check.\n" exit 0 fi if checkyn ${flags} -H' Since this process will affect the files written by other users, all users must be logged off the system. This procedure will not check the root nor the usr file systems.' " All other users MUST be logged off the system. Going to unmount and check the following file system(s): ${fs} Continue?" then /etc/mount | while read fsys dummy dev flag dummy do if [ "$fsys" = "/usr" -o "$fsys" = "/" ] then continue fi umount $fsys fsck -y $dev if [ "$flag" = "read" ] then flag="-r" else flag= fi mount $dev $fsys $flag done fi exit 0