usb memory sticj recovery

tech-lists tech-lists at
Wed Feb 28 18:54:22 UTC 2018

On 28/02/2018 16:19, James B. Byrne via freebsd-questions wrote:
> I have a usb memory stick whose filesystem FreeBSD will not mount
> because it is 'dirty'.  It is dirty because it was removed from the
> FreeBSD host it was connected to.  I would would like to recovery this
> device if possible but my attempts to do so using fsck and fsck_ffs
> never start because it cannot find a SUPERBLOCK.
> newfs -N gives a list of alternate sb location but fsck_ffs will not
> acept them.
> Is there any way to manually turn ff the dirt bit and mount the device?

man 8 mount:



Forces the revocation of write access when trying to downgrade a
file system mount status from read-write to read-only. Also
forces the R/W mount of an unclean file system (dangerous; use with


alternatively dd the device to an image and mount the image at /mnt
using mdconfig

More information about the freebsd-questions mailing list