PDA

View Full Version : [/etc/fstab]: Why there are multiple records?


kotsoskorg
12-04-2011, 11:09 AM
Hello BSD people again,

I m self-discovering the PC-BSD and I experience a nice query today.
I m checking in /etc/fstab file, the configuration file which PC-BSD seeks uppon boot and automounts filesystems of the slices when booting. Right?

When I look in there, I expect to see the list of devices, with the appropriate formating once.
Here I see 2 same setting.

Why is that happens?

% vi /etc/fstab




















# Device Mountpoint FStype Options Dump Pass
/dev/label/rootfs0 / ufs rw,noatime 1 1
/dev/label/swap0 none swap sw 0 0
/dev/label/var0 /var ufs rw,noatime 1 1
/dev/label/usr0 /usr ufs rw,noatime 1 1
procfs /proc procfs rw 0 0
linprocfs /compat/linux/proc linprocfs rw 0 0
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~



















# Device Mountpoint FStype Options Dump Pass
/dev/label/rootfs0 / ufs rw,noatime 1 1
/dev/label/swap0 none swap sw 0 0
/dev/label/var0 /var ufs rw,noatime 1 1
/dev/label/usr0 /usr ufs rw,noatime 1 1
procfs /proc procfs rw 0 0
linprocfs /compat/linux/proc linprocfs rw 0 0