LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-22-2004, 11:56 PM   #1
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Rep: Reputation: 15
What's in a / filesystem?


I accidentally dumped some files from a tar archive into the / dir of my brand new OpenBSD install.

I'm new to OpenBSD, and just want to make sure I got everything out that doesn't belong there. My / looks like:


# ls /
altroot boot bsd.rd etc lib mnt sbin sys usr
bin bsd dev home man root stand tmp var


Are those the default files/directories from a fresh install?

I got far enough into configuration that I didn't want to just reinstall it all, hence my query here.

Thanks.

-E
 
Old 09-23-2004, 12:19 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Code:
altroot
bin
boot
bsd
bsd.rd
dev
etc
home
mnt
root
sbin
stand
sys
tmp
usr
var
 
Old 09-23-2004, 12:48 AM   #3
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
It might be safer to just check what's in the tarball with 'tar ztf tarball'.

For fun, you can do this:

tar ztf tarball | xargs -n 1 rm -f

But check what's in there first
 
  


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
best filesystem TranceDude Linux - Software 2 08-12-2005 03:35 PM
Which filesystem should I use? dyefade Linux - Hardware 2 01-04-2005 03:05 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
Cant get RW filesystem amp2000 Linux - General 4 04-30-2002 03:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:29 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
Open Source Consulting | Domain Registration