Posté par snt .
En réponse au journal Boot Réseau.
Évalué à 1.
/bin/mount-initrd
#!/bin/bash
#
# mount-initrd mounts an initial RAM disk on /mnt/initrd, so that
# its contents may be inspected.
#
# Usage: mount-initrd file
# where file is an initrd image file.
#
# Julian.Blake@cern.ch, January 2003.
# Re: Boot Réseau
Posté par snt . En réponse au journal Boot Réseau. Évalué à 1.
#!/bin/bash
#
# mount-initrd mounts an initial RAM disk on /mnt/initrd, so that
# its contents may be inspected.
#
# Usage: mount-initrd file
# where file is an initrd image file.
#
# Julian.Blake@cern.ch, January 2003.
IRDMNT=${IRDMNT:-/mnt/initrd}
IRDFILE=/tmp/initrd$$
umount $IRDMNT 2>/dev/null
gunzip <1ドル >$IRDFILE
mkdir -p $IRDMNT
mount -o loop $IRDFILE $IRDMNT