Just getting it mounted is not the problem. I can mount everything as root, and here is my current fstab:
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/ad4s1b none swap sw 0 0
/dev/ad4s1a / ufs rw 1 1
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/ad0s7 /mnt/storage msdosfs rw 0 0
/dev/ad0s5 /mnt/ntfs ntfs rw 0 0
/dev/ad0s1 /mnt/xp ntfs rw 0 0
/dev/ad0s8 /mnt/linux ext2fs rw 0 0
/dev/ad0s6 /mnt/extra reiserfs ro 0 0
/dev/da1s1 /mnt/mmc msdosfs,noauto rw 0 0
After a reboot they are mounted with root privilegies - i.e. no other user than root can write on them. I can write there with a regular user only after remounting these with that user.
And a one more point on ext2/3 partitions - they are mounted with preserved modes of ownership. I.e. if /mnt/linux/home/user1 is owned by user1 on the Linux filesystem (uid 1500 for example), after mount in FreeBSD the file owner is uuid 1500, which I doesn't have on my system. Can I just ignore these ownerships and make one single user owner of the whole mounted filesystem? And how to keep that after a reboot? Man page of mount didn't have a clue about setting uuid of the mount point.