Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 19:37:16 -0800
From:      Sergei G <sergeig.public@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   which label to use in mount?
Message-ID:  <CAFLLzCMQtupZX651wR35vrJdXY5Ber8qKPd%2B5EX4Dkp4iCv=vg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have executed the following commands:

  # gpart create -s GPT ada1
  # gpart add -t freebsd-ufs -l sback -s 50G ada1
  # newfs -nL back /dev/ada1p1

so, now I can mount it as either:

  # mount /dev/gpt/sback /mnt
or
  # mount /dev/ufs/back /mnt

Both seem to work.  However, command

  df -H

reports slightly different numbers:

/dev/ufs/back                           52G    4.1k     48G     0%    /mnt
dev/gpt/dback                          48G    4.0K     45G     0%    /mnt

Which way is the correct way to mount?


Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFLLzCMQtupZX651wR35vrJdXY5Ber8qKPd%2B5EX4Dkp4iCv=vg>