Solved what is rootfs ? what is "/" ? what is difference between these ? who create rootfs or "/"?

DEar all :
i have question about rootfs or "/" . could you help me ? thanks.
1. what is rootfs ?
2. what is "/" ?
3. who create it ?
4. where is physical location ? (harddrive or RAM )

thanks.
 
Try to read man page about the layout of file systems
hier(7)

1. in general, rootfs is a set of directories that contains a very basic (minimal) FreeBSD OS.
Usually rootfs contains a FreeBSD kernel (/boot)
startup scripts (/etc/rc.d/)
system-wide configuration files (/etc)
some binary files and shells (/bin)
system programs and administration utilities for emergency or single user use (/sbin)
and /dev /lib /libexec /media /mnt.
Usually rootfs do not include /var /usr /home
Rootfs usually stored on hdd/ssd, but may be mounted over network or loaded via PXE/tftp and stored in the RAM.

2. / is a symbol like a very first directory of the file system.
/ is a mount point of the rootfs.
 
1. in general, rootfs is a set of directories that contains a very basic (minimal) FreeBSD OS.
Usually rootfs contains a FreeBSD kernel (/boot)
startup scripts (/etc/rc.d/)
what is the file system type or structure for /etc/rc.d? Is it UFS or something different?
 
Try to read man page about the layout of file systems
hier(7)

1. in general, rootfs is a set of directories that contains a very basic (minimal) FreeBSD OS.
Usually rootfs contains a FreeBSD kernel (/boot)
startup scripts (/etc/rc.d/)
system-wide configuration files (/etc)
some binary files and shells (/bin)
system programs and administration utilities for emergency or single user use (/sbin)
and /dev /lib /libexec /media /mnt.
Usually rootfs do not include /var /usr /home
Rootfs usually stored on hdd/ssd, but may be mounted over network or loaded via PXE/tftp and stored in the RAM.

2. / is a symbol like a very first directory of the file system.
/ is a mount point of the rootfs.
Dear im :
thanks. who create rootfs ? freebsd kernel ? when freebsd 14 start up , who create mount point / ? where is "/" location (disk or ram )? thanks. i am new guy and study it now . thanks for your help .
 
who create rootfs
The installer.

when freebsd 14 start up , who create mount point /
The kernel mounts the root filesystem (read-only) at start. The boot scripts (starting at /etc/rc) will mount everything else. This might enlighten you: https://docs.freebsd.org/en/books/handbook/boot/

where is "/" location (disk or ram )?
That depends, it's a disk, but a whole bunch of different things can be addressed as a disk, a memory filesystem, a CD filesystem, a USB stick, a harddisk, an SSD, NVMe, etc.
 
Irrelevant.
Dear sirdice of admin of freebsd 14 :
thanks. when i install freebsd 14 in zfs . why not we format the zfs partition first , then install freebsd system ?
other one question :
freebsd 14 boot up step is right in below ?
poweron --->load efi ---->create "/" mount point in RAM ---> read kernel boot file --->load system ?

thanks .
 
Back
Top