Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th September 2006, 06:14 AM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
What is the device for /tmp in a default FC5 logical volume setup?

I would have thought it was /dev/shm, because my /etc/fstab has this line
Code:
tmpfs                   /dev/shm                tmpfs   defaults        0 0
However, when this part runs in a startup script to automatically encrypt my /tmp directory, I get an error about not being able to mount the block device:
Code:
 	echo -n "Mounting encrypted $TMPDEV on /tmp"
		$cryptsetup -c aes-cbc-essiv:sha256 -d /dev/urandom create $CRYPTONAME $TMPDEV && \
		$mke2fs -q -m 0 /dev/mapper/$CRYPTONAME >& /dev/null && \
		mount /dev/mapper/$CRYPTONAME /tmp && \
		chmod 1777 /tmp && daemon /bin/true || daemon /bin/false
where I've set $TMPDEV to /dev/shm.

In the old days, my /tmp directory would be something like /dev/hda10, I've been reading up on the LVM stuff but I've not been able to figure out what I need to do differently.

Last edited by Dunhausen; 12th September 2006 at 06:24 AM.
Reply With Quote
  #2  
Old 12th September 2006, 09:16 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
/tmp is by default a subdirectory on the root filesystem, not a separate volume. /dev/shm is used for shared memory functions. If you want a separate logical volume for /tmp, just create one by yourself.
Reply With Quote
Reply

Tags
default, device, fc5, logical, or tmp, setup, volume

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
logical volume error ripper_rebel Hardware & Laptops 0 22nd May 2008 11:52 AM
shrinking a logical volume drobbins Using Fedora 12 15th November 2007 11:26 PM
Logical Volume Management Help messinwu Using Fedora 3 21st September 2007 02:46 AM
FC4: Installation warning (lvm) and fix: default partitioning shrink logical volume urilabob EOL (End Of Life) Versions 9 30th April 2006 01:21 PM


Current GMT-time: 00:07 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat