Results 1 to 4 of 4

Thread: /home or /home/username in fstab?

  1. #1

    /home or /home/username in fstab?

    Hi guys,

    I have my /home on a seperate partition. After installing a few different distros along side it, I noticed that a lot of configuration files were saved on /home, and also /home/username, which created a lot of confusion and some problems. So I decided to delete all hidden files from both /home and /home/username (a lot of the files were the same, just from different distros) and reinstall linux.

    This time around I mounted /home before my install, and now have a fresh gentoo install with a user account at /home/username.

    I'm trying to prevent hidden files from appearing all over the place, and only want them to appear on my own account at /home/username, so I was wondering if I need to have /home/username as a mountpoint in fstab, or if /home suffices.

    Thanx
    Dswissmiss


  2. #2

    Re:/home or /home/username in fstab?

    hello,
    use fstab only to mount independent file systems, e.g. partitions, nfs...
    i do have a /home/ and a /home/pbharris/ - but each is a seperate partition.
    hth

  3. #3
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:/home or /home/username in fstab?

    Whatever Paul said plus use only /home for fstab unless you are specifying separate partition for specific purposes.

    For example, if you want the whole partition /hdc ( the master on secondary IDE ) to be used only for /home/yourname, then you would use /home/yourname as your mount point in fstab.

  4. #4

    Re:/home or /home/username in fstab?

    Oops, well, I have a seperate partition just for my home directory, but I have it as /home under fstab. Seems to work fine though.

Similar Threads

  1. LVM and /home
    By elusive in forum Redhat / Fedora
    Replies: 0
    Last Post: 02-13-2007, 11:07 PM
  2. Tutorial: phpBB 2 forum on a home server for home users on Ubuntu
    By AljoshaNL in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 03-15-2006, 10:58 PM
  3. New home for our IRC chan ..
    By civ1492 in forum Announcements and Suggestions
    Replies: 12
    Last Post: 08-18-2002, 02:01 PM
  4. Our new home
    By cloverm in forum Announcements and Suggestions
    Replies: 14
    Last Post: 06-05-2002, 02:05 PM
  5. Moving /home to 2nd hard drive & fstab
    By papanohair in forum Linux - General Topics
    Replies: 8
    Last Post: 02-03-2002, 09:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •