DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦9854eeb42⟧ TextFile

    Length: 287 (0x11f)
    Types: TextFile
    Notes: @(#)get_logical_volumes.csh 13.1 (RC International) 91/09/06
    Names: »get_logical_volumes«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/add-ons/sysadm/backup_service/dump/get_logical_volumes« 

TextFile

#!/bin/sh 
# Ident: @(#)get_logical_volumes.csh	13.1 (RC International) 91/09/06
for volume in ` /etc/vol volinfo | cut -c64-80 | sort `
do
  if [ -r /dev/lv"$volume" ]
  then
    /etc/dumpfs /dev/lv"$volume" > /dev/null;
    if [ $? = 0 ]
    then
      echo $volume;
    fi
  fi
done