Do they belong to you? Claim these comments.
Michilimackinac
Is this you? Claim Profile »
3 years ago
in Mounting ISO images under freebsd | FreeBSD | Tech-Recipes on Tech-Recipes
In FreeBSD 5.x things have changed, images are mounted as memory disks:
Configure memory disk:
<font color="green">
$ mdconfig -a -t vnode -f image.iso
</font>
Mount the memory disk:
<font color="green">
$ mount -r -t cd9660 /dev/md0 /mnt
</font>
Clear the memory disk:
<font color="green">
$ mdconfig -d -u md0
</font>
Configure memory disk:
<font color="green">
$ mdconfig -a -t vnode -f image.iso
</font>
Mount the memory disk:
<font color="green">
$ mount -r -t cd9660 /dev/md0 /mnt
</font>
Clear the memory disk:
<font color="green">
$ mdconfig -d -u md0
</font>
5 years ago
in Display a calendar in UNIX on Tech-Recipes
an interesting calendar to look at is september 1752 when they fixed things to account for leap days...
5 years ago
in View a man page manually | UNIX | Tech-Recipes on Tech-Recipes
<font color="green">man -M <path> </font>
This is a good alternative to the nroff which will not work on most man pages on recent versions of solaris which are written in SGML. This command will work on solaris and freebsd.
This is a good alternative to the nroff which will not work on most man pages on recent versions of solaris which are written in SGML. This command will work on solaris and freebsd.
5 years ago
in Show applied patches or check for a specific patch in Solaris | Solaris system administration | Tech-Recipes on Tech-Recipes
<font color="green">patchadd -p</font>
<font color="#444444">is an alternative to showrev -p if the SUNWadmc package is not installed on the system</font>
<font color="green">showrev -p | sed -e 's/Obsoletes.*Pack/Pack/g' | grep 112233</font>
<font color="#444444">This command will trim the output to only the patch you are looking for instead of grabbing the patch in the Requires and Obsoletes fields</font>
<font color="#444444">is an alternative to showrev -p if the SUNWadmc package is not installed on the system</font>
<font color="green">showrev -p | sed -e 's/Obsoletes.*Pack/Pack/g' | grep 112233</font>
<font color="#444444">This command will trim the output to only the patch you are looking for instead of grabbing the patch in the Requires and Obsoletes fields</font>