How To FreeBSD Remount Partition

How To FreeBSD Remount Partition

To remount a partition on a FreeBSD system, you can use the mount command with the -u flag.

For example, to remount the /dev/ada0s1a partition, you can use the following command:

mount -u /dev/ada0s1a
Sou‮‬rce:www.lautturi.com

This will remount the /dev/ada0s1a partition.

You can find more information about the mount command and its options in the mount documentation or by running the mount --help command.

To make the changes to the mount point persistent across reboots, you can add the mount point to the /etc/fstab file.

For example, to add the /dev/ada0s1a partition to the /etc/fstab file, you can add the following line:

/dev/ada0s1a / ufs rw 0 0

This will add the /dev/ada0s1a partition to the /etc/fstab file, and the partition will be automatically mounted at boot.

You can find more information about the /etc/fstab file and its format in the FreeBSD documentation or by searching online.

Keep in mind that you need to have the necessary permissions to mount and remount partitions on a FreeBSD system.

Created Time:2017-10-28 21:38:52  Author:lautturi