LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-16-2006, 01:00 PM   #1
8-bitDesigner
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
Umm... yeah, I deleted my /var directory.


(Edit: Forgot to mention this earlier, but I'm using the newest Gentoo)

Not the smartest of things, I've done, but regardless, I was swapping partitions around last night now that the new kernel finally supports my SATA VT6421 card properly, and moved /var to its own partition. Well, the partition fluked out and I had to reformat it, leaving me without a /var directory.

Which is bad.

I booted the live CD and copied its /var out to the new partition, but a handful of programs are complaining (soon to be silenced with the swift justice that is "emerge") and now my Portage updates take a fair bit longer than they should.

Is there any chance that I'm missing anything vital? As per my understanding, /var is for temporary-ish files and therefore isn't exceedinly important, but I could be completely bonkers here. Any ideas?

Last edited by 8-bitDesigner; 02-16-2006 at 01:01 PM.
 
Old 02-16-2006, 04:20 PM   #2
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Well... /var is for data-ish stuff. /var/tmp is for temporary-ish stuff.

Mysql keeps it's databases in /var.
Postfix keeps it's databases in /var.
Just about every daemon keeps it's data in /var.
All your logfiles are in /var.
Oh, and, have you considered that your world file sits in /var/lib/portage/world?
That's what may be causing the portage slowness - the world file is wrong.

I've heard of some option/tool that regenerates your world file from logfiles left by portage... But sadly all your logfiles are gone, so that's not much help.

You should edit the world file 1st, run emerge -e world, and hope for the best I think...

But you still got out lucky. I deleted my /lib once . What a horrendous week that was...
 
Old 02-17-2006, 01:22 AM   #3
8-bitDesigner
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Ah, I quickly discovered that issue with the world file after poking around a bit more on the Gentoo forums. However, I'd been worried that I might have lost something non-portage related.

Thankfully I haven't started my web dev stuff on this system, so nothing important was lost.

Thanks for the info!
 
Old 02-17-2006, 01:26 AM   #4
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Ok then

Oh, on a totally off-topic basis, does your name suggest ascii-art? Because it could be monochrome, but I don't think that's the case.
 
Old 02-18-2006, 01:21 AM   #5
8-bitDesigner
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Close, but not quite. I'm a web designer and when it came time to get a name for my "company" (loosest of quotes), I named it 8-bitDesign as I got into drawing and design after the NES (badass system that it is).

 
Old 02-18-2006, 02:25 AM   #6
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Cool!

Is it easy, being a small company? I mean, relatively? Because I don't think i'd be able to stomach much if I had someone above me, and i'm a good webprogrammer (a lousy disegner, but libraries and backends are really my thing), and if I got a disegner as a partner... How much business do you get?

No need to answer that if you feel offended, but I won't be your competition for quite a few years, as I'm still in highschool...
 
Old 02-21-2006, 09:36 PM   #7
8-bitDesigner
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thankfully, I'm not my own company, though I do a fair bit of freelancing. However, from my friends to do work as their own company, it's pretty hard, I hear. Personally, I prefer working for a small design firm. Usually web design firms are pretty cozy and nice to work for. I mean, I have a boss, but it's not like many of the jobs I've had where you're working for some faceless, corporate entity. Nope, there are 7 designers in our firm, and I'm the "techie" one.

I know some people who are ready to swear off working for other anyone by themselves, but from what I've heard, it takes a fair bit of discipline and business know-how to handle your budgeting, recruit clients, and keep yourself in the black.

Personally, I just work with some really cool people, and let them worry about the logistics.

Seriously though, in your case, I'd brush up on some of your front-end scripting skills, and just find a small web firm you can get comfortable in (a few years down the line, mind you . There are plenty of designers who just need someone who knows XHTML/CSS and Javascript to handle the technical side for them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted /var/log/messages, how to create a new one? chingyenccy Linux - Security 2 02-27-2005 11:06 AM
Accidentally Deleted Everything In /var/log Joe Heng Slackware 3 12-23-2004 08:20 PM
accidently deleted /var/log/packages lennard Slackware 8 06-21-2004 03:15 AM
Acidentally deleted /var/www anyway to retrieve it? lucastic Linux - Software 1 12-28-2003 05:49 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 04:04 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
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