Results 1 to 7 of 7

Thread: Mounting point when partitioning

  1. #1

    Default Mounting point when partitioning

    Hi all, I have a very simple question I am creating a new partition for storing files, installers, documents, etc, I am going to make it ext4, now my question is, do I have to specify a mounting point?? I would not like to do that, but if I do not specify a mounting point, will I be able to access that partition??

    So in what cases you specify mounting point and when you do not specify mounting point??

    Thank you very much for your help.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: Mounting point when partitioning

    If you create in yast, you can specify a mount point and you will be able to access it. You can also set the "fstab" options, which decide whether the partition will be automatically mounted at boot.

    If you create the partition with "fdisk" then there is no option to specify a mount point. You could still mount it, but you would have to either manually add a line to "fstab", or manually give the "mount" command when you want to mount it.

    If you are relatively inexperienced with linux, I suggest using yast and giving a mount point.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3

    Default Re: Mounting point when partitioning

    Yes, you have to specify a mountpoint, meaning you have to choose a directory name which is not already used by the system. /data for example would be fine.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Mounting point when partitioning

    In Unix/Linux you always specify a mountpoint for data partitions, otherwise there is no way to access the files. The mountpoint directory is the place where the new filesystem is "spliced" into the directory tree. Only partitions like swap, or raw partitions (used by some programs like DB managers) which don't contain a filesystem don't have a mountpoint.

    PS: None of the drive C: D: etc nonsense.

  5. #5

    Default Re: Mounting point when partitioning

    gotcha, it will be enough to do it with yast as you mentioned, thank you my friend

  6. #6

    Default Re: Mounting point when partitioning

    perfectly understood thanks nrickert, please_try_again and ken_yap

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,777

    Default Re: Mounting point when partitioning

    This may be a bit late, but seeing your lack of Unix/Linux experience with mounting, this could be usefull to you: SDB:Basics of partitions, filesystems, mount points - openSUSE.
    Henk van Velden

Posting Permissions

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