Re: moving /home

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Replace #LABEL=/home with /dev/sda1, in the line that u have to edit in /etc/fstab
if your volume to be mounted is not labelled.
 
Full line will look like
/dev/sda1     /home  ext3    defaults 1 2
     these blanks are single-tabs (preferably)
 
http://www.tuxfiles.org/linuxhelp/fstab.html                         (ext2 -> ext3)
http://dirac.uos.ac.kr/lectures/comp/master/node145.html   (ext2 -> ext3)
 
On 12/4/05, Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:
On Sun December 4 2005 10:58 am, Claude Jones wrote:
> On Sun December 4 2005 10:20 am, Paul F. Johnson wrote:
> > #LABEL=/home /home ext3 defaults
> > 1 2
> > /dev/hdb1 /home ext3 defaults
> > 1 2
> >
> > (replace hdb1 with sda

I'm trying to understand the fstab man page, but I'm still not getting
something. From man fstab:

"Instead  of  giving  the  device explicitly, one may indicate the (ext2 or
xfs) filesystem that is to be mounted by its UUID or volume label (cf.
e2label(8) or xfs_admin(8)), writing LABEL=<label> or  UUID=<uuid>,   e.g.,
'LABEL=Boot'  or 'UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'.   This  will
make  the system more robust: adding or removing a SCSI disk
changes the disk device name but not the filesystem volume label."

>From this, if I'm getting it right, your first line is saying to look for an
ext3 file system area to mount /home on - is that right?
Assuming I'm right, I still don't understand how your second line replaces
hdb1 with sda1 - what am I missing? I don't ever see sda1 mentioned - how is
it found?

If the answers are self-evident, I apologize in advance - sometimes you have
to ask dumb questions to get past one's own mental blocks ;-)

--
Claude Jones
Bluemont, VA, USA

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
Anil Kumar Shrama

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux