Sponsored Content
Full Discussion: Understanding File System
Operating Systems HP-UX Understanding File System Post 302201468 by andryk on Monday 2nd of June 2008 10:10:53 AM
Old 06-02-2008
Quote:
Originally Posted by Adams Nave
" Hey guys im confused with the difference of these filesystems /bin, /sbin, /usr/bin, /usr/sbin. They all look like the same."

/sbin - contains system binaries which are required at the time of boot. Like most of scripts which start services/processes. For e.g. /sbin/init.d/net which set IP configuration and hostname for the server.

/usr/bin - user level commands/binaries

/usr/sbin - root level commands/binaries

/bin ?? Never seen any directory in /
Haha, thanks Adams, it took me nearly 8 years now to finally know whats in there ...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

2. UNIX for Dummies Questions & Answers

Understanding System Vish startup scripts

I'm trying to get a clear picture of how startup scripts are executed during bootup. When run-level N is entered, the scripts in /rcN.d are executed. I understand that the S* scripts are executed in numerical order during bootup. What I don't understand is if the K* scripts are executed... (0 Replies)
Discussion started by: darkmatter14B
0 Replies

3. Linux

Understanding a diff file

Hi folks, I am having difficulties in understanding diff file. I would like to know what the following means in a diff file ex: 202a251,253 1,102c120,126 I believe 'a' will be 'append'. Line 202 appended to line 251. but why there is 253 ???. Like the above if any one can tell me how... (2 Replies)
Discussion started by: frozensmilz
2 Replies

4. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

5. Homework & Coursework Questions

fork system call understanding

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: i have a problem in understanding the behaviour of fork . i understood fork as to create a new process and... (4 Replies)
Discussion started by: MrUser
4 Replies

6. Homework & Coursework Questions

trouble understanding file option and command line arguments

Hi, I am creating a program with the C language that simulates the WC command in Unix. My program needs to count lines, bytes and words. I have not added the code to count bytes and words yet. I am having trouble understanding what the file option/flag '-' does. I can not visualize how it moves... (1 Reply)
Discussion started by: heywoodfloyd
1 Replies

7. UNIX for Dummies Questions & Answers

Understanding File System

Can anybody provide me some good articles / links which will help me understand linux file system internals? I want to understand how a file when accessed from user mode through its file name resolves to particular memory location on memory. Where does the super, dentry and inodes come into... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

8. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

9. Programming

Best reference for understanding core file and debugging for different architectures

Hi , could someone suggest best reference for core file understanding , analysis , debugging for different architectures like what registers represent what in a architecture specific core .. how to get maximum information out of corrupted core different tools and how they work and how to... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

10. UNIX for Beginners Questions & Answers

Need little help in understanding UNIX file system.

statement 1 : I see everyone saying Unix follows a tree like hierarchial structure. Statement 2: Unix file system has four blocks 1.boot block 2.super block 3.inodes 4.data block My question is , in which of the above four blocks , the hierarchial structure comes.?? How could we corelate... (2 Replies)
Discussion started by: Narendra Eliset
2 Replies
svscanboot(8)						      System Manager's Manual						     svscanboot(8)

NAME
svscanboot - starts svscan(8) in the /service directory, with output and error messages logged through readproctitle(8). svscanboot is available in daemontools 0.75 and above. SYNOPSIS
svscanboot DESCRIPTION
svscanboot runs the pipeline svscan /service 2>&1 | readproctitle service errors: ..... with 400 dots. The last 400 bytes of error messages from svscan(8) will be visible to ps(1) through readproctitle(8). svscanboot sets $PATH to /command:/usr/local/bin:/usr/local/sbin: /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin (all in one line, no space) and clears all other environment variables. Program writers are encouraged to use globally allocated names in /command. SEE ALSO
supervise(8), svc(8), svok(8), svstat(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlocal(8), setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8), ps(1) http://cr.yp.to/daemontools.html http://cr.yp.to/slashcommand.html svscanboot(8)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy