A
Anonymous
Guest
I wanted to mount my linux-partition. That was not so easy. I ran:
and:
and:
So i tried:
which didn't work (of course).
I have assumed it must be /dev/ad0s5 then,which was correct.
My question:
But how could i figure out the name of the device which i want to mount with a command?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html
leads to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-naming.html
but i couldn't figure out what i want to know.
Code:
freebsd-2# fdisk -p
# /dev/ad0
g c77622 h16 s63
p 1 0xa5 63 41367249
a 1
p 4 0x05 41367375 36869175
Code:
freebsd-2# fdisk -s
/dev/ad0: 77622 cyl 16 hd 63 sec
Part Start Size Type Flags
1: 63 41367249 0xa5 0x80
4: 41367375 36869175 0x05 0x00
Code:
freebsd-2# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
So i tried:
Code:
freebsd-2# mount -t ext2fs /dev/ad0s4a /media/backup
mount: /dev/ad0s4a : No such file or directory
Code:
freebsd-2# ls /dev | grep ad
ad0
ad0s1
ad0s1a
ad0s1b
ad0s4
ad0s5
Code:
freebsd-2# mount -t ext2fs /dev/ad0s5 /media/backup
freebsd-2#
But how could i figure out the name of the device which i want to mount with a command?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html
leads to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-naming.html
but i couldn't figure out what i want to know.