Freebsd – How to check the partition name in FreeBSD

fdiskfreebsdpartition

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition.

My problem is that I dont know/remember what is the partition name to mount. I though that would be the /dev/ada0 (as on my similar server bought at the same time) but there is no such partition:

mount /dev/ada0 /mnt
mount: /dev/ada0: Invalid argument

OVH web tutorial is saying that its possible to check the partition table via the fdisk -l command – however, wont work on the FreeBSD:

# fdisk -l
fdisk: illegal option -- l

Is there an other possibility to check the partition table?

Best Answer

I have found a nice work-around for that if anyone would be interested:

Go to the # sade then choose Label. Everything will be shown nicely. Once finished you may exit with Q.

Related Topic