Reboot FreeBSD

Patrick Lamaiziere patfbsd at davenulle.org
Sat Oct 17 09:38:31 UTC 2009


Le Thu, 15 Oct 2009 10:10:44 +0000,
Serebryakoff Alexey <overlapped at gmail.com> a écrit :

> 1. Mount HDD:
> #mount -t ufs /dev/da0s1 /mnt/handy250
> Result: OK
> 2. Mount HDD as null file system layer to ftp folder for external
> access by ftp:
> #mount /mnt/handy250 /var/ftp/pub
> Result: OK
> 3. Force unmount HDD:
> #unmount -f /mnt/handy250
> Result: OK
> 4. Change dir to ftp pub:
> #cd /var/ftp/pub
> Result: machine reboot
> 
> Why that happened?

You shoot yourself in the foot. You force to unmount the underlying
filesystem of the nullfs mount point.

Regards.


More information about the freebsd-bugs mailing list