LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2010, 07:49 PM   #1
greenpool
Member
 
Registered: Sep 2010
Posts: 41

Rep: Reputation: 0
what is a file system?


Hi, i'm quite new to linux so i've begun studying LPI 101.

i came across the following which describes hard links..

"hard links do not span file systems. this means they cannot create a link from /usr/bin/bash to /bin/bash if your / and /usr directories exist on seperate file systems"

i need clarification on the following:

1. under what circumstances will / and /usr directories exist on separate file systems?

2. here is a snapshot of my root directory:

admin@linux-2d4r:/> ls
bin dev home lost+found mnt proc sbin sys usr
boot etc lib media opt root srv tmp var

correct me if i'm wrong, i believe i can create hardlinks from any one of these directories to another?

i.e: ln /home/admin/Desktop/firstlink /tmp/secondlink


thanks in advance!
 
Old 12-29-2010, 08:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I'm just supposing here and no doubt others will correct me, but . . . .

It seems to me that your reference is unclear as to what it means by "separate file systems." It could be interpreted to mean either separate partitions (systems of files) or separate file systems (systems for storing and retrieving files, such as ext3 and reiserfs).

RTFM is all well and good as long as the manual is clearly written.

No wonder you have questions.

The only hard links I have ever used are the ones inherent in the system. I've never tried to create my own. I have lots of symlinks.

But I did find this which may be some help, but I still found it kind of muddy:

http://www.askdavetaylor.com/how_do_...inks_work.html
 
Old 12-29-2010, 09:00 PM   #3
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
1. I.E.- You decide to customize your installation by creating separate partitions for different directories, and you format / as ext4 and the /usr partition as reiserfs.

2. Yes. They're on the same partition, and therefore, on the same file system as well.

Cheers
 
Old 12-29-2010, 09:13 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
Originally Posted by DragonSlayer48DX View Post
1. I.E.- You decide to customize your installation by creating separate partitions for different directories, and you format / as ext4 and the /usr partition as reiserfs.

2. Yes. They're on the same partition, and therefore, on the same file system as well.
I thought that might be what it means, but I was too uncertain to go there.

Thanks.
 
  


Reply

Tags
filesystems



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
where does file system keeps file name in the file system data structure pavan.manipal Linux - Newbie 4 02-22-2010 07:38 AM
Linpus Fedora after saving files to file system, CAN'T open FILE SYSTEM from desktop! remiwa Fedora 2 01-07-2009 07:28 AM
when does linux switch from realmode file system to protectedmode file system sitthar Linux - General 3 04-08-2006 08:05 AM
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 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