Mounting partitions, bizare question...

Daniel Cross dcross at woosh.com
Tue Jul 12 02:26:55 UTC 2005


You could do it a few way's.

I'd probably be inclined to leave fstab alone, and instead create a sym
link to /media/hda5/Vincent

Say in your present home directory, or in a directory which is in you
path.

Eg:

ln -s /media/hda5/Vincent /home/LOCALUSER/SUITABLE_NAME

- Dan

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Vincent
Trouilliez
Sent: Tuesday, 12 July 2005 2:08 p.m.
To: Ubuntu mailing list
Subject: Mounting partitions, bizare question...

Hi Gents,


The situation is this : I have two disks, 'hda' which holds my stable
Hoary and data/home partition, and 'hdb' with Breezy.

Breezy is 3 month old and very usable, so I spend most of time in it,
mostly to watch progress closely, and report bugs.

So, in order to access my data, I mounted my home partition from Hoary.
Well actually, the Breezy installer did it for me for a change, and put
it in /media/hda5.
The line in fstab looks like this :

/dev/hda5       /media/hda5     ext3    defaults        0       2


Whenever I browse to that partition to access my data, I have to first
enter my user directory : /home/vincent. 
I wonder if there would be a way, for the system to put me directly
into /home/vincent (instead of the root directory /home), when I browse
this partition, or 'cd' to it at the command line.

this way if I do: "cd /media/hda5", instead of seeing :

------
lost+found  vincent
------

I will already be 'vincent'.


Does fstab support that kind of option ? What's the syntax ? something
like this maybe ?

/dev/hda5:vincent       /media/hda5     ext3    defaults



Thanks for any info...




--
Vince



-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list