-- ======================================================================== Jim Johnson The Optimist believes we live UniPrise Systems Inc. in the best of all possible email: jj_at_uniprise.com worlds, the Pessimist fears Voice: 617.229.1105 Fax: 617.229.0014 this is true. ======================================================================== Date: Tue, 30 Jan 1996 09:14:50 -0500 (EST) From: System Janitor <hubcap_at_hubcap.clemson.edu> To: grca_at_grandriver.on.ca Subject: redirect /tmp Just mount the other partition on /tmp. mount /dev/blah /tmp -Mike Date: Tue, 30 Jan 1996 15:13:09 +0100 From: Fabio Bossi - STI/JRC Euratom Ispra <fabio.bossi_at_jrc.it> To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? Hi, simply create a tmp directory on the unused device then: 1) in single user mode - rm -r /tmp directory; 2) create a symb link, i.e. cd /; ln -s /<newpartition>/tmp tmp Regards, fb Date: Tue, 30 Jan 1996 09:14:55 -0400 (EDT) From: "Anil Khullar, Computer Center" <Anil.Khullar_at_mailhub.gc.cuny.edu> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? Hi, You have not mentioned which file system, so I'll assume it is ufs based. If so then you can mount the spare file system on /tmp and edit the /etc/fstab to include the entry too, so that whenever the machine reboots it mounts the spare partition on /tmp Hope this helps anil > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? > > Thanks in advance, > > chris Date: Tue, 30 Jan 1996 15:24:52 +0100 From: Jean-Pol Guillement <guilleme_at_math.univ-nantes.fr> To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? remove your actual /tmp and mount it in /etc/fstab on your unused partition device. Put the permissions 1777 on the new mounting point /tmp. Regards, Jean-Pol Guillement Date: Tue, 30 Jan 1996 14:33:10 GMT From: Arrigo Triulzi <arrigo_at_lpac.ac.uk> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? Grand River Conservation Authority scripsit: |I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An |application we are using populates the /tmp with files when printing - |causing it to fill up. The application can not be changed. I've got an |unused partition on a different device which is available to me. |How should I proceed to redirect? Is there anything which might affect |other operations? You could mount that partition as /tmp, just mount it on /mnt first, then change its permissions: cd /mnt chmod a+rwx . chmod +t . unmount it, and mount it on /tmp in the /etc/fstab file /dev/rz?? /tmp ufs rw 1 2 Then reboot the machine so that all the files will be correctly placed in the new partition. Alternatively set TMPDIR to point to your free space, this works with most consciencious programs like GNU utilities but might fail for those which insist upon /tmp. Ciao, Arrigo Arrigo Triulzi <arrigo_at_lpac.ac.uk> - +44-171-775-3247 London Parallel Applications Centre - London E1 4NS - UK Date: Tue, 30 Jan 1996 15:36:10 +0100 From: Simon Tardell <tardell_at_particle.kth.se> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? Your message dated: Tue, 30 Jan 1996 08:56:49 EST >I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An >application we are using populates the /tmp with files when printing - >causing it to fill up. The application can not be changed. I've got an >unused partition on a different device which is available to me. >How should I proceed to redirect? Is there anything which might affect >other operations? Add a line like var_domain#tmp /tmp advfs rw 0 0 var_domain#tmp /tmp advfs rw 0 0 or /dev/rz1g /tmp ufs rw 0 0 (depending on your creed) in your /etc/fstab. Next time you reboot you will have a much larger /tmp. DON'T make a symbolic link of /tmp -- it will make you trouble when in single-user mode. >Thanks in advance, >chris Simon Tardell, voice +46 8 162688 fax +46 8 347817 Fysikum, Stockholms universitet simon_at_physto.se, tardell_at_particle.kth.se Date: Tue, 30 Jan 1996 15:47:03 +0100 From: Olle Eriksson <olle_at_cb.uu.se> To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? Mount the unused partition with /tmp as mount point. There may some installation script that require /tmp to be a real directory but if that occurs it is just to temporary unmount the partition. For normal use it is OK to use another file system as /tmp Date: Tue, 30 Jan 96 09:50:12 -0500 From: mclaughl_at_nssdc.gsfc.nasa.gov To: grca_at_grandriver.on.ca Subject: root partition Chris, Make a symbolic link from /tmp to the unused filesystem. For example: # cd / # mv tmp tmp.sav /* save tmp contents */ # ln -s /unused/filesystem /tmp /* symlink tmp */ # cd tmp.sav; tar cf - . | (cd /tmp; tar xvpf - ) /* copy old.tmp to tmp */ One setback to this. In single user mode, the link must be removed or the new_temp filesystem must be mounted in order to perform various single user mode functions. Hope this helps, Steve McLaughlin mclaughl_at_nssdc.gsfc.nasa.gov > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? Date: Tue, 30 Jan 96 15:53:50 +0100 From: Joakim.Hartikainen_at_ey.se To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? In your messages dated: Tue, 30 Jan 96 08:56:49 EST you write: > >I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An >application we are using populates the /tmp with files when printing - >causing it to fill up. The application can not be changed. I've got an >unused partition on a different device which is available to me. >How should I proceed to redirect? Is there anything which might affect >other operations? > >Thanks in advance, > >chris Hi, Hi, mount the unused partition on /tmp. Regards, /Joakim +---------------------------------------------+-------------------------------+ | Joakim Hartikainen | Phone: +46 8 613 9000, 9315 | | Ernst & Young, Sweden | | | E-mail: Joakim.Hartikainen_at_ey.se | | +---------------------------------------------+-------------------------------+ Date: Tue, 30 Jan 1996 09:08:35 -0600 (CST) From: "Mr. Dustin Fu" <xxfdh_at_omega.uta.edu> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? On Tue, 30 Jan 1996, Grand River Conservation Authority wrote: > > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? Mount the unused partition, say 'mount -t ufs /dev/rz?? /tmp2'. Then create a symbolic link to make /tmp points to /tmp2 (ln -s /tmp2 /tmp or something like that, use 'man ln' to confirm the syntax. In doing that, I think you need to delete the /tmp subdirectory first. Judge for yourself. Dustin Fu Software Systems Specialist Academic Computing Services University of Texas at Arlington xxfdh_at_omega.uta.edu 817-272-2208 Date: Tue, 30 Jan 1996 16:37:38 +0100 (MET) From: Alonso Nunez <alonso_at_msiw44.msi.se> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? Hello, Well, this problem can be solved if you delete the /tmp directory and make a soft link at the root directory: ln -s /var/tmp /tmp (here you have more disk space!) or ln -s /whatever...free /tmp Now you have more space on /tmp. Note that, the change is not relevant for the system. RegardsRegards /Alonso On Tue, 30 Jan 1996, Grand River Conservation Authority wrote: > > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? > > Thanks in advance, > > chris >Date: Tue, 30 Jan 96 10:22:29 -0500 From: "Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? The easiest thing to do, by far, is set up the available partition to be mounted on /tmp early in the boot process (when your other local file systems are being mounted) by entering it in /etc/fstab. Then reboot. You will now have /tmp on a separate partition. If you could change the application, you might have it put its files inIf you could change the application, you might have it put its files in /var/tmp or some other place with more space, but it sounds like that is not an option. Just making /tmp be a symbolic link to some other directory won't work in the most general case because you may need /tmp while running in single user mode with no other file systems mounted (for some uses). In general, as long as you mount it from /etc/fstab along with other local file systems you will be fine. (I run with /tmp as an MFS will lots of available swap, but I just like to do it this way -- I've also run with /tmp on its own partition). Tom Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation 110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 881-0646 Internet: tpb_at_zk3.dec.com Digital's Easynet: alpha::tpb Date: Tue, 30 Jan 96 09:44:32 -0700 From: alan_at_nabeth.cxo.dec.com To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? /tmp is likely to be in use when the system is running multi-user. You want to move /tmp when it isn't active, so shutdown to single user first. Then, just create the file system and update /etc/fstab to reflect the new location of /tmp. Be sure to set the permissions of the new /tmp (after it is mounted) to 1777. This ensures read/write access to the world, but won't let users remove any files but their own. Date: Tue, 30 Jan 1996 10:41:36 -0600 (CST) From: Menelaos Karamichalis <mnk_at_wuerl.wustl.edu> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? Some software lets you define the TEMPDIR environment variable which will use the directory you define for /tmp space. Or, you can create a link to the free partition you have so that /tmp actually resides there as compared to /tmp or /usr/tmp. Menelaos Nicholaos Karamichalis, M.S. mnk_at_wuerl.wustl.edu Electronic Radiology Lab, Mallinckrodt Institute Of Radiology, St Louis, MO http://wuerlim.wustl.edu/users/mnk/mnk.html **Vote Skywalker/Solo for '96**Date: Tue, 30 Jan 1996 17:07:17 +0000 From: Dave Roberts <djr_at_saa-cons.co.uk> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? On Tue, 30 Jan 1996, Grand River Conservation Authority wrote: > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - I had this kind of problem with my users compiling. I removed the /tmp directory and then linked it (soft) to a newly created directory /usr/tmptmp. As /usr is a *large* partition. It's much easier than re-partitioning your disc. Dave Roberts | "Surfing the Internet" is a sad term for sad people. Unix Systems Admin | Get a board, find a beach, surf some REAL waves and Date: Tue, 30 Jan 96 12:47:04 -0500 From: "Paul E. Rockwell" <rockwell_at_rch.dec.com> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? On Tue, 30 Jan 1996 08:56:49 -0500 (EST) grca_at_grandriver.on.ca wrote: > > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? Build a file system on that unused partition and make an /etc/fstab entry to mount it on /tmp. Reboot, and make sure that permissions on /tmp are rwxrwxrwt. are rwxrwxrwt. -------- +---------------------------+tm Paul E. Rockwell | | | | | | | | Northeast Region SBU Technical Support | d | i | g | i | t | a | l | Digital Equipment Corporation | | | | | | | | 500 Enterprise Drive +---------------------------+ Rocky Hill, CT 06067 Internet: rockwell_at_rch.dec.com Phone: (860)258-5022 Date: Tue, 30 Jan 1996 09:49:00 -0800 (PST) From: Mandell Degerness of BCSC 389-3539 <MDEGERNESS_at_galaxy.gov.bc.ca> To: grca_at_grandriver.on.ca Subject: How to redirect /tmp -options? Parts/attachments: 1 Shown 14 lines Text 2 Shown 798 bytes Message, "How to redirect /tmp -options?" 2.1 Shown 12 lines Text 3 Shown 1.5 KB Message, "" 3.1 Shown 25 lines Text ---------------------------------------- Chris, We simply mount the partition on the /tmp mount point. Be sure you change the fstab and then reboot for this to work (You don't want to interupt processes currently using /tmp). Be sure you change the fstab and then reboot for this to work (You don't want to interupt processes currently using /tmp). This solution allows /tmp to exist when in single user mode (necessary for some operations). Regards, Mandell Degerness (MDEGERNESS_at_Galaxy.gov.bc.ca) Date: Tue, 30 Jan 1996 20:22:41 +0300 (EET) From: Murat Balci <balci_at_bornova.ege.edu.tr> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? On Tue, 30 Jan 1996, Grand River Conservation Authority wrote: > > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? > Create a tmp directory in an another filesystem, and softly link the /tmp to that directory like : /tmp to that directory like : mkdir /usr/tmp chmod 1777 /usr/tmp rm -rf /tmp ln -s /tmp /usr/tmp Sincerely. murat. > Thanks in advance, > > chris > ---- Murat Balci UNIX sys. Admin s-mail : Ege Universitesi B.A.U.M - Bornova, IZMIR, TURKIYE. e-mail : balci_at_bornova.ege.edu.tr Phone :+(90)(232)3881080-253 Date: 30 Jan 96 10:21:13 -0800 From: "MDEMARCO.US.ORACLE.COM" <MDEMARCO_at_us.oracle.com> To: grca_at_grandriver.on.ca Cc: MDEMARCO_at_us.oracle.com Subject: Re: How to redirect /tmp -options? Parts/attachments: 1 Shown 13 lines Text 2 Shown 910 bytes Message, "How to redirect /tmp -options?" 2.1 Shown 13 lines Text ---------------------------------------- Hi, You could do one of two things. Make /tmp a separate file system and mount it or use the environment variable TMPDIR to redirect to a directory in a file system that has the appropriate space. hope this helps. Date: Tue, 30 Jan 1996 13:36:04 -0600 From: "Donald L. Ritchey" <dritchey_at_chipsi.com> Reply to: Don.Ritchey_at_chipsi.com To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? > Sender: alpha-osf-managers-relay_at_sws1.ctd.ornl.gov > Followup-To: poster > Date: Tue, 30 Jan 1996 08:56:49 -0500 (EST) > From: Grand River Conservation Authority <grca_at_grandriver.on.ca> > Reply-To: Grand River Conservation Authority <grca_at_grandriver.on.ca> > > > I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An > application we are using populates the /tmp with files when printing - > causing it to fill up. The application can not be changed. I've got an > unused partition on a different device which is available to me. > How should I proceed to redirect? Is there anything which might affect > other operations? other operations? If your application is a reasonably sane one (a very large if), then setting the environment variable TMPDIR to the new, larger temp directory should redirect those files into that new directory. If not, then see if it is possible to set some sort of variable for the application that will redirect the tmep files to the new directory. Finally, if all else fails, set up a partition on an empty partition and mount that partition on /tmp. This will work if the partition is on local disk (not NFS). If the mount fails, you have to make sure that the existing /tmp directory retains its original modes (ugo=rwx,t) to permit secure use of the directory. Questions? Don Date: Tue, 30 Jan 1996 14:45:29 -0500 (EST) From: "Mike Richichi, Systems Manager, Drew U Academic Technology" <MRICHICH_at_DRUNIVAC.DREW.EDU> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Subject: Re: How to redirect /tmp -options? >I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An >application we are using populates the /tmp with files when printing - >causing it to fill up. The application can not be changed. I've got an >unused partition on a different device which is available to me. >How should I proceed to redirect? Is there anything which might affect >other operations? If it's an unused partition, why not newfs it and mount it as /tmp? Seems the easiest solution to me. We had /tmp on its own filesystem before without any problems. Date: Tue, 30 Jan 1996 21:26:24 +0100 From: Steffen Kluge <kluge_at_ave.ac.agit.de> To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? Hi Chris, I used to have the same problem a while ago. Just create a file system on your unused partition (using newfs) and mount it over /tmp when going multi-user (by making an entry in /etc/fstab). Good luck Steffen ----- Steffen Kluge ave GmbH Aachen e-mail: stk_at_ave.ac.agit.de ----- Date: Tue, 30 Jan 1996 18:25:04 -0500 From: "John P. Speno" <speno_at_swarthmore.edu> To: grca_at_grandriver.on.ca Newsgroups: _swat.list.alpha-osf-managers Subject: Re: How to redirect /tmp -options? >I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An >application we are using populates the /tmp with files when printing - >causing it to fill up. The application can not be changed. I've got an >unused partition on a different device which is available to me. >How should I proceed to redirect? Is there anything which might affect >other operations? mv /tmp /tmp.old && ln -s /other/device /tmp -- John P. Speno, speno_at_swarthmore.edu, Swarthmore College Co Date: Wed, 31 Jan 1996 08:16:55 +0000 From: Hannu P{{kk| <Hannu.Paakko_at_ktt.fi> To: grca_at_grandriver.on.ca Subject: Re: How to redirect /tmp -options? One easy way to change the location of temporary files is to set the environment variable TMPDIR. (If the application obeys it...) TMPDIR=/newplace export TMPDIR Hannu P{{kk| Date: Wed, 31 Jan 1996 08:58:12 -0500 (EST) From: Rick Beebe <BEEBE_at_BIOMED.MED.YALE.EDU> To: Grand River Conservation Authority <grca_at_grandriver.on.ca> Cc: BEEBE_at_BIOMED.MED.YALE.EDU Subject: Re: How to redirect /tmp -options? >I'm using osf/1 ver 3.2b. My root has 94% capacity (of 64 MB). An >application we are using populates the /tmp with files when printing - >causing it to fill up. The application can not be changed. I've got an >unused partition on a different device which is available to me. >How should I proceed to redirect? Is there anything which might affect >other operations? /tmp can be a link to another directory. Try: cd / mkdir /usr/tmp <--- if your usr volume has the space rm -rf /tmp ln -s /usr/tmp /tmp rm -rf /tmp ln -s /usr/tmp /tmp Obviously you need to be root to do this and you should probably also shut down to single user mode--just so you dont' screw up any applications that happen to be using /tmp. _____________________________________________________________________ Rick Beebe (203) 785-4566 Data Network Operations FAX: (203) 737-4037 Biomedical Computing Unit Richard.Beebe_at_yale.edu Yale University School of Medicine 333 Cedar Street, New Haven, CT 06510 _____________________________________________________________________Received on Tue Mar 12 1996 - 21:13:25 NZDT
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT