LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Slackware-13.1-Hacks-Mount ISO Image

Posted 01-01-2011 at 10:18 PM by arniekat

Suppose you have an ISO Image of a CD/DVD and you want/need to get some information off the disc image. You can mount it as a filesystem and use your file browser to see its contents.

Create a directory to mount the ISO Image:

$ su
$ <Root_Password>
# mkdir -p /mnt/disk

Now mount the *.iso file system to the mount point:

# mount -o loop /<Path_To_ISO_Image>/<Name_of_ISO>.iso /mnt/disk
# cd /mnt/disk...
LQ Newbie
Posted in Uncategorized
Views 10353 Comments 4 arniekat is offline
Old

Slackware-13.1-Hacks-Emptying tmp

Posted 01-01-2011 at 10:09 PM by arniekat

# This will empty the /tmp folder when you shutdown or
# reboot the machine
# Add this line to /etc/rc.d/rc.6

echo "Emptying /tmp"
rm /tmp/* -rf &1>2 > /dev/null

The /dev/null part gets rid of any output/error codes.

I placed it between the following sections in /etc/rc.d/rc.6

# Save the system time to the hardware clock using hwclock --systohc.
if [ -x /sbin/hwclock ]; then
# Check...
LQ Newbie
Posted in Uncategorized
Views 904 Comments 1 arniekat is offline

  



All times are GMT -5. The time now is 04:59 PM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration