LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2006, 10:21 AM   #1
jayandstuff
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware-Current
Posts: 9

Rep: Reputation: 0
number of directories in root?


i'm wondering how many directories "should" be in root? i have 16, but i see in the slackware book that they only list 14. in addition to those 14, i have a system directory, which is mounted at boot, and also a fat32 partition i added when i installed. is there a normal or an average number of directories?
 
Old 02-23-2006, 10:36 AM   #2
MX_Unforgiven
LQ Newbie
 
Registered: Nov 2004
Location: Yekaterinburg, Russia
Posts: 25

Rep: Reputation: 15
[unforgiven | / : 21:33:58] $ ls
drwxr-xr-x 18 root root 4,0K 2006-02-23 15:28 .
drwxr-xr-x 18 root root 4,0K 2006-02-23 15:28 ..
drwxr-xr-x 2 root bin 4,0K 2006-02-06 19:33 bin
drwxr-xr-x 2 root root 4,0K 2006-02-22 22:09 boot
drwxr-xr-x 17 root root 40K 2006-02-23 14:55 dev
drwxr-xr-x 35 root root 4,0K 2006-02-23 15:28 etc
drwxr-xr-x 13 root root 4,0K 2006-02-22 11:12 home
drwxr-xr-x 5 root root 4,0K 2006-01-14 05:23 lib
drwx------ 2 root root 16K 2005-11-11 02:09 lost+found
drwxr-xr-x 7 unforgiven root 4,0K 2005-11-10 22:04 mnt
drwxr-xr-x 3 root root 4,0K 2004-05-08 21:04 opt
dr-xr-xr-x 78 root root 0 2006-02-23 17:18 proc
drwx--x--- 10 root root 4,0K 2006-02-23 18:46 root
drwxr-xr-x 2 root bin 4,0K 2006-02-06 19:48 sbin
drwxr-xr-x 2 root root 4,0K 2004-05-12 10:03 sys
drwxrwxrwt 20 root root 4,0K 2006-02-23 21:10 tmp
drwxr-xr-x 18 root root 4,0K 2006-02-23 15:25 usr
drwxr-xr-x 15 root root 4,0K 2006-01-15 00:33 var

Move your FAT32 partition into /mnt/*. It's not good style to put it straight in /. /sys was added in 2.6.x . There isn't in 2.4.x
 
Old 02-23-2006, 11:13 AM   #3
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Code:
drwxr-xr-x    2 root bin  2.4K Jan 27 20:36 bin/
drwxr-xr-x    3 root root 1.0K Jan 28 22:19 boot/
drwxr-xr-x   12 root root    0 Feb  2 09:54 dev/
drwxr-xr-x   35 root root 4.4K Feb 23 10:45 etc/
drwxr-xr-x   57 root root 4.0K Feb 21 16:28 home/
drwxr-xr-x    5 root root 4.4K Jan 11 16:56 lib/
drwxr-xr-x    7 root root  168 Jan 30 08:38 mnt/
dr-xr-xr-x  130 root root    0 Feb  2 04:54 proc/
drwx--x---    9 root root  464 Feb 21 08:49 root/
drwxr-xr-x    2 root bin  4.4K Feb  7 13:22 sbin/
drwxr-xr-x   10 root root    0 Feb  2 04:54 sys/
drwxrwxrwt    7 root root  55K Feb 23 06:00 tmp/
drwxr-xr-x   18 root root  552 Feb  2  2003 usr/
drwxr-xr-x   18 root root  496 Mar 15  2003 var/
 
  


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
List total number of directories paraiso Linux - Newbie 5 04-18-2005 04:04 AM
Limiting the number of root user accounts barleykorn Linux - General 2 03-25-2005 10:51 AM
adding directories under root Steve Riley Linux - General 2 02-03-2005 11:17 AM
no directories shown in root oasisbhrnw99 Linux - Newbie 1 05-05-2004 01:09 AM
Number of files and directories ALF Linux - Software 4 06-11-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 AM.

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