LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mount a bsd drive (https://www.linuxquestions.org/questions/slackware-14/mount-a-bsd-drive-63563/)

seingoku 06-04-2003 01:19 AM

mount a bsd drive
 
I have slack9 and need to mount a FreeBSD drive. I am able to mount it and cd it but when I run a command like 'ls' I get
UFS-fs error(device 22:01): ufs-readdir: bad entry in directory #2, size 512: reclen is too small for namlen - offset = 0, inode =2, reclen= 12, namlen= 260
What teh hizzle does all that mean.

This is the entry in fstab:
/dev/hdg1 /mnt/bsd ufs defaults 1 3

scizz

itsjustme 06-04-2003 11:10 AM

This may not help much, but I did a search on "UFS-fs error" at www.google.com/linux and discovered that message apparently comes from a file called super.c in a /usr/src/linux..../fs/... directory.

I didn't see any solutions to any specific errors out there though.

If you're a programmer you may get some ideas from the code within super.c.

Good luck.

fskmh 06-05-2003 10:21 AM

You need to add ufstype=44bsd to your "mount -o" options or you risk corrupting your filesystem. You should probably also specify ro (read only).


All times are GMT -5. The time now is 07:25 PM.