LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting FreeBSD partitions inside fstab (http://www.linuxquestions.org/questions/linux-general-1/mounting-freebsd-partitions-inside-fstab-142400/)

damien 02-04-2004 07:31 PM

Mounting FreeBSD partitions inside fstab
 
Hi All,

I just moved a file server from FreeBSD 5.2 to Slackware 9.1. The data drive has been formatted with 4.4 BSD file system and has 40 GB of data on it. I need to mount the 4 BSD partitions (hda's 1, 2, 3 and 4). I can do it manually or with a script by typing

mount -t ufs -o ufstype=44bsd /dev/hda1 /usr1

but I can't get it to work from putting entries into fstab. Can anyone tell me what the equivalent fstab entry would be? I can keep using a script, but I'd rather use fstab.

Thanks in advance,

Damien

homey 02-04-2004 09:32 PM

Try this...
Example mount directory...
mkdir /mnt/bsd
mount /dev/hda1 /mnt/bsd -t ufs


Then the /etc/fstab entry might look like this...

/dev/hda1 /mnt/bsd ufs gid=500,umask=002 0 0


All times are GMT -5. The time now is 01:04 PM.