[FreeBSD] Mount disks, iso, usb. - BSD
yrmt
Mount a CD/DVD
¯¯¯¯¯¯¯¯¯¯¯¯¯¯

Run as root:

PHP Code:
- > mount_cd9660 /dev/cd0 /media 


Mount Image disks
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

run, as root:

PHP Code:
- > mdconfig --t vnode -/path/to/image.iso -u 1

- > mount -t cd9660 /dev/md1 /mnt/media 

Mount any HDD
¯¯¯¯¯¯¯¯¯¯¯¯¯

run, as root:
First check what your device is by looking at the messages when plugging in the USB by running `tail -f /var/log/messages`.

PHP Code:
- > `gpart showshould show some information
- > mount /dev/da0 /mnt <- for UFS 

There are a few file systems supported:

PHP Code:
mount           mount_msdosfs   mount_nullfs    mount_portalfs  mount_unionfs
mount_cd9660    mount_nfs       mount_nwfs      mount_smbfs    
mount_mfs       mount_ntfs      mount_oldnfs    mount_udf 




Members  |  Stats  |  Night Mode