[FreeBSD] Mounting in FreeBSD - BSD
Users browsing this thread: 3 Guest(s)
|
|||
.
|
|||
|
|||
This was awesome have you created the auto mount on boot?
|
|||
|
|||
I don't know if this is useful for FreeBSD but I'd like to add that sometimes you need to check if the mounted device is in use before unmounting it this can be done with the lsof command.
Also, you can check if the usb is mounted from the logs or from /proc/mounts or /proc/devices (usb_device) or /proc/partitions or from "df -h". You can unmount the device directly if you still remember its name: umount /dev/sdb "There's always another way to do it" -- William Johny Cash Shakaspeare while doing a 360 loop in space. |
|||
|
|||
For USB connected devices, one may list connected - yet unmounted - devices with the camcontrol command:
Code: camcontrol devlist Note the difference between Code: ada0 Code: da0 In my instance, ada0 is my hdd, and da0 is my USB flash drive. For me, it's a lot easier to discern my various media labels using camcontrol devlist than it is to grep through the output of dmesg. |
|||
|
|||
I don't know about you, but the output of dmesg is sort of cryptic, and doesn't tell me what my system has named my removable device(s.)
Here's the relevant output from dmesg: Code: ugen4.3: <PNY Technologies> at usbus4 It does give more info, but the info is more difficult for an idiot such as myself to comprehend. :D |
|||