File system - question?


 
Thread Tools Search this Thread
Operating Systems Solaris File system - question?
# 1  
Old 11-23-2009
File system - question?

Hello,

I have few questions about file system in Unix and Linux.

1. What's the difference between Unix and Linux in their file system? Are they the same?

2. Is in Unix directory for administrator "/root" - like in Linux - Ubuntu or not?

3.Where is the users directory in Unix? Is it /home/(username)?

I know that OpenSolaris is Unix base OS from System V, so I download their live CD. Their file system are similar to Ubuntu. Except that I don't see the home directory.

I know this are very stupid questions but I need to now the differences.

Thank you for help!!!
# 2  
Old 11-23-2009
Quote:
Originally Posted by niki22
1. What's the difference between Unix and Linux in their file system? Are they the same?
file system type: they can be the same (fat), similar (ufs vs ext3) or quite different (xfs, zfs, reiserfr, whatever)
file system layout: they are only similar.
Quote:
2. Is in Unix directory for administrator "/root" - like in Linux - Ubuntu or not?
This is not a common Solaris practice. Root's home directory is traditionally and by default the root directory "/".
Quote:
3.Where is the users directory in Unix? Is it /home/(username)?
Yes. That's the traditional user home directory. Note that Solaris is by default having this directory being handled by the automounter to allow flexibility in actual data location.
Quote:
I know that OpenSolaris is Unix base OS from System V, so I download their live CD. Their file system are similar to Ubuntu. Except that I don't see the home directory.
Please elaborate. What says:
Code:
id
echo $HOME
ls -la $HOME

# 3  
Old 11-23-2009
/root is same for all Unix and Linux distro , home directory is located on /export/home/user , because /home is munt point for AutoMounter.

Difference between Linux and Unix File system is that Linux is not good as Solaris UFS or better ZFS because ZFS is using EFI table of contenct so you can have partitions larger than 1TB , UFS is using VTOC and maximum default file size is 2GB which can be ovverwirten with mount option largefiles , and I can tell you from my experience linux is not so good as pure Unix (Solaris of course) but thaht is my opinion.Smilie

And open Solaris can not see Ubuntu ext FS , and if you look for home directory of live cd , it is located in /export/home/jack
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Basic question regarding root file system copy to another disk

Hello, I am creating a new disk using the following command: dd if=/dev/zero of=/export/home/ramdisk/0 bs=512 count=4096k after creating the disk, i tool a ufsdump of a solaris 10 filesytem (disk size 512MB) ufsdump -cvf /export/home/ufsdump/sol_orig /and then restored the dump files onto... (10 Replies)
Discussion started by: Zam_1234
10 Replies

2. UNIX for Dummies Questions & Answers

Question on Veritas file system..

Hi, I am on Solaris 10 server which is running Veritas. It's E420 server with two drives. I don't know much about Veritas. The other guy who works on this, on vacation this week. :-) Any way, looks like I have hard drive issue on the server. When I do iostat -E. I see this. sd0... (4 Replies)
Discussion started by: samnyc
4 Replies

3. 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

4. UNIX for Dummies Questions & Answers

question about unix file system

Hi, The file system unix use a multilevel indexes access to disk, 12 direct blocks, 1 single indirect block, 1 double indirect block, 1 triple indirect block: Assuming a: block = 512 bytes, pointer = 4 byte, and there is a file of 200 blocks, how many disk access is needed to read the block... (1 Reply)
Discussion started by: blob84
1 Replies

5. Programming

question about system and popen in C

in man system it talks about SIGCHLD will be blocked, and SIGINT and SIGQUIT will be ignored. Does this signal stuff also happen in popen command? (even though man popen says nothing about signals) also if I am not using wait(&status) and I am using waitpid(pid, NULL, 0) how would... (1 Reply)
Discussion started by: omega666
1 Replies

6. Programming

Question about system command in C

The man system says During execution of the command, SIGCHLD will be blocked, and SIGINT and SIGQUIT will be ignored. What does this mean? And if i am making a function that does what system does how do i write this signal stuff? (19 Replies)
Discussion started by: omega666
19 Replies

7. 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

8. 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

9. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies

10. IP Networking

I have some question on unix system

Dear all, If I login to a Unix system (general user account), will the unix system generate a history file? If positve, will it stored the IP adress also? Thanks and Regards Penny Li ;) (2 Replies)
Discussion started by: PennyLi
2 Replies
Login or Register to Ask a Question