DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦219f29813⟧ TextFile

    Length: 358 (0x166)
    Types: TextFile
    Names: »usr/lbin/labelfsname «

Derivation

└─⟦307897ef0⟧ Bits:30004042/core1.imd SW95705I 386/ix Multi-user Release 1.2
    └─⟦this⟧ »usr/lbin/labelfsname « 

TextFile

#ident	"@(#)sadmin:shell/labelfsname	2.2"
#	given the output of /etc/labelit, return the file system name and
#	volume label as shell variable assignments.

#!	chmod +x ${file}

if [ $# -eq 0 ]
then
	echo >&2 "Usage:  $0 /etc/labelit-output"
	exit 1
fi

echo $*  |
	sed -n 's/Current fsname: \(.*\), Current volname: \(.*\), Blocks: .*/fsname=\1 label=\2/p'