Linux filesystem


 
Thread Tools Search this Thread
Operating Systems Linux Linux filesystem
# 1  
Old 01-25-2006
Linux filesystem

Hi all,

Suppose i have a disk having three partitions (hda1,hda2,hda3) ,and are mounted all under /dev/ ..

My question is where the / will be existing.which file system it wil be in?

I am windows user new to linux/unix.Any help in learning internals would be appreciated .

Thanks ,
Rajiv
# 2  
Old 02-18-2006
well first off, unix has the design concept fo a "Unified Filesystem", which means that "everything is a file(tm)" this means the /dev/hda1 etc are just points of access to the partitions and while they're supposed to represent the filesystems, they're just files inside the larger system.

what this means is the everything gets put into one filesystem for simplifying the whole deal (rather than the VMS-style A: B: C: D: representation windows uses) this is so you won't have to know what partition a file is on, just where it is in the filesystem, which gives you a lot of freedom on partitioning if you know it won't break anything.

the /dev/hda hdb, etc are access points which means if you try to read them, you get the raw data on that partition, which is usually only useful for either mounting a partition or formatting one, regular users/admins hardly have use for it.

as an example: say hda1 was your root partition, but you wanted the hdb2 partition to be used for your users' home directories. Since all home directories are located under /home, you just mount hdb2 to /home and anything written to a file underneath /home will actually be written to the second partition on the second IDE drive(hdb2), instead of somewhere on first partition on the first drive (which is called hda1)

for more info:
http://www.tldp.org/HOWTO/Partition/
http://www.pathname.com/fhs

I hope this was helpful
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mount Linux filesystem not defined in etc/fstab

Hello, is there a way to mount a filesystem which is not defined in the etc/fstab ? Could someone share me any code or command (3 Replies)
Discussion started by: srilaxman
3 Replies

2. Filesystems, Disks and Memory

Compressed Filesystem for Linux

Hi Everybody: I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup. The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies

3. Red Hat

doubt in NFS mounted filesystem in linux

Hi, I have some filesystem which is nfs mounted and shared to other servers. Nfs server name= nfsserver (here filesystem is locally mounted) server name where filesystem is shared = sharedserver1 and sharedserver2 filesystem which is shared = /filesystem1 when i am checking utilization by... (1 Reply)
Discussion started by: anshu ranjan
1 Replies

4. Linux

filesystem locking issue on linux

hi, we are getting filesystem locking issue very frequently. we are using linux rhel 5.5. our filesystem type is gfs2 where we are facing locking issue and unix admin team reboots server to over come with this issue. suddenly we used to face slowness on server and server gets hung. after that... (1 Reply)
Discussion started by: anshu ranjan
1 Replies

5. Linux

Tripwire Nightware on Linux (proc filesystem)

Hello, I am having a nightmare with Tripwire on Linux..... I cannot get it to ignore the /proc filesystem, which I want to completely ignore for now Has anyone here successfully configured Tripwire on Linux and completed ignored the /proc filesystem ? If so, please reply and tell me how... (0 Replies)
Discussion started by: Neo
0 Replies

6. SuSE

filesystem from unix 32 to linux 64

Hi all. Im migrating from a Unix 32 bit to a linux suse 10 64 bit and would like to know whats the best way to migrate the filesystems? cpio? tar? ftp? Could I make a backup in tape in the unix 32 and restore it in the linux 64? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

7. SuSE

Resize Root Filesystem in SUSE Linux

Hello Experts, I am very new to unix environment. Root filesystem in one of our Linux boxes has almost reached 100%. is there a procedure/ way to resize the root filesystem. ****************************************************** ld8331:/ # df -h|more Filesystem Size Used... (2 Replies)
Discussion started by: ashok1784
2 Replies

8. UNIX for Advanced & Expert Users

Linux FileSystem Internal Buffer size:

I know that Univ FileSystem stores all file data in the form of first few direct nodes followed by indirect nodes. But internally some systems implement where , a single block of 4096 isnt allocated alone a single block basis on physical drive, rather a large chunk of data is allocated and no. of... (1 Reply)
Discussion started by: GloriousDaisy
1 Replies

9. Tips and Tutorials

Linux Filesystem Hierarchy

Hi, Please have a look this: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/Linux-Filesystem-Hierarchy.pdf I think this can be very useful for a beginner/intermediate level user to understand the filesystem hierarchy and as well as it can be used as a reference to various linux commands and... (0 Replies)
Discussion started by: tayyabq8
0 Replies

10. Filesystems, Disks and Memory

Filesystem for Linux - Solaris

Do you know how I can find detailed information on filesystems on Linux and Solaris. And I mean not only for the OS but and how it(the OS) uses the hard drives! Thank you in advance!! Solid Snake;) ;) (3 Replies)
Discussion started by: SolidSnake
3 Replies
Login or Register to Ask a Question