NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: automount usb
On Wed, 25 Nov 2026, Jeff wrote:
I have a drive with data on it. It's got the standard FAT-whatever format. I
would like to mount it--manually if necessary, automatically by preference.
Use "dmesg | tail" just after plugging in the usb device. If you
see something like:
[ 4.172729] dk0 at wd0: "db4608aa-46ee-4290-9c19-81e3d4f15561",
511936 blocks at 64, type: msdos
Then you have a GUID partition table, just mount /dev/dk# (dk0 in
my case) on a mount point:
# mount_msdos /dev/dk0 /mnt
Note that you have to be root to mount by default, see mount(8).
If you don't see that dk# "stuff", but something ending like:
sd0: fabricating a geometry
use diklabel on sd0, you should see somthing like:
[...]
e: 30218779 63 MSDOS ...
[...]
That's the slice you want to mount, again:
mount_mdos /dev/sd0e /mnt
File browsers (which I don't use, I can't recommend any of them)
usually come with support of automounting file systems (gvfs?),
ask the pkgsrc list for advise.
Currently my only solution is mounting it on a linux box and scping files.
Not really a sustainable method when my goal is eliminating linux boxes.
Ouch!
Can someone please point me at the documentation that I'm sure must exist
somewhere?
It's in the guide, you should take your time to read it; but I
think it should be all rewritten, especially the installation part,
taking into consideration that the norm now is going to be gpt
partitions everywhere.
Regards,
adr
Home |
Main Index |
Thread Index |
Old Index