Home > Unix(*nix) > Mount USB Drive on OpenBSD

Mount USB Drive on OpenBSD

July 4th, 2009

What follows is setting up a flash drive to work with OpenBSD and Windows

  • step 1 – Plug in your USB flash drive
  • step 2 – Create a flash drive directory (if not already created)
  • step 3 – Create and format a MSDOS partition
  • step 4 – Mount the flash drive filesystem

1. Physically plug in your USB flash drive.

2. Create a flash drive directory (if not already created)

# mkdir /mnt/flashdrive

3. Create and format a MSDOS partition

# newfs -t msdos sd0c

This will create the i partition on the sd0 flash device.

4. Mount the flash drive filesystem

# mount /dev/sd0i /mnt/flashdrive
Categories: Unix(*nix) Tags:
Comments are closed.